UITableView
class UITableView : UIScrollView, NSCoding, UIDataSourceTranslating
-
Initiates a layout pass of UITableView and its items. Necessary for calculating new cell heights and animations when the internal state of a cell changes and needs to reflect them immediately.
Declaration
Swift
public func render() -
Deselects the previously selected row, with an option to animate the deselection.
Declaration
Swift
public func deselectLastSelectedRow(animated: Bool)Parameters
animatedtrueto animate the deselection, orfalseif the change should be immediate. -
Find the
IndexPathfor a particular view. Returnsnilif the view is not an instance of, or a subview ofUITableViewCell, or if that cell is not a child ofselfDeclaration
Swift
public func indexPath(for view: UIView) -> IndexPath?Parameters
viewThe view to find the
IndexPath.Return Value
The
IndexPathof the view in theUITableViewornilif it could not be found.
View on GitHub
UITableView Extension Reference