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 functionality 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.
+1
A:
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
Greg Sexton
2010-08-01 11:20:37
+1
A:
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.
Anders K.
2010-08-01 11:52:50
thanks, for the answer, but what is the difference between a framework Greg mentioned and a static library?
adrin
2010-08-02 07:29:39
I think i know the basic difference - framework can contain static/dynamic libraries and other resourcers (nibs etc)
adrin
2010-08-02 07:38:37
it sounded as if you only needed a lib (KISS)
Anders K.
2010-08-02 08:16:59