IOS UITableView Nsindexpath Properties Explained
To view UITableView's help documentation we will note that UITableView has two delegate: DataSource and delegate respectively.
DataSource is a Uitableviewdatasource type that provides display data (UITableViewCell) primarily for UITableView, specifying the type of edit operation supported by UITableViewCell (Insert,delete and reordering), and the corresponding data update operation according to the user's operation, if the data is not more operational to correct the update, may cause the display exception, even crush.
delegate is a uitableviewdelegate type that provides an optional method to control the selection of TableView, to specify the display of the header and tail of a section, and to assist in the removal and sequencing of cells.
When it comes to uitableview, it is necessary to say nsindexpath. UITableView declares a nsindexpath category, which is used primarily to identify the current cell's position in TableView, which has section and row two attributes that identify the current cell in the first sections, the latter substituting The first line of the table in the section.
UITableView can only have one column of data (cell), and only support vertical sliding, when the first time the creation of a good tablview, we need to call its Reloaddata method, forcing the refresh once, so that the TableView data update to the latest state.
IOS UITableView Nsindexpath Properties Explained