SwitchCellDelegate
@available(tvOS, unavailable, message: "SwitchCellDelegate is not available on tvOS.")
public protocol SwitchCellDelegate : AnyObject
The SwitchCellDelegate
protocol allows the adopting delegate to respond to the UI interaction. Not available on tvOS.
-
Tells the delegate that the switch control is toggled.
Declaration
Swift
func switchCell(_ cell: SwitchCell, didToggleSwitch isOn: Bool)