Last active
July 25, 2020 04:51
-
-
Save imnaveensharma/5dbce3467e3fbfb29ce1a95e2783c6a5 to your computer and use it in GitHub Desktop.
Add target through selector
This file contains hidden or 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
self.btn.addTarget(self, action: #selector(tapBtn(sender:)), for: .touchUpInside) | |
// MARK: - Selectors Actions :: | |
@IBAction func tapBtn(sender: UIButton) { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment