views:

147

answers:

0

I'd like to have a UIViewController class, with the UI created in Interface Builder within a static library I am building. As an analogy - In the iPhone SDK, I can access the address book through a low-level API, and the AddressBookUI api. I am doing something similar.

There's doesn't seem to be a way to include XIBs in a static library, but I suspect it could be done somehow.

There is an ibtool executable which can convert an XIB to other formats (including binary plists). Perhaps this can be bundled and included into the library? I'm not sure how it would be loaded at run time, though.

Any ideas?