Commit Graph

61 Commits

Author SHA1 Message Date
Matt Bruce
d6cefaf980 refactoring comments, marks, etc...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-28 16:13:13 -05:00
Matt Bruce
2b1234afc8 more comments
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-28 11:07:47 -05:00
Matt Bruce
da1434fdfd added documentaion comments.
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-28 10:28:53 -05:00
Matt Bruce
e3f998de9f Signed-off-by: Matt Bruce <matt.bruce@verizon.com> 2023-08-25 16:12:50 -05:00
Matt Bruce
3ca168a53b added canHighlight
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-16 09:11:17 -05:00
Matt Bruce
dec1a00bb5 refactored out Handlerable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-08 09:46:52 -05:00
Matt Bruce
56c2217b0c public to open
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-04 16:01:38 -05:00
Matt Bruce
ce9e64da0f updated comments
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-04 10:22:31 -05:00
Matt Bruce
ecff7b9686 refactored updateAccessibiltyLabel to updateAccessibility
moved down common isEnabled/isSelected down to base classes

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-01 10:23:24 -05:00
Matt Bruce
b919cfd92b refactored disabling (disabled) as a helper to get/set isEnabled
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-07-18 08:46:15 -05:00
Matt Bruce
c9180e9c36 added back isEnabled override
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-07-14 14:42:56 -05:00
Matt Bruce
87ecc1e28a added code comments
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-07-13 14:41:07 -05:00
Matt Bruce
9093131f1d fixed issues with disabled state overwriting layers.
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-06-07 15:26:13 -05:00
Matt Bruce
dcf766a267 updated comments on Control
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-26 16:18:21 -05:00
Matt Bruce
d358194b7d added comments to Control
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-26 16:15:38 -05:00
Matt Bruce
e82a94304c refactored to remove combine for local updater, replaced with setNeedsUpdate
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-08 11:51:10 -05:00
Matt Bruce
334f9b798c refactored more on clickable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-03-30 09:06:24 -05:00
Matt Bruce
248caeb480 updated for maintaining a clickable count
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-03-30 08:43:55 -05:00
Matt Bruce
94d44c5d54 refactored clickable
removed old clickable code

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-03-29 15:37:32 -05:00
Matt Bruce
aa233515a5 updated control
and subcontrols

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-03-29 13:47:56 -05:00
Matt Bruce
58162040d3 added click subscriber and updateAccessibilityLabel
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-03-07 10:54:19 -06:00
Matt Bruce
dd311fc920 applied UserInfoable to views/controls
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-23 09:26:41 -06:00
Matt Bruce
04a5fddf48 flipped off by default but only set if "touchUpInside" publisher is set
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-11 11:26:12 -06:00
Matt Bruce
42e2c5673f fixed highlight bug in entry field
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-21 08:56:51 -06:00
Matt Bruce
89b200c005 added highlight
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 11:03:13 -06:00
Matt Bruce
372dd0cfd0 added isHighlighted
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-22 13:07:47 -06:00
Matt Bruce
8a85e67681 updated backgroundcolor to clear
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-18 10:01:28 -06:00
Matt Bruce
00f1418e69 updated controls for reset()
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-15 10:10:04 -06:00
Matt Bruce
53b43c6daf execute updateView() after setup
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-02 11:11:39 -05:00
Matt Bruce
85337833d4 refactored out layout subviews, causing infinite loop
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-02 11:04:34 -05:00
Matt Bruce
46d0bb3047 added @objc() class name to keep collisions from occurring
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-21 10:42:24 -05:00
Matt Bruce
1e046fa336 removed / replaced anything to do with model
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-20 15:41:41 -05:00
Matt Bruce
0b237b4847 updated swatch
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-20 15:07:58 -05:00
Matt Bruce
60dbfa9d2b refactored to use layoutSubviews
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-20 14:06:03 -05:00
Matt Bruce
63543b5cf5 fixed issues with init
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-20 13:13:28 -05:00
Matt Bruce
4bf9ce83b5 refactored to remove models
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-20 10:55:36 -05:00
Matt Bruce
0bf344ed31 allow override of inititalSetup
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-11 14:01:08 -05:00
Matt Bruce
9e2d5fff47 added Equality to Modelable
added AnyEquality to classes that have an a property with 'any'
added default implementation on shouldUpdateView() to check equality, this can be re-implemented in classes
removed all shouldUpdateView methods everywhere since above was done

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-16 09:14:27 -05:00
Matt Bruce
dbfce2c999 refactored again, removed protocol and enforce base class of subject
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 17:39:24 -05:00
Matt Bruce
12771fa0f2 created protocols for control/view
refactored to use protocols

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 17:18:43 -05:00
Matt Bruce
61c5d5adf8 convert to kyle code for default handlers
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-31 16:12:08 -05:00
Matt Bruce
6c67544c71 moved tap back into each control since not all controls should need this
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-31 13:21:13 -05:00
Matt Bruce
0eb23d51fc moved touchup inside logic into control
isTappable bool
defaultAction() override
2022-08-31 10:38:21 -05:00
Matt Bruce
126b094178 moved isUserInteractive to isEnabled setter 2022-08-31 09:05:38 -05:00
Matt Bruce
3f8285a74d added model reset
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-25 10:59:57 -05:00
Matt Bruce
42e417b043 refactored enabled/disabled
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-17 13:14:56 -05:00
Matt Bruce
3d94e7d7c4 removed property
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-15 16:30:38 -05:00
Matt Bruce
1d30735948 refactored updateView stuff into method
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-13 09:57:02 -05:00
Matt Bruce
552e0416d3 refactored out ModelHandlerPublishable and moved into the handler
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-12 15:27:50 -05:00
Matt Bruce
cb3bb9250d added subscribers and renamed from cancellables
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-11 14:16:58 -05:00