You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 5, 2018. It is now read-only.
I just write a test case for core data observer, but I found the NSManagedObjectContextDidChangeNotification not called with update the value, but It is called in my application with the same code.
My test code below:
The first 'saveWithBlockAndWait:' will insert an entity, the NSManagedObjectContextDidChangeNotification is called.
The second saveWithBlockAndWait: will update the entity has inserted above, and NSManagedObjectContextDidChangeNotification is not being called, but the entity has already refresh.
Any idea to resolve this problem?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I just write a test case for core data observer, but I found the
NSManagedObjectContextDidChangeNotification
not called with update the value, but It is called in my application with the same code.My test code below:
dependence with MagicalReocrd
The first 'saveWithBlockAndWait:' will insert an entity, the
NSManagedObjectContextDidChangeNotification
is called.The second
saveWithBlockAndWait:
will update the entity has inserted above, andNSManagedObjectContextDidChangeNotification
is not being called, but the entity has already refresh.Any idea to resolve this problem?
The text was updated successfully, but these errors were encountered: