Hi, I am having a problem with my application. the problem is that i have a filterview (that is a modal view controller) that shows up when the filter button is press. the user can choose stuff and then the tableview should adapt to what was chosen. so far the filterview can select anything but it doenst send data back to the rootviewcontroller.
this is what ive tried so far. the user can select a city by pickerview which updates a label and my thinking is that i will send different data depending on the label name.
Code:
if (Month2.text = @"Anaheim") {
Games *g67 = [[Games alloc] initWithName:@"Anaheim" ];
NSMutableArray *gameArray = [[NSMutableArray alloc] initWithObjects:g67,nil];
self.viewController.games = gameArray;
[gameArray release];
[self.viewController.tableView reloadData];
}
}
[self.navigationController dismissModalViewControllerAnimated:YES];
maybe the problem is with my implementation of the pickerview which isnt really selecting something.
anyways please get back to me since this is a real issue