Cocoa Design Patterns that Leverage the Objective-C Runtime
Jeff LaMarche (NSConference 2010)
Platform: Mac, iPhone, iPad
Released: April 2010        Running Time 38 mins

It's no surprise that Objective-C is a dynamic language, and that dynamic nature allows many design patterns that would be utterly painful in less dynamic languages with a more constrained object model. In addition to providing great flexibility, the Objective-C Runtime can be leveraged to maximize code reusability. By creating abstract superclasses that leverage the runtime to detect the properties created by their subclasses, methods can be written that do not need to be subclassed. Additional "free" functionality can be provided to subclasses using the runtime's ability to dynamically create and dispatch messages. In this session, you'll see how to leverage the inner workings of the Objective-C Runtime to reduce code clutter in your projects and create extremely reusable code that can be used in multiple Mac and iPhone applications without modification.

 

session presenter

about NSConference UK

what you get

 
blog comments powered by Disqus