• 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: GUI threading question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GUI threading question


  • Subject: Re: GUI threading question
  • From: Kyle Sluder <email@hidden>
  • Date: Mon, 2 Feb 2009 11:41:24 -0500

On Mon, Feb 2, 2009 at 10:49 AM,  <email@hidden> wrote:
> It has long been my understanding that in order to keep a GUI from
> freezing in Cocoa during LONG methods you have to create a
> NSOperationQueue and load the method as a NSInvocationOperation as seen
> here:

You don't have to use NSOperationQueue.  You can use a background
thread, or you might be able to attach an input source to the runloop
and do a portion of work each time through, signaling on the input
source when the work is done.

--Kyle Sluder
_______________________________________________

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: 
 >GUI threading question (From: email@hidden)

  • Prev by Date: Re: GUI threading question
  • Next by Date: Re: becomeFirstResponder override issue
  • Previous by thread: Re: GUI threading question
  • Next by thread: pyobjc, **out parameters, and informal protocols
  • Index(es):
    • Date
    • Thread