Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Ahmet732

macrumors newbie
Original poster
Apr 7, 2010
1
0
SearchTableViewController.m
---------------------------------------------------
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 .
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.