CSLocalStorageOptions
@objc
public enum CSLocalStorageOptions : Int
The CSLocalStorageOptions provides settings that tells the CSDataStack how to setup the persistent store for CSLocalStorage implementers.
See also
LocalStorageOptions
-
Tells the
DataStackthat the store should not be migrated or recreated, and should simply fail on model mismatchDeclaration
Swift
case none = 0 -
Tells the
DataStackto delete and recreate the store on model mismatch, otherwise exceptions will be thrown on failure insteadDeclaration
Swift
case recreateStoreOnModelMismatch = 1 -
Tells the
DataStackto prevent progressive migrations for the storeDeclaration
Swift
case preventProgressiveMigration = 2 -
Tells the
DataStackto allow lightweight migration for the store when added synchronouslyDeclaration
Swift
case allowSynchronousLightweightMigration = 4
View on GitHub
CSLocalStorageOptions Enumeration Reference