Packaging a Bundle with a static library

Posted by 4thSpace on Stack Overflow See other posts from Stack Overflow or by 4thSpace
Published on 2009-04-30T04:55:59Z Indexed on 2010/06/05 8:12 UTC
Read the original article Hit count: 472

Filed under:
|
|
|
|

I have a static library that includes some xibs. These will basically be the same across projects. I'd like to include the xibs as part of the library. I can include their veiwcontrollers, reference these controllers in the calling project but then there isn't a xib to load. When I right click the xib in the library project, it can't be part of the target.

I thought about creating a CFPluginBundle but that creates a new project. I'd loose all of my IBOutlet and IBAction references. What is the best way to reuse xibs that also have outlets and actions to specific controllers?

© Stack Overflow or respective owner

Related posts about iphone-sdk

Related posts about cocoa-touch