The managed object context associated with the main queue. (read-only)
- iOS 10.0+
- macOS 10.12+
- UIKit for Mac 13.0+Beta
- tvOS 10.0+
- watchOS 3.0+
- Core Data
This property contains a reference to the
NSManaged that is created and owned by the persistent container which is associated with the main queue of the application. This context is created automatically as part of the initialization of the persistent container.
This context is associated directly with the
NSPersistent and is non-generational by default.