Instance Method


Returns the child object at the specified path.


func atPath(_ path: String) -> MDLObject



A path that identifies the object to be found using object names.

Return Value

The requested object, or nil if no object matching the path can be found.


See the path property for examples of how to construct object paths for searching.

See Also

Working with Object Hierarchies

var parent: MDLObject?

The parent object that contains this object.

var children: MDLObjectContainerComponent

A component that manages this object’s collection of children.

func addChild(MDLObject)

Adds a child object to this object, creating a container for the object’s children if necessary.

var path: String

A path that identifies the object in an asset's object hierarchy using object names.

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