views:

141

answers:

1

Hi all,

I am developing a tab bar application.

I have five tabs in it.

For each tab i have separate navigation controller.

For each tab's table View I want to load data from a web service.

I can do so for one tab by making a separate xmlparser class initializing it with appdelegate then call it in the applicationDidFinishLaunching .

I Can't do so for other tabs . I think that appdelegate conflicts or is it something else is the problem or any other solution .

+1  A: 

Create a new appdelegate;

MyAppdelegate *appDelegate = (MyAppdelegate*)[[UIAplication sharedApplication] delegate];

and call applicationDidFinishLaunching.

EEE