Friday, June 18, 2010

Watch your method names.

OK, I was cruising along nicely, when I started to get the following error:
exception 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the  nib but the view outlet was not set.

After some debugging I found that I had overridden setView function for another purpose.  This messed up the property causing the above error to occur.   


No comments:

Post a Comment