Created
May 9, 2020 12:10
-
-
Save stevencurtis/52d0a382d791fda4d556ddbd25b29560 to your computer and use it in GitHub Desktop.
viewcontrollershakecount
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
class ViewController: UIViewController { | |
@IBOutlet weak var shakeLabel: UILabel! | |
var shakeCounter = 0 | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
shakeLabel.text = "Shaken 0 times" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment