Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Joshua Silva
Joshua Silva
6,525 Points

Trouble on the Ribbit app. App terminates :(

Just finished with the coding of the sign view controller but my app terminates with 'NSInternalInconsistencyException', reason: '-[UITableViewController loadView] loaded the "sLF-VR-IcQ-view-dcP-lg-1OP" nib but didn't get a UITableView.... The problem is with the [self performSegueWithIdentifier;@"showLogin" sender:self];

I comment that line of code out and the app runs great(able just to go through the tabs), but then am unable to get to the login screen. please help!

1 Answer

Sounds like there's a table view that's supposed to be loaded but some other view is being loaded instead????? If the issue is occurring with that line of code, you might want to make sure that segue identifier is correct. Make sure there are no duplicates as well.

Joshua Silva
Joshua Silva
6,525 Points

Thank you so much for your time. It happened to be just setting classes to wrong view controllers so to Xcode, the segue wasn't declared yet.