Initializer

init(coder:)

Called when a node is initialized from an .sks file.

Declaration

init?(coder aDecoder: NSCoder)

See Also

First Steps

Getting Started with Nodes

Learn about the fundamental properties that provide a foundation for all other nodes.

init()

Initializes a blank node.

init?(fileNamed: String)

Creates a new node by loading an archive file from the game’s main bundle.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software