<分区>
好的,Swift 1.2 发生了什么?我最近更新了,突然我的项目全是红色的。与 NSSet 的兼容性是否已被删除或什么?我该如何解决这个问题?
override func touchesBegan(touches: NSSet, withEvent event: UIEvent) {
结果:
Overriding method with selector 'touchesBegan:withEvent:' has incompatible type '(NSSet, UIEvent) -> ()'