看图学iOS之TableView<2>
2013-12-19 09:35
387 查看
本篇是有关TableView in iOS的官方文档示图,希望对学习TableView有所帮助。
一、TableView分类
Figure 1-1 A
table view in the plain style
![](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/TableView_iPhone/Art/tv_plain_style.jpg)
Figure 1-2 A
table view configured as an indexed list
![](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/TableView_iPhone/Art/tv_indexed_list.jpg)
Figure 1-4 A
table view in the grouped style
![](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/TableView_iPhone/Art/tv_grouped_style.jpg)
Figure 1-5 Header
and footer of a section
![](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/TableView_iPhone/Art/header_footer.jpg)
二、TableView Cells of standard styles
Figure 1-6Default table row style (
![](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/TableView_iPhone/Art/tvcellstyle_default.jpg)
Figure 1-7 Table
row style with a subtitle under the title(UITableViewCellStyleSubtitle)
![](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/TableView_iPhone/Art/tvcellstyle_subtitle.jpg)
Figure 1-8 Table
row style with a right-aligned subtitle(UITableViewCellStyleValue1)
![](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/TableView_iPhone/Art/tvcellstyle_value1.jpg)
Figure
1-9 Table row style in Contacts format(
![](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/TableView_iPhone/Art/tvcellstyle_value2.jpg)
三、利用TableView遍历数据模型
Figure 3-1 Mapping
levels of the data model to table views
![](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/TableView_iPhone/Art/data_model_table_view.jpg)
四、创建和配置TableView
Figure
4-1 Calling sequence for creating and configuring a table view
![](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/TableView_iPhone/Art/table_view_setup.jpg)
五、TableView Cells
Figure 5-1 Parts
of a table view cell
![](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/TableView_iPhone/Art/tv_cell_parts.jpg)
Figure 5-2 Parts
of a table-view cell in editing mode
一、TableView分类
Figure 1-1 A
table view in the plain style
![](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/TableView_iPhone/Art/tv_plain_style.jpg)
Figure 1-2 A
table view configured as an indexed list
![](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/TableView_iPhone/Art/tv_indexed_list.jpg)
Figure 1-4 A
table view in the grouped style
![](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/TableView_iPhone/Art/tv_grouped_style.jpg)
Figure 1-5 Header
and footer of a section
![](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/TableView_iPhone/Art/header_footer.jpg)
二、TableView Cells of standard styles
Figure 1-6Default table row style (
UITableViewCellStyleDefault)
![](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/TableView_iPhone/Art/tvcellstyle_default.jpg)
Figure 1-7 Table
row style with a subtitle under the title(UITableViewCellStyleSubtitle)
![](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/TableView_iPhone/Art/tvcellstyle_subtitle.jpg)
Figure 1-8 Table
row style with a right-aligned subtitle(UITableViewCellStyleValue1)
![](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/TableView_iPhone/Art/tvcellstyle_value1.jpg)
Figure
1-9 Table row style in Contacts format(
UITableViewCellStyleValue2)
![](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/TableView_iPhone/Art/tvcellstyle_value2.jpg)
三、利用TableView遍历数据模型
Figure 3-1 Mapping
levels of the data model to table views
![](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/TableView_iPhone/Art/data_model_table_view.jpg)
四、创建和配置TableView
Figure
4-1 Calling sequence for creating and configuring a table view
![](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/TableView_iPhone/Art/table_view_setup.jpg)
五、TableView Cells
Figure 5-1 Parts
of a table view cell
![](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/TableView_iPhone/Art/tv_cell_parts.jpg)
Figure 5-2 Parts
of a table-view cell in editing mode
![](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/TableView_iPhone/Art/tv_cell_parts_edit.jpg)
相关文章推荐
- IOS TableView<一>
- iOS 第14课 TableView <一> 创建以及数据源方法
- CONTROLS: <> TYPE TABLEVIEW USING SCREEN<>.在 ABAP/4 中声明表格 控制
- react native Webview ios <Error>: CGAffineTransformInvert: singular matrix.
- <iOS>关于viewWithTag的一点说明
- iOS<MapKit/MapKit.h> MKMapView的简单使用
- UICollectionView学习<2>之UICollectionViewCell的自定义
- iOS之Drawing<2>
- 对iOS 9 新增的控件 UIStackView 官方文档的翻译<第一部分>
- 【iOS基础控件- 5 】【demo】 超级猜图 <UIButton + UIImageView>
- Android View 内存性能分析学习 <2>
- 老赖学iOS开发--<2>--C语言运算符/表达式
- iOS core Data 详解-<2>多线程
- IOS:Warning: Attempt to dismiss from view controller <xxxxxxxxxController: 0x13f6840e0>
- Android 自定义View背景动画 流程简读 <2>
- 【iOS基础控件 - 7】 广告图片轮播器 <UIScrollView>
- iOS BUG: Unbalanced calls to begin/end appearance transitions for <XXXViewController: 0x7fcea3730650>.
- <2>tableIsExist
- iOS - 报错 Warning: Attempt to present <xx: xx> on <xx: xx> whose view is not in the window hierarchy!
- 【iOS基础控件 6 】 汽车品牌展示 Model嵌套/KVC/TableView索引 <UITableView>