Skip to content

Releases: oscbyspro/DiffableTextViews

v3.2.3

29 Mar 04:50

Choose a tag to compare

Improved performance of NumericTextStyle’s Number to String conversion.

v3.2.1

26 Mar 08:35

Choose a tag to compare

Cleanup and minor performance improvements.

v3.2.0

24 Mar 12:44

Choose a tag to compare

It is now possible to set .leading, .center or .trailing text alignment:

proxy.text.alignment(_:)
view.multilineTextAlignment(_:) // read once on setup, similar to SwiftUI.TextField

v3.1.4

22 Mar 09:17

Choose a tag to compare

All environment observers were replaced by environment values provided by UIViewRepresentableContext. Some cleanup n’ stuff.

v3.1.3

20 Mar 05:22

Choose a tag to compare

Some cleanup and improved currency pattern matching.

v3.1.2

18 Mar 07:05

Choose a tag to compare

Fixed and improved: virtualization of currency labels.

The method for marking currency labels as virtual was fixed and improved. All cases when it previously failed used disjoint character sets, so it was inconsequential. However, the new method is more performant for locale-currency pairs where it is needed and skipped for locale-currency pairs where it is not (most). Currency text style performance goes brrr.

v3.1.1

16 Mar 11:30

Choose a tag to compare

Cleanup, documentation, improved input cancellation messages, less typos, etc…

v3.1.0

15 Mar 08:53

Choose a tag to compare

Currency text style's default behavior has been changed

Default fraction limits (precision) now depends on currency (matches Foundation.NumberFormatter).

NumericTextStyle<Decimal>.Currency(code: "USD") ==
NumericTextStyle<Decimal>.Currency(code: "USD").precision(integer: 1..., fraction: 2...2)

v3.0.3

12 Mar 09:44
af4b967

Choose a tag to compare

Lots of cleanup n' stuff.

v3.0.2

11 Mar 06:56

Choose a tag to compare

ProxyTextField.Selection/marked no longer crashes when UITextField.markedTextRange returns nil. Some trivia:

  • UITextField.text is never nil.
  • UITextField.selectedTextRange is never nil.
  • UITextField.markedTextRange is sometimes nil.