AWFTableSectionRow
Objective-C
@interface AWFTableSectionRow
Swift
class AWFTableSectionRow
An AWFTableSectionRow object manages a single row option that is displayed within a UITableView.
-
The title to display for the row.
Declaration
Objective-C
@property (nonatomic, copy) NSString *_Nonnull title;Swift
var title: String { get set } -
The value to associate with the row, if any. This should be defined if this cell requires a selected/deselected state.
Declaration
Objective-C
@property (nonatomic, strong, nullable) id value;Swift
var value: Any? { get set } -
The cell identifier used when dequeuing a
UITableViewCellinstance from the parent table view.Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *cellIdentifier;Swift
var cellIdentifier: String? { get set } -
Creates and returns an
AWFTableSectionRowinstance initialized with the specified title and value. *Declaration
Objective-C
+ (nonnull instancetype)rowWithTitle:(nonnull NSString *)title value:(nullable id)value;Swift
convenience init(title: String, value: Any?)Parameters
titleThe title to display for the row
valueThe value for the row (optional) *
Return Value
An initialized section row for the title and value
-
Creates and returns an
AWFTableSectionRowinstance initialized with the specified title, value and cellIdentifier. *Declaration
Objective-C
+ (nonnull instancetype)rowWithTitle:(nonnull NSString *)title value:(nullable id)value cellIdentifier:(nullable NSString *)cellIdentifier;Swift
convenience init(title: String, value: Any?, cellIdentifier: String?)Parameters
titleThe title to display for the row
valueThe value for the row (optional)
cellIdentifierThe cell identifier for the
UITableViewCellclass to use when configuring the table view cell for this row *Return Value
An initialized section row for the title, value and cell identifier
View on GitHub
AWFTableSectionRow Class Reference