added resetable

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2022-08-03 15:26:25 -05:00
parent b50f4014c1
commit 85b0b81da9
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ import UIKit
import Combine
open class Control<ModelType: Initable>: UIControl, ModelHandlerable, ViewProtocol {
open class Control<ModelType: Initable>: UIControl, ModelHandlerable, ViewProtocol, Resettable {
@Published public var model: ModelType
private var cancellable: AnyCancellable?

View File

@ -10,7 +10,7 @@ import UIKit
import Combine
open class View<ModelType: Initable>: UIView, ModelHandlerable, ViewProtocol {
open class View<ModelType: Initable>: UIView, ModelHandlerable, ViewProtocol, Resettable {
@Published public var model: ModelType
private var cancellable: AnyCancellable?