How do I create a category in Xcode 6 or higher?

后端 未结 8 1825
太阳男子
太阳男子 2020-11-27 09:53

I want to create a category on UIColor in my app using Xcode 6. But the thing is that in Xcode 6 there is no Objective-C category file template.

Is the

8条回答
  •  心在旅途
    2020-11-27 09:59

    You could just copy the templates you want from an older version of Xcode, I made a shell script for this:https://github.com/cDigger/AddMissingTemplates

提交回复
热议问题