View outlet not set with UINavigationController

Posted by Sheehan Alam on Stack Overflow See other posts from Stack Overflow or by Sheehan Alam
Published on 2010-06-11T19:14:42Z Indexed on 2010/06/12 6:53 UTC
Read the original article Hit count: 434

I have a NIB that contains a UINavigationController which has a UIViewController. The UIViewController is being loaded externally from another nib. I am unable to set the view property thus I get the error:

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "LBRootViewController" nib but the view outlet was not set.'

How can I set my view property correctly?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c