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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to