UITableView
-
Registers
type.Nibfortype.IdentifierDeclaration
Swift
public func registerNib<T: UITableViewCell>(of type: T.Type)Parameters
typeUITableViewCellsubclass to register -
Registers
typefortype.IdentifierDeclaration
Swift
public func registerClass<T: UITableViewCell>(of type: T.Type)Parameters
typeUITableViewCellsubclass to register -
Dequeues a cell of type
Tfor reuseIdentifierT.IdentifierDeclaration
Swift
public func dequeueCell<T: UITableViewCell>(for indexPath: IndexPath) -> TParameters
indexPathindexPath of cell
Return Value
Your registered
UITableViewCellsubclass
-
Registers
type.Nibfortype.IdentifierDeclaration
Swift
public func registerNib<T: UITableViewHeaderFooterView>(of type: T.Type)Parameters
typeUITableViewHeaderFooterViewsubclass to register -
Registers
typefortype.IdentifierDeclaration
Swift
public func registerClass<T: UITableViewHeaderFooterView>(of type: T.Type)Parameters
typeUITableViewHeaderFooterViewsubclass to register -
Dequeues a headerFooterView of type
Tfor reuseIdentifierT.IdentifierDeclaration
Swift
public func dequeueHeaderFooterView<T: UITableViewHeaderFooterView>() -> TParameters
indexPathindexPath of headerFooterView
Return Value
Your registered
UITableViewHeaderFooterViewsubclass
-
Checks if the provided indexPath represents a row in the tableview
Declaration
Swift
func hasRow(for indexPath: IndexPath) -> BoolParameters
indexPathReturn Value
-
Checks if the provided section exists in the tableview
Declaration
Swift
func has(section: Int) -> BoolParameters
sectionReturn Value
UITableView Extension Reference