Instance Method

sceneDidLoad()

Tells you when the scene is presented.

Declaration

func sceneDidLoad()

Discussion

This method is intended to be overridden in a subclass. It is the preferred location to peform custom setup after the scene has been initialized or decoded.

See Also

Responding to Loading and Resizing Events

func didChangeSize(CGSize)

Tells you when the scene’s size has changed.

func willMove(from: SKView)

Tells you when the scene is about to be removed from a view.

func didMove(to: SKView)

Tells you when the scene is presented by a view.