Skip to content

Instantly share code, notes, and snippets.

@aybekckaya
Created June 1, 2019 05:30
Show Gist options
  • Save aybekckaya/0f3701215b657388e4d5a4eb7d2f8d18 to your computer and use it in GitHub Desktop.
Save aybekckaya/0f3701215b657388e4d5a4eb7d2f8d18 to your computer and use it in GitHub Desktop.
class LikeGestureRecognizer:UIGestureRecognizer {
override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent) {
super.touchesBegan(touches, with: event)
}
override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent) {
super.touchesMoved(touches, with: event)
}
override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent) {
super.touchesEnded(touches, with: event)
}
override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent) {
super.touchesCancelled(touches, with: event)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment