Slow loading of RSS feeds into UITableView
I have a YouTube RSS feed set up to show YouTube videos in a table开发者_StackOverflow社区view. When I load the controller though, it takes a long time to load the feed, so it appears for awhile that the app has frozen.
How can I load the view controller first, then show a loading/spinner while my app downloads the feed?
Dont load the feed on the main ui thread run it on background thread .
Take a look at ASINetworkQueue in asihttprequest http://allseeing-i.com/ASIHTTPRequest/
精彩评论