GameViewController

public class GameViewController: UIViewController

The GameViewController is responsible for mainly the game/rendering loop.

A basic setup in viewDidLoad() would look something like

super.viewDidLoad()

let view = self.view as! GameView
scene = Scene(size: view.bounds.size)
view.presentScene(scene)
  • Undocumented

    Declaration

    Swift

    public class GameViewController: UIViewController
  • Undocumented

    Declaration

    Swift

    public class GameViewController: UIViewController