Loading contents of TableView Controller after showing Tab

Posted by Teo on Stack Overflow See other posts from Stack Overflow or by Teo
Published on 2010-05-28T05:53:43Z Indexed on 2010/05/28 6:02 UTC
Read the original article Hit count: 280

Hello,

I have a 4 tabbar application. The second tab has a tableviewController. When i select the second tab the tableview is displayed with it's contents and it works fine.

The problem is that that data is comming from the network and it talks 2-3 seconds to load. So when i press the second tab it goes there after the contents have been loaded.

How can i show an empty tableview (i'll put an activity indicator) and then load and show the contents?

Teo

© Stack Overflow or respective owner

Related posts about iphone

Related posts about cocoa