TransportModePanelDelegate
public protocol TransportModePanelDelegate : AnyObject
The delegate of a TransportModePanel
object must adopt the TransportModePanelDelegate
protocol to get notified on updates.
-
Tells the delegate a new transport mode is selected.
Declaration
Swift
func transportModePanel(_ panel: TransportModePanel, didChangeTo mode: NMATransportMode)
Parameters
panel
The panel notifying a new transport mode is selected.
mode
The transport mode selected.