Instance Method

metadataForPersistentStore:

Returns a dictionary that contains the metadata currently stored and that will be stored in a given persistent store.

Declaration

- (NSDictionary<NSString *,id> *)metadataForPersistentStore:(NSPersistentStore *)store;

Parameters

store

A persistent store.

Return Value

A dictionary that contains the metadata currently stored or to-be-stored in store.

See Also

Working with Metadata

+ metadataForPersistentStoreWithURL:error:

Returns a dictionary that contains the metadata stored in the persistent store at the specified location.

Deprecated
- setMetadata:forPersistentStore:

Sets the metadata stored in the persistent store during the next save operation executed on it to metadata.

Store Metadata

Use™ metadata dictionary keys to identify the store type and UUID.