Last active
April 11, 2019 03:29
-
-
Save BeauNouvelle/b84fa96bef14123475f2beac8fb300b2 to your computer and use it in GitHub Desktop.
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
let button = UIButton() | |
button.addAction(for: .touchUpInside) { (button) in | |
// Run code | |
} | |
let slider = UISlider() | |
slider.addAction(for: .valueChanged) { (slider) in | |
// Run code | |
} | |
let segmentedControl = UISegmentedControl() | |
segmentedControl.addAction(for: .valueChanged) { (segmentedControl) in | |
// Run code | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment