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 9213515
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T01:46:01+00:00 2026-06-18T01:46:01+00:00

I have a UITableViewController that uses custom table view cells (and I have created

  • 0

I have a UITableViewController that uses custom table view cells (and I have created an XIB for my custom UITableViewCell subclass)

When my app attempts to load the table view controller it crashes with the following error:

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </Users/CoolDocsMan/Library/Application Support/iPhone Simulator/5.1/Applications/Z7BB7085F-37A7-4B92-89A3-37EC34531B08/FunkySpaces.app> (loaded)' with name 'AdminConfirmTableViewCell''

Following one of the suggestions in the post Could not load NIB in bundle, I checked the app folder in my Libraries by exploring contents of:

/Users/CoolDocsMan/Library/Application Support/iPhone Simulator/5.1/Applications/Z7BB7085F-37A7-4B92-89A3-37EC34531B08/FunkySpaces.app

I am using the same technique for other similar tableVCs but found that while all other XIB files were properly translated into .nib this specific tableview cell XIB got tranlated with an extra space at its end.

i.e. ‘AdminConfirmTableViewCell .nib’ instead of ‘AdminConfirmTableViewCell.nib’

I did a global search in XCode to see if I had made a typo and inserted an extra space after AdminConfirmTableViewCell, but found none.

Here is section of code from the ViewDidLoad of the tableVC which contains the AdminConfirmTableViewCell:

//Load the NIB file
UINib *nib = [UINib nibWithNibName:@"AdminConfirmTableViewCell" bundle:nil];

//register this NIB whch containes the cell    
[[self tableView] registerNib:nib forCellReuseIdentifier:@"AdminConfirmTableViewCell"];

Thanks!

  • 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-18T01:46:02+00:00Added an answer on June 18, 2026 at 1:46 am

    I found the problem finally and understand now why it was not showing up when I scanned the code. The issue is actually in the way I specified the Custom Class for my custom UITableView cell (AdminConfirmTableViewCell) under Identity inspector in interface builder.

    I had spelled out ‘AdminConfirmTableViewCell ‘ with an extra space at the end in Identity Inspector under Custom Class…therefore the AdminConfirmTableViewCell.xib had this name with the extra space (see screenshot…) and while building, XCode translated this into a NIB file as ‘AdminConfirmTableViewCell. nib’ with an extra space.

    On removing the extra space everything worked out! It appears quite unlike Apple to leave this gap in Interface Builder implementation which allows a developer to potentially make these kind of errors.

    enter image description here

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

Sidebar

Related Questions

I have created a subclass of UITableViewController that is used as the custom class
I have a custom UITableViewController that detects when it's view's bounds change and uses
I have a UITableViewController that contains a table, whose cells I wish to add
I have a UITableViewController that displays a custom UITableViewCell (inherited from UITableViewCell). That same
I have a UITableViewController that uses didSelectRowAtIndexPath: to init a view controller with initWithNibName:
I have a UITableViewController that has custom cells that I have customized with my
I have implemented an iPhone app that uses UITableViewController/UITableView and Core Data. Further, I
In my iPad app, I'm designing a table view that uses a check box
I have a table view which loads another xib file and uses the content
I have a UITableViewController that displays cells that are just default. Each cell can

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.