I'm using RestKit in my project, and was wondering the best way to pull images from the JSON into the 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 a good way in RestKit to do it, or should I use AFNetworking, or is some other way better?
I can post extra code snippets on how I already am pulling the headline/description/lastModified
. I have a Feed
model set up right now for that. From what I can understand, getting the image url
is slightly different tho.
Need...
... to have Image