21

How do I create a category to an existing Cocoa Touch Class for objective-c in Xcode 7.2? I've been looking for an hour but couldn't find anything helpful.

Strikecounter2
  • 255
  • 2
  • 11

1 Answers1

48
  1. File > New > File…
  2. iOS > Source
  3. Objective-C File
  4. Next
  5. File Type: Category

Example:

creating a category file

rob mayoff
  • 375,296
  • 67
  • 796
  • 848