---
title: layoutManager
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstypesetter/layoutmanager
---

# layoutManager

Returns the layout manager for the text being typeset.

## Declaration

```swift
unowned(unsafe) var layoutManager: NSLayoutManager? { get }
```

## Return Value

Return Value The layout manager for the text being typeset. This value is valid only while the typesetter is performing layout.

## See Also

### Accessing the layout manager

- [usesFontLeading](appkit/nstypesetter/usesfontleading.md)
- [typesetterBehavior](appkit/nstypesetter/typesetterbehavior.md)
- [hyphenationFactor](appkit/nstypesetter/hyphenationfactor.md)
