I am pretty new to Swift and coming from Restkit, I found Siesta and it seems like a solid library solving a common problem. At the moment I am trying to figure out how to deal with the model layer of my app and its persistance. CoreData is an approach pushed by Apple, while something like MagicalRecord makes it even easier.
However, Siesta does not handle CoreData and it is not clear to me how the caching works (or how far it is implemented:
Siesta currently does not include any implementations of EntityCache, but a future version will.
http://bustoutsolutions.github.io/siesta/api/Caching.html
From the example, I can see you define models just in Swift code: https://github.com/bustoutsolutions/siesta/blob/master/Examples/GithubBrowser/Source/Model/User.swift
So: is this the best approach to the model layer or does CoreData/MagicalRecord have a role? How is caching done in this case, will it survive between app launches?
Thanks!