Re: Servicing Core Animations?
Re: Servicing Core Animations?
- Subject: Re: Servicing Core Animations?
- From: "I. Savant" <email@hidden>
- Date: Sun, 13 Jul 2008 13:51:34 -0400
I welcome any feedback, mockery, etc.
Feedback I can give, mockery requires creativity which I'm fresh
out of today ... long day yesterday. ;-)
If I use the option in (1) below, it works fine. If I use the option
in (2), which is what I WANT to use, no animation occurs until after
the mouseup happens.
Okay, I can't say for sure (because I've not done what you're
doing), but short-circuiting the run loop in this way can have some
strange (though not altogether unexpected) side-effects.
What happens if you use -mouseDragged: via the "three-method"
approach below? That is, update the position of your button *once* on -
mouseDown: and *once* on -mouseDragged:?
The three-method approach:
http://developer.apple.com/documentation/Cocoa/Conceptual/EventOverview/HandlingMouseEvents/chapter_5_section_4.html#/
/apple_ref/doc/uid/10000060i-CH6-SW3
I suspect the animation machinery will work as expected but I could
be wrong. :-) I still have yet to do anything fancy with it.
--
I.S.
_______________________________________________
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