Xojo Developer Conference
Join us from 25th to 27th April 2018 in Denver.

Platforms to show: All Mac Windows Linux Cross-Platform

CNContactMBS class

class, Contacts, MBS Mac64bit Plugin (Contacts), class CNContactMBS,
Plugin version: 16.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

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.

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