UITableView的两种样式:
typedef NS_ENUM(NSInteger, UITableViewStyle) {
UITableViewStylePlain,
UITableViewStyleGrouped
};
如图:
UITableViewCell 四种样式:
typedef NS_ENUM(NSInteger, UITableViewCellStyle)
{
UITableViewCellStyleDefault,
UITableViewCellStyleValue1,
UITableViewCellStyleValue2,
UITableViewCellStyleSubtitle
};
如图:
UITableViewCell 的accessoryType类型
typedef NS_ENUM(NSInteger, UITableViewCellAccessoryType) {
UITableViewCellAccessoryNone,
UITableViewCellAccessoryDisclosureIndicator,
UITableViewCellAccessoryDetailDisclosureButton,
UITableViewCellAccessoryCheckmark,
UITableViewCellAccessoryDetailButton
};
UITableViewCellAccessoryDisclosureIndicator样式:
UITableViewCellAccessoryDetailDisclosureButton样式:
UITableViewCellAccessoryCheckmark 样式:
UITableViewCellAccessoryDetailButton 样式: