Returns a dictionary containing the metadata stored in the persistent store at a given URL.
- 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
The type of the store at
url. If this value is
nil, Core Data determines 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 accessing its contents, upon return contains an
NSErrorobject that describes the problem.
You can use this method to retrieve the metadata from a store without the overhead of creating a Core Data stack.