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.