Added a handy macro for swapping two type Cocoa objects.