How to create Objective-C Protocol in new version of XCode Version 6.0.1 (6A317) for iOS

前端 未结 2 1471
野性不改
野性不改 2021-02-07 16:18

In previous versions when you press New File, in iOS --> Cocoa Touch --> there was Objective-C protocol, but now I can\'t find it there!?

相关标签:
2条回答
  • 2021-02-07 16:40

    Familiar problem after update.

    Step one: press CMD+N and choose Objective-C File in menu

    enter image description here

    Step two: press Next and choose file type. enter image description here

    0 讨论(0)
  • 2021-02-07 16:56

    Add File -> Source -> Objective-C File -> [Now there's a combo for file type, select Protocol in there]

    0 讨论(0)
提交回复
热议问题