As we know, we started to encourage immutability and using structs for our models, facilitating and promoting functional code in our Swift code bases.
I found out this talk very interesting:
https://realm.io/news/slug-peter-livesey-managing-consistency-immutable-models/
and I'd like to give RocketData a try, to see how we can solve our consistency problems in regard of immutable models among our view controllers.
Also, the idea would be to implement a cache mechanism, other than CoreData or Realm. I'm thinking of something that would be integrated with RocketData (RocketData does not cache but delegates it in a neat way, so that you can do it). I'm thinking of something simpler, something key-value storage or the like. There are many libraries out there, please research.
As we know, we started to encourage immutability and using structs for our models, facilitating and promoting functional code in our Swift code bases.
I found out this talk very interesting:
https://realm.io/news/slug-peter-livesey-managing-consistency-immutable-models/
and I'd like to give RocketData a try, to see how we can solve our consistency problems in regard of immutable models among our view controllers.
Also, the idea would be to implement a cache mechanism, other than CoreData or Realm. I'm thinking of something that would be integrated with RocketData (RocketData does not cache but delegates it in a neat way, so that you can do it). I'm thinking of something simpler, something key-value storage or the like. There are many libraries out there, please research.