UITableView
class UITableView : UIScrollView, NSCoding, UIDataSourceTranslating
-
Register UITableViewCell type
Declaration
Swift
public func register(cellType: UITableViewCell.Type) -
Register UITableViewCell types
Declaration
Swift
public func register(cellTypes: UITableViewCell.Type...) -
Dequeue generic type
elementofUITableViewCellforindexPathDeclaration
Swift
public func dequeue<Element>(cellType: Element.Type, for indexPath: IndexPath) -> Element where Element : UITableViewCellParameters
cellTypeElement.Type
indexPathheader for
IndexPath -
Check if the curent indexPath is valid
Declaration
Swift
public func isIndexPathValid(_ indexPath: IndexPath) -> Bool
View on GitHub
UITableView Extension Reference