开发者

How to sort the row contents on table cell by using date

i am new to iphone application development.i am developing RSS feed Reader it has number of different RSS feeds. In my application (XML parsing),

  1. i want to display the content of the row on cell for particular date and with their corresponding title, description (in my application, i am using three labels for displaying title, date and description) on table view cell after parsing xml data.

  2. And i want to sort the all kinds of RSS feeds row contents(title, date, description) depends upon the date in single another UIViewController and for each RSS fe开发者_如何学Ced has a separate ViewController. thanks in advance.


You can put the data into a NSMutableArray of NSDictionary items, and then sort the array by each key. When you parse the XML data, you store the data in the array, and resort the array as needed.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜