One Quickie


Selecting a row in a UITableView (UITableView->General)
    NSIndexPath *indexPath = [NSIndexPath indexPathForRow: index
                                          inSection: 0];
    [self.tableView reloadData];  // necessary if selecting row in -viewDidLoad

    [self.tableView selectRowAtIndexPath: indexPath
                    animated: YES
                    scrollPosition: UITableViewScrollPositionNone];



borkware home | products | miniblog | rants | quickies | cocoaheads
Advanced Mac OS X Programming book

webmonster@borkware.com