Instance Property

metadata

The metadata for the persistent store.

Declaration

@property(nonatomic, strong) NSDictionary<NSString *,id> *metadata;

Discussion

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

+ metadataForPersistentStoreWithURL:error:

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

+ setMetadata:forPersistentStoreWithURL:error:

Sets the metadata for the store at a given URL.

- loadMetadata:

Instructs the persistent store to load its metadata.