<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSCollectionView/ScrollPosition/leadingEdge",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSCollectionViewScrollPosition@NSCollectionViewScrollPositionLeadingEdge"
  },
  "title" : "leadingEdge"
}
-->

# leadingEdge

Scroll so that the leading edge of the selected items’ bounding box is adjacent to the leading edge of the collection view’s bounds. Use this option to support both left-to-right and right-to-left layouts appropriately. This option must not be combined with the [`left`](/documentation/AppKit/NSCollectionView/ScrollPosition/left), [`centeredHorizontally`](/documentation/AppKit/NSCollectionView/ScrollPosition/centeredHorizontally), [`right`](/documentation/AppKit/NSCollectionView/ScrollPosition/right), [`trailingEdge`](/documentation/AppKit/NSCollectionView/ScrollPosition/trailingEdge), or [`nearestVerticalEdge`](/documentation/AppKit/NSCollectionView/ScrollPosition/nearestVerticalEdge) options, but may be combined with other options.

```
static var leadingEdge: NSCollectionView.ScrollPosition { get }
```

---

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)