Instance Method

sceneDidLoad()

Called immediately after the scene has been initialized or decoded.

Declaration

func sceneDidLoad()

Discussion

This method is intended to be overridden in a subclass. You can use this method to implement any custom behavior after it has been initialized or decoded.

See Also

Presenting a Scene

func willMove(from: SKView)

Called immediately before a scene is removed from a view.

func didMove(to: SKView)

Called immediately after a scene is presented by a view.

var view: SKView?

The view that is currently presenting the scene.