DatePickerControllerDelegate
public protocol DatePickerControllerDelegate : AnyObject
The DatePickerController delegate to defime some actions.
-
This func is triggered when the user select a date.
Declaration
Swift
func datePickerController(_ controller: DatePickerController, onSelect date: Date)Parameters
controllerthe current DatePickerController.
datethe selected date.
-
Check if the date is selectable.
Declaration
Swift
func datePickerController(_ controller: DatePickerController, isSelectable date: Date) -> BoolParameters
controllerthe current DatePickerController.
datethe date.
Return Value
true if the date is selectable, false otherwise.
View on GitHub
Install in Dash
DatePickerControllerDelegate Protocol Reference