Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

CNContactMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Contacts MBS Mac64bit Plugin 16.3 Yes No No Yes, macOS only No
Function: The class for a contact.
Notes: The CNContact is a thread-safe class that represents an immutable value object for contact properties, such as the first name and phone numbers of a contact. CNContact is similar to a complex Foundation collection, in that it has a mutable subclass (CNMutableContact). Neither the CNContact nor CNMutableContact class maintain a reference to their data store. Every contact has a unique ID, which you obtain using the identifier property.

Feedback, Comments & Corrections

Sort Orders

Constant Value Description
CNContactSortOrderFamilyName 3 Order by Family Name.
CNContactSortOrderGivenName 2 Order by Given Name.
CNContactSortOrderNone 0 Order by no order.
CNContactSortOrderUserDefault 1 Order by user preference.

Contact Types

Constant Value Description
CNContactTypeOrganization 1 The contact is an Organization.
CNContactTypePerson 0 The contact is a person.

Sub classes:

Some methods using this class:

Some properties using for this class:

Some events for this class:

Some examples which use this class:

The items on this page are in the following plugins: MBS Mac64bit Plugin.

CNContactFormatterMBS   -   CNContactPickerMBS

MBS Xojo Plugins