Objective C - Classes - Categories

Want to add custom behavior to a class, but

  1. Don't have its source, or
  2. Want some other pre-written classes to automatically inherit new behavior

Subclassing won't satisfy (2). Can't tweak the implementation because of (1). Solution: Categorize the class.

Example