Re: [iphone] Load time and Nav View Controller.
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