Hi all,
I've tableview and i filled my cells with this array:
Code:
NSArray *arrayToTableView = [[NSArray alloc] initWithObjects:@”Cars”,@”Guitars”,@”Sports”]
Also i have arrays for detailview:
Code:
NSMutableArray *arrayToCars = [[NSArray alloc] initWithObjects:@”Mercedes”,@”BMW”,@”Porche”]
Code:
NSMutableArray *arrayToGuitars = [[NSArray alloc] initWithObjects:@”Fender”,@”Gibson”,@”Ibanez”]
Code:
NSMutableArray *arrayToSports = [[NSArray alloc] initWithObjects:@”Basketball”,@”Football”,@”Tennis”]
So, i want to use one detailview and send array data in it, which one is selected in tableview.
I'm using pickerview in detailview. i want to show my arrayToCars's objects in pickerview. If user clicks on guitars, pickerview must be filled by arrayToGuitars.
But i dont know how can i send array to otherview. Can you help me?
Thanks