Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9234153
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T06:43:22+00:00 2026-06-18T06:43:22+00:00

I have an app with no nibs. Its rootviewcontroller is a tableviewcontroller. I am

  • 0

I have an app with no nibs. Its rootviewcontroller is a tableviewcontroller. I am having it push to a second tableviewcontroller, which controls a detailview. Just earlier this week, I had it successfully pushing to the next tableviewcontroller. A few days later (and after maybe saving the wrong version),

I get an

(lldb) with a breakpoint at the pushViewController method when I select a table item. I have breakpoints for all exceptions enabled. If I press the play button twice more, I get this in my output box:

” ** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘-[UITableViewController loadView] loaded the “TopicsDetailViewController” nib but didn’t get a UITableView.'”

Is there something wrong here or do I need to look elsewhere in my project?

This is in my header interface:

    TopicsDetailViewController *tdvController;

: ) And this is my didSelectRowAt…

       tdvController = [[TopicsDetailViewController alloc] init];

             tdvController.aFeed = afeed;
    [self.navigationController pushViewController:tdvController animated:YES];
    tdvController = nil;

Thank you, and let me know if I’m barking up the wrong tree.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T06:43:23+00:00Added an answer on June 18, 2026 at 6:43 am

    If I’m understanding this correctly, your tdvController declaration in the interface file is named the same as the tdvController in the instance method where you are getting the exception.

    If your intentions are to create and use the instance variable in this instance method don’t declare it again, just do:

    self.tdvcController = [[TopicsDetailViewController alloc] init];

    Which is creating the object on the heap.

    If you intentions are to use a local variable of type TopicsDetailViewController in this instance method that is not the iVar, then rename the local variable to something else.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an iPhone App which has one file (.h .m) for 2 nibs.
we have app hosted on google app engine for java. In this app we
I have app in which i have recorded sound files i want that i
for example: I have app A, which references library A and library B. in
I have an app delegate, which is also UINavigationControllerDelegate (and I've tried setting it
I am writing my first universal app, I have converted my nibs so that
I have a universal app in development. The app uses NIBs, and I have,
thank you for taking some time to read my question. I have this app
I am upgrading an app to be Universal. I have a set of nibs
I have app which was written for some event, and with Apple I make

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.