Skip to content

Release libraries for SwiftUI

Compare
Choose a tag to compare
@marinofelipe marinofelipe released this 09 May 23:49
· 64 commits to main since this release

This release added new libraries and API for formatting currency text in SwiftUI.
For more detail please check the docs and the Example app.

Obs: For now the SwiftUI libraries are only available for iOS given that the bridging between UIKit to SwiftUI required configuring an underlying UITextField.
A future major version may provide SwiftUI support for all Apple platforms, in vanilla SwiftUI without the need to bridge from UIKit, whenever Apple provides us with API for fully controlling a SwiftUI.TextField selectedTextRange.

Changes

  • Fixed CurrencyFormatter.unformatted(string:) when hasDecimals is true
  • Updated the ExampleApp with both UIKit and SwiftUI examples, and made it Storyboard-less
  • Increased min supported iOS version from 9.0 to 11.0
  • Updated from Swift 5.0 to Swift 5.3 toolchain
  • Added a SwiftPackage library CurrencyTextSwiftUI and CocoaPods sub-spec CurrencyTextField that provides access to SwiftUI.CurrencyTextField and CurrencyTextFieldConfiguration