CloudStorageOptions
public struct CloudStorageOptions : OptionSet, ExpressibleByNilLiteral
The CloudStorageOptions provides settings that tells the DataStack how to setup the persistent store for LocalStorage implementers.
-
Tells the
DataStackthat the store should not be migrated or recreated, and should simply fail on model mismatchDeclaration
Swift
public static let none: CloudStorageOptions -
Tells the
DataStackto delete and recreate the local store from the cloud store on model mismatch, otherwise exceptions will be thrown on failure insteadDeclaration
Swift
public static let recreateLocalStoreOnModelMismatch: CloudStorageOptions -
Tells the
DataStackto allow lightweight migration for the store when added synchronouslyDeclaration
Swift
public static let allowSynchronousLightweightMigration: CloudStorageOptions
-
Declaration
Swift
public init(rawValue: Int)
-
Declaration
Swift
public let rawValue: Int
-
Declaration
Swift
public init(nilLiteral: ())
-
Declaration
Swift
public var debugDescription: String { get }
View on GitHub
CloudStorageOptions Structure Reference