Commit Graph

110 Commits

Author SHA1 Message Date
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
2e6bb6fbab added prepare for reuse
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-14 11:53:51 -05:00
Matt Bruce
d671492d72 updated selectors to views
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-12 17:29:43 -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
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
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
cfecae528b updated cell
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 14:35:16 -05:00
Matt Bruce
f71372939c refactored into extension
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-26 14:20:07 -05:00
Matt Bruce
2a1f3c9e33 initial commit
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-26 13:15:29 -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
4960dcf512 removed method
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-25 08:53:33 -05:00
Matt Bruce
d249ba0fed added ObjectWithable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-22 17:52:20 -05:00
Matt Bruce
052d7b57b0 created public init
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-22 17:42:59 -05:00
Matt Bruce
c9cc612698 updated for withable on lazy properties
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-22 15:35:45 -05:00
Matt Bruce
0bbdf6ddf0 created publisher folder
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-18 09:30:45 -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
017f7eadb0 added withable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-16 10:02:29 -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
166ecf461d trying to resolve leak
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-15 09:09:24 -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
843739e913 refactored for handler protocol
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-12 16:08:09 -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
24a33a0b9e added ModelHandlerPublisher
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-12 15:24:29 -05:00
Matt Bruce
d0b2dfd0b1 refactored propertywrappers
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-11 15:12:14 -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
Matt Bruce
0076a1ea21 updated protocol
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-11 14:13:30 -05:00
Matt Bruce
c00c0fb24d updated init
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-11 09:50:53 -05:00
Matt Bruce
2e3c63ad5c refactored under the hood
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-10 16:07:04 -05:00
Matt Bruce
c368f275cb refactored controls
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-10 14:43:00 -05:00
Matt Bruce
c70997edb9 removed prints
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-09 16:27:03 -05:00
Matt Bruce
49b3868acc update subscriber
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-09 16:25:37 -05:00
Matt Bruce
4e6d9b2f9d new funcs
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-09 14:36:37 -05:00
Matt Bruce
5b800c0450 moved the disabled/surface to the base
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-05 11:56:44 -05:00
Matt Bruce
df82f85724 added Modelable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-05 11:54:20 -05:00
Matt Bruce
b3622ce854 refactored isTrue/False to forTrue/false
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-05 10:59:10 -05:00
Matt Bruce
b253bf3e03 refactored color configurations and refactored classes
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-05 10:49:02 -05:00
Matt Bruce
1c30a5ff84 added new color helper
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-04 15:32:53 -05:00
Matt Bruce
3acde8b4c8 created color helpers
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-04 15:11:02 -05:00
Matt Bruce
5820401c50 refactored label
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-04 10:24:43 -05:00
Matt Bruce
85b0b81da9 added resetable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-03 15:26:25 -05:00
Matt Bruce
ffe3641500 refactored out VDS from naming conventions
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-03 13:56:14 -05:00
Matt Bruce
bf9562d264 refactored ViewProtocol
removed @objcMembers from components

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-03 11:44:35 -05:00
Matt Bruce
e8abde15f1 added VDSView
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-03 09:52:14 -05:00
Matt Bruce
ce4faadf0c converted defaults to structs
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-03 09:01:46 -05:00
Matt Bruce
7fef4aadb7 refactored constants
updated constant references
fixed bug in checkbox

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-03 08:46:51 -05:00
Matt Bruce
2c4b0a578a Merge branch 'develop' into generic-class
# Conflicts:
#	VDS/Classes/VDSControl.swift
#	VDS/Components/Toggle/VDSToggle.swift

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-01 17:05:58 -05:00
Matt Bruce
b1253be64b implemented coder
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-01 11:54:49 -05:00
Matt Bruce
49e84c5255 updated control to take in generic class
updated toggle to include this and make a abstract class and new subclass

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-30 10:33:23 -05:00
Matt Bruce
d33f672350 updated url
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-30 09:20:10 -05:00
Matt Bruce
13b5ea2a55 forwarding proxy propertywrapper
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-29 16:06:32 -05:00
Matt Bruce
443bbded79 removed @objcmembers from control
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-29 13:07:34 -05:00
Matt Bruce
4127ad18d2 removed files
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-28 18:26:46 -05:00
Matt Bruce
01083bd8c8 added classes
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-28 18:06:49 -05:00