I'm at the airport and without access to the documentation, but I doubt that
Cocoa promises that NSSlider will always be implemented in terms of a Carbon
button. I think you've stumbled on an undocumented technique that accidentally
happens to work.
Take the advice about the performSelector: family to heart. It's a very useful
technique, and worth learning.
― F
On Dec 16, 2010, at 5:24 PM, [email protected] wrote:
> After posting I found a Carbon function GetCurrentButtonState;
> I call this in my slider action method and if the mouse is up I do my clean
> up and return otherwise I do the live slider action.
> Seems to work just fine.
_______________________________________________
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]