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

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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T15:02:39+00:00 2026-06-01T15:02:39+00:00

I have created a subclass of UITableViewController that is used as the custom class

  • 0

I have created a subclass of UITableViewController that is used as the custom class for a View in my storyboard. The view has a number of sections/rows defined as prototype cells which are instantiated and shown as expected. Most of the UITableView delegate methods simply call the super’s methods that handle section amount, rows, etc.

I have cached content that is used to update the cells on -viewDidLoad and then an asynchronous operation that reloads the content from my server and rebinds the data afterwards (on the main thread, -performSelectorOnMainThread::). It is at this point that, seemingly arbitrarily, some of the cells content (labels primarily) will be cleared of data and not updated to the new data for anywhere between 10-15 seconds. At which point either the content which just show up or sometimes scrolling in the table view will cause the content to appear.

I know the selector is being called and on the main thread, the UI element’s text properties are getting set but randomly they just…don’t update. I’ve tried adding in -setNeedsDisplay on the tableView, controller’s view and -reloadData on the tableView (though the last one seemed unnecessary as they’re prototype cells) all to no avail.

Anyone come across this?

  • 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-01T15:02:40+00:00Added an answer on June 1, 2026 at 3:02 pm

    My comment did indeed fix my problem. It seems UILabel‘s are not updated when modified but rather it’s decided internally when to repaint them – regardless if you try to force it with display or setNeedsDisplay.

    Solution: Use a UITextView instead of a UILabel

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

Sidebar

Related Questions

i have created a custom view class which is a subclass of UIview class
I have created an iPad app that has 10 view controllers that swipe left
I have created a subclass of the TextBox class so that I can capture
I have a UITableViewController subclass that's instantiated, depending on where it's used, in a
I have created a subclass of a generic list so that I could implement
I have created an abstract base class Animal which has public virtual abstract method
I have created a Class (subclass of NSObject) which will hold all my SQLs/dbConnections
Here's the scenario - I have created a custom NSView subclass, and the implementation
I have created a sub class (DatabaseHelper) of SQLiteOpenHelper Class.Its has a constructor and
I have created a subclass of QGLwidget and I was hoping that I could

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.