• 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: Need functionality of CAShapeLayer in 10.5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need functionality of CAShapeLayer in 10.5


  • Subject: Re: Need functionality of CAShapeLayer in 10.5
  • From: David Duncan <email@hidden>
  • Date: Tue, 21 Sep 2010 18:18:02 -0700

On Sep 21, 2010, at 6:14 PM, Kenneth Baxter wrote:

> Just a quick question about this - I notice that you say to use a timer which I presume you say deliberately rather than using the automatic needsDisplay and recalculating during display.

The automatic -needsDisplayOnBoundsChange will cause you to draw only once, at the new bounds value, not for every frame in-between. If that is acceptable, then that should work too. If you would have just changed the frame/bounds to implement the animation, that is fine as well. Either way, the implementation should be relatively straightforward.
--
David Duncan

_______________________________________________

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: 
 >Re: Need functionality of CAShapeLayer in 10.5 (From: Kenneth Baxter <email@hidden>)

  • Prev by Date: Re: Need functionality of CAShapeLayer in 10.5
  • Next by Date: Re: What's the point of @properties?
  • Previous by thread: Re: Need functionality of CAShapeLayer in 10.5
  • Next by thread: NSTextView
  • Index(es):
    • Date
    • Thread