I am using Xcode 7.1 and iOS 9.1 beta. I imported my working code from Xcode 6.2 and I am getting an error message that "Method does not override any method from its superclass"
Its not a latest swift syntax issue. I already rule out following conditions:
- syntax is updated for swift 2.0:
override func touchesEnded(touches: Set<UITouch>, withEvent event: UIEvent?)
- On rewrite in Xcode, syntax is suggested by xcode itself.
- Most important, I don't see this issue if I create a new test project and try to override touchesBegan. Problem is only with the imported code.
- I am overriding this method in UIViewController subclass.
- Same issue is also reproducible in Xcode 7 beta 6
It looks to me that either its a beta bug with imported code or something wrong with my configuration. Any suggestion are welcome. Thanks for the Help.