Instance Property

clickedPathComponentCell

Sets the value of the path displayed by the receiver.

Declaration

@property(readonly, strong) NSPathComponentCell *clickedPathComponentCell;

Parameters

url

The new path value to display.

Discussion

When setting, an array of NSPathComponentCell objects is automatically set, based on the path in url. The type of NSPathComponentCell objects created can be controlled by subclassing NSPathCell and overriding pathComponentCellClass.

If url is a file URL (returns YES from fileURL), the images are automatically filled with file icons, if the path exists. The URL value itself is stored in the objectValue property of the cell.

See Also

Managing Path Components

pathComponentCellClass

Returns the class used to create pathComponentCell objects when automatically filling up the control.

- rectOfPathComponentCell:withFrame:inView:

Returns the current rectangle being displayed for a given path component cell, with respect to a given frame in a given view.

- pathComponentCellAtPoint:withFrame:inView:

Returns the cell located at the given point within the given frame of the given view.

pathComponentCells

Sets the array of NSPathComponentCell objects currently being displayed.