One Quickie


Adding an arrow thingie or checkbox to tableview cells (UITableView->General)
If you have the cell, you can set the accessoryType directly:
UITableViewCell *cell = ...;
cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
The delegate method (accessoryTypeForRowWithIndexPath) has been deprecated, so don't use that.

Use UITableViewCellAccessoryCheckmark for a checkmark.

Use UITableViewCellAccessoryNone to remove the checkmark.



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

webmonster@borkware.com