Skip to content

Releases: RedMadRobot/input-mask-ios

7.3.2: macOS

05 Jul 09:47
Compare
Choose a tag to compare

⤵️ Added:

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

7.2.8

01 Jun 15:17
Compare
Choose a tag to compare

⤵️ Added:

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

7.2.6

05 May 12:14
Compare
Choose a tag to compare

🔄 Modified:

  • Country::findCountries → fix bloomer

7.2.1

19 Apr 18:03
Compare
Choose a tag to compare

7.2.0

16 Apr 15:01
Compare
Choose a tag to compare

🔄 Modified:

  • MaskedTextInputListener.replaceCharacters(): apply a patch to counter iOS Undo Manager, see #84

7.1.1

14 Apr 14:14
Compare
Choose a tag to compare

🔄 Modified:

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

7.1.0

11 Apr 08:26
5274d6d
Compare
Choose a tag to compare

⤵️ 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

04 Apr 09:47
Compare
Choose a tag to compare

🔄 Modified:

  • spec.platformios, 15.6

7.0.0

30 Mar 21:02
fbb17f6
Compare
Choose a tag to compare

⤵️ 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

16 Mar 18:55
Compare
Choose a tag to compare

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