共用方式為


NSPersistentStoreDescription.ShouldAddStoreAsynchronously 屬性

定義

取得或設定值,這個值可控制存放區是否加入呼叫執行緒或背景執行緒上。

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

屬性值

false,預設值,用來載入主執行緒上的存放區。 true 在背景執行緒上載入存放區。

屬性

適用於