How: Abstract away caching and downloading from remote resource

how would one go about abstracting data parsing from a remote resource if the data can come in different formats (JSON, XML, YAML, etc) depending on the URL?

hi @iganti,
Have you looked at Alamofire (https://github.com/Alamofire/Alamofire)? It is a very useful library,

cheers,

yes, but I believe my needs are closer to that of https://github.com/SDWebImage/SDWebImage (i.e. in terms of creating a framework)

I have another possible suggestion @lganti, https://github.com/onevcat/Kingfisher .

Best,
Gina

thanks for the response; my task at hand was to build something of that sort, was looking for something along the lines of NSCache and DiscardableContent

This topic was automatically closed after 166 days. New replies are no longer allowed.