• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [iphone] Load time and Nav View Controller.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iphone] Load time and Nav View Controller.


  • Subject: Re: [iphone] Load time and Nav View Controller.
  • From: Dave DeLong <email@hidden>
  • Date: Sat, 16 Jan 2010 14:02:55 -0700

Ack.  You should never do UI stuff on secondary threads.  What you should be doing is loading your large XML file on the second thread, and then once that thread is done, make the activity indicator disappear (on the main thread).

Dave

On Jan 16, 2010, at 2:00 PM, Philip Vallone wrote:

> Hmmm Figured it out. I needed to run the activity indicator on another thread....
>
> [NSThread detachNewThreadSelector: @selector(showIndicator) toTarget:self withObject:nil];

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: [iphone] Load time and Nav View Controller.
      • From: Philip Vallone <email@hidden>
References: 
 >[iphone] Load time and Nav View Controller. (From: Philip Vallone <email@hidden>)
 >Re: [iphone] Load time and Nav View Controller. (From: Philip Vallone <email@hidden>)

  • Prev by Date: Re: [iphone] Load time and Nav View Controller.
  • Next by Date: Re: [iphone] Load time and Nav View Controller.
  • Previous by thread: Re: [iphone] Load time and Nav View Controller.
  • Next by thread: Re: [iphone] Load time and Nav View Controller.
  • Index(es):
    • Date
    • Thread