Convert to Swift 4.0 syntax

This commit is contained in:
Charles Magahern
2019-09-24 22:17:16 -07:00
parent 12f9b4eff0
commit 51d0faf556
8 changed files with 38 additions and 13 deletions
@@ -37,11 +37,11 @@ class MainViewController: UIViewController, SwitchesViewControllerDelegate
self.view.backgroundColor = UIColor.black
self.addChildViewController(_visualizationController)
self.addChild(_visualizationController)
self.view.addSubview(_visualizationController.view)
_switchesController.delegate = self
self.addChildViewController(_switchesController)
self.addChild(_switchesController)
self.view.addSubview(_switchesController.view)
self.view.addSubview(_headerView)