Instance Property

data

The data object from which the scene source loads scene content.

Declaration

@property(readonly) NSData *data;

Discussion

If the scene source was created using the sceneSourceWithData:options: or initWithData:options: method, this property’s value is the data from which the scene source was created. If the scene source was created from a scene file using the the sceneSourceWithURL:options: or initWithURL:options: method, this property’s value is the data loaded from that URL at the time the scene source was created.

See Also

Getting Information about the Scene

url

The URL identifying the file from which the scene source was created.

- propertyForKey:

Returns metadata about the scene.

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