-
Notifications
You must be signed in to change notification settings - Fork 421
CATableViewDelegate
It’s CATableView agent class, used to respond to drag and click event.
Access modifier |
Method name |
Description |
public |
tableViewDidSelectRowAtIndexPath |
trigger when cell is selected |
public |
tableViewDidDeselectRowAtIndexPath |
trigger when deselecting |
virtual void tableViewDidSelectRowAtIndexPath(CATableView table, unsigned int section, unsigned int row)*
Return value: void
Parameter:
Type |
Parameter name |
Description |
CATableView* |
Table |
Current tableView |
unsigned int |
section |
Cell’s subordinated section |
unsigned int |
Row |
Cell’s subordinated row number |
virtual void tableViewDidDeselectRowAtIndexPath(CATableView table, unsigned int section, unsigned int row)*
Return value: void
Parameter:
Type |
Parameter name |
Description |
CATableView* |
table |
Current tableView |
unsigned int |
section |
Cell’s subordinated section |
unsigned int |
row |
Cell’s subordinated row number |