PDA

View Full Version : IB WriteFiles always generates UIView?




MichaelMC
Jul 22, 2009, 10:58 PM
Hello, and thanks in advance for offering answers to what I suspect is a newbie question.

I've written a few iPhone apps by hand and am now looking to make my life easier by leveraging IB and Write Class Files. However, it seems that Write Class Files always generates .h and .m files that define UiView, regardless of the class names I provide. This of course generates compile errors until the file contents are manually changed to match their names.

Am I missing something?

Thanks again, and happy coding.
-M



PhoneyDeveloper
Jul 23, 2009, 12:13 PM
Most developers work the other way. Create your .m/.h files in Xcode and then IB will read them.