NSArray+BBlock.h

@interface NSArray(BBlock)

Apply the block to each object in the array and return an array of resulting objects

- (NSArray *)arrayWithObjectsMappedWithBlock:(id(^)(id obj))block;

NSButton+BBlock.h

@interface NSButton(BBlock)

WARNING: This category is still in early development.
Currently the order of calling these methods is important:

setImage

setAlternateBackgroundImage

setBackgroundImage

Tries to mimic UIButton by exposing a method to set the background image.
The image set with setImage is composited on-top of the background image.

- (void)setBackgroundImage:(NSImage *)backgroundImage;

Tries to mimic UIButton by exposing a method to set the alternate background image.
The image set with setAlternateImage is composited on-top of the alternate background image.
If no alternateImage is set image will be used instead.