Skip to content

Instantly share code, notes, and snippets.

@leoiphonedev
Last active August 27, 2018 10:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leoiphonedev/25a1d8a54925ab01d7cf9e6d6d0ce91f to your computer and use it in GitHub Desktop.
Save leoiphonedev/25a1d8a54925ab01d7cf9e6d6d0ce91f to your computer and use it in GitHub Desktop.
Creating IBOutlet's for UILabel's and UIButton for the app user interface
class ViewController: UIViewController {
@IBOutlet weak var lblHeader: UILabel!
@IBOutlet weak var btnChangeLangauge: UIButton!
@IBOutlet weak var lblCurrentLanguage: UILabel!
override func viewDidLoad() {
super.viewDidLoad()
}
@IBAction func changeLanguage(_ sender: Any) {
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment