I am an android developer and I am learning for Swift now. I am doing the Stanford university CS193P course and trying out some basic calculator program. I followed the instructions but the program doesn't run. It gives me an error.
import UIKit
class ViewController: UIViewController {
        @IBOutlet var display: UIView!
    @IBAction func numberButton(sender:UIButton) {
        let digit = sender.currentTitle
        print("touched \(digit) digit")
    }
}
This is the error
2016-07-03 17:30:10.565 Calculator2[2084:121003] * Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key button.' * First throw call stack:
Please help and sorry for the noob question.
 
     
     
     
    