Contents

setMetadata(_:forPersistentStoreAt:)

Sets the metadata for the store at a given URL.

Declaration

class func setMetadata(_ metadata: [String : Any]?, forPersistentStoreAt url: URL) throws

Parameters

  • metadata:

    The metadata for the store at url.

  • url:

    The location of the store.

Discussion

Subclasses must override this method to set metadata appropriately.

See Also

Managing Store Metadata