Table View Styles 和 附属的views
Table View有各种不同的Style去match不同的porpose, 而且, UIKit framework提供了标准的Style,同样也为cell提供了标准的子view。
table View Styles
根据外观可以区分成两个table view: Plain 和 Grouped
Plain table view:
如下图,一个plain table view可以有一个或多个section, 每个section可以有一个或多个row,每个色彩体噢内可以有自己的header & footer( header和footer也可以包含custom view, 比如图片), 当用户在section中滚动时,header和footer会浮动在上/下屏幕
以下为plain table view中的贵族,indexed list.
plain table view中的鳥丝:
Grouped table Views
下面介绍table View中的战斗view Grouped table view, 区别于plain 他的背景不是单纯的白,他的背景会被分开来
section的成分:
不同的UITableView Cell Style
以下为四多金花老大: