Skip to content

Replaces instances of NSManagedObjectContext with ContextManager #15832

@jkmassel

Description

@jkmassel

We currently pass around NSManagedObjectContext objects in many places – namely View Controllers and services.

In these cases, we often make changes directly to the mainContext, which is incompatible with how NSPersistentContainer is designed to work.

We'll replace instances of a bare context being passed around with reads from the viewContext and writes using the new Core Data write API.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions