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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T01:54:51+00:00 2026-05-27T01:54:51+00:00

A follow on to my last question UITableViewCell custom cell using IB loading data

  • 0

A follow on to my last question UITableViewCell custom cell using IB loading data probably best to start a new one for a new question!

My Custom cell is loading (designed in IB)

Here is my xib file for the custom cell:

enter image description here

And heres how it loads in my table:

enter image description here

So it’s not loading the size properties for the custom cell (but it’s loading the text to the right labels and it’s loading the blue arrow on the right from the nib)

Heres how the code is populating the table:

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

    static NSString *CellIdentifier = @"Cell";

    ViewRoutesCell * aCell = (ViewRoutesCell *)[tableView dequeueReusableCellWithIdentifier:@"ViewRoutesCell"];

    if (aCell == nil)
    {


        NSArray *arr = [[NSBundle mainBundle] loadNibNamed:@"ViewRoutesCell" owner:self options:nil];

        for (NSObject *anObj in arr) {

            if([anObj isKindOfClass:[ViewRoutesCell class]]) {
                aCell = (ViewRoutesCell *)anObj;
                aCell.lblRouteText.text = [arryRouteText objectAtIndex:indexPath.row];
                aCell.lblRouteImage.text = [arryRouteImage objectAtIndex:indexPath.row];
            }



        }
}

    return aCell;
}

What am I doing wrong loading the cell?

Tom

  • 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-27T01:54:52+00:00Added an answer on May 27, 2026 at 1:54 am

    tableView:heightForRowAtIndexPath: You may need this method(UITableView’s delegate method).
    Just return the height you want. Or judge for different type of cell by indexPath.

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

Sidebar

Related Questions

As a follow up question to my last one , is there any simple
This is sort of a follow on from my last question. I am using
this is a follow-up question to my last one here: iOS: Initialise object at
Alright this is a follow-up to my last question: JTable: Changing cell background when
this is a follow-up question to my last one here: iOS: Initialise object at
Follow up question from Multi-core usage, threads, thread-pools . Are threads moved from one
This question is a follow-up to my last question with a reference to COM
This is a follow on from my last question relating to plotting timestamps in
This is somewhat of a follow up to a question posted earlier last month.
I looked for the answer but didn't find one - my question(s) follow: I

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.