How to repeatedly call a method (reload…) with a timer to animate a transition
问题 I implemented corePlot in my xcode project. I'm trying to "explode" a slice of the pie chart with animation. Here is the method I'm using: - (void)radialOffsetForPieChart:(CPTPieChart *)pieChart recordIndex:(NSUInteger)idx { if (myIndex == idx) { return 20; } return 0; } I have another method which calls [pieChart reloadRadialOffset]; . For example: - (void)thisMethod { [pieChart reloadRadialOffset]; } How can I animate the reloadRadialOffsets ? 回答1: I just added an example to the "Simple Pie