reverted to @published
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
f10e04cef5
commit
8dfe5a7eea
@ -21,8 +21,8 @@ public class ModelScrollViewController<ModelType: Modelable>: UIViewController,
|
||||
//--------------------------------------------------
|
||||
// MARK: - Combine Properties
|
||||
//--------------------------------------------------
|
||||
public var modelSubject = CurrentValueSubject<ModelType, Never>(ModelType())
|
||||
public var modelPublisher: AnyPublisher<ModelType, Never> { modelSubject.eraseToAnyPublisher() }
|
||||
@Published public var model: ModelType = ModelType()
|
||||
public var modelPublisher: Published<ModelType>.Publisher { $model }
|
||||
public var subscribers = Set<AnyCancellable>()
|
||||
public var firstRender: Bool = false
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user