daleijn
daleijn

Reputation: 738

The best way to create animation diagram

I'm trying to create something like this: enter image description here

I looked many resources for that, but I still don't have idea how can I do it. Using CoreAnimation, Quartz2d or UIBezierPath I can draw a circle, but how can I draw a nice diagram with touch gesture's aid, using that? Maybe I wrong searched? If any tutorial, or sample code for this issue?

Upvotes: 1

Views: 212

Answers (3)

Amir iDev
Amir iDev

Reputation: 1257

Best and easy library I used to draw pie chart with animation; MIM Chart Library for iOS

https://github.com/ReetuRaj/MIMChart-Library

Open source.

Upvotes: 3

Balram Tiwari
Balram Tiwari

Reputation: 5667

Looks like you are trying to do some charts & plotting. If that is so, there is something called as

  1. Core Plot

  2. ILGraphics

  3. OVGraphView

  4. Some controls as well

    Hope that helps.

Upvotes: 0

Fogmeister
Fogmeister

Reputation: 77651

OK, CoreAnimation is not what you're looking for with this.

Anyway...

If you want to make a nice Pie Chart then you should take a look at CorePlot.

It has a lot of graphing functions and pie charts are in there too.

You can still animate with this you just need to update the percentages based on touch. Don't try to animate the sections of the circle. Change the percentages and update the circle.

Upvotes: 0

Related Questions