Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

manomg

macrumors newbie
Original poster
Oct 12, 2009
1
0
Hi All -

I am working on a app that reads RSS feeds . The RSS feed I am trying to read is huge (~ 4000 items) and store them on the iphone sql lite. I want to store it so searching is easy and the feed doesnt have to be accessed everytime .

How do i make sure that the app reads the feed efficiently not locking the app. Currently, I am using delegate to spin a thread to go after the list. But, having trouble restarting if the user quits the app in the middle of downloading the feed..

Any ideas?

Thanks in advance..
 
But, having trouble restarting if the user quits the app in the middle of downloading the feed..

Any ideas?
I would suggest putting some code into applicationWillTerminate: that will save the state of your RSS processing and then use that saved state to resume upon restart.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.