Release libraries for SwiftUI
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
to11.0
- Updated from Swift 5.0 to Swift 5.3 toolchain
- Added a SwiftPackage library
CurrencyTextSwiftUI
and CocoaPods sub-specCurrencyTextField
that provides access toSwiftUI.CurrencyTextField
andCurrencyTextFieldConfiguration