Skip to content

CATableViewDelegate

9miao edited this page Oct 11, 2014 · 2 revisions

CATableViewDelegate

Class Description

It’s CATableView agent class, used to respond to drag and click event.

Method

Access modifier

Method name

Description

public

tableViewDidSelectRowAtIndexPath

trigger when cell is selected

public

tableViewDidDeselectRowAtIndexPath

trigger when deselecting

Method Description

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

Clone this wiki locally