Re: selecting a row of a UITableView programatically

2010-05-27 Thread Alejandro Marcos Aragón
Thanks for answering to my message Luke. I'll try selecting the row in the viewDidLoad method. Regards, aa On May 26, 2010, at 7:34 PM, Luke the Hiesterman wrote: Since nibs are loaded lazily, controller.unitTableView is probably nil when you call selectRowAtIndexPath:. Luke On May

selecting a row of a UITableView programatically

2010-05-26 Thread Alejandro Marcos Aragón
Hi all, Can someone tell me why the following code doesn't work? - (void) showInfo { FlipsideViewController *controller = [[FlipsideViewController alloc] initWithNibName:@FlipsideView bundle:nil]; controller.delegate = self; NSUInteger indexes[2] = {0,3};

Re: selecting a row of a UITableView programatically

2010-05-26 Thread Luke the Hiesterman
Since nibs are loaded lazily, controller.unitTableView is probably nil when you call selectRowAtIndexPath:. Luke On May 26, 2010, at 5:24 PM, Alejandro Marcos Aragón wrote: Hi all, Can someone tell me why the following code doesn't work? - (void) showInfo {