wait until the button releases
wait until the button releases
- Subject: wait until the button releases
- From: Matt Neuburg <email@hidden>
- Date: Tue, 15 Sep 2009 11:41:19 -0700
- Thread-topic: wait until the button releases
In my code I sometimes want to wait until the button that triggers my code
has released itself (e.g. unhighlighted). My way of doing this is with
delayed performance, i.e. the button's action method calls
performSelector...afterDelay and then the real stuff happens. Just
wondering: Is there a better approach? I guess I'm looking for a command
that means "wait for the event loop to come round again". m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings
_______________________________________________
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