This is the bare minimum setup required to run Plattar on IOS devices.

Use this example to start a new project or integrate the Plattar SDK into existing projects.

Minimum Setup Example
This is the bare minimum setup required to run Plattar
import PlattarSDK

class ViewController: UIViewController {
	var app:PlattarEngine?

	override func viewDidAppear(_ animated: Bool) {
		super.viewDidAppear(animated)

		// plattar requires an active internet connection
		if (!ConnectionChecker.checkConnection()) {
			// display error message
			return
		}

		// plattar requires a device is ARKit support
		if (!PlattarCVSession.isARSupported() && !PlattarCVSession.isSimulator()) {
			// display error message
			return
		}

		app = PlattarCVSession.initPlattarView() as? PlattarEngine

		// setup the app with your app-key
		app!.setup(PlattarSettings(keyString: "your-app-key"))

		app!.start()
	}
}