Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Chirone

macrumors 6502
Original poster
Mar 2, 2009
279
0
NZ
if i've made a project and want to include all it's headers and xib files in another project how would i do that?

so far i know i can make a static library which has all the header files and i can use them in other projects but i don't know how to include the xib files.
when if the library has xib files and the header that uses it is made the program throws an error saying it can't find the xib file
 
there is no such thing as a framework for the iphone (so the compiler says)

am i missing something?
 
Oops, I forgot.

Well, you *could* write your UI as code instead of nibs, but that's kind of unnecessary work. Otherwise you'll have to link in the files directly and load them via NSBundle.
 
ah, that's a solution, no complaints by the app or compiler that way
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.