-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fetched Results Controller Support for SMStore.predicate Method #68
Comments
Can you provide a small example project that demonstrates the issue? |
@paulw11 Steps to reproduce:
|
@paulw11 Wondering if there is any update/eta on this fix? I am really eager to add this feature to my app!! |
I have been looking at this and I don't believe that it can be resolved.
Add a |
@paulw11 this is sad news, perhaps you could reference why you think it isn’t possible for someone to implement in the future here? Your suggestion would work for my reloading, however it still does not support the entire FRC delegate pattern, which is a HUGE issue as far as supporting Core Data and apps that use FRC’s to perform operations. |
The problem seems to be with the way the FRC monitors changes and the disconnect between CloudKit references and the local MOC references. I have found a different predicate that you can use in your sample that works with the FRC delegate:
|
This predicate pattern worked for me. In my case, I generate a unique UUID key for my Person entity so I can compare something much more likely to stay unique and keep on using FRC. |
Is there any chance someone could add support for Fetched Result Controllers and their delegates with the predicate method for NSPredicates? When using the predicate method my fetched result controllers fail to trigger its delegate methods. I have confirmed (at least I believe) that this issue is caused by the generated predicate due to the following SOF post:
https://stackoverflow.com/questions/17151160/nsfetchedresultscontroller-delegate-not-called-for-api-listener
The text was updated successfully, but these errors were encountered: