I've been looking all over, and this is pretty basic stuff but for the life of me I can't get it to work.
How do you load a custom UIView or view controller and display it.
If I make a custom view controller with the view in it, and add it as a property of the app deligate, and link it in IB it works perfectly. I can access the view and add it as a sub view to the window and it shows all the stuff I laid out in IB. However when I use [[MyController alloc] initWithNibName:nil bundle:nil]; I get nothing. Checking the debugger it has a view in there. And puting NSLogs into the loading and initing code it's loading but I can't for the life of me get it to display.
Can someone just give me example code of how to load a subclassed UIViewController from the main bundle and nib and attach it to the window without it being a linked property?