Input Mask Ios Versions Save

User input masking library repo.

7.3.2

10 months ago

⤵️ Added:

  • Full macOS support: a brand new TextViewListener class for NSTextView instances

7.2.8

1 year ago

⤵️ Added:

  • MaskedTextInputListener now provides call forwarding to its corresponding textFieldDelegate and textViewDelegate

7.2.6

1 year ago

🔄 Modified:

  • Country::findCountries → fix bloomer

7.2.1

1 year ago

7.2.0

1 year ago

🔄 Modified:

7.1.1

1 year ago

🔄 Modified:

  • UITextInput.caretPosition.setter now updates caret position only if it changed

7.1.0

1 year ago

⤵️ Added:

  • NumberInputListener: a MaskedTextInputListener allowing to enter currencies and other numbers
  • "".numberOfOccurrencesOf(string): a helper method to count occurencies of substrings

🔄 Modified:

  • CharacterSet.isMember(character:) made public
  • MaskedTextInputListener: UITextFieldDelegate and UITextViewDelegate extensions made open
  • MaskedTextInputListener.atomicCaretMovement is now applied everywhere

7.0.1

1 year ago

🔄 Modified:

  • spec.platformios, 15.6

7.0.0

1 year ago

⤵️ Added:

  • New logo :D
  • New README :D
  • A basic UI test in the Sample project for the date/phone fields
  • "".extractDigits(): a helper method to extract digits from a String
  • "".boxSizeWithFont(font): a helper method to calculate a rectangle size for a String
  • Text listener callbacks now return a tailPlaceholder for the value to be completed
  • Country: a model object representing a country with phone formatting, ISO codes & emojis
  • Country.all: a dictionary of known countries
  • MaskedTextField: a SwiftUI TextField with an attached mask
  • A SwiftUI sample project
  • PhoneInputListener: a MaskedTextInputListener allowing to enter a phone number of any known country

⤴️ Removed:

  • UITextField.cursorPosition: please use a UITextInput.caretPosition property instead
  • UITextView.cursorPosition: please use a UITextInput.caretPosition property instead

🔄 Modified:

  • swift-tools-version5.7.1
  • Pod platform → 16.1

6.0.0

4 years ago

Removed:

  • Mask::apply(), the autocomplete flag

This flag is now a part of the CaretGravity.forward enum case.

Added:

  • CaretGravity.forward, the autocomplete flag
  • CaretGravity.backward, the autoskip flag