Instance Method

stringFromPersonNameComponents:

Returns a string formatted for a given NSPersonNameComponents object.

Declaration

- (NSString *)stringFromPersonNameComponents:(NSPersonNameComponents *)components;

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

+ localizedStringFromPersonNameComponents:style:options:

Returns a string formatted for a given NSPersonNameComponents object using the provided style and options.

- annotatedStringFromPersonNameComponents:

Returns an attributed string formatted for a given NSPersonNameComponents object, with attribute annotations for each component.

- personNameComponentsFromString:

Returns a person name components object from a given string.

- getObjectValue:forString:errorDescription:

Returns by reference a person name components object after creating it from a given string.