Creates a private managed object context.
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
- watchOS 3.0+
- Core Data
A newly created private managed object context.
Invoking this method causes the persistent container to create and return a new
NSManaged with the
concurrency set to
NSPrivate. This new context will be associated with the
NSPersistent directly and is set to consume
NSManaged broadcasts automatically.