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

MynEz

macrumors newbie
Original poster
Jan 13, 2011
13
0
Regina,Sask
:D Hello
I am beginner of iPhoneDeveloper and now I'm trying to create my application about navigation system.

I wanna select each row of my table in the navigation system (load from plist file) , for example, I wanna select 1st row and get inside to another level which consists of data about 1st row and if I wanna select 2nd row, it will push the view to another view like this, but I still don't know how to do that, please help me.




Code:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
	
	
	WeekdayLv1 *weekday1s = [[WeekdayLv1 alloc] init];
	[self.navigationController pushViewController:weekday1s animated:YES];
	
	[tableView deselectRowAtIndexPath:indexPath animated:YES];
}

Many thanks :p
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.