SlidingTableViewCellDelegate
public protocol SlidingTableViewCellDelegate : AnyObject
The delegate of a SlidingTableViewCell must adopt the SlidingTableViewCellDelegate protocol. Methods of this protocol allow the delegate to handle selections and manage the UIButton IBAction’s associated with the drawer view.
-
didSelectRowIn(_:atIndexPath:)Default implementationResets Overlay view to center position when the TableViewCell is selected. You can call this method from didSelectRowAtIndexPath, or you can override.
Default Implementation
Resets Overlay view to center position when the TableViewCell is selected. You can call this method from didSelectRowAtIndexPath, or you can override.
Declaration
Swift
func didSelectRowIn(_ tableView: UITableView, atIndexPath indexPath: IndexPath)Parameters
tableViewUITableView used
indexPathcurrent NSIndexPath
SlidingTableViewCellDelegate Protocol Reference