In my SKScene
subclass I have implemented a touchesBegan
method. This method had the NSSet
changed to Set
in order to make it Swift 1.2 compatible (see this question).
override func touchesBegan(touches: Set<NSObject>, withEvent event: UIEvent) {
// ...
}
Now the compiler gives me an error: Method does not override any method from its superclass. My code -as any Swift code- was broken in 1.2, and I have fixed every issue except this override case. Am I missing something here?