ios - Getting images from JSON -


i'm using restkit in project, , wondering best way pull images json uitableview cells.

json response:

{     "timestamp": "2013-05-10t03:09:39z",     "resultsoffset": 0,     "status": "success",     "resultslimit": 10,     "breakingnews": [],     "resultscount": 393,     "feed": [{         "headline": "headline text",         "lastmodified": "2013-05-08t14:55:03z",         "description": "description text.",         "images": [{             "height": 324,             "alt": "",             "width": 576,             "name": "the name",             "caption": "debate it.",             "url": "http://a.website.com/media/motion/2013/0508/dm_130508_debate/dm_130508_debate.jpg"         }], 

is there way in restkit it, or should use afnetworking, or other way better?

i can post code snippets on how pulling headline/description/lastmodified. have feed model set right that. can understand, getting image url different tho.

need... enter image description here

... have image enter image description here

try using sdwebimage asynchronous download , cache images. works perfect me.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -