• 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: 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

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>)
 >Re: [iphone] Load time and Nav View Controller. (From: Dave DeLong <email@hidden>)

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