 /**
 *  MARK: ARPieChart delegate
 */
-public protocol ARPieChartDelegate {
+public protocol ARPieChartDelegate: class {
     
     func pieChart(pieChart: ARPieChart, itemSelectedAtIndex index: Int)
     

public class ARPieChart: UIView {
    
    /// Delegate
    public var delegate: ARPieChartDelegate?
    
    /// DataSource
    public var dataSource: ARPieChartDataSource?
    
    /// Pie chart start angle, should be in [-PI, PI)
    public var startAngle: CGFloat = CGFloat(-M_PI_2) {

/**
*  MARK: ARPieChart datasource
*/
public protocol ARPieChartDataSource: class {
    
    func numberOfSlicesInPieChart(pieChart: ARPieChart) -> Int
    
