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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T05:03:56+00:00 2026-06-16T05:03:56+00:00

I have seen apps that will push to the new viewController immediately upon clicking

  • 0

I have seen apps that will push to the new viewController immediately upon clicking the table item, then display an activityIndicator while the new view is loading. I know how to add the activityIndicator to the ProfileViewController, but how do I make the table push to the new controller immediately upon clicking the item rather than waiting for the content to load?

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath 
*)indexPath
{
  ProfileViewController *profileViewController = [[ProfileViewController alloc] initWithNibName:@"ProfileViewController" bundle:nil];

  //profileViewController.title = [[news objectAtIndex:indexPath.row] objectForKey:@"name"];
  profileViewController.newsArticle = [news objectAtIndex:indexPath.row];
  [self.navigationController pushViewController:profileViewController animated:YES];
}

Any assistance or guidance would be wonderful. Thank you all!

  • 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-16T05:03:58+00:00Added an answer on June 16, 2026 at 5:03 am

    You don’t to an operation on the new view controller until the viewDidAppear. And then you fire off something that is asynchronous and does not block the main thread:

    1. viewDidLoad: setup activity indicator
    2. viewWillAppear: start acrivity indicator
    3. viewDidAppear: fire off async process
    4. Delegate method/notification/block: when process is done update UI with data
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have seen a few OSX apps that have a Special Characters menu item
I have seen several apps that make use of a UISplitViewController inside a tab.
You've probably seen web apps that have an email dropbox. Users can send email
I have seen some apps that have a few rake tasks included to load
I have seen some code in Pinax and other django apps that instead of
i have seen a lot of android apps those have a ListView that some
I have seen many apps that take instrument classes and take -javaagent as a
I have seen iphone apps that allow you to 'import your contacts from facebook'.
I have seen some apps with a button to rate the app. It brigs
I have seen some people in SO commenting that Singleton Pattern is an anti-pattern.

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.