AccessoryButtonDelegate
@objc public protocol AccessoryButtonDelegate
Handle touch event for button in DownloadTrackerCell. DownloadListController conforms to the protocol.
If you want DownloadListController to handle touch event for your custom UITableViewCell, implement
assignAccessoryButtonDeletegate(_:) in protocol DownloadActivityTrackable and in button’s action
method, send the only protocol method to delegate object.
-
Handle button touch event for UITableViewCell.
Declaration
Swift
func tableViewCell(_ cell: UITableViewCell, didTouch button: UIButton, for controlEvents: UIControlEvents)Parameters
cellThe UITableViewCell contains touched button.
buttonThe touched button in the cell.
controlEventsThe touch event.
View on GitHub
Install in Dash
AccessoryButtonDelegate Protocol Reference