Sharing classes between projects in xcode/objective-c

前端 未结 6 1356
遇见更好的自我
遇见更好的自我 2020-12-14 06:37

I\'ve got a client<=>server app I\'m building for Mac OS X, using Objective-c/Cocoa and xCode. I\'ve created a different project for both the apps I have, and I\'m wonder

6条回答
  •  一个人的身影
    2020-12-14 07:03

    The fastest solution is to add only references of the .h and .m files to one of the projects. Just uncheck the "copy"-checkbox in the "add existing files"-dialog in xcode. Keep in mind the you might also need to copy the referenced files if you move/share your project.

提交回复
热议问题