Лектор работал с Xcode 6.2 iOS 8.2 Swift 1.1
Для Swift 1.2 при появлении ошибки
Method 'perform' with Objective-C selector 'perform: ' conflicts with previous declaration with the same Objective-C selector
Достаточно сделать один (или оба) из этих методов private
class ViewController: UIViewController{
@IBOutlet weak var display: UILabel!
. . . . . . . . .
func performOperation (operation: Double -> Double){...
. . . . . . . . .
private func performOperation (operation: (Double, Double) -> Double ){
и проблема «уйдет».
Код на отдельных этапах Лекции 2 доступен через Tags.
Лекция 2 первая часть-> Lecture2/1
Лекция 2 вторая часть без Autolayout-> Lecture2/2
Лекция 2 вторая часть c Autolayout-> Lecture2/3Swift1_2
Лекция 2 вторая часть c Autolayout представлена с исправленным кодом для Swift 1.2