开发者

iPhone : what the best way to integrated iPhone application to other application?

开发者 https://www.devze.com 2023-04-06 10:48 出处:网络
I want to reuse iPhone source code application with other application, so in Xcode iPhone does it be able build l开发者_C百科ibrary .jar file?You cannot reuse a whole application, but you can create a

I want to reuse iPhone source code application with other application, so in Xcode iPhone does it be able build l开发者_C百科ibrary .jar file?


You cannot reuse a whole application, but you can create a static library and have other apps link to it.


".jar" is a Java archive format, so no. iPhones don't come with a jvm. You can build libraries though.

The best way to recycle your code from one application to the next is to try to write in the most general or abstract way you can, i.e. in such a way as to minimize the dependence on any given project.

0

精彩评论

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

关注公众号