How To Extend Objective-C Classes With Categories

  • 14 years ago
http://howtomakeiphoneapps.com. Here is how to extend the functionality of existing classes like NSString and NSURL using categories. This is a real clean way to extend and customize objects for your app without creating sub-classes. This makes categories a nice way to get some flexibilty and code reuse.