Sharing classes between projects in xcode/objective-c

前端 未结 6 1360
遇见更好的自我
遇见更好的自我 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:05

    The best way is to create a separate framework containing the shared classes. This can be compiled up once and linked into both application projects.

    See Apple's doc on what are Frameworks.

提交回复
热议问题