Background processing and progress updates
Background processing and progress updates
- Subject: Background processing and progress updates
- From: "Christian Moen" <email@hidden>
- Date: Wed, 1 Aug 2007 19:43:30 +0900
Dear cocoa-dev,
My application needs to do some processing which can takes some time. I'd
like to inform the user about processing status and progress using a sheet
with a progress indicator. What is the recommended way of doing this?
I'm thinking about starting the processing as a separate thread, which keeps
track of progress and status, and makes this information available through
some accessors. Additionally, I'm thinking setting up a timer that polls
the accessors every 1/10th of second or so to update the sheet. If an error
occurs, I'll call a method in the main thread.
Is this the common way of doing these things? Please advice.
Many thanks,
Christian
_______________________________________________
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