In CPDPieChartViewController.m add IBOutlets and IBAction and in storyboard connect them.