One Quickie

Scrolling to a row in a UITableView (UITableView->General)
    NSIndexPath *someRow = [NSIndexPath indexPathForRow: random() % blah.count
					inSection: 0];
    [self.cuesTableView scrollToRowAtIndexPath: someRow
         atScrollPosition: UITableViewScrollPositionBottom
         animated: YES];
You can also scroll to PositionTop and PositionMiddle. If you crash, make sure you've done a -reloadData on the table view prior to trying to scroll.

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