CSInMemoryStore

@objc
public final class CSInMemoryStore : NSObject, CSStorageInterface, CoreStoreObjectiveCType

The CSInMemoryStore serves as the Objective-C bridging type for InMemoryStore.

See also

InMemoryStore
  • Initializes a CSInMemoryStore for the specified configuration

    Declaration

    Swift

    @objc
    public convenience init(configuration: ModelConfiguration)

    Parameters

    configuration

    an optional configuration name from the model file. If not specified, defaults to nil, the Default configuration.

  • Initializes a CSInMemoryStore with the Default configuration

    Declaration

    Swift

    @objc
    public convenience override init()
  • The string identifier for the NSPersistentStore‘s type property. For CSInMemoryStores, this is always set to NSInMemoryStoreType.

    Declaration

    Swift

    @objc
    public static let storeType: String
  • The configuration name in the model file

    Declaration

    Swift

    @objc
    public var configuration: ModelConfiguration { get }
  • The options dictionary for the NSPersistentStore. For CSInMemoryStores, this is always set to nil.

    Declaration

    Swift

    @objc
    public var storeOptions: [AnyHashable : Any]? { get }