Closed wenzhaot closed 7 years ago
lazy var recordButton = UIButton().then { $0.setTitle("Start", forState: .Normal) $0.setTitle("Stop", forState: .Selected) $0.addTarget(self, action: #selector(someAction), forControlEvents: .TouchUpInside) }
The "self" cannot be used.
The "self" cannot be used.