added resetable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
b50f4014c1
commit
85b0b81da9
@ -10,7 +10,7 @@ import UIKit
|
|||||||
import Combine
|
import Combine
|
||||||
|
|
||||||
|
|
||||||
open class Control<ModelType: Initable>: UIControl, ModelHandlerable, ViewProtocol {
|
open class Control<ModelType: Initable>: UIControl, ModelHandlerable, ViewProtocol, Resettable {
|
||||||
|
|
||||||
@Published public var model: ModelType
|
@Published public var model: ModelType
|
||||||
private var cancellable: AnyCancellable?
|
private var cancellable: AnyCancellable?
|
||||||
|
|||||||
@ -10,7 +10,7 @@ import UIKit
|
|||||||
import Combine
|
import Combine
|
||||||
|
|
||||||
|
|
||||||
open class View<ModelType: Initable>: UIView, ModelHandlerable, ViewProtocol {
|
open class View<ModelType: Initable>: UIView, ModelHandlerable, ViewProtocol, Resettable {
|
||||||
|
|
||||||
@Published public var model: ModelType
|
@Published public var model: ModelType
|
||||||
private var cancellable: AnyCancellable?
|
private var cancellable: AnyCancellable?
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user