Previously I mentioned the Ruby inspired Objective-Sugar and the Underscore.js inspired Underscore.m.
Here’s an extensive functional toolbelt for objective-c for manipulating Foundation’s data structures from Underscore.m founder Robert Böhnke (Robb) called Asterism that takes a different approach from the previously mentioned libraries as it does not use a Ruby inspired syntax or categories.
As Robb stated in his e-mail:
It uses overloaded C-functions instead of categories (like BlocksKit and Objective-Sugar do). This allowed me to unify the interface for all kinds of different data-structures (NSArray, NSDictionary, NSSet, NSOrderedSet and occasionally even id< nsfastnumeration >)
Here’s an example from the readme showing the Asterism ASTEach command for iterating through an array:
You can find Asterism on the home page here.
A very nice library for working with data structures wihth a very clean syntax.
- Open Source: Library Allows Any Objective-C Object To Easily Be Saved To A Plist File
- Tutorial: Building A Weather App With Functional Objective-C Programming Using ReactiveCocoa
- Extensive Functional Programming Inspired Categories For NSArray, NSSet, And NSDictionary
- Large Open Source Collection Of Computer Science Algorithms In Objective-C
- Tutorial: How To Replace The Standard Objective-C Delegate Pattern With ReactiveCocoa Signals
Original article: Open Source iOS Library Providing And Extensive Functional Toolbelt For Data Structures
©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.




