I am using Storyboard to navigate through my View Controllers. I have my Root View Controller called (RootVC) which I've hooked up to the next view controller (called SecondVC) with a 'push' segue. I have a button in RootVC that when pressed calls pushViewController.
When I run this, I end up seeing the following error:
* Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "SecondVC" nib but the view outlet was not set.'
I've looked around and seen a lot of people suggesting that the UIView is not properly hooked up in the xib. I'm using Storyboard so it's a little different, but I can still see that my SecondVC's view outlet is connected to the UIView that belongs to it. By the looks of it, Storyboard makes this association by default.
Anyone have any ideas of what could be going wrong? If a screenshot of my Storyboard is needed I can provide that.
Thanks in advance.