Good all!
I study lectures from Stanford University on the website bestkora.com
Translation from English. In Russian in lecture xcode 7, and I have xcode 6.2 (OS X 10.9) the problem arose with the variable
I declared UILabel as an outlet and called it display
@IBOutlet weak var display: UILabel! var displayValue: Double { get { return Double(display.text!)! } set { display.text = "\(newValue)" } }
all as specified in the lecture, but gives an error
Could not find an overload for 'init' that accepts the supplied arguments
what's wrong, don't understand
Lecture here https://drive.google.com/file/d/0B0jZOSo2e4NmOXFjc29BSXlHWlk/view