[Solved] How do I re-write this code in Swift? [closed]
func pieChart(pieChart:XYPieChart!,index:Int!) ->CGFloat { let value:NSNumber = self.values[index] as NSNumber return value.doubleValue } 2 solved How do I re-write this code in Swift? [closed]