<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSLayoutConstraint/Relation-swift.enum/lessThanOrEqual",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSLayoutRelation@NSLayoutRelationLessThanOrEqual"
  },
  "title" : "NSLayoutConstraint.Relation.lessThanOrEqual"
}
-->

# NSLayoutConstraint.Relation.lessThanOrEqual

The constraint requires the first attribute to be less than or equal to the modified second attribute.

```
case lessThanOrEqual
```

---

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)