From 85b0b81da99f2d976c0a7646dacd9fb8c23a3a85 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Wed, 3 Aug 2022 15:26:25 -0500 Subject: [PATCH] added resetable Signed-off-by: Matt Bruce --- VDS/Classes/Control.swift | 2 +- VDS/Classes/View.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VDS/Classes/Control.swift b/VDS/Classes/Control.swift index e1a0726e..1c0b0422 100644 --- a/VDS/Classes/Control.swift +++ b/VDS/Classes/Control.swift @@ -10,7 +10,7 @@ import UIKit import Combine -open class Control: UIControl, ModelHandlerable, ViewProtocol { +open class Control: UIControl, ModelHandlerable, ViewProtocol, Resettable { @Published public var model: ModelType private var cancellable: AnyCancellable? diff --git a/VDS/Classes/View.swift b/VDS/Classes/View.swift index 8bdf9191..06a55579 100644 --- a/VDS/Classes/View.swift +++ b/VDS/Classes/View.swift @@ -10,7 +10,7 @@ import UIKit import Combine -open class View: UIView, ModelHandlerable, ViewProtocol { +open class View: UIView, ModelHandlerable, ViewProtocol, Resettable { @Published public var model: ModelType private var cancellable: AnyCancellable?