Created
May 23, 2020 14:56
-
-
Save MathVasc/0161f5457fd54d1b07ec0cc27f150869 to your computer and use it in GitHub Desktop.
Add target to UIControll
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
let button = UIButton() | |
button.addTarget(self, action: #selector(goToNext), for: .touchUpInside) | |
@objc private func goToNext() { | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment