CloudCoreConfig
public struct CloudCoreConfig
Struct containing CloudCore configuration.
Changes in configuration are optional and they are not required in most cases.
Example
var customConfig = CloudCoreConfig()
customConfig.publicSubscriptionIDPrefix = "CustomApp"
CloudCore.config = customConfig
-
Undocumented
Declaration
Swift
public lazy var container = CKContainer.default()
-
RecordZone inside private database to store CoreData.
Default value is
CloudCore
Declaration
Swift
public var zoneID = CKRecordZoneID(zoneName: "CloudCore", ownerName: CKCurrentUserDefaultName)
-
Default entity’s attribute name for Record ID if User Info is not specified.
Default value is
recordID
Declaration
Swift
public var defaultAttributeNameRecordID = "recordID"
-
Default entity’s attribute name for Record Data if User Info is not specified
Default value is
recordData
Declaration
Swift
public var defaultAttributeNameRecordData = "recordData"
-
UserDefault’s key to store
Tokens
objectDefault value is
CloudCoreTokens
Declaration
Swift
public var userDefaultsKeyTokens = "CloudCoreTokens"