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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T16:43:45+00:00 2026-06-10T16:43:45+00:00

I am facing following Exceptions while creating the custom cell. *** Terminating app due

  • 0

I am facing following Exceptions while creating the custom cell.


*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<MasterTableView 0xb612b30> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key address.'

The delegate function i am using is as follows:

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
static NSString *CellIdentifier = @"Cell";

cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) 
{

    NSArray *top=[[NSBundle mainBundle]loadNibNamed:@"CustomCell" owner:self options:nil];// on this line program received SIGABRT

    for (id current in top) {
        if ([current isKindOfClass:[UITableViewCell class]]) {
            cell=(CustomCell *)current;
            break;
        }
    }

}

// Configure the cell...
cell.name.text=@"name";
cell.address.text=@"Address";

return cell;
}

Besides this i have done the following steps:

  1. i have given File owner of the CustomCell.xib to MasterTableView.h
  2. i have given outlet of the custom cell to MasterTableView.h
  3. i have given outlets for the two UILabel s to CustomCell.h
  4. I have given Cell as Cell Identifier in IB

I have shared the whole project in Dropbox, available in the below stated link. You can check that one also. I want to know what wrong in it..

Download link

Please show me the missing steps..
Thank you in advance.

PS :- I have used CoreData in my project. Without core data this steps have given me the correct desired Output but not in this project. I have checked with default cells. It worked fine.

  • 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-10T16:43:47+00:00Added an answer on June 10, 2026 at 4:43 pm

    I compiled and ran the code in a sample project, and it worked with no problems at all. Make sure you have everything connected in Interface builder as previously mentioned!

    - (UITableViewCell *)tableView:(UITableView *)tableView
             cellForRowAtIndexPath:(NSIndexPath *)indexPath
    {
        static NSString *CellIdentifier = @"Cell";
    
        CustomCell *cell = (CustomCell *)[tableView dequeueReusableCellWithIdentifier:CellIdentifier];
    
        if (cell == nil) {
    
            NSArray *top = [[NSBundle mainBundle]loadNibNamed:@"CustomCell" owner:self options:nil];
    
            for (id current in top) {
                if ([current isKindOfClass:[UITableViewCell class]]) {
                    cell=(CustomCell *)current;
                    break;
                }
            }
        }
    
        cell.title.text = @"Custom cell labels";
    
        return cell;
    }
    

    Edit:

    You have the IBOutlets connected twice in Interface Builder, I attached images for your reference. They should not be connected to the File’s Owners, remove the connection from File’s Owner.

    You also will notice the rows are not the right size, you must specify the row size in the table view.

    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 am facing the following issue while uploading the video from my android application.
I'm facing the following problem : my app has to load some web-content and
I'm currently facing the following issue: My app dynamically creates images (320 x 480
I am creating a website and am facing the following problem. I have 2
I am facing the following problem : I have a namespace Exception\* , which
I have deployed WCF service on service on server and facing following exception. System.Security.SecurityException:
I am facing an exception while using Google translation API V2. Exception text is
I'm migrating from JBoss 5.1.0.GA to JBoss 6.0.0-Final and facing following exception during FacesServler
Im facing following problem I have created mentioned condition, but when I choose y
I am facing Following problem, since i m a newbie to ruby on rails

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.