I’m developing an application on iOS that consumes a (mostly) RESTful service. I’m supposed
to display those posts with different filters, which are applied server side :
- http://foo.com/posts?filter=recent
- http://foo.com/posts?filter=popular
- http://foo.com/posts?filter=special
- …
I’m contemplating using Restkit (0.20) to do all this properly, using the coredata module for caching and I have a little poc running.
My question is, how can I then query core-data to fetch my entities back, using those same filters locally? I could add a special field to “tag” the posts and then filter on that, but I don’t know how I could do that with RestKit.
Thanks in advance
I’ve found a solution :
More details at the official Restkit google groups
Cheers