Instance Property


The metadata for the persistent store.


var metadata: [String : Any]! { get set }


The dictionary must include the store type (NSStoreTypeKey) and UUID (NSStoreUUIDKey).

Special Considerations

Subclasses must override this property to provide storage and persistence for the store metadata.

See Also

Managing Metadata

class func metadataForPersistentStore(with: URL) -> [String : Any]

Returns the metadata from the persistent store at the given URL.

class func setMetadata([String : Any]?, forPersistentStoreAt: URL)

Sets the metadata for the store at a given URL.

func loadMetadata()

Instructs the persistent store to load its metadata.