AreaFieldDelegate
@objc
public protocol AreaFieldDelegate : AnyObject
EntryFieldDelegate protocol. Forwards all UITextView delegate methods.
-
Asks the delegate if editing should begin in the specified AreaField.
Declaration
Swift
@objc optional func areaFieldShouldBeginEditing(_ view: AreaField) -> BoolParameters
viewThe AreaField that called the delegate method.
-
Tells the delegate that editing of the specified EntryField has begun.
Declaration
Swift
@objc optional func areaFieldDidBeginEditing(_ view: AreaField)Parameters
viewThe AreaField that called the delegate method.
-
Asks the delegate if editing should stop in the specified EntryField.
Declaration
Swift
@objc optional func areaFieldShouldEndEditing(_ view: AreaField) -> BoolParameters
viewThe AreaField that called the delegate method.
-
Tells the delegate that editing of the specified EntryField has ended.
Declaration
Swift
@objc optional func areaFieldDidEndEditing(_ view: AreaField)Parameters
viewThe AreaField that called the delegate method.
-
Asks the delegate whether the specified text should be replaced in the EntryField.
Declaration
Swift
@objc optional func areaField(_ view: AreaField, shouldChangeTextIn range: NSRange, replacementText text: String) -> BoolParameters
viewThe text to insert.
rangeThe current selection range. If the length of the range is 0, range reflects the current insertion point. If the user presses the Delete key, the length of the range is 1 and an empty string object replaces that single character.
viewThe text to insert.
View on GitHub
AreaFieldDelegate Protocol Reference