Contents

default()

Returns the app’s default container.

Declaration

class func `default`() -> CKContainer

Mentioned in

Discussion

Use this method to retrieve your app’s default container. This is the one you typically use to store your app’s data. If you want the container for a different app, create a container using the init(identifier:) method.

During development, the container uses the development environment. When you release your app, the container uses the production environment.

See Also

Creating Containers