On Wed, Apr 1, 2009 at 12:27 PM, Debajit Adhikary <deba...@debajit.com> wrote: > I'm trying to write an app where I need to accept keypresses, and call > a function whenever the user has stopped typing (or when there is a > specified delay between keystrokes). > > How do I measure the time between two keystrokes?
Have you looked at the documentation for NSEvent? Regards, Chris _______________________________________________ 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