# Custom UI Text Controls

- `HexEditUITextView`

  Class overriding an UITextView in order to enable hexadecimal input only. It uses a delegate function to check entered text and allows 0~9, space and A~F characters only. Also disabled the autocompletion feature that turns 2 spaces into a dot plus space.

  See more

  #### Declaration

  Swift

      class HexEditUITextView : UITextView

      extension HexEditUITextView: UITextViewDelegate

- `NumericUITextField`

  Class overriding a UITextField in order to enable numeric input only…

  See more

  #### Declaration

  Swift

      class NumericUITextField : UITextField, UITextFieldDelegate

- `NoCaretUITextView`

  Class overriding a UITextView in order to hide the caret and cancel edit actions. Used for read-only text views with no default actions.

  See more

  #### Declaration

  Swift

      class NoCaretUITextView : UITextView

- `NoCaretUITextField`

  Class overriding a UITextField in order to hide the caret and cancel edit actions. Used for read-only text fields with no default actions.

  See more

  #### Declaration

  Swift

      class NoCaretUITextField : UITextField

Copyright (c) 2018-2024, AB Circle Ltd. All rights reserved.

Generated by jazzy ♪♫ v0.14.3, a Realm project.