Last active
March 1, 2022 17:12
-
-
Save timcowlishaw/f807c45b529c71c781f7a6144c8fe148 to your computer and use it in GitHub Desktop.
Cenatus Apple Phase blogpost snippet 1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ARViewController.swift | |
| import PHASE | |
| // [ other imports elided ] | |
| class ViewController : UIViewController { | |
| var phaseEngine : PHASEEngine! | |
| override func viewDidLoad() { | |
| super.viewDidLoad(); | |
| self.phaseEngine = PhaseEngine(updateMode: .automatic); | |
| self.phaseEngine.start(); | |
| // [ method body elided ] | |
| } | |
| // [ class body elided ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment