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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:48:25+00:00 2026-05-25T00:48:25+00:00

I am currently working though an example in the apple documents but am having

  • 0

I am currently working though an example in the apple documents but am having a little trouble finding some of the things they are talking about, in particular inside

A Closer Look at Table-View Cells > Loading Custom Table-View Cells From Nib Files

Here

I am not sure about which class needs to be set..

7, Select File’s Owner in the nib document window, open the Identity
pane of the inspector, and set the class of File’s Owner to your
custom view controller class.

  • 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-05-25T00:48:25+00:00Added an answer on May 25, 2026 at 12:48 am

    The owner is your implementation of the table view controller.
    In your table view controller you define a UITableViewCell property (in this case it is tvCell)

    @interface MyTableViewController: UITableViewController {
    
        IBOutlet UITableViewCell *tvCell;
    
        @property (nonatomic, retain) IBOutlet UITableViewCell *tvCell;
    

    Then in your nib file for the custom table view cell you specify the files owner as of type MyTableViewController and point the tvCell outlet to the table cell view in the nib.

    Then in the cellForRowAtIndex path the following line:

    [[NSBundle mainBundle] loadNibNamed:@"TVCell" owner:self options:nil];
    

    this line loads the cells nib, setting your table view controller (i.e. self) as the owner, thus connecting the tvCell property in your table view controller to point to the TableViewCell in the nib.

    You can then take a copy of that pointer and initialise the fields in the cell in this method and return that ‘custom’ cell from the method.

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

Sidebar

Related Questions

I'm currently working through some exercises in a c++ book, which uses text based
Currently working on a VBScript to automate some of the dirty PST ingestion work
I'm currently working on a plug-in for Eclipse that translates some custom Java code
I'm currently working on a Varnish (v3) set up, but I was wondering if
I've been working with C# and .NET for quite some time now, but am
I'm currently working on a blog for a college news organization. Each post, though,
I am working through a KnockOutJs Sample and am having some posting problems with
I'm currently working through an assignment that deals with Big-O and running times. I
I'm currently working through the excercises in 'The C Programming Language'. Here's one of
I am currently working through this tutorial: Getting Started with jQuery For the two

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.