开发者

creating a reusable library in XCode 3.2

How do I create a reusable library/module in XCode 3.2? What I want to do is create a bunch of classes that provide certain 开发者_如何学Cfunctionality compile them into some kind of library, add such a library to an existing xcode project and use the classes in it. I come from .NET world so what I want to do is basically to create an equivalent of 'assembly' and then reference it somehow in my XCode project. I am developing for iOS btw.


If you add a target called static library you will get the equivalent of an assembly, just put all the sources in the target and decide what headers should be published and what should be hidden to the user of your library.


What you are looking to do is create a 'framework'.

This page has some useful information.

http://developer.apple.com/mac/library/documentation/MacOSX/Conceptual/BPFrameworks/Frameworks.html

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜