Instance Method

setPathComponentCells(_:)

Sets the array of NSPathComponentCell objects currently being displayed.

Declaration

func setPathComponentCells(_ cells: [NSPathComponentCell])

Parameters

cells

An array of NSPathComponentCell objects.

Discussion

Each item in the array must be an instance of NSPathComponentCell or a subclass thereof. You cannot set this value to nil, but you can set it to an empty array using, for example, [NSArray array].

See Also

Managing Path Components

func pathComponentCells() -> [NSPathComponentCell]

Returns an array of the NSPathComponentCell objects currently being displayed.

Deprecated