SearchTableViewController.m
---------------------------------------------------
HistoryTableViewController.m
----------------------------------------------------------
*********************************************
NSLog s are for whether i can retrieve the value or not. My project is TabBar APP .
---------------------------------------------------
Code:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
[B]deneme= [[NSMutableArray alloc]init];
deneme=[tableData objectAtIndex:indexPath.row];
NSLog(@"my row = %@", deneme);// I can print the touched value on console but....[/B]
}
HistoryTableViewController.m
----------------------------------------------------------
Code:
- (void)viewDidLoad {
[super viewDidLoad];
[B] SearchTableViewController *obj = (SearchTableViewController *)[self.tabBarController.viewControllers objectAtIndex:0];
NSLog(@"my 2nd row= %@", [obj deneme]); // I can not print on console[/B]
}
*********************************************
NSLog s are for whether i can retrieve the value or not. My project is TabBar APP .