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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T00:52:42+00:00 2026-06-10T00:52:42+00:00

I created a UITableView in Storyboard. For the prototype cell, I use custom cell

  • 0

I created a UITableView in Storyboard.

For the prototype cell, I use custom cell and added 3 UILabel onto it.

The question is when I want to update the content for the 3 UILabel, how can I get the references of them?

Thanks

  • 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-10T00:52:43+00:00Added an answer on June 10, 2026 at 12:52 am

    The simplest way is to assign tags to the labels in storyboard. Then, when you have the cell and need the label – like in cellForRowAtIndexPath – you can do this:

    UILabel *myLabel0 = (UILabel *)[cell viewWithTag:kMY_LABEL0_TAG];
    UILabel *myLabel1 = (UILabel *)[cell viewWithTag:kMY_LABEL1_TAG];
    

    and so on, where you’ve #defined those constants to match the tags in storyboard.

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

Sidebar

Related Questions

I've created a static UITableView through storyboard, and I want to be able to
I have created a UITableView with a custom UITableViewCell . My cell includes one
I'm using a prototype cell inside a grouped UITableView to create custom cells with
I've created a nib for a custom UITableView cell and followed the documentation and
I created a UITableView custom cell in a nib file and separate class file
In a uitableview in my storyboard, I have defined a prototype cell. In that
I'm using a UITableView to display custom cells created with Interface Builder. The table
I'm creating a uitableview with custom cells which I created in Interface Builder. There
I create a UITableView with custom UITableViewCell,this is how i create the cell in
I ran into a small problem. I created a UITableView where the user can

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.