---
title: pathComponentCells()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nspathcontrol/pathcomponentcells()
---

# pathComponentCells()

Returns an array of the NSPathComponentCell objects currently being displayed.

## Declaration

```swift
func pathComponentCells() -> [NSPathComponentCell]
```

## Return Value

Return Value The array of NSPathComponentCell objects.

## See Also

### Managing Path Components

- [clickedPathComponentCell()](appkit/nspathcontrol/clickedpathcomponentcell().md)
- [setPathComponentCells(_:)](appkit/nspathcontrol/setpathcomponentcells(_:).md)
