SKInvisibleTextField

public class SKInvisibleTextField : UITextField

A UITextField subclass that is invisible. This can be used where invisible text needs to be inserted in order to invoke other actions.

  • MARK: - Public Methods

    Declaration

    Swift

    override public func canPerformAction(_ action: Selector, withSender sender: Any?) -> Bool
  • Returns an array of UITextSelectionRects. Override makes that seclection Empty.

    Declaration

    Swift

    override public func selectionRects(for range: UITextRange) -> [UITextSelectionRect]
  • Delete a character from the displayed text. Invokes the delegate even when textField is empty and the delete button is pressed.

    Declaration

    Swift

    override public func deleteBackward()