Created
February 24, 2020 08:54
-
-
Save hasanalisiseci/5a77d3c6d75b8d83364f0f7706c12e31 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
@objc func changePic() { | |
if isOldCeza == true { | |
imageView.image = UIImage(named: "cezaeski") | |
myLabel.text = "Ceza 2007" | |
isOldCeza = false | |
} else { | |
imageView.image = UIImage(named: "cezayeni") | |
myLabel.text = "Ceza 2020" | |
isOldCeza = true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment