Created
June 1, 2019 06:26
-
-
Save aybekckaya/e190214d2bf190a830d49463e49db64e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override func viewDidLoad() { | |
super.viewDidLoad() | |
let likeGesture = LikeGestureRecognizer(target: self, action: #selector(handleLikeGesture(gesture:))) | |
self.viewGesture.addGestureRecognizer(likeGesture) | |
} | |
@objc private func handleLikeGesture(gesture:LikeGestureRecognizer) { | |
print("I never be called. You have to implement gesture recognizer's state setters") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment