TableView delegation
TableView delegation
- Subject: TableView delegation
- From: John H Moody <email@hidden>
- Date: Tue, 22 Jan 2002 12:47:49 -0800
I have a TableView with only one column, displaying alphabetically the last
name, first name of individuals within a MutableArray.
As the number of rows within the TableView grows quite lengthy, I'd like to
provide a quick way of filtering rows by adding a TextField above the
TableView into which a user could type the first or last name of the
individual, and as the user types, the TableView filters records containing
only the characters typed. This would be equivalent to the filtering of
emails available within Entourage.
Is this properly handled with a delegate method such as:
- (BOOL)tableView:(NSTableView *)aTableView shouldSelectRow:(int)rowIndex
Thank you for your assistance.
John Moody
email@hidden