Platforms to show: All Mac Windows Linux Cross-Platform
Back to CNContactMBS class.
CNContactMBS.CNContactThumbnailImageDataKey as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Contacts | MBS Mac64bit Plugin | 16.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Thumbnail data.
Some examples using this method:
CNContactMBS.CNContactTypeKey as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Contacts | MBS Mac64bit Plugin | 16.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Contact type.
Some examples using this method:
CNContactMBS.CNContactUrlAddressesKey as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Contacts | MBS Mac64bit Plugin | 16.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
URL Address.
Some examples using this method:
CNContactMBS.descriptorForAllComparatorKeys as CNKeyDescriptorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Contacts | MBS Mac64bit Plugin | 16.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
This method implements the CNKeyDescriptor protocol and can be used as an array element when fetching keys for contacts.
CNContactMBS.localizedStringForKey(key as String) as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Contacts | MBS Mac64bit Plugin | 16.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
key: A string containing the contact property key.
Returns a localized string containing the contact property name.
This method returns a localized string for a contact property key. For example, the value of a Canadian CNContactPostalAddressesKey field would be “Postal Code”, while the value of a French one would be “Code Postal”.
CNContactMBS.predicateForContactsInContainerWithIdentifier(containerIdentifier as String) as NSPredicateMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Contacts | MBS Mac64bit Plugin | 16.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Returns a predicate that can be used to fetch contacts from CNContactStore.
CNContactMBS.predicateForContactsInGroupWithIdentifier(groupIdentifier as String) as NSPredicateMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Contacts | MBS Mac64bit Plugin | 16.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Returns a predicate that can be used to fetch contacts from CNContactStore.
CNContactMBS.predicateForContactsMatchingEmailAddress(emailAddress as String) as NSPredicateMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Contacts | MBS Mac64bit Plugin | 20.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
emailAddress: The email address to be matched.
Returns a predicate that you can use to fetch contacts from CNContactStoreMBS class.
Requires macOS 10.13 or newer.
CNContactMBS.predicateForContactsMatchingName(name as String) as NSPredicateMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Contacts | MBS Mac64bit Plugin | 16.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The name can contain any number of words.
Returns a predicate that can be used to fetch contacts from CNContactStore.
Some examples using this method:
CNContactMBS.predicateForContactsMatchingPhoneNumber(phoneNumber as CNPhoneNumberMBS) as NSPredicateMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Contacts | MBS Mac64bit Plugin | 20.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Returns a predicate that you can use to fetch contacts from CNContactStoreMBS.
Requires macOS 10.13 or newer.
CNContactMBS.predicateForContactsWithIdentifiers(Identifiers() as String) as NSPredicateMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Contacts | MBS Mac64bit Plugin | 16.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Returns a predicate that can be used to fetch contacts from CNContactStore.
The items on this page are in the following plugins: MBS Mac64bit Plugin.