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.
精彩评论