• 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: highlight a nsview on click-drag?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: highlight a nsview on click-drag?


  • Subject: Re: highlight a nsview on click-drag?
  • From: "Patrick J. Collins" <email@hidden>
  • Date: Sun, 15 Mar 2015 11:45:19 -0700 (PDT)

> Why bother with a timer loop to animate the wiper when that functionality is built-in through CoreAnimation?
> Especially since you are using an image as the wave background.

I guess because I like the playhead being tied to the actual
current sample position, not a separate animation that is faking being
connected to what's happening.  With an animation, that's not really
happening.  If I change the sample rate / playback speed, then core
animation has to be "faking" that.  Where as if its position is just
mapped to an X coordinate based on the math of the number of samples and
current sample index, then you get all of that for free and it seems
better to me.

Patrick J. Collins
http://collinatorstudios.com
_______________________________________________

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: 
 >highlight a nsview on click-drag? (From: "Patrick J. Collins" <email@hidden>)
 >Re: highlight a nsview on click-drag? (From: Graham Cox <email@hidden>)
 >Re: highlight a nsview on click-drag? (From: "Patrick J. Collins" <email@hidden>)
 >Re: highlight a nsview on click-drag? (From: Robert Martin <email@hidden>)

  • Prev by Date: Re: highlight a nsview on click-drag?
  • Next by Date: Re: highlight a nsview on click-drag?
  • Previous by thread: Re: highlight a nsview on click-drag?
  • Next by thread: Re: highlight a nsview on click-drag?
  • Index(es):
    • Date
    • Thread