A method identified as deprecated has been superseded and may become unsupported in the future.
Returns a dictionary that contains the metadata stored in the persistent store at the specified location. (Deprecated in Mac OS X v10.5. Use metadataForPersistentStoreOfType:URL:error:
instead.)
+ (NSDictionary *)metadataForPersistentStoreWithURL:(NSURL *)url error:(NSError **)error
An URL object that specifies the location of a persistent store.
If no store is found at url or if there is a problem accessing its contents, upon return contains an instance of NSError
that describes the problem.
A dictionary containing the metadata for the persistent store at url. If no store is found, or there is a problem accessing its contents, returns nil
.
The keys guaranteed to be in this dictionary are NSStoreTypeKey
and NSStoreUUIDKey
.
This method allows you to access the metadata in a persistent store without initializing a Core Data stack.
– metadataForPersistentStore:
– setMetadata:forPersistentStore:
+ metadataForPersistentStoreOfType:URL:error:
+ setMetadata:forPersistentStoreOfType:URL:error:
NSPersistentStoreCoordinator.h
© 2008 Apple Inc. All Rights Reserved. (Last updated: 2008-03-11)