I got this json response and i created an object for nsdictionary and saved there as
NSDictionary* json = [NSJSONSerialization JSONObjectWithData:responseData options:kNilOptions error:&error];
and next step i saved as an array
NSArray *country=[json objectForKey:@"results"];
And then i got the following result in my console.
2012-06-18 09:22:07.647 TableView[468:f803] (
{
"Countries" = Iceland;
"id"=9046567;
"name"=abceeeffdsg;
},
{
"Countries" = Greenland;
"id"=3524695;
"name"=gsfjgfsethju;
},
{
"Countries" = Switzerland;
"id"=4613583;
"name"=hdfkdgs;
)
But actually i want to display these data in a UITableView. Can anyone help me make my work completed…. thanks for your kindness…
In the tableview datasource methods
Let me know if you need any more details.