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

  • Home
  • SEARCH
  • 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 8644549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T12:19:17+00:00 2026-06-12T12:19:17+00:00

I´ve just got a new Mac and I downloaded Xcode (4.5.1) from Appstore. By

  • 0

I´ve just got a new Mac and I downloaded Xcode (4.5.1) from Appstore. By default when you create a new project (in my case using the Master/Detail template with Storyboard enabled) it targets ios 6.0 and the project runs fine on my iPhone that has been upgraded to 6.0.

To run it on my iPhone with 5.1.1 I change the Deployment target. Running on 5.1.1 when an item is added and displayed in the UITableView I get the following error:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', 
reason:' -[UITableView dequeueReusableCellWithIdentifier:forIndexPath:]: 
unrecognized selector sent to instance 0x1023b800'

This is the code that trows the error

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath     *)indexPath
{
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"Cell" forIndexPath:indexPath];

    NSDate *object = _objects[indexPath.row];
    cell.textLabel.text = [object description];
    return cell;
}

From my previous iPhone projects I´m used to seeing this below the

if(cell == nil)
// Create the cell

But I assume I don´t need this as the Storyboard already has got a Cell added to the UITableView.

Any tips..?

Best regaards
Øystein

  • 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-12T12:19:18+00:00Added an answer on June 12, 2026 at 12:19 pm

    The problem can be found in the [UITableView dequeueReusableCellWithIdentifier:forIndexPath:] documentation;

    Available in iOS 6.0 and later.

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

Sidebar

Related Questions

I've started using Coda because I just got a new Mac, and I want
Just installed new version XCode 4.2 onto my Mac. I tried compiling my project
I just got a new Mac (with Lion) and am setting everything up, but
I am new to mac os x programming and just got an assignment to
Just got a new website project for my company internal use. The whole website
Just got a brand new mac. However when I try to install netbeans 7.0.1,
Just got the new iPad, and when I touch the microphone and say a
I've just got the new Visual Studio 2010 Ultimate and Javascript Intellisense is not
I have an existing application (with MySQL DB). I just got a new requirement
I'm new to Django and just just got django-registration up and running. Could anyone

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.