init
TypeScriptstatic init(url: string): NSPersistentStoreDescriptionSwift declarationinit(url: URL)class · iOS 10.0+ · SDK 27.1
class NSPersistentStoreDescriptionstatic init(url: string): NSPersistentStoreDescriptionSwift declarationinit(url: URL)setOption(option: (_ObjectiveC_NSObject) | null, key: string): voidSwift declarationfunc setOption(_ option: NSObject?, forKey key: String)setValue(value: (_ObjectiveC_NSObject) | null, name: string): voidSwift declarationfunc setValue(_ value: NSObject?, forPragmaNamed name: String)get url(): (string) | nullSwift declarationvar url: URL? { get set }set url(value: (string) | null)Swift declarationvar url: URL? { get set }get cloudKitContainerOptions(): (NSPersistentCloudKitContainerOptions) | nullSwift declarationvar cloudKitContainerOptions: NSPersistentCloudKitContainerOptions? { get set }set cloudKitContainerOptions(value: (NSPersistentCloudKitContainerOptions) | null)Swift declarationvar cloudKitContainerOptions: NSPersistentCloudKitContainerOptions? { get set }get configuration(): (string) | nullSwift declarationvar configuration: String? { get set }set configuration(value: (string) | null)Swift declarationvar configuration: String? { get set }get options(): Record<string, _ObjectiveC_NSObject>Swift declarationvar options: [String : NSObject] { get }get isReadOnly(): booleanSwift declarationvar isReadOnly: Bool { get set }set isReadOnly(value: boolean)Swift declarationvar isReadOnly: Bool { get set }get shouldAddStoreAsynchronously(): booleanSwift declarationvar shouldAddStoreAsynchronously: Bool { get set }set shouldAddStoreAsynchronously(value: boolean)Swift declarationvar shouldAddStoreAsynchronously: Bool { get set }get shouldInferMappingModelAutomatically(): booleanSwift declarationvar shouldInferMappingModelAutomatically: Bool { get set }set shouldInferMappingModelAutomatically(value: boolean)Swift declarationvar shouldInferMappingModelAutomatically: Bool { get set }get shouldMigrateStoreAutomatically(): booleanSwift declarationvar shouldMigrateStoreAutomatically: Bool { get set }set shouldMigrateStoreAutomatically(value: boolean)Swift declarationvar shouldMigrateStoreAutomatically: Bool { get set }get sqlitePragmas(): Record<string, _ObjectiveC_NSObject>Swift declarationvar sqlitePragmas: [String : NSObject] { get }get timeout(): numberSwift declarationvar timeout: TimeInterval { get set }set timeout(value: number)Swift declarationvar timeout: TimeInterval { get set }get type(): stringSwift declarationvar type: String { get set }set type(value: string)Swift declarationvar type: String { get set }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
NSPersistentStoreDescription.init()
inherited init: cannot prove legal (class declares 3 custom initializers)