Contents

nameComponents

Access the name of the person.

Declaration

var nameComponents: PersonNameComponents?

Discussion

You can use this property to construct the person’s name for display. Use the components with an instance of PersonNameComponentsFormatter to create a string representation for the current locale.

See Also

Identifying the person