SceneKit

Can SceneKit be used in swift playgrounds? If so, how? Because I'm assuming it would be different too;


class GameViewController: UIViewController, SCNSceneRendererDelegate {

}

Replies

Ya.. SceneKit can be used in Swift Playground (and even I used it for WWDC18 scholarship submissions).

How I used was something just like this:

1. First I imported the SceneKit and then work it through out the playground. But, you can also try like:


class SceneKitView: SceneKit{...}