UITableView
class UITableView : UIScrollView, NSCoding, UIDataSourceTranslating
Collection of all UITableView Extensions.
Subspec: Extensions/UITableViewExtension
-
Get an index set with all the sections in this table view.
Declaration
Swift
public var allSectionsIndexSet: IndexSet { get } -
Reload the table view with an animation
Warning
Do not call this if the number of sections has changed since you last called
reloadData.Declaration
Swift
public func reloadAllSections(with animation: UITableViewRowAnimation = .automatic)Parameters
animationthe animation you want.
-
Dequeues a reusable table view cell.
Declaration
Swift
public func dequeueReusableCell<T>(forIndexPath indexPath: IndexPath) -> T where T : ReusableViewParameters
indexPathThe index path.
Return Value
The collection view cell.
-
Dequeues a reusable header footer view.
Declaration
Swift
public func dequeueReusableHeaderFooterView<T>() -> T where T : ReusableView -
Registers the table view cell with its reuseidentifier.
Declaration
Swift
public func registerCell<T>(cellClass: T.Type) where T : ReusableView -
Registers the table view cell nib with its reuseidentifier.
Declaration
Swift
public func registerCellNib<T>(cellClass: T.Type) where T : ReusableViewParameters
cellClassClass of the cell to register.
-
Registers the header footer view its reuseidentifier.
Declaration
Swift
public func registerHeaderFooterView<T>(_ aClass: T.Type) where T : ReusableView
UITableView Extension Reference