Structures

The following structures are available globally.

  • An instance of CoreDataModel 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.

    See more

    Declaration

    Swift

    public struct CoreDataModel
    extension CoreDataModel: Equatable
  • An instance of CoreDataStackProvider is responsible for creating instances of CoreDataStack.

    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 of CoreDataStack directly. Use a CoreDataStackProvider instead.
    See more

    Declaration

    Swift

    public struct CoreDataStackProvider
    extension CoreDataStackProvider: Equatable