piaoyongren / core-plot

Automatically exported from code.google.com/p/core-plot
0 stars 0 forks source link

Support animating custom layer properties #211

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The user should be able to animate custom layer properties such as the radius 
of a pie chart. Core Animation added support for this in iOS 3.0 and MacOS 
10.6. We won't be able to support this feature in MacOS 10.5.

Enabling animation support for a property requires the following steps:

1. Implement -initWithLayer: in CPLayer and all subclasses to copy all of the 
instance variables so they will be available to the drawing methods during an 
animation.

2. Implement +needsDisplayForKey: and return YES for each key that should 
support animation. This method is only supported in iOS 3.0 and MacOS 10.6.

Original issue reported on code.google.com by eskr...@mac.com on 17 Oct 2010 at 5:26

GoogleCodeExporter commented 8 years ago
Step 1 is complete.

Original comment by eskr...@mac.com on 21 Oct 2010 at 11:29

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 99851589f55c.

Original comment by eskr...@mac.com on 25 Jul 2011 at 2:29