---
title: style
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/personnamecomponentsformatter/style-swift.property
---

# style

The formatting style of the receiver.

## Declaration

```swift
var style: PersonNameComponentsFormatter.Style { get set }
```

## Discussion

Discussion Styles specify which name components are used to create a string representation, and how. Examples of name components formatter styles include long and abbreviated.

## See Also

### Configuring Formatter Behavior

- [isPhonetic](foundation/personnamecomponentsformatter/isphonetic.md)
