Structures
The following structures are available globally.
-
An instance of
See moreCoreDataModel
represents a Core Data model — a.xcdatamodeld
file package. It provides the model and store URLs as well as methods for interacting with the store.Declaration
Swift
public struct CoreDataModel
extension CoreDataModel: Equatable
-
An instance of
CoreDataStackProvider
is responsible for creating instances ofCoreDataStack
.Because the adding of the persistent store to the persistent store coordinator during initialization of a
CoreDataStack
can take an unknown amount of time, you should not perform this operation on the main queue.See this guide for more details.
Warning
You should not create instances ofCoreDataStack
directly. Use aCoreDataStackProvider
instead.Declaration
Swift
public struct CoreDataStackProvider
extension CoreDataStackProvider: Equatable