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

2010-01-16 Thread Philip Vallone
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

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

2010-01-16 Thread Dave DeLong
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

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

2010-01-16 Thread Philip Vallone
Hmmm Figured it out. I needed to run the activity indicator on another thread [NSThread detachNewThreadSelector: @selector(showIndicator) toTarget:self withObject:nil]; Thanks, On Jan 16, 2010, at 3:46 PM, Philip Vallone wrote: > Hi, > > I have a Navigation Based iPhone Application. If

[iphone] Load time and Nav View Controller.

2010-01-16 Thread Philip Vallone
Hi, I have a Navigation Based iPhone Application. If I am going from one nav view to another it may take about 3 seconds to view the next view. This is because the the view loads a large xml file into a NSArray and then must render it. My question is, how can I display a UIActivityIndicatorVie