Closed Suprafen closed 2 years ago
Substitute was fairly simple. Now I'm using notification token for realm, so when realm has been changed, closure that defined in the token implementation would update collections with the up to date information from the realm.
I've decided to use singleton for realm manager and just propagate its instance with new values. For now it works good, but how it's going to affect on application in the future idk.
Try to find a substitute for this approach. Probably custom protocols or segues. Or notification center, just fund something and decide.