-
-
Notifications
You must be signed in to change notification settings - Fork 878
Emit NSNotifications whenever objects are pinned and saved #319
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
Comments
Great idea... The thing with cc @grantland @wangmengyan95 @richardjrossiii @hallucinogen |
It's useful and we already have such thing in .NET. Developers can listen to |
Which gets us to the state where we probably should support KVO in the best manner possible. |
@nlutsenko sure, though I would prefer e.g. when I do a The delegate pattern could work, as long as you have some specific namespace to register your delegates against — perhaps on a per-subclass basis. But delegates are rarely attached to classes... So I think |
@nlutsenko Oh, and I really honestly do hope that the super-secret feature you're talking about is bi-directional data replication for local datastore, so that we don't have to care about syncing data any more :) |
My biggest issue with Behind the scenes, Also, Combine that with the fact that LDS is already super slow (see #32), I'm not sure that at this time we should have any additions to LDS that could potentially reduce the performance even further. That's just my opinion, but I will resort to whatever the rest of the team feels on this issue. |
This issue has been automatically marked as stale because it has not had recent activity. If you believe it should stay open, please let us know! As always, we encourage contributions, check out the Contributing Guide |
It's incredibly useful for the data layer of an application to fire off notifications whenever data is updated, such that UI components displaying that data knows to update itself. For instance, Core Data emits
NSManagedObjectContextObjectsDidChangeNotification
.At present, the only way this can enforced for all saves and all pins is to swizzle all of the Parse SDK pin and save methods.
The text was updated successfully, but these errors were encountered: