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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T10:34:07+00:00 2026-06-10T10:34:07+00:00

First, let me say that I’m pretty new to Objective-C and iOS programming in

  • 0

First, let me say that I’m pretty new to Objective-C and iOS programming in general so forgive me if the answer for this is obvious to you guys.

So I’m now going through the Apress Beginning iOS 5 book and in Chapter 10 about Storyboards, I encounter the following problem when trying to Run one of the examples.

As I understand it, this block of code is supposed to pass the text of a task from a list to a text input field on the next page. Here’s the code exactly from the book, but I get this error when trying to Build and Run the code: Property ‘tableView’ not found on object of type ‘BIDTaskListController *’.

- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender 
{ 
    UIViewController *destination = segue.destinationViewController;

    if ([destination respondsToSelector:@selector(setDelegate:)]) { 
        [destination setValue:self forKey:@"delegate"];
    }

    if ([destination respondsToSelector:@selector(setSelection:)]) {
        // prepare selection info
        NSIndexPath *indexPath = [self.tableView indexPathForCell:sender]; // Error on this line
        id object = [self.tasks objectAtIndex:indexPath.row];
        NSDictionary *selection = [NSDictionary dictionaryWithObjectsAndKeys:
                                  indexPath, @"indexPath", 
                                  object, @"object",
                                  nil];
        [destination setValue:selection forKey:@"selection"]; 
    }
}

Also, I’m running Xcode 4.4 by the way. Any help would be much appreciated. Thanks.

Regards,
Tim

  • 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-10T10:34:09+00:00Added an answer on June 10, 2026 at 10:34 am

    You have to put this code inside UITableViewController, propable you’re using UIViewController, so you don’t have reference to tableview or you can add UITableView to your UIViewController and connect IBOutlet to it.

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

Sidebar

Related Questions

first of all please let me say that I am quite new to objective
First of all, let me say that I'm relatively new to SOAP/WSDL/API, so this
First let me say that I did see this article: How to remove AspxAutoDetectCookieSupport
I can't figure this one out. At first let me say that my cache
Let's say that there are two PHP functions. function first() { $keyword = $this->input->post('keyword');
First, let me just say that I have searched for information on this topic;
Firstly, let me say that I've been on this issue for pretty much 2
Let say that I have many Javascript inside pages. At this moment is pretty
First let me say that this is not about production settings for django -
First, let me say that I abominate this feature in Windows Vista and Windows

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.