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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T21:57:57+00:00 2026-06-13T21:57:57+00:00

I start by saying that I’m not sure if what I’m doing is the

  • 0

I start by saying that I’m not sure if what I’m doing is the best way for that.
I have the following scenario: a dynamic grouped TableView with two groups, the first has a static cell and the second has a dynamic cell populated by an array.
The second group works fine, the first is not!

The first group has only one custom cell that i load with this code:

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    // ...

    if (indexPath.section == kSectionHeader) {
        NSArray *topLevelObjects = [[NSBundle mainBundle] loadNibNamed:@"ActorDetailsHeaderCell" owner:self options:nil];
        ActorDetailsHeaderCell * headerCell = [topLevelObjects objectAtIndex:0];

        headerCell.image.image = [UIImage imageNamed:self.actor.image];
        headerCell.actorName.text = self.actor.name;
        headerCell.info.text = @"";

        return headerCell;
    }

    // ...
}

The ActorDetailsHeaderCell.xib file has a custom class named ActorDetailsHeaderCell that extends UITableViewCell class.
If I leave everything like this (just for test purpose) everything works fine, as soon as I set an IBOutletin ActorDetailsHeaderCell.h file I get this error:

'NSUnknownKeyException', reason: '[<ActorDetailsViewController 0x7485a60> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key name.'

I found on Stackoverflow those questions: iPhone: "unrecognized selector sent to instance" and error with custom UITableViewCell, but those answers don’t seem to solve my problem.
I tried to delete the .xib and the class and rewrite them from scratch but it that damn error is always there!

I end up by saying that the SAME thing is used in other UITableViewController and it works 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-13T21:57:58+00:00Added an answer on June 13, 2026 at 9:57 pm

    I have no idea why today everything works!
    I closed the project yesterday evening and there was that error, this morning the app works!

    I think is an xcode bug… I don’t know! Thanks any way

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

Sidebar

Related Questions

I'll start by saying that I have searched SO and not found an answer
First, I'll start off by saying that I do not have control over the
Let me start out by saying that I'm not a C developer and I
Let me start by saying that I have been reading the drag'n drop tutorial
I'll start by saying that this isn't a problem, just curiosity. I have some
First of all let me start by saying that this question is not about
I will start by saying that this is a 2-part question. I have a
First let me start by saying that I don't have a complete understanding of
Let me start off by saying that I am not an expert in C.
I'll start by saying that over the course of a few projects, I have

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.