Instance Property

style

The formatting style of the receiver.

Declaration

var style: PersonNameComponentsFormatter.Style { get set }

Discussion

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

See Also

Configuring Formatter Behavior

var isPhonetic: Bool

A Boolean value that specifies whether the receiver should use only the phonetic representations of name components. false by default.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software