Instance Method

objectAtPath:

Returns the child object at the specified path.

Declaration

- (MDLObject *)objectAtPath:(NSString *)path;

Parameters

path

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.

Discussion

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

See Also

Working with Object Hierarchies

parent

The parent object that contains this object.

children

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

- addChild:

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

- enumerateChildObjectsOfClass:root:usingBlock:stopPointer:

Executes the specified block using each object in this object's child hierarchy.

path

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