Created
September 10, 2015 20:49
-
-
Save bachand/c70d6bdf18c60970466c to your computer and use it in GitHub Desktop.
AnimalsViewController
This file contains hidden or 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 AnimalsViewController: UIViewController { | |
let dogButton: UIButton | |
let catButton: UIButton | |
let pigButton: UIButton | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
view.addSubview(dogButton) | |
view.addSubview(catButton) | |
view.addSubview(pigButton) | |
// ... | |
} | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment