<!--
{
  "availability" : [
    "macOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSView/edgeInsets(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "s:So6NSViewC6AppKitE10edgeInsets3forSo06NSEdgeE0VAbCE12LayoutRegionV_tF"
  },
  "title" : "edgeInsets(for:)"
}
-->

# edgeInsets(for:)

```
@MainActor @preconcurrency func edgeInsets(for region: NSView.LayoutRegion) -> NSEdgeInsets
```

---

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)