Skip to content

syncContextDidSave calling notifyAboutChangedObjectsFromSaveNotification #26

@bluk

Description

@bluk

In https://github.com/objcio/core-data/blob/master/Moody/MoodySync/SyncContextOwner.swift#L65 , does anyone know why the notifyAboutChangedObjectsFromSaveNotification is called?

The sync context is saved and then the changes are merged into the main managed object context in the ContextOwnerType's syncContextDidSave function. It seems that since the changes are coming from the sync context, that we shouldn't have to basically call performLocalChanges in notifyAboutChangedObjectsFromSaveNotification.

Thanks for any help anyone can provide!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions