All Versions
11
Latest Version
Avg Release Cycle
51 days
Latest Release
86 days ago

Changelog History
Page 1

  • v5.0.0

    September 18, 2019

    ✂ Removed:

    • CaretStringIterator::beforeCaret()

    This method is now replaced with ::insertionAffectsCaret() and ::deletionAffectsCaret() calls.

    • ::deleteText() and ::modifyText() in MaskedTextFieldDelegate, MaskedTextInputListener and MaskedTextViewDelegate

    ♻️ These methods had been refactored and merged.

    Please, consider overriding corresponding
    textField(:shouldChangeCharactersIn:replacementString:)
    textInput(:isChangingCharactersIn:replacementString:) or
    textView(:shouldChangeTextIn:replacementText:)
    instead.

    ➕ Added:

    • CaretString instances now contain caret gravity.

    🚚 Caret gravity affects caret movement when Mask adds characters precisely at the caret position during formatting. It is important to retain caret position after text deletion/backspacing.

    0️⃣ Default CaretGravity is .forward. Set caret gravity to .backward only when user hits backspace.

    • CaretStringIterator::insertionAffectsCaret() and CaretStringIterator::deletionAffectsCaret()

    These methods allow to incorporate new caret gravity setting. RTLCaretStringIterator had also been rewritten to reflect these changes.

    Modified:

  • v4.3.0

    June 13, 2019

    ➕ Added:

    • AffinityCalculationStrategy.extractedValueCapacity option allowing to have radically different mask format depending on the extracted value length
  • v4.2.0

    May 30, 2019

    ➕ Added:

    • AffinityCalculationStrategy.capacity option allowing to have radically different mask format depending on the input length
  • v4.1.1

    April 08, 2019
  • v4.1.0

    February 04, 2019

    ➕ Added:

    • Mask.isValid(format:customNotations:) method for format checks
    • 🚚 MaskedTextFieldDelegate.atomicCursorMovement and MaskedTextInputListener.atomicCaretMovement properties in order to address issue #32

    🛠 Fixed:

    • Optional blocks of symbols are now ignored when extracted value completeness is calculated
    • textFieldDidEndEditing delegate method not called
  • v4.0.2

    November 28, 2018
  • v4.0.1

    October 08, 2018
  • v4.0.0

    July 26, 2018
  • v3.5.0

    July 19, 2018
  • v3.4.1

    May 30, 2018