Skip to Content
Enterprise Augmented Reality Projects
book

Enterprise Augmented Reality Projects

by Jorge R. López Benito, Enara Artetxe González
December 2019
Intermediate to advanced content levelIntermediate to advanced
388 pages
8h 11m
English
Packt Publishing
Content preview from Enterprise Augmented Reality Projects

ViewController.swift

Now, click on ViewController.swift, which is where the main logic of our application lies.

The first thing you will see is that the class requires the ARKit library for the AR, the UIKit library for the interface, and the SceneKit library. This last one is a high-level 3D framework that Apple offers so that you can create, import, and manipulate 3D objects and scenes. We will be using it later in this chapter to import our external 3D models into the scene.

Our only variable at the moment is as follows:

@IBOUtlet var sceneView: ARSCNView!

This is the ARSCNView element from Main.storyboard. It will allow us to control the AR scene.

Our ViewController class inherits from UIViewController. From here, we have three override ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Unity 2018 Augmented Reality Projects

Unity 2018 Augmented Reality Projects

Jesse Glover
The Complete ARKit Course - Build 11 Augmented Reality Apps

The Complete ARKit Course - Build 11 Augmented Reality Apps

Daragh Walsh, Rayan Slim, Codestars By Rob Percival
HoloLens Blueprints

HoloLens Blueprints

Abhijit Jana, Manish Sharma, Mallikarjuna Rao

Publisher Resources

ISBN: 9781789807400Supplemental Content