Releases: ApplebaumIan/SwiftUI-Apple-Watch-Decimal-Pad
Releases · ApplebaumIan/SwiftUI-Apple-Watch-Decimal-Pad
Version 1.0.4
What's Changed
- Fix issue where this package was interfering with SwiftUI previews by @andylin2004 in #7
- The default icon is no longer "Done" for completion but an icon label (in the future it would be nice to support different labels)
New Contributors
- @andylin2004 made their first contribution in #7
Full Changelog: 1.0.3...1.0.4
Version 1.0.3 Locale Decimal Separator
- For countries that do not use
.
as a decimal separator will now be changed to their respective separator based on Locale.
Thank you @patrickniepel!
Version 1.0.2
Swift Package Index thinks that this library works on non-watchOS systems.
I have added a compiler flag to ensure this isn't the case.
Version 1.0.1 watchOS only package
This package was always supposed to be watchOS only.
I have added a lot more watchOS compiler flags to make sure that there are no requirements for iOS 13.
I also tidied up a bit.
Version 1.0.0 Release
- Decimal Keyboard is now optional with
style
parameter.
DigiTextView(placeholder: placeholder,
text: text,
presentingModal: presentKeyboard,
alignment: .leading,
+ style: .decimal
)
-
TextView while keyboard open is much larger for legibility using Title2
Thank you @andylin2004 for Forking the project and inspiring me to really finish the keyboard! Another thank you to @pratikbaid3 for notifying me of the keyboard clicks bug!
Apple Watch Button Style and Keyboard Click Sounds
- Adjusted design to look and behave more like the default Apple Watch buttons
- Keys on the digit pad now play a click sound and provide haptic feedback when pressed
breaking changes
- requires watchOS 7
Fixed Button Padding
- Removed unnecessary button padding.
Placeholder Text and TextField Style
- Added a placeholder field to mimic TextField
- Fixed size of button so that it no longer becomes an impossibly small touch target
- alignment of text can be set on initialization of the TextField
Initial Test Release
Testing integration with Existing WatchOS Apps
None of the code is finalized yet. Many View names will be replaced for legibility sake.
Bugs
- Placeholder text is editable by keyboard.
- If you remove all text it's near impossible to invoke the keyboard.