• 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: NSOperation Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOperation Question


  • Subject: Re: NSOperation Question
  • From: Ken Thomases <email@hidden>
  • Date: Wed, 7 Jan 2009 20:13:53 -0600

On Jan 7, 2009, at 8:01 PM, Sandro Noel wrote:

i meant main app.

On 7-Jan-09, at 9:00 PM, Sandro Noel wrote:

Thanks Ken i was not aware of run Loops, besides the one for the mail app
I did not know i could just create one like that :)

Actually, one is automatically created for every thread in your program. For secondary threads, you just need to add sources to it and run it.


In this case though, if you are just registering for the Disk Arbitration callbacks, you can use the main run loop. :)

Cheers,
Ken

_______________________________________________

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: 
 >NSOperation Question (From: Sandro Noel <email@hidden>)
 >Re: NSOperation Question (From: Ken Thomases <email@hidden>)
 >Re: NSOperation Question (From: Sandro Noel <email@hidden>)
 >Re: NSOperation Question (From: Sandro Noel <email@hidden>)

  • Prev by Date: a kind of auto complete behavior of NSTextview: how to do that?
  • Next by Date: Re: [iPhone] Search control like in App Store
  • Previous by thread: Re: NSOperation Question
  • Next by thread: Returning value from detached NSThread selector with multiple arguments.
  • Index(es):
    • Date
    • Thread