Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.