Commit Graph

56 Commits

Author SHA1 Message Date
Matt Bruce
443636b723 refactored typograpicalStyle to textStyle
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-13 13:36:53 -06:00
Matt Bruce
410ee5afdf refactored to use tokens instead of hardcoded values
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-03 11:36:36 -06:00
Matt Bruce
abda0b7402 fixed bug in radio swatch
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-21 07:53:03 -06:00
Matt Bruce
ae6c380627 removed old code
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 19:34:04 -06:00
Matt Bruce
84ccbac762 removed prints
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 18:15:16 -06:00
Matt Bruce
4393a87283 removed duplicates for states
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 17:59:05 -06:00
Matt Bruce
66c39fb701 updated RadioSwatch to new color config
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 15:18:54 -06:00
Matt Bruce
e961315042 updated to use new selfsizing collectionview
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-18 11:18:38 -06:00
Matt Bruce
5684104913 updated to use extension
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-18 11:16:19 -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
d988503af0 Merge branch 'develop' into feature/unify_checkbox 2022-11-10 15:10:57 -06:00
Matt Bruce
19a7ba5627 updated defaults into initializers
update all initializers to look the same

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-10 15:10:18 -06:00
Matt Bruce
9d95a2c1ce fixed issue with drawing layer
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-09 07:09:20 -06: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
b5314ad879 deleted all models
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-20 15:12:25 -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
5a8e34f327 removed code
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-11 10:43:09 -05:00
Matt Bruce
d0001f8af7 updated color config
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 16:27:10 -05:00
Matt Bruce
3b75957ce1 accessable update
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 16:26:19 -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
a07f86efe3 class is already equatble
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-15 17:20:20 -05:00
Matt Bruce
e07f855eb6 added Identifiable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-15 13:56:58 -05:00
Matt Bruce
78443263ba deleted Changeable - onChange: ActionBlock
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-14 12:43:41 -05:00
Matt Bruce
77a02a1e25 moved valueChanged to method
again this is due to the updating internal models via the control, therefore there will be a delay in the eventing from the publisher back up to the parent model

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-14 11:59:01 -05:00
Matt Bruce
8f63017ce9 added selectedModelHandler/Handler
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-14 11:46:33 -05:00
Matt Bruce
0ba4fcbbd2 updated cell
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-12 16:11:59 -05:00
Matt Bruce
a07fc10a7e udpated swatch
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-09 12:52:34 -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
d00a219ebb updated protocol
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 17:06:07 -05:00
Matt Bruce
57853b6145 added typealias
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 16:45:14 -05:00
Matt Bruce
71b020cb3f refactored more of the groups to remove protocol
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 16:38:46 -05:00
Matt Bruce
2148014664 removed selected inputId
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 14:35:09 -05:00
Matt Bruce
81ed479c87 final changes before vacation
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-31 16:24:45 -05:00
Matt Bruce
c05f35de03 updated width/height for collectionview
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-31 16:12:19 -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
c975f2b06e added Gesture publisher / extension to UIView
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-31 13:29:44 -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
1306c9e2a9 updated for not caching model, just the inputId
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-31 13:12:40 -05:00
Matt Bruce
f13c9488a4 didSelect
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-31 12:27:37 -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
a9a3aeee18 updated default implementation
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-31 09:57:35 -05:00
Matt Bruce
c6ae09f730 removed isUserInteractive to control
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-31 09:06:01 -05:00
Matt Bruce
a0bc95d849 refactored into base class
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 18:16:00 -05:00
Matt Bruce
980642e72c pulled in protocol method
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 17:09:37 -05:00
Matt Bruce
572a7dd123 added valueChanged event
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 17:07:21 -05:00