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 configurationDeclaration
Swift
@objc public convenience init(configuration: ModelConfiguration)
Parameters
configuration
an optional configuration name from the model file. If not specified, defaults to
nil
, theDefault
configuration. -
Initializes a
CSInMemoryStore
with theDefault
configurationDeclaration
Swift
@objc public convenience override init()
-
The string identifier for the
NSPersistentStore
‘stype
property. ForCSInMemoryStore
s, this is always set toNSInMemoryStoreType
.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
. ForCSInMemoryStore
s, this is always set tonil
.Declaration
Swift
@objc public var storeOptions: [AnyHashable : Any]? { get }
-
Declaration
Swift
public let bridgeToSwift: InMemoryStore
-
Declaration
Swift
public required init(_ swiftValue: InMemoryStore)