On Nov 17, 2010, at 2:12 PM, Kyle Sluder wrote: > On Wed, Nov 17, 2010 at 2:07 PM, Dave DeLong <davedel...@me.com> wrote: > Here's what I got from that documentation: > > - An NSTimer is a run loop source. > > Ah, I think this is where my brain went all funny, because the NSRunLoop > documentation mentions multiple times that "A timer is not considered an > input source." > http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/NSRunLoop_Class/Reference/Reference.html > > I suspect what is meant is that it's not considered an input source for the > purpose of deciding when to stop looping and return from the -run… methods.
A timer is a "source" but not an "input source". "The Run Loop Sequence of Events" says that both timers and port-based input sources are able to wake a sleeping run loop. -- Greg Parker gpar...@apple.com Runtime Wrangler _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com