UITableView
extension UITableView
This extension adds a method for deselecting all the table rows.
-
This will deselect all selected rows.
Declaration
Swift
@discardableResult func deselectAll(animated inAnimated: Bool = false) -> [IndexPath]
Parameters
animated
This can be ignored (defaults to false). If true, the deselection is animated.
Return Value
an Array of IndexPath, denoting the rows that were deselected. Can be ignored.