CoreStoreDefaults
public enum CoreStoreDefaults
Global utilities
-
The
CoreStoreLogger
instance to be used. The default logger is an instance of aDefaultLogger
.Declaration
Swift
public static var logger: CoreStoreLogger
-
The default
DataStack
instance to be used. IfdefaultStack
is not set during the first time accessed, a default-configuredDataStack
will be created.See also
DataStack
Note
ChangingdataStack
is thread safe, but it is recommended to setupDataStacks
on a common queue (e.g. the main queue).Important
IfdataStack
is not set during the first time accessed, a default-configuredDataStack
will be created.Declaration
Swift
public static var dataStack: DataStack { get set }