Platforms to show: All Mac Windows Linux Cross-Platform

CNContainerMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Contacts MBS Mac64bit Plugin 16.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The CNContainer class is a thread-safe class that defines an immutable object that represents a container.

A container has a collection of contacts. A contact can be in only one container. CardDAV accounts usually have only one container whereas Exchange accounts may have multiple containers, where each container represents an Exchange folder
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Container Types

Constant Value Description
CNContainerTypeCardDAV 3 A container for contacts stored in an CardDAV server, such as iCloud.
CNContainerTypeExchange 2 A container for contacts stored in an Exchange folder from an Exchange server.
CNContainerTypeLocal 1 A container for contacts only stored locally on the device. There is only one local container for a device.
CNContainerTypeUnassigned 0

This class has no sub classes.

Some methods using this class:


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


CNContactViewControllerMBS   -   CNFetchResultMBS


The biggest plugin in space...