Commit Graph

10 Commits

Author SHA1 Message Date
Darren Ford ad85f71bd2 Moved 'isSecure' out into two different classes
In later versions of Xcode changing the NSTextFieldCell to an NSSecureTextFieldCell generates an error (no longer secure).

Rather than maintain two almost identical field types, GYB is being used to templatize the primary source file 'DSFFloatLabelledTextField.swift.gyb' into two different classes.

As a result, changes _must_ be made to the template file rather than the sources.
2023-03-15 12:16:35 +11:00
Darren Ford 344eab8512 First cut refactor secure 2023-03-15 11:06:11 +11:00
Darren Ford 8981182b38 Better accent color handling for big sur and legacy OSes. 2020-12-01 13:59:57 +11:00
Darren Ford 7e5864260b Use Google Translate to make Arabic RTL demo 2020-12-01 12:49:08 +11:00
Darren Ford c47631f3e7 Added delegate callbacks 2020-11-30 10:27:00 +11:00
Darren Ford 1e00bc6e9f RTL Support, placeholder spacing support, better dynamic support
1.  Some tweaks to improve RTL handling
2.  Added ability to add additonal spacing between placeholder and text (placeholderSpacing)
3.  Fixed issue where dynamically-created fields weren't being created correctly.
4.  Fixed (occasional) crash when creating via IB and providing a text field value.
5.  Use placeholder color for floater when field isn't active
6.  Removed some potential self captures when observing changes.
2020-09-17 21:05:50 +10:00
Darren Ford 809ce0b2ce Fixed issue where setting stringValue didn't trigger the floating field 2020-02-03 09:57:34 +11:00
Darren Ford daa813a429 Support 'reduce motion' on 10.12+ 2020-01-23 11:07:39 +11:00
Darren Ford dcaf1087c5 Fixed crash when loading via SPM using Xcode 11.3.1 2020-01-16 15:31:55 +11:00
Darren Ford 69fa2990c7 Small refactor and cleanup, added SPM support 2020-01-02 09:11:16 +11:00