Created
May 12, 2020 21:57
-
-
Save sandeeplearner/7c9cf1515b96889bcecd521e0c03f313 to your computer and use it in GitHub Desktop.
Instantiate viewController
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 ViewController: UIViewController { | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
let plane = PlaneViewController(with: PlaneViewModel()) | |
let car = CarViewController(with: CarViewModel()) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment