Main Content

Extending Cocoa classes using the Category+Swizzle pattern

About the Talk

October 16, 2010 8:00 AM

Columbus, Ohio

Columbus, Ohio

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.

Ratings and Recommendations

This Talk hasn't been rated yet. Sign In to rate Talks.

comments powered by Disqus