Instance Method


Loads the reference node’s content and adds it as a new child node.


func resolve()


The archive is deserialized and the root node is added as a child of the reference node. If this method is called on a reference node whose content is already loaded, the existing node tree is discarded and replaced with a fresh copy of the archive’s data.

SpriteKit calls this method automatically if the scene renders the reference node and the reference node has not previously been loaded.

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