metadataForPersistentStore
TypeScriptstatic metadataForPersistentStore(url: string): Record<string, unknown>Swift declarationclass func metadataForPersistentStore(with url: URL) throws -> [String : Any]class · iOS 3.0+ · SDK 27.1
class NSPersistentStorestatic metadataForPersistentStore(url: string): Record<string, unknown>Swift declarationclass func metadataForPersistentStore(with url: URL) throws -> [String : Any]static migrationManagerClass(): stringSwift declarationclass func migrationManagerClass() -> AnyClassstatic setMetadata(metadata: (Record<string, unknown>) | null, url: string): voidSwift declarationclass func setMetadata(_ metadata: [String : Any]?, forPersistentStoreAt url: URL) throwsdidAdd(coordinator: NSPersistentStoreCoordinator): voidSwift declarationfunc didAdd(to coordinator: NSPersistentStoreCoordinator)static init(root: (NSPersistentStoreCoordinator) | null, name: (string) | null, url: string, options?: (NativeMap<unknown, unknown>) | null): NSPersistentStoreSwift declarationinit(persistentStoreCoordinator root: NSPersistentStoreCoordinator?, configurationName name: String?, at url: URL, options: [AnyHashable : Any]? = nil)loadMetadata(): voidSwift declarationfunc loadMetadata() throwswillRemove(coordinator?: (NSPersistentStoreCoordinator) | null): voidSwift declarationfunc willRemove(from coordinator: NSPersistentStoreCoordinator?)get url(): (string) | nullSwift declarationvar url: URL? { get set }set url(value: (string) | null)Swift declarationvar url: URL? { get set }get configurationName(): stringSwift declarationvar configurationName: String { get }get coreSpotlightExporter(): NSCoreDataCoreSpotlightDelegateSwift declarationvar coreSpotlightExporter: NSCoreDataCoreSpotlightDelegate { get }get identifier(): (string) | nullSwift declarationvar identifier: String! { get set }set identifier(value: (string) | null)Swift declarationvar identifier: String! { get set }get metadata(): (Record<string, unknown>) | nullSwift declarationvar metadata: [String : Any]! { get set }set metadata(value: (Record<string, unknown>) | null)Swift declarationvar metadata: [String : Any]! { get set }get options(): (NativeMap<unknown, unknown>) | nullSwift declarationvar options: [AnyHashable : Any]? { get }get persistentStoreCoordinator(): (NSPersistentStoreCoordinator) | nullSwift declarationweak var persistentStoreCoordinator: NSPersistentStoreCoordinator? { get }get isReadOnly(): booleanSwift declarationvar isReadOnly: Bool { get set }set isReadOnly(value: boolean)Swift declarationvar isReadOnly: Bool { get set }get type(): stringSwift declarationvar type: String { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
NSPersistentStore.init()
inherited init: cannot prove legal (class declares 2 custom initializers)