Early this year I mentioned the release of an Xcode 5 compatible version of the excellent CodePilot was released by Macoscope.
Here is an extensive functional programming inspired library released from Macoscope providing categories for NSArray, NSSet, and NSDictionary providing a clean syntax for many common operations making extensive use of blocks.
These utilities include functionality for searching, sorting, counting, joining, and more.
Here’s an example from the readme showing how one would check an NSArray to see how many elements contain the letter “a”:
You can read more about MCSCollectionUtility in an article by Rafal Augustyniak over on the Macoscope blog.
You can find MCSCollectionUtility on Github here.
An excellent collection of enhancements for NSArray, NSSet, NSDictionary.
- Open Source Collection Of Time Saving iOS Objective-C Collection Query Methods
- Categories To Shorten Your Objective-C Code Including JSON Helpers, And NSComparisonMethods For iOS
- Open Source Objective-C Library Providing A Vast Amount Of Chainable Ruby-Style Enumerators
- Objective-C Utility Class Inspired By Underscore.js Providing Collection Helpers And More
- Tutorial: Building A Weather App With Functional Objective-C Programming Using ReactiveCocoa
Original article: Extensive Functional Programming Inspired Categories For NSArray, NSSet, And NSDictionary
©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.