Edit

Share via


NSPersistentContainer.ViewContext Property

Definition

Gets the managed object context for the main queue.

public virtual CoreData.NSManagedObjectContext ViewContext { [Foundation.Export("viewContext", ObjCRuntime.ArgumentSemantic.Strong)] get; }
member this.ViewContext : CoreData.NSManagedObjectContext

Property Value

The managed object context for the main queue.

Attributes

Applies to