Extending Cocoa classes using the Category+Swizzle pattern http://spkr8.com/t/4868

Description:

The iPhone is all the rage. Not only does it provide a compelling end-user experience, but behind the scenes is a coding environment with features unlike those found in Java and C++.

This talk shows how to extend Cocoa classes using a language feature called categories, and how to use a technique called swizzling to override existing methods in Cocoa classes. Using this technique you can modify the behavior of a base class so that all subclasses inherit that behavior, including subclasses where you don't have the source and cannot change their class parenting.

Comments on this Talk

Have an account? Sign in or register.

Leave a Comment