NSPersistentStoreDescription.ShouldAddStoreAsynchronously Property

Definition

Gets or sets a value that controls whether the store is added on the calling thread or on a background thread.

public virtual bool ShouldAddStoreAsynchronously { [Foundation.Export("shouldAddStoreAsynchronously")] get; [Foundation.Export("setShouldAddStoreAsynchronously:")] set; }
member this.ShouldAddStoreAsynchronously : bool with get, set

Property Value

false, the default value, to load the store on the main thread. true to load the store on a background thread.

Attributes

Applies to