Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Oct 24, 2009, 09:58 PM   #1
FoxRaysing
macrumors newbie
 
Join Date: Oct 2009
Uncaught Exception: Loaded Nib but didn't get UITableView

Hey everyone,

I'm new here and new to iPhone Programming and was hoping that someone would be able to help me out with a problem that I've been trying to fix for a few days now.

I want to be able to click a cell in my table view and have it drill down into a more detailed table with additional information. I have my tab bar controllers in place and thought the navigation bar was set up properly as well, but when I build (it succeeds without any errors or warnings) and go, it loads up and when i click a cell in the table, I get this warning:

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UITableViewController loadView] loaded the "DetailView" nib but didn't get a UITableView.'

Is this strictly an Interface Builder problem?

I'm not sure what code to provide since I don't know where the problem lies, but can gladly provide it to anyone willing to help

Thanks!
FoxRaysing is offline   0 Reply With Quote
Old Oct 25, 2009, 10:07 AM   #2
PhoneyDeveloper
macrumors 68020
 
PhoneyDeveloper's Avatar
 
Join Date: Sep 2008
If you're using a subclass of UITableViewController its view property, which you are setting in IB, must be a UITableView. I guess from the assertion failure you've connected the view property to some other kind of view.

UITableViewController works with tables that take up the whole screen. If you want to have a screen where there are other views you need to use a subclass of UIViewController.
PhoneyDeveloper is offline   0 Reply With Quote
Old Oct 26, 2009, 03:09 AM   #3
FoxRaysing
Thread Starter
macrumors newbie
 
Join Date: Oct 2009
Thanks so much, I changed it to UIViewController and everything worked
FoxRaysing is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Bought a new MacBook pro but didn't get the latest version BeeAnt Buying Tips and Advice 5 Aug 24, 2011 01:08 PM
It was only a matter of time or "Why the iPod Touch didn't get a camera but the Nano" tenand2indy iPod touch 1 Sep 29, 2009 03:28 PM
Who bought there 3GS online,but didn't get a conformation email? Locoboof iPhone 0 Jun 18, 2009 05:20 PM
Pre-ordered 3gS but didn't get confirmation?? Raphy iPhone 21 Jun 10, 2009 11:50 AM
loaded nib but no view was set error leed76 iPhone/iPad Programming 1 Aug 4, 2008 10:59 PM


All times are GMT -5. The time now is 11:43 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC