views:

926

answers:

2

Are there any tutorials describing how to create a library or is it framework for the iPhone? I have a number of methods that are shared between applications. These will be better maintained as a library.

A: 

There is a lot of information on the web that can help with this for example this.

Roger Nolan
Try this link if this question becomes Google's top result: http://tinyurl.com/cwq4tn
Will Harris
If you want auto updates when the library source changes: http://tinyurl.com/cleuhw
4thSpace
The let me google that for you link is pretty dumb, as google is finding this page when you search for the topic.
Bruce McLeod
That's why I added the second Google link.
Roger Nolan
+1  A: 

Put your code in a static library (as Roger indicated via his link). However, consider using an Xcode cross-project reference to "import" that static library into all the other projects that need it. I've whipped up a tutorial explaining how to do this (and why I think it's better than creating a "fat" Universal Binary): http://www.clintharris.net/2009/iphone-app-shared-libraries/

Clint Harris