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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T19:50:10+00:00 2026-05-31T19:50:10+00:00

My problem is pretty common. I want to show some loading stuff while the

  • 0

My problem is pretty common. I want to show some “loading” stuff while the data that will be shown in a table is being downloaded. But all the solutions I’ve seen this far is either to add some spinners to cells, or put some semi-transparent view over the app.

What I want to active is the thing that apple does in its apps (for example YouTube). Like, the spinning wheel with word “Loading” is shown on the white background, and then the data is shown.

I have also seen some solution with a grouped style, but my table has a plain style so it isn’t helping me a lot I think.

EDIT

My final code looks like this:

- (void)loadImagesData
{
    UIView *tableView = self.view;
    self.view = [[LoadingView alloc] initWithFrame:CGRectMake(0, 0, 320, 367)];
    dispatch_queue_t downloadQueue = dispatch_queue_create("flickr downloader", NULL);
    dispatch_async(downloadQueue, ^{
        NSArray *images = [FlickrFetcher photosInPlace:self.place maxResults:MAX_PHOTOS];
        dispatch_async(dispatch_get_main_queue(), ^{
            self.view=tableView;
            self.imagesData = images;
        });
    });
    dispatch_release(downloadQueue);
}

and imageData setter calls reloadData on table view.

  • 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-31T19:50:11+00:00Added an answer on May 31, 2026 at 7:50 pm
    1. Create a UIViewController (not a UITableViewController – even if you are about to present a table)
    2. Create your “Loading” view and add it as an outlet
    3. Create your tableview and add it as an outlet too
    4. When the controller is presented set its view property to point to your “Loading” view. When all tasks have completed, switch the view with the tableview

    Just don’t forget to add protocols and methods involved in order to control your tableview

    I hope that this will help you

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

Sidebar

Related Questions

I'm trying to solve pretty easy problem. I want to establish connection to 2
I have a pretty simple problem. Basically I have an array called $list that
I've got a pretty minor problem that I think can be resolved by re-thinking
I'm pretty new to Python programming and would appreciate some help to a problem
i want to write common page for viewing data list or single object. In
I know this must be a pretty common problem, but I haven't been able
I have included reset.css which is pretty common for most websites that use, on
ETL is pretty common-place. Data is out there somewhere so you go get it.
Hey everyone, I am pretty sure this is a fairly common problem. So in
It seems pretty common to want to let your javascript know a particular dom

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.