---
title: NSAttributedStringFormattingOptions
framework: foundation
role: symbol
role_heading: Enumeration
path: foundation/nsattributedstringformattingoptions
---

# NSAttributedStringFormattingOptions

Options to use when creating an attributed string from a format string and variable list of arguments.

## Declaration

```occ
enum NSAttributedStringFormattingOptions : NSUInteger;
```

## Topics

### Getting the formatting options

- [NSAttributedStringFormattingApplyReplacementIndexAttribute](foundation/nsattributedstringformattingoptions/nsattributedstringformattingapplyreplacementindexattribute.md)
- [NSAttributedStringFormattingInsertArgumentAttributesWithoutMerging](foundation/nsattributedstringformattingoptions/nsattributedstringformattinginsertargumentattributeswithoutmerging.md)

## See Also

### Creating a formatted string

- [initWithFormat:options:locale:](foundation/nsattributedstring/initwithformat:options:locale:.md)
- [initWithFormat:options:locale:arguments:](foundation/nsattributedstring/initwithformat:options:locale:arguments:.md)
- [initWithFormat:options:locale:context:](foundation/nsattributedstring/initwithformat:options:locale:context:.md)
- [initWithFormat:options:locale:context:arguments:](foundation/nsattributedstring/initwithformat:options:locale:context:arguments:.md)
- [localizedAttributedStringWithFormat:](foundation/nsattributedstring/localizedattributedstringwithformat:.md)
- [localizedAttributedStringWithFormat:options:](foundation/nsattributedstring/localizedattributedstringwithformat:options:.md)
- [localizedAttributedStringWithFormat:context:](foundation/nsattributedstring/localizedattributedstringwithformat:context:.md)
- [localizedAttributedStringWithFormat:options:context:](foundation/nsattributedstring/localizedattributedstringwithformat:options:context:.md)
