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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T23:15:13+00:00 2026-06-05T23:15:13+00:00

I am in very complex issue of reloading UITableView! I’ve a UITableView in which

  • 0

I am in very complex issue of reloading UITableView!

I’ve a UITableView in which I am continuously (near by 10seconds), retrieving data from a server and showing that data in my UITableView that contains custom cells. The issue is that, when user (thats me) is scrolling through the UITableView it will crash due to an indexOutOfBound error as I am fetching data from the server the NSMutableArray will clear and fill again with data.

I also tried with a BOOL variable setting YES or NO in scrolling delegates. In this case if I scroll UITableView it will remove the cell of scroll direction, after 10 seconds it will show all cells with data.

But what I want is that, if user scrolls UITableView none of the created cell should hide! scrollEnabled is not a solution for that.

Please help me out!

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-05T23:15:14+00:00Added an answer on June 5, 2026 at 11:15 pm

    this is a thread unsafe code issue. data source being modified while it is being actively used.

    one safe solution would be to feed all data after parsing to some DB (sqlite/Coredata) and reload the table datasource from db and call reloadData for table. this way at the time when you were using the datasource array – it wont be empty.

    best of luck

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

Sidebar

Related Questions

I'm currently implementing a very complex tree structure to allow for near-instant data access,
I have a rather complex data source for my UITableView. I am very carefully
I know that memory usage is a very complex issue on Windows. I am
I'm working on a very graphic-heavy application which uses content from a bunch of
I have a very complex issue that Me and my coworker have been discussing
I have a very complex controller with a very complex set of views and
I have a very complex web app project I want to re-structure. Naturally, it
We have a very complex Oracle package here (over 4,100 lines of code) that's
I have a very complex Microsoft Access report. This report is run for multiple
I'm working on my first very complex JQuery based application. A single web page

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.