I've tried to get the Google JSON
data and put on my UITableView
, but it's not showing up.
Check the google JSON return:
I've got the JSON and put on my dictionary already like you would do with a normal JSON, but the google one isn't working.
NSURL *blogURL = [NSURL URLWithString:@"https://ajax.googleapis.com/ajax/services/search/web?v=1.0&q=Design"];
//I've put the results array, not sure if that responseData affects something
self.blogPosts = [dataDictionary objectForKey:@"results"];
and here to add it into my cell
cell.textLabel.text = [blogPost valueForKey:@"titleNoFormatting"];
cell.detailTextLabel.text = [blogPost valueForKey:@"content"];
Did anyone know if I need to do something different than a normal JSON feed for google? My code seems right but it's not working
PS: I've did the NSDictionary
and NSData
to store the JSON already, I just didn't posted here because I don't think it matters.