Instance Method


Returns the identifier of the default container.


func defaultContainerIdentifier() -> String

Return Value

The identifier of the default container.


This identifier can be used to fetch a default container. A default container is where the user wants new contacts to be added implicitly.

See Also

Fetching Groups and Containers

func groups(matching: NSPredicate?) -> [CNGroup]

Fetches all groups matching the specified predicate.

func containers(matching: NSPredicate?) -> [CNContainer]

Fetches all containers matching the specified predicate.