<!--
{
  "availability" : [
    "macOS: 10.10.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSSplitViewItem/holdingPriority",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSSplitViewItem(py)holdingPriority"
  },
  "title" : "holdingPriority"
}
-->

# holdingPriority

The priority for a split view item to hold its size.

```
var holdingPriority: NSLayoutConstraint.Priority { get set }
```

## Discussion

This priority affects the split view item’s width (for a vertical split view) or height (for a horizontal split view).

The view with the lowest priority is the first to gain additional width if the split view grows or shrinks. The default of this property is [`defaultLow`](/documentation/AppKit/NSLayoutConstraint/Priority-swift.struct/defaultLow).

---

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)