One Logo Pool Ball
CoreData · IOS API REFERENCE

NSPersistentStoreDescription

class · iOS 10.0+ · SDK 27.1

class NSPersistentStoreDescription

Members (23)

init · iOS 10.0+

init

TypeScript
static init(url: string): NSPersistentStoreDescription
Swift declaration
init(url: URL)
method · iOS 10.0+

setOption

TypeScript
setOption(option: (_ObjectiveC_NSObject) | null, key: string): void
Swift declaration
func setOption(_ option: NSObject?, forKey key: String)
method · iOS 10.0+

setValue

TypeScript
setValue(value: (_ObjectiveC_NSObject) | null, name: string): void
Swift declaration
func setValue(_ value: NSObject?, forPragmaNamed name: String)
get · iOS 10.0+

url

TypeScript
get url(): (string) | null
Swift declaration
var url: URL? { get set }
set · iOS 10.0+

url

TypeScript
set url(value: (string) | null)
Swift declaration
var url: URL? { get set }
get · iOS 13.0+

cloudKitContainerOptions

TypeScript
get cloudKitContainerOptions(): (NSPersistentCloudKitContainerOptions) | null
Swift declaration
var cloudKitContainerOptions: NSPersistentCloudKitContainerOptions? { get set }
set · iOS 13.0+

cloudKitContainerOptions

TypeScript
set cloudKitContainerOptions(value: (NSPersistentCloudKitContainerOptions) | null)
Swift declaration
var cloudKitContainerOptions: NSPersistentCloudKitContainerOptions? { get set }
get · iOS 10.0+

configuration

TypeScript
get configuration(): (string) | null
Swift declaration
var configuration: String? { get set }
set · iOS 10.0+

configuration

TypeScript
set configuration(value: (string) | null)
Swift declaration
var configuration: String? { get set }
get · iOS 10.0+

options

TypeScript
get options(): Record<string, _ObjectiveC_NSObject>
Swift declaration
var options: [String : NSObject] { get }
get · iOS 10.0+

isReadOnly

TypeScript
get isReadOnly(): boolean
Swift declaration
var isReadOnly: Bool { get set }
set · iOS 10.0+

isReadOnly

TypeScript
set isReadOnly(value: boolean)
Swift declaration
var isReadOnly: Bool { get set }
get · iOS 10.0+

shouldAddStoreAsynchronously

TypeScript
get shouldAddStoreAsynchronously(): boolean
Swift declaration
var shouldAddStoreAsynchronously: Bool { get set }
set · iOS 10.0+

shouldAddStoreAsynchronously

TypeScript
set shouldAddStoreAsynchronously(value: boolean)
Swift declaration
var shouldAddStoreAsynchronously: Bool { get set }
get · iOS 10.0+

shouldInferMappingModelAutomatically

TypeScript
get shouldInferMappingModelAutomatically(): boolean
Swift declaration
var shouldInferMappingModelAutomatically: Bool { get set }
set · iOS 10.0+

shouldInferMappingModelAutomatically

TypeScript
set shouldInferMappingModelAutomatically(value: boolean)
Swift declaration
var shouldInferMappingModelAutomatically: Bool { get set }
get · iOS 10.0+

shouldMigrateStoreAutomatically

TypeScript
get shouldMigrateStoreAutomatically(): boolean
Swift declaration
var shouldMigrateStoreAutomatically: Bool { get set }
set · iOS 10.0+

shouldMigrateStoreAutomatically

TypeScript
set shouldMigrateStoreAutomatically(value: boolean)
Swift declaration
var shouldMigrateStoreAutomatically: Bool { get set }
get · iOS 10.0+

sqlitePragmas

TypeScript
get sqlitePragmas(): Record<string, _ObjectiveC_NSObject>
Swift declaration
var sqlitePragmas: [String : NSObject] { get }
get · iOS 10.0+

timeout

TypeScript
get timeout(): number
Swift declaration
var timeout: TimeInterval { get set }
set · iOS 10.0+

timeout

TypeScript
set timeout(value: number)
Swift declaration
var timeout: TimeInterval { get set }
get · iOS 10.0+

type

TypeScript
get type(): string
Swift declaration
var type: String { get set }
set · iOS 10.0+

type

TypeScript
set type(value: string)
Swift declaration
var type: String { get set }

Skipped declarations

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)

All CoreData types →