Objective-C Blocks Cheat Sheet
Blocks are an incredibly powerful addition to Objective-C, introduced in iOS 4. However, their syntax can be maddeningly difficult to remember. Matt Gallagher has an excellent post that breaks down the syntax to help you understand it. If you haven’t read this article, go do it now. Even after working with blocks for a while, […]
Using Objective-C blocks to log Core Data entities
Usually when I want to log the Core Data entities returned by a query in a particular context, I just passed the object to a log statement, like so: 
NSLog(@"Query returned %@", theCoreDataObject); This works OK when you just have one object to log, but if you want to log the whole array of entities, […]