---
title: pathComponentCellClass
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nspathcell/pathcomponentcellclass
---

# pathComponentCellClass

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

## Declaration

```swift
class var pathComponentCellClass: AnyClass { get }
```

## Return Value

Return Value The class used to create NSPathComponentCell objects.

## Discussion

Discussion Subclasses can override this method to return a custom cell class that is automatically used. By default, the method returns [NSPathComponentCell class], or a specialized subclass thereof.

## See Also

### Managing Path Components

- [rect(of:withFrame:in:)](appkit/nspathcell/rect(of:withframe:in:).md)
- [pathComponentCell(at:withFrame:in:)](appkit/nspathcell/pathcomponentcell(at:withframe:in:).md)
- [clickedPathComponentCell](appkit/nspathcell/clickedpathcomponentcell.md)
- [pathComponentCells](appkit/nspathcell/pathcomponentcells.md)
