I was looking at a project that I made in Swift 1 a few years ago. And I noticed an error after converting my code to Swift 3 syntax that said Method does not override any method from its superclass
. I know its because the Set is old syntax but what do I replace it with? This is the line:
override func touchesBegan(_ touches: Set<NSObject>, with event: UIEvent) {
self.view.endEditing(true)
}