• 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: Beachball on Lengthy Task
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Beachball on Lengthy Task


  • Subject: Re: Beachball on Lengthy Task
  • From: Pierce Freeman <email@hidden>
  • Date: Sun, 05 Apr 2009 11:30:22 -0700
  • Thread-topic: Beachball on Lengthy Task

Dear Kirk:

While I probably won't be using that in my current project, it sounds like a
good idea and I will probably look into it if I ever have a need...


On 4/5/09 6:33 AM, "Kirk Kerekes" <email@hidden> wrote:

> Along with threads and various asynchronous techniques already
> mentioned, you should also consider creating a separate UI-less
> "foundation tool" to perform your lengthy task, controlled with NSTask
> in your main app. This yields all of the benefits of a thread, with
> none of the threading pitfalls. Getting real-time feedback (for a
> progress indicator, for example) from the task is more complex than
> with a thread, and getting result data back is slightly more involved,
> but the absolute freedom from threading issues is often worth it.
>
> Several of Apple's utility apps are constructed as a UI shell that
> invokes one or more tools.
>
>
>


_______________________________________________

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: 
 >RE:Beachball on Lengthy Task (From: Kirk Kerekes <email@hidden>)

  • Prev by Date: Re: Beachball on Lengthy Task
  • Next by Date: Re: Need localization-proof method of transporting dates.
  • Previous by thread: Re: Beachball on Lengthy Task
  • Next by thread: Re: Beachball on Lengthy Task
  • Index(es):
    • Date
    • Thread