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) -> Bool
Parameters
view
The DateField that called the delegate method.
-
Tells the delegate editing ended in the specified DateField.
Declaration
Swift
@objc optional func dateFieldDidEndEditing(_ view: DateField)
Parameters
view
The 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
view
The 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
view
The DateField that called the delegate method.
row
The row that was selected.