Tutorial: How To Replace The Standard Objective-C Delegate Pattern With ReactiveCocoa Signals

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.

FacebookTwitterDiggStumbleUponGoogle Plus

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.

Leave a Reply

Your email address will not be published. Required fields are marked *