In Xcode, I created a simple tab bar application.
There are 2 tab bar items in the default tab bar. I add the third element of the tab bar and set its view controller attribute to the view that I created and subsequently saved with the name ThirdView.xib.
When I try to start, the first two tabs work fine by default. The third one I added causes this error:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException',
reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "ThirdView" nib but
the view outlet was not set.'
I apologize for being a huge iPhone-SDK n00b, but no manner of dragging and dragging and dragging and dropping with the control allows me to set the view to the third view that I created.
source
share