• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Servicing Core Animations?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Servicing Core Animations? (From: Chilton Webb <email@hidden>)
 >Re: Servicing Core Animations? (From: "I. Savant" <email@hidden>)
 >Re: Servicing Core Animations? (From: Chilton Webb <email@hidden>)

  • Prev by Date: Re: Triangulating webcams
  • Next by Date: Re: [NSDate +dateWithNaturalLanguageString] question
  • Previous by thread: Re: Servicing Core Animations?
  • Next by thread: Re: Servicing Core Animations?
  • Index(es):
    • Date
    • Thread