An example of one way to handle blocks in Objective-C.