• 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: Foundation Tool and NSDistributedNotificationCenter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Foundation Tool and NSDistributedNotificationCenter


  • Subject: Re: Foundation Tool and NSDistributedNotificationCenter
  • From: Jerry Krinock <email@hidden>
  • Date: Fri, 23 Oct 2009 09:09:27 -0700


On 2009 Oct 23, at 08:37, Zephyroth Akash wrote:

[[NSRunLoop currentRunLoop] run];

I believe you need to read All About Run Loops...

http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/Multithreading/RunLoopManagement/RunLoopManagement.html#/ /apple_ref/doc/uid/10000057i-CH16-SW20

Ultimately, you'll end up with this loop which, the first time I saw it, I thought was the strangest-looking piece of code I had ever seen...

while (!done && [[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode
beforeDate:[NSDate distantFuture]]) {} ;


_______________________________________________

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: 
 >Foundation Tool and NSDistributedNotificationCenter (From: Zephyroth Akash <email@hidden>)

  • Prev by Date: Fwd: Foundation Tool and NSDistributedNotificationCenter
  • Next by Date: Re: stringWithContentsOfURL with resulting error 256
  • Previous by thread: Re: Foundation Tool and NSDistributedNotificationCenter
  • Next by thread: Fwd: Foundation Tool and NSDistributedNotificationCenter
  • Index(es):
    • Date
    • Thread