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.

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