A few weeks ago I mentioned a library providing a number of categories to reduce the amount of code required to perform common programming tasks in Objective-C that included a few Ruby style enumerators.
Here is a library called YOLOKit from Max Howell that provides Ruby like enumeration for foundation objects providing some nice features not found in other libraries.
YoloKit provides a vast number of easy to use Ruby style enumerators as categories for NSArray, NSDictionary, NSMutableArray, NSNumber, NSSet, and NSString, and allows you to chain enumerators using a dot style syntax.
Here’s an example showing this chaining syntax in action chaining the reject, pluck, flatten and each methods:
You can find YOLOKit on Github here.
A great library for enumerating Foundation objects.
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.