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: Philip Vallone <email@hidden>
- Date: Sat, 16 Jan 2010 17:21:50 -0500
Thanks Dave.
Great advise. I've made the change.
Regards.
Phil
On Jan 16, 2010, at 4:02 PM, Dave DeLong wrote:
> 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];
> _______________________________________________
>
> 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
_______________________________________________
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