The following structures are available globally.
An instance ofSee more
CoreDataModelrepresents a Core Data model — a
.xcdatamodeldfile package. It provides the model and store URLs as well as methods for interacting with the store.
public struct CoreDataModel
extension CoreDataModel: Equatable
An instance of
CoreDataStackProvideris responsible for creating instances of
Because the adding of the persistent store to the persistent store coordinator during initialization of a
CoreDataStackcan take an unknown amount of time, you should not perform this operation on the main queue.
See this guide for more details.
WarningYou should not create instances of
CoreDataStackdirectly. Use a
public struct CoreDataStackProvider
extension CoreDataStackProvider: Equatable