I’ve mentioned the Objective-C functional programming framework ReactiveCocoa and recently mentioned a tutorial on creating a weather that app demonstrating many functional programming basics with ReactiveCocoa.
Here’s a tutorial from Justin Dewind explaining how to utilize the helpers in ReactiveCocoa for creating signals to improve upon the standard Cocoa delegate pattern.
The tutorial goes through a complete example where a UIViewController is a delegate to UISearchBar and UISearchDisplayController, replacing the delegate pattern with one that uses signals.
You can find the tutorial over on the Atomic Object blog here, and you can download the example project demonstrating the example on Github here.
Thanks to Atomic Object for the submission.
- Open Source Library Using ReactiveCocoa Providing An Alternative To iOS 6′s Auto Layout
- Open Source Library Providing An Objective-C Version Of .NET’s Reactive Extensions
- Tutorial: Building A Weather App With Functional Objective-C Programming Using ReactiveCocoa
- Open Source Android Style Pattern To Unlock Control For iOS
- NSRegularExpression Category With An Extensive Number Of Helpers For Easier Regular Expressions
Original article: Tutorial: How To Replace The Standard Objective-C Delegate Pattern With ReactiveCocoa Signals
©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.




