One Quickie


UITableView section header titles (UITableView->General)
UITableView won't display its groovy section headers (or footers) until you supply them via the datasource:
- (NSString *) tableView: (UITableView *) tableview
 titleForHeaderInSection: (NSInteger) section {
    NSArray *sections = [BWTermStorage sections];
    return [sections objectAtIndex: section];
} // titleForHeaderInSection
You can return a title for a footer.

You can also return a view:

- (UIView *) tableView: (UITableView *) tableView 
    viewForHeaderInSection: (NSInteger) section;



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

webmonster@borkware.com