Type Method

nameOrder(for:)

Returns the display name order.

Declaration

class func nameOrder(for contact: CNContact) -> CNContactDisplayNameOrder

Parameters

contact

The contact whose name is to be formatted.

Return Value

The display order to use when combining the given name and family name components.

Discussion

For more information about display name orders, see CNContactDisplayNameOrder.

See Also

Getting Format Information

class func delimiter(for: CNContact) -> String

Returns the delimiter to use between name components.

enum CNContactDisplayNameOrder

The formatting orders for contact names component.

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