From e1c6cb6704140a894e2f23f4d233d39274fe05b7 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Fri, 8 Sep 2023 09:57:13 -0500 Subject: [PATCH] enforced dispatchQueue on classes Signed-off-by: Matt Bruce --- VDS/BaseClasses/Control.swift | 2 +- VDS/BaseClasses/View.swift | 2 +- VDS/Components/Buttons/ButtonBase.swift | 2 +- VDS/Components/Label/Label.swift | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/VDS/BaseClasses/Control.swift b/VDS/BaseClasses/Control.swift index 5d839316..5ef69227 100644 --- a/VDS/BaseClasses/Control.swift +++ b/VDS/BaseClasses/Control.swift @@ -11,7 +11,7 @@ import Combine /// Base Class use to build Controls. @objc(VDSControl) -open class Control: UIControl, ViewProtocol, UserInfoable, Clickable { +open class Control: UIControl, ViewProtocol, DispatchQueueViewProtocol, UserInfoable, Clickable { //-------------------------------------------------- // MARK: - Initializers //-------------------------------------------------- diff --git a/VDS/BaseClasses/View.swift b/VDS/BaseClasses/View.swift index 1ac99690..920b05fc 100644 --- a/VDS/BaseClasses/View.swift +++ b/VDS/BaseClasses/View.swift @@ -11,7 +11,7 @@ import Combine /// Base Class used to build Views. @objc(VDSView) -open class View: UIView, ViewProtocol, UserInfoable { +open class View: UIView, ViewProtocol, DispatchQueueViewProtocol, UserInfoable { //-------------------------------------------------- // MARK: - Initializers diff --git a/VDS/Components/Buttons/ButtonBase.swift b/VDS/Components/Buttons/ButtonBase.swift index a13419bb..0442ec31 100644 --- a/VDS/Components/Buttons/ButtonBase.swift +++ b/VDS/Components/Buttons/ButtonBase.swift @@ -25,7 +25,7 @@ public protocol Buttonable: UIControl, Surfaceable, Enabling { /// Base class used for UIButton type classes. @objc(VDSButtonBase) -open class ButtonBase: UIButton, ViewProtocol, UserInfoable, Clickable { +open class ButtonBase: UIButton, ViewProtocol, DispatchQueueViewProtocol, UserInfoable, Clickable { //-------------------------------------------------- // MARK: - Initializers diff --git a/VDS/Components/Label/Label.swift b/VDS/Components/Label/Label.swift index 9b9dd9a1..22dea329 100644 --- a/VDS/Components/Label/Label.swift +++ b/VDS/Components/Label/Label.swift @@ -13,7 +13,7 @@ import Combine /// Label is a standard view used to draw text with applying Typography through ``TextStyle`` as well /// as other attributes using any implemetation of ``LabelAttributeModel``. @objc(VDSLabel) -open class Label: UILabel, ViewProtocol, UserInfoable { +open class Label: UILabel, ViewProtocol, DispatchQueueViewProtocol, UserInfoable { //-------------------------------------------------- // MARK: - Initializers