Every property of the ViewController class needs to have a value after initialization.
It currently only contains the scene for the ViewController class.
Start by updating the ViewController class as shown below.
The ViewController class requires a bit more work.
La clase ViewController requiere un poco más de trabajo.
Paste the following delegate method into your ViewController class
Pegue el siguiente método de delegado en su clase ViewController
Instead, the class after the colon is the superclass of the ViewController class.
En su lugar, la clase después de la coma es la superclase de la clase ViewController.
Start off by declaring a method for the ARSCNViewDelegate, and as you'll see, the ViewController class already conforms to this delegate in the starter code.
Comience declarando un método para ARSCNViewDelegate, y como verá, la clase ViewController ya se ajusta a este delegado en el código de inicio.
The UIViewController class, the parent class of the ViewController class, implements this method.
La clase UIViewController, la clase padre de la clase ViewController, implementa este método.
Open ViewController.swift and replace the implementation of the ViewController class with the following.
Abre ViewController.swift y remplaza la implementación de la clase ViewController con lo siguiente.
Our project currently contains two Swift files, one for the AppDelegate class, AppDelegate.swift, and another one for the ViewController class, ViewController.swift.
Nuestro proyecto actualmente contiene dos archivos Swift, uno para la clase AppDelegate, AppDelegate.swift, y otro para la clase ViewController, ViewController.swift.
For example, the private helper methods defined in the ViewController class are only accessible by the ViewController class.
Por ejemplo, los métodos privados de ayuda definidos en la clase ViewController son solo accesibles por la clase ViewController.
This indicates that the methods are defined in the class's superclass-or higher up the inheritance tree-and are overridden by the ViewController class.
Esto indica que los métodos están definidos en la superclase de la clase - o más alto en el árbol de herencia - y están anulados por la más arriba en el árbol de herencia.