开发者

How to compile multiple objective C files into one library?

Is it possible to compile multiple objective C (.m) files into one .a libra开发者_JAVA技巧ry? The resulting code would be used in iPhone apps via XCode.

If yes, do you have any links to a tutorial, or can you paste a Makefile?


You do not need a tutorial. Just start a new project, select iOS / Framework & Library / Cocoa Touch Static Library and start adding a files. That is it. Compiled lib will have all the files in place. Provide headers to consumers for all included files so they will know what's inside. It is pretty simple, let me know if you need an additional clarification.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜