data loading - app launching on tableview

Posted by wallou on Stack Overflow See other posts from Stack Overflow or by wallou
Published on 2010-06-01T13:15:39Z Indexed on 2010/06/01 14:03 UTC
Read the original article Hit count: 140

Filed under:
|
|

hi,

i encounter an issue with my application.

On one hand when my app launches, the first view displayed is a tableview within a tableviewcontroller.

On the other hand my app calls a web service to collect data. These methods are in MyAppDelegate\applicationDidFinishLaunching.

The thing is that my tableview is made of custom cells that need data from the web service.

I noticed that the view (with the tableview) is launched first and then MyAppDelegate\applicationDidFinishLaunchin is executed.

As a result the labels of my custom cells are all equal to null as my arrays aren't filled yet by the web service.

I would like to know the proper way to make it.

If anyone has an idea please tell me.

Wallou

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c