Creates a new data source.
The data array to provide, in data[row][column] format
The array storing the data for the table.
Returns the content view for a cell.
The table requesting data
The row of the cell to get
The column of the cell to get
The view to display in the table; its position will be modified
Returns the number of columns in the table at the specified row.
The table requesting data
The row being queried
The number of columns in the row
Returns the number of rows in the table.
The table requesting data
The number of rows in the table
Returns the width of a column in a row, overriding the width of the view. If not implemented, the width is determined from the content.
The table requesting data
The row to query
The column to query
The width of the column
This class defines a default instance of
CCTableViewDataSource
which reads data from a 2D array of strings or numbers.