开发者

Adding classes in Xcode

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜