'Info' button causes crash after using JSON Serialization


After changing the NerdFeed App to be able to view iTunes’ top 10 songs, pushing the “Info” button caused a crash.

To solve that, change how you set the title of the channel, in RSSChannel.m.
In the book it says:

[self setTitle:[feed objectForKey:@"title"]];

but that will give you another dictionary which causes the crash in ChannelViewController.m’s
-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath.

So, you should also apply the key “label”.
Also for infoString, I put in the update information of the feed.

[code]-(void)readFromJSONDictionary:(NSDictionary *)d

//Change how to set the title
[self setTitle:[[feed objectForKey:@"title"] objectForKey:@"label"]];
//Choose something else for the infostring
[self setInfoString:[[feed objectForKey:@"updated"] objectForKey:@"label"]];