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

# usesDefaultHyphenation

A Boolean value that indicates whether the layout manager uses the default hyphenation rules to wrap lines.

```
var usesDefaultHyphenation: Bool { get set }
```

## Discussion

When the value of this property is <doc://com.apple.documentation/documentation/Swift/true>, the layout manager makes a best-effort attempt to hyphenate text when wrapping lines. You may override this hyphenation behavior on a per-paragraph basis using the [`hyphenationFactor`](/documentation/AppKit/NSLayoutManager/hyphenationFactor) property of [`NSParagraphStyle`](/documentation/AppKit/NSParagraphStyle) The default value of this property is <doc://com.apple.documentation/documentation/Swift/false>, which prevents the layout manager from hyphenating text.

---

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)