Contents

tableView(_:didDeselectRowAt:)

Tells the delegate that the specified row is now deselected.

Declaration

optional func tableView(_ tableView: UITableView, didDeselectRowAt indexPath: IndexPath)

Parameters

  • tableView:

    A table view informing the delegate about the row deselection.

  • indexPath:

    An index path locating the deselected row in tableView.

Discussion

The delegate handles row deselections in this method. It could, for example, remove the check-mark image (UITableViewCell.AccessoryType.checkmark) associated with the row.

See Also

Responding to row selections