Contents

string(from:)

Returns a string formatted for a given NSPersonNameComponents object.

Declaration

func string(from components: PersonNameComponents) -> String

Parameters

  • components:

    The name components to be formatted.

Return Value

A formatted string representation of the given name components.

See Also

Converting Between Person Name Components and Strings