次の方法で共有


NSPersistentStoreDescription.ShouldAddStoreAsynchronously プロパティ

定義

呼び出し元のスレッドまたはバックグラウンド スレッドにストアを追加するかどうかを制御する値を取得または設定します。

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

プロパティ値

falseは、メイン スレッドにストアを読み込むための既定値です。 true を使用して、バックグラウンド スレッドにストアを読み込みます。

属性

適用対象