Operating system requirements: iOS 5.0 or later.
Mobile device: iPad.
This example describes creating a simple data grid with the following parameters:
Six columns and six rows (including one header row and column).
Row names are set.
Column names are set.
Table header style is applied.
Values in all data cells are set.
Result:
AppDelegate.h/.m. Application parameters.
CustomCell.h/.m. A cell with text and image in a simple data grid.
DataSource.h/.m. Data source parameters for data grid.
main.m. Main file of source code.
ProxyDataSource.h/.m. Proxy data source parameters for data grid.
SimpleGrid_Prefix.pch. Common title.
SparklineCell.h/.m. A cell with a sparkline in simple data grid.
ViewController.h/.m. Data grid parameters.
See also: