Show pubDate


How can I go about having the date of each RSS item show under the title in the table view cells?


Can anyone help with this?


i know I need to set the pubDate element as the detailTextLabel but I’m having trouble figuring out how to get the element and then use it.


I have added this to RSSItem.h and RSSChannel.h:

I have added this to RSSItem.m and RSSChannel.m:

else if ([elementName isEqual:@"pubDate"]) { currentString = [[NSMutableString alloc]init]; [self setDate:currentString]; }

I then added this to cellForRowAtIndexPath inListViewController.m:

The date is still not showing up in the cells.


Have you NSDate *date declared in @interface method?