Instance Method

initWithRepresentedObject:

Initializes a newly allocated tree node that represents the specified object.

Declaration

- (instancetype)initWithRepresentedObject:(id)modelObject;

Parameters

modelObject

The object the tree node represents.

Return Value

An initialized tree node that represents modelObject.

See Also

Creating tree nodes

+ treeNodeWithRepresentedObject:

Creates and returns a tree node that represents the specified object.