Get Updates By E-mail 

Article Written By:
Johann Dowa

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.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments