开发者

Adding classes in Xcode

开发者 https://www.devze.com 2023-03-29 00:00 出处:网络
I\'m new to Xcode and have a set of instructions for a library that I need to import. The documentations says:

I'm new to Xcode and have a set of instructions for a library that I need to import. The documentations says:

Please add X.h and 开发者_JAVA百科X.m into project by clicking Classes, Add and Existing Files.

Q: Where is the "Classes" menu?


There is no "classes" menu per-say.

You want to right click(or CMD + Click) on the folder containing your actual project visible in the left pane of XCode 4(The Project Navigator, or CMD + 1) and add existing files.

Alternatively, you can also go through Files -> Add Files to "Project". Then select your files.

Regardless of how you do it, make sure to check the box that says "Copy item's into destination groups folder. (If Needed)"

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号