本篇是有关TableView in iOS的官方文档示图,希望对学习TableView有所帮助。
一、TableView分类
A table view in the plain style
A table view in the grouped style
Header and footer of a section
二、TableView Cells of standard styles
Figure 1-6Default table row style ( UITableViewCellStyleDefault
)
Table row style with a subtitle under the title(UITableViewCellStyleSubtitle)
Table row style with a right-aligned subtitle(UITableViewCellStyleValue1)
Table row style in Contacts format( UITableViewCellStyleValue2
)
三、利用TableView遍历数据模型
Mapping levels of the data model to table views
四、创建和配置TableView
Calling sequence for creating and configuring a table view
五、TableView Cells
Parts of a table view cell
Parts of a table-view cell in editing mode