Tuesday, November 10, 2009

View Connection Error

While experimenting with the navigation controller, I got this error after having hooked up a nib to the main view controller that show up under the navigation controller in IB:

reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "MainMenuViewController" nib but the view outlet was not set.'

What I had forgotten to do was to go into the MainMenuViewController and attach the view to the File Owner.

No comments: