• 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
Background processing and progress updates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Background processing and progress updates
      • From: Michael Dautermann <email@hidden>
  • Prev by Date: Re: appendBytes memcpy
  • Next by Date: Re: Background processing and progress updates
  • Previous by thread: Re: Launching a process with Admin Privileges asynchronously
  • Next by thread: Re: Background processing and progress updates
  • Index(es):
    • Date
    • Thread