EntryFieldDelegate

@objc
public protocol EntryFieldDelegate : AnyObject

EntryFieldDelegate protocol. Forwards UITextField delegate methods.

  • Asks the delegate if editing should begin in the specified EntryField.

    Declaration

    Swift

    @objc
    optional func entryFieldShouldBeginEditing(_ view: EntryField) -> Bool

    Parameters

    view

    The EntryField that called the delegate method

  • Tells the delegate that editing began in the specified EntryField.

    Declaration

    Swift

    @objc
    optional func entryFieldDidBeginEditing(_ view: EntryField)

    Parameters

    view

    The EntryField that called the delegate method

  • Asks the delegate if editing should stop in the specified EntryField.

    Declaration

    Swift

    @objc
    optional func entryFieldShouldEndEditing(_ view: EntryField) -> Bool

    Parameters

    view

    The EntryField that called the delegate method

  • Tells the delegate that editing stopped for the specified EntryField.

    Declaration

    Swift

    @objc
    optional func entryFieldDidEndEditing(_ view: EntryField)

    Parameters

    view

    The EntryField that called the delegate method

  • Asks the delegate if the EntryField should process the pressing of the return button.

    Declaration

    Swift

    @objc
    optional func entryFieldShouldReturn(_ view: EntryField) -> Bool

    Parameters

    view

    The EntryField that called the delegate method

  • Asks the delegate if the EntryField’s current contents should be removed.

    Declaration

    Swift

    @objc
    optional func entryFieldShouldClear(_ view: EntryField) -> Bool

    Parameters

    view

    The EntryField that called the delegate method