Compiler error:Method with Objective-C selector conflicts with previous declaration with the same Objective-C selector
在跟着上斯坦福的Developing iOS 8 Apps with Swift 课程,在用Swift重写方法时发生错误,报错代码如下:
class ViewController: UIViewContoller
{
func performOperation(operation: (Double,Double) -> Double){}
func performOperation(operation: Double -> Double)