Hi Koko, On Thu, Dec 16, 2010 at 2:37 PM, <[email protected]> wrote:
> What is the preferred way of receiving an action when the mouse is released > in an NSSlider? > The preferred thing is not to do precisely that. It's to have the action method use, say, -performSelector:withObject:afterDelay: and + cancelPreviousPerformRequestsWithTarget:selector:object: to schedule expensive work that cannot be performed too often. A couple things to note: (1) Users using full keyboard access or accessibility are not using the mouse, so no mouse up. (2) According to Apple's human interface group, it is highly desirable that changes made with sliders be live whenever possible. If something is too expensive to do completely live, you still shouldn't wait for mouseUp: to produce the 'real' effect, just avoid doing it every single time the user twitches. -Ken Cocoa Frameworks > > -koko > > _______________________________________________ > > Cocoa-dev mailing list ([email protected]) > > 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/kenferry%40gmail.com > > This email sent to [email protected] > _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
