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

# wraps

A Boolean value indicating whether the cell wraps text whose length that exceeds the cell’s frame.

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

## Discussion

When the value of this property is <doc://com.apple.documentation/documentation/Swift/true>, the cell wraps text and makes the cell non-scrollable. If the text of the cell is an attributed string value, you must explicitly set the paragraph style line break mode. Setting the value of this property to <doc://com.apple.documentation/documentation/Swift/true> is equivalent to setting the [`lineBreakMode`](/documentation/AppKit/NSCell/lineBreakMode) property to [`NSLineBreakMode.byWordWrapping`](/documentation/AppKit/NSLineBreakMode/byWordWrapping).

---

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)