Skip to content

Instantly share code, notes, and snippets.

@dimpiax
Last active April 27, 2020 20:38
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 dimpiax/41f01075648aa8fbb0a5176514dff039 to your computer and use it in GitHub Desktop.
Save dimpiax/41f01075648aa8fbb0a5176514dff039 to your computer and use it in GitHub Desktop.
class NatureViewController: UIViewController {
@IBOutlet private var label: UILabel! {
didSet {
label.title = NSLocalizedString("natureTitle", comment: "")
}
}
@IBOutlet private var button: UIButton! {
didSet {
button.setTitle(NSLocalizedString("saveNatureButton", comment: ""), for: .normal)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment