Created
January 24, 2018 07:15
-
-
Save kashfifahim/9d8a470754b009dbbda9f48d7e3e9aa8 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
func updateLabels( ) { | |
targetLabel.text = String(targetValue) | |
//here we are updating the text of the label | |
// and because the label holds string type | |
// we are converting the Int to String | |
// then assigning it to the text property of | |
// our targetLabel | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment