Xcode for iPhone
I've been programming in objective C for a little less than a month, and in C for > year (and LUA). I just had a brilliant idea: An IDE that would run natively on the iphone/ipod touch. It would use saurik's GNU C Compiler package to compile/run apps, and it would also use saurik's GNU DB package for debugging. As of now, im building the interface. I do have one question though: I have a UITabBar which loads a bunch of nibs (the corresponding ones for each view) . For each nib, do i need a different view controller, or do they all share the same one? I've tried creating a button and a UILabel, and making a method where the UILabel's text is changed (and creating a connection from files owner to view in every nib), but the app crashes when the button is pressed. Do I have to set the class of "File's Owner" (from that particular view) to the class which the mainview.xib uses (mainviewcontroller.h (mainviewcontroller) )? Or must I create another class?
|