Sets the metadata for a given store.
- iOS 3.0–9.0Deprecated
- macOS 10.5–10.11Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- tvOS 9.0–9.0Deprecated
- watchOS 2.0–2.0Deprecated
- Core Data
A dictionary containing metadata for the store.
The type of the store at
url. If this value is
nil, Core Data will determine which store class should be used to get or set the store file's metadata by inspecting the file contents.
The location of a persistent store.
If no store is found at
urlor if there is a problem setting its metadata, upon return contains an
NSErrorobject that describes the problem.
YES if the metadata was set correctly, otherwise
You can use this method to set the metadata for a store without the overhead of creating a Core Data stack.