Contents

CloudKit.CloudKitConfig

Dictionary used to configure the CloudKit environment.

Declaration

dictionary CloudKit.CloudKitConfig {
	CloudKit.ContainerConfig[] containers;
	Object services;
};

Overview

The table describes the services properties.

Property

Description

logger

An object with methods info, log, warn, and error. You can set this to window.console.

fetch

A function compatible with window.fetch.

Promise

An object used for deferred and asynchronous computations. To learn more, go to Promise.

authTokenStore

An object with these two methods: [Image] putToken(containerIdentifier:String, authToken:String) -> void; [Image] getToken(containerIdentifier:String) -> String;

Topics

Instance Properties

See Also

Structures