Convert to Swift 4.2
This commit is contained in:
parent
c2633b5174
commit
9f5b7c7cb5
4 changed files with 28 additions and 20 deletions
|
@ -35,7 +35,7 @@ class ViewController: NSViewController, RendererDelegate {
|
|||
return self.view as! MTKView
|
||||
}
|
||||
|
||||
override init?(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) {
|
||||
override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) {
|
||||
let params = ViewController.defaultParameters()
|
||||
field = Field(parameters: params)
|
||||
super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue