views:

30

answers:

1

Hi friends...

i want to retain the xml value for another controller.and wanna to display the list on Picker view.then i like to choose one of them and call the another controller.

How can i retain the xml value of previous controller class.

i need the help.

A: 

Quick and dirty:

MyControllerClass *myController = [[MyControllerClass alloc] initWithNibName:@"xibName" bundle:[NSBundle mainbundle]];
myController.xmlValue = xmlValue;
[self presentModalViewController: myController animated:YES]; // or navigation controller push or whatever
[myController release];
vakio