Skip to content

Releases: ApplebaumIan/SwiftUI-Apple-Watch-Decimal-Pad

Version 1.0.4

28 Jul 18:09
9053d7c
Compare
Choose a tag to compare

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

Full Changelog: 1.0.3...1.0.4

Version 1.0.3 Locale Decimal Separator

20 Apr 18:11
8fd9fa0
Compare
Choose a tag to compare
  • 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

19 Sep 02:04
Compare
Choose a tag to compare

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

14 Sep 13:40
Compare
Choose a tag to compare

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

14 Sep 13:10
9a63558
Compare
Choose a tag to compare
  • Decimal Keyboard is now optional with style parameter.
DigiTextView(placeholder: placeholder,
	text: text, 
	presentingModal: presentKeyboard,
	alignment: .leading,
+ 	style: .decimal
	)
  • Keyboard is now fullscreen!
    Demo of Keyboard 44mm Screen Size

  • Keyboard now works on all Apple Watch Sizes.
    Demo of Keyboard 38mm Screen Size

  • 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

12 Feb 04:38
Compare
Choose a tag to compare
  • 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

07 Feb 03:43
Compare
Choose a tag to compare
  • Removed unnecessary button padding.

Placeholder Text and TextField Style

04 Feb 01:52
054b610
Compare
Choose a tag to compare
  • 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

03 Feb 20:48
Compare
Choose a tag to compare
Initial Test Release Pre-release
Pre-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.