View Full Version : Please, help me about didselectRowAtIndexPath

Jan 26, 2011, 02:11 PM
: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.

- (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