views:

168

answers:

1

I have a YouTube RSS feed set up to show YouTube videos in a tableview. 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?

+2  A: 

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/

Surya