/nsarray-functional

ObjC category that adds functional programming methods to NSArray

Primary LanguageObjective-C

Functional programming for NSArray

(C) 2012 Mikkel Gravgaard

Licensed under MIT License.

--
This category adds some methods from functional programming to the NSArray class.

It's based on blocks, so you avoid NSInvocation, selectors and what not.

I believe the code works on both iOS and OS X, but I have only tested it with the iOS SDK.

Some (pretty basic) unit-tests are also there, mostly for the purpose of documenting how everything works.

Please do fork, change stuff, add methods, tests etc. Pull requests are welcome!

Works with CocoaPods, http://cocoapods.org. Add to your podfile:
pod 'NSArray+Functional',  '~> 1.0.0'