La clase ViewController requiere un poco más de trabajo.
The ViewController class requires a bit more work.
Pegue el siguiente método de delegado en su clase ViewController
Paste the following delegate method into your ViewController class
En su lugar, la clase después de la coma es la superclase de la clase ViewController.
Instead, the class after the colon is the superclass of the ViewController class.
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.
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.
La clase UIViewController, la clase padre de la clase ViewController, implementa este método.
The UIViewController class, the parent class of the ViewController class, implements this method.
Abre ViewController.swift y remplaza la implementación de la clase ViewController con lo siguiente.
Open ViewController.swift and replace the implementation of the ViewController class with the following.
Nuestro proyecto actualmente contiene dos archivos Swift, uno para la clase AppDelegate, AppDelegate.swift, y otro para la clase ViewController, ViewController.swift.
Our project currently contains two Swift files, one for the AppDelegate class, AppDelegate.swift, and another one for the ViewController class, ViewController.swift.
Por ejemplo, los métodos privados de ayuda definidos en la clase ViewController son solo accesibles por la clase ViewController.
For example, the private helper methods defined in the ViewController class are only accessible by the ViewController class.
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.
Nici un rezultat pentru acest sens.
Sinonime și analogii pentru "clase ViewController" în limba Română