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.