Created
June 28, 2018 07:19
-
-
Save halilozel1903/fbfbca2757c77ce917fa9e963a12edce 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
@IBAction func changeClicked(_ sender: Any) { | |
if number == 0 { | |
image.image = UIImage(named: "tr.png") | |
number = number + 1 | |
}else if number == 1{ | |
image.image = UIImage(named: "az.gif") | |
number = number - 1 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment