How to create a category in Xcode 7.2? [duplicate]
Asked Answered
E

1

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.

Erlina answered 3/4, 2016 at 2:4 Comment(0)
H
48
  1. File > New > File…
  2. iOS > Source
  3. Objective-C File
  4. Next
  5. File Type: Category

Example:

creating a category file

Hepatica answered 3/4, 2016 at 2:23 Comment(1)
oh, pretty embarrassing, I didn't see Objective-C File at all <.<Erlina

© 2022 - 2024 — McMap. All rights reserved.