---
title: wraps
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nscell/wraps
---

# wraps

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

## Declaration

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

## Discussion

Discussion When the value of this property is 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 true is equivalent to setting the lineBreakMode property to NSLineBreakMode.byWordWrapping.

## See Also

### Modifying Textual Attributes

- [isEditable](appkit/nscell/iseditable.md)
- [isSelectable](appkit/nscell/isselectable.md)
- [isScrollable](appkit/nscell/isscrollable.md)
- [alignment](appkit/nscell/alignment.md)
- [font](appkit/nscell/font.md)
- [lineBreakMode](appkit/nscell/linebreakmode.md)
- [truncatesLastVisibleLine](appkit/nscell/truncateslastvisibleline.md)
- [baseWritingDirection](appkit/nscell/basewritingdirection.md)
- [attributedStringValue](appkit/nscell/attributedstringvalue.md)
- [allowsEditingTextAttributes](appkit/nscell/allowseditingtextattributes.md)
- [importsGraphics](appkit/nscell/importsgraphics.md)
- [setUpFieldEditorAttributes(_:)](appkit/nscell/setupfieldeditorattributes(_:).md)
- [title](appkit/nscell/title.md)
