adrin
adrin

Reputation: 3848

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 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.

Upvotes: 0

Views: 382

Answers (2)

AndersK
AndersK

Reputation: 36092

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.

Upvotes: 1

Greg Sexton
Greg Sexton

Reputation: 9279

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

Upvotes: 1

Related Questions