Data Sources in Swift… or how to avoid that this new trendy persistence framework determines the…
David Cordero
1849

To the comment below, I guess I should explain:
I have a Repository that has a PersistentDataSource, and an NetworkDataSource. Both have a getItems() implementation. Once data comes from the NetworkDataSource, we want to save it to PersistentDataSource to update it. It would be better to save things in bulk for PersistentDataSources. I hope that clears up my motivation for having two different protocols. What are your thoughts?

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.