I’ve mentioned a few utility objective-c utility libraries inspired by Underscore.js most recently the Aterism library.
Here’s an open source library that provides a number of functional programming helper methods in the style of Underscore and Lo-Dash for those working with the new Swift programming language called Dollar $wift from Ankur Patel.
Here are few examples of Dollar.$swift in action from the readme:
$.compact([3, nil, 4, 5]) as NSObject[] == [3, 4, 5]
$.initial([3, 4, 5], numElements: 2) as Int[] == [3]
$.last([3, 4, 5]) as Int == 5
You can find Dollar.$wift on the home page here.
A nice library for anyone working with Swift.
- Open Source iOS Library Providing And Extensive Functional Toolbelt For Data Structures
- 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
- Example: Applying The Backbone.js View Concepts To An iOS UIView With Objective-C
- Open Source Library For Super Fast Fuzzy NSString Matching
Original article: Open Source Functional Programming Toolbelt For Swift Inspired By The Underscore.js Library
©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.




