@objc public protocol TravelTimePanelDelegate : AnyObject
The delegate of a
TravelTimePanel object must adopt the
TravelTimePanelDelegate protocol to get notified on updates.
Tells the delegate the date was updated.
func travelTimePanel(_ panel: TravelTimePanel, didUpdate date: Date)
The panel notifying the delegate about the date update.
The updated date.
Tells the delegate the panel is about to present the travel time picker.
A travel time panel sends this message to its delegate just before it presents a travel time picker, thereby permitting the delegate to customize the picker object before it is displayed. This method gives the delegate a chance to override state-based properties, such as background and text colors.
The panel presenting the travel time picker view controller.
The travel time picker to be presented.