Skip to content

Instantly share code, notes, and snippets.

@faganello60
Last active August 28, 2017 15:17
Show Gist options
  • Save faganello60/4cf60992353ff4b566a686e3aff13d2d to your computer and use it in GitHub Desktop.
Save faganello60/4cf60992353ff4b566a686e3aff13d2d to your computer and use it in GitHub Desktop.
Tutorial Base ViewController
class BaseViewController: UIViewController {
override func viewDidLoad() {
if let controller = self as? UIController {
self.title = controller.navigationTitle
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment