---
title: "sharedSystemTypesetter(for:)"
framework: appkit
role: symbol
role_heading: Type Method
path: "appkit/nstypesetter/sharedsystemtypesetter(for:)"
---

# sharedSystemTypesetter(for:)

Returns a shared instance of a reentrant typesetter that implements typesetting with the specified behavior.

## Declaration

```swift
class func sharedSystemTypesetter(for behavior: NSLayoutManager.TypesetterBehavior) -> Any
```

## Parameters

- `behavior`: The desired behavior.

## Return Value

Return Value A shared instance of a reentrant typesetter that implements typesetting with the specified behavior.

## Discussion

Discussion Possible return values are described in the NSLayoutManager.TypesetterBehavior section for NSLayoutManager.

## See Also

### Related Documentation

- [typesetterBehavior](appkit/nstypesetter/typesetterbehavior.md)

### Getting a typesetter

- [sharedSystemTypesetter](appkit/nstypesetter/sharedsystemtypesetter.md)
