OCTotallyLazy - Functional extensions to Objective-C.
OCTotallyLazy is a framework that adds functional behaviour to Objective C collection objects, as well as a lazy collection object called Sequence. It's a partial port of Dan Bodart's TotallyLazy Java library, available here: http://code.google.com/p/totallylazy/
So I'm a bit fed up with using 'libraries' that say, just include our source code in your project, or attach our xcode project to your project. So to use this:
Clone the repo.
Run <CHECKOUT_DIR>/build.sh test //optional, but if it fails shout at me!
Run <CHECKOUT_DIR>/build.sh release
Copy <CHECKOUT_DIR>/build/Release-iphoneos/OCTotallyLazy.framework to your external libraries folder.
Import the framework to your project.
Jobsa good 'un.
Or if you're using CocoaPods, add the following line to your Podfile
pod 'OCTotallyLazy'
OCTotallyLazy is also Carthage compatible now, just add the following to your Cartfile:
请发表评论