Type Method

delimiter(for:)

Returns the delimiter to use between name components.

Declaration

class func delimiter(for contact: CNContact) -> String

Parameters

contact

The contact whose name is to be formatted.

Return Value

The delimiter to use between name components.

Discussion

If contact is nil, or if it has no first name, middle name, or last name, this method returns an empty string.

See Also

Getting Format Information

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