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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T21:18:23+00:00 2026-06-13T21:18:23+00:00

What I have is an app with a UITableViewController, that is filled with custom

  • 0

What I have is an app with a UITableViewController, that is filled with custom UITableViewCells. I have some data available to feed the cells, however I need to download some extra content (pics, etc).

So what I do in the viewDidLoad method, I init a UITableViewCell object, fill all the labels with the info I have already available. Then I launch one of the cell class’s methods to download the data. After I’m done with the specific cell, I put it into a NSMutableArray and proceed with the next cell.

Then in the cellForRowAtIndexPath method I return the cell at the specific index from the mutable array.

What happens is that until all the data isn’t downloaded, my tableView is stuck… I’m not sure if this is the right approach, but I think I have to launch the method which downloads and then fills the extra content to the cell on another thread. How can I do that?

Thanks a lot in advance!

  • 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-13T21:18:25+00:00Added an answer on June 13, 2026 at 9:18 pm

    As suggested by rckoenes, using AFNetworking works! 🙂 I think for those of you still without ARC an alternative would be ASIHTTPRequest.

    Here is my code for downloading the image:

    -(void)getImageFromUrl:(NSURL *)url{
        NSURLRequest *request = [NSURLRequest requestWithURL:url];
        AFImageRequestOperation *op = [AFImageRequestOperation imageRequestOperationWithRequest:request imageProcessingBlock:nil success:^(NSURLRequest *request, NSHTTPURLResponse *response, UIImage *img) {
            [self.image setImage:img];
    
        } failure:^(NSURLRequest *request, NSHTTPURLResponse *response, NSError *error) {
    
        }];
        [op start];
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have implemented an iPhone app that uses UITableViewController/UITableView and Core Data. Further, I
I have an iPad app that has a UITableViewController that implements the NSFetchedResultsControllerDelegate .
have an app that finds your GPS location successfully, but I need to be
I'm developing an app that has an UITableViewController with static cells . Those static
Background - in my iPhone app I have a custom UITableViewController - I was
Our app has a UITableViewController with some custom section headers. These section headers are
I have an app with a UITabBarController that manages some UINavigationControllers, which in turn
I have a UINavigationController that pushes a custom UITableViewController onto the stack. This pushed
In my app, I have a UITableViewController which loads calculated data from my Core
I have a iPhone app using Prototype cells in a UITableViewController. I want to

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.