TableViewSelectionMonitor
public class TableViewSelectionMonitor : BaseNotificationMonitor
A TableViewSelectionMonitor instance monitors a table view for changes to
its selected row.
-
Encapsulates changes to the selected row in the table view.
See moreDeclaration
Swift
public enum Event -
Initializes a new
TableViewSelectionMonitor.Declaration
Swift
public init(tableView: UITableView, queue: OperationQueue = .main, handler: @escaping (Event) -> Void)Parameters
tableViewThe table view to monitor.
queueThe operation queue on which the handler executes. By default, the main operation queue is used.
handlerThe handler to call when the selected row in the table view changes.
-
The table view being monitored.
Declaration
Swift
public let tableView: UITableView -
Declaration
Swift
override public func addNotificationObservers()
View on GitHub
Install in Dash
TableViewSelectionMonitor Class Reference