UIViewController:
*
Set the view programmatically
Swift
class FooViewController: UIViewController {
override func loadView() {
view = FooView()
}
}