DateFieldDelegate
@objc
public protocol DateFieldDelegate : AnyObject
PickerFieldDelegate protocol. Forwards editing state changes and content changes.
-
Asks the delegate if editing should begin in the specified DateField.
Declaration
Swift
@objc optional func dateFieldShouldBeginEditing(_ view: DateField) -> BoolParameters
viewThe DateField that called the delegate method.
-
Tells the delegate editing ended in the specified DateField.
Declaration
Swift
@objc optional func dateFieldDidEndEditing(_ view: DateField)Parameters
viewThe DateField that called the delegate method.
-
Tells the delegate that the contents have been cleared in the specified DateField.
Declaration
Swift
@objc optional func dateFieldCleared(_ view: DateField)Parameters
viewThe DateField that called the delegate method.
-
Tells the delegate that a row was selected in the specified DateField.
Declaration
Swift
@objc optional func dateChanged(_ view: DateField)Parameters
viewThe DateField that called the delegate method.
rowThe row that was selected.
View on GitHub
DateFieldDelegate Protocol Reference