Skip to content

Instantly share code, notes, and snippets.

@halilozel1903
Created June 28, 2018 07:19
Show Gist options
  • Save halilozel1903/fbfbca2757c77ce917fa9e963a12edce to your computer and use it in GitHub Desktop.
Save halilozel1903/fbfbca2757c77ce917fa9e963a12edce to your computer and use it in GitHub Desktop.
@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