Building an iPhone App Without Interface Builder
Building iPhone Applications without Interface Builder from Troy Mcilvena on Vimeo
Adding this one for my own future reference. The important things to note was really how to remove the references to the NIB files when first building the project.
In the Resouces like locate the info.plist file and right click then go to source view and delete:
key - NSMainNibFile string - MainWindow
While you’re in he resources list also delete the mainWindow.xib file. Finally open “Other Sources” main.m and you’re going to edit this line:
int retVal = UIApplicationMain(argc, argv, nil, nil);
and make it look like this:
int retVal = UIApplicationMain(argc, argv, nil, @"Your_App_Delegate_Class");
That pretty well sums up the key points. There’s some good information about UIWindow and UIView in the video as well if you’re not familiar with building your base view without IB. gCalWall was built largely without using Interface Builder at all so I was pretty familiar with most of it.


