<!--
{
  "availability" : [
    "macOS: 10.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSPathCell/pathComponentCell(at:withFrame:in:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSPathCell(im)pathComponentCellAtPoint:withFrame:inView:"
  },
  "title" : "pathComponentCell(at:withFrame:in:)"
}
-->

# pathComponentCell(at:withFrame:in:)

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

```
func pathComponentCell(at point: NSPoint, withFrame frame: NSRect, in view: NSView) -> NSPathComponentCell?
```

## Parameters

`point`

The point within the returned cell.

`frame`

The frame within which the point is located.

`view`

The view within which the frame is located.

## Return Value

The component cell within which the given point is located, or `nil` if no cell exists at that location.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)