Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Pie Chart built using CAShapeLayers, a CADisplayLink and custom layer properties
Branch: master
Pull request Compare This branch is 2 commits behind briancoyner:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

Core Animation Pie Chart

Created by Brian Coyner (2011,2012)


  • Xcode 4.3

This is a simple Pie Chart view built using Core Animation. The purpose of this app is to demonstrate a technique for animating arc (i.e. wedges) of a pie chart.

The pie chart contains the following features:

  • add new slices (animated)
  • remove selected slice (animated)
  • update existing pie values (animated)
  • interactive slice selection (tap and/ or move your finger)

The view uses a data source (number of slices, slice value) and delegate (selection tracking)

Something went wrong with that request. Please try again.