Created
April 11, 2015 08:29
-
-
Save hamada-lemois/883d09a917ce9e9bc7db to your computer and use it in GitHub Desktop.
Subclassing UIViewController
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
| import UIKit | |
| class ViewController: UIViewController { | |
| required init(coder aDecoder: NSCoder) { | |
| super.init(coder: aDecoder) | |
| } | |
| override init(nibName nibNameOrNil: String!, bundle nibBundleOrNil: NSBundle!) { | |
| super.init(nibName: nil, bundle: nil) | |
| } | |
| convenience init() { | |
| self.init(nibName: nil, bundle: nil) | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment