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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T01:58:01+00:00 2026-06-11T01:58:01+00:00

I am designing an IPhone application. User search something. We grab data from the

  • 0

I am designing an IPhone application. User search something. We grab data from the net. Then we update the table.

THe pseudocode would be

[DoThisAtbackground ^{
  LoadData ();
  [DoThisAtForeground ^{
    UpdateTableAndView();
  }];
}];

What about if before the first search is done the user search something else.

What’s the industry standard way to solve the issue?

  1. Keep track which thread is still running and only update the table
    when ALL threads have finished?
  2. Update the view every time a thread finish?

How exactly we do 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-11T01:58:02+00:00Added an answer on June 11, 2026 at 1:58 am

    I suggest you take a look at the iOS Human Interface Guidelines. Apple thinks it’s pretty important all application behave in about the same way, so they’ve written an extensive document about these kind of issues.

    In the guidelines there are two things that are relevant to your question:

    • Make Search Quick and Rewarding: “When possible, also filter remote data while users type. Although filtering users’ typing can result in a better search experience, be sure to inform them and give them an opportunity to opt out if the response time is likely to delay the results by more than a second or two.”
    • Feedback: “Feedback acknowledges people’s actions and assures them that processing is occurring. People expect immediate feedback when they operate a control, and they appreciate status updates during lengthy operations.”

    Although there is of course a lot of nonsense in these guidelines, I think the above points are actually a good idea to follow. As a user, I expect something to happen when searching, and when you update the view every time a thread is finished, the user will see the fastest response. Yes, it might be results the user doesn’t want, but something is happening! For example, take the Safari web browser in iOS: Google autocomplete displays results even when you’re typing, and not just when you’ve finished entering your search query.

    So I think it’s best to go with your second option.

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

Sidebar

Related Questions

I'm designing an application that reads data to the iPod touch/iPhone that is sent
I'm designing the back-end for an iphone application. I'd like to use Core Data.
I am designing an iPhone application with a home page. This page has multiple
I am designing an iphone application and I need help structuring the program. I
I am creating an PhoneGap application for iPhone. When I am designing and testing
I'm designing an iPad/iPhone app using core data. The main focus of the app
I'm designing a pedometer application for the iPhone. Given the number of steps a
I’m in the process of designing an iPhone app, using Core Data for data
From the iPhone Programming Guide When creating files or writing out file data, keep
I am designing an iphone application in objective C. As of now, I have

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.