default implementation for model in protocol used for vds component integration
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
ae8f19ba51
commit
7d6591a394
@ -21,7 +21,11 @@ public protocol VDSMoleculeViewProtocol: MoleculeViewProtocol, MVMCoreViewProtoc
|
||||
}
|
||||
|
||||
extension VDSMoleculeViewProtocol {
|
||||
|
||||
public var model: MoleculeModelProtocol {
|
||||
get { viewModel }
|
||||
set { }
|
||||
}
|
||||
|
||||
public func set(with model: MoleculeModelProtocol, _ delegateObject: MVMCoreUIDelegateObject?, _ additionalData: [AnyHashable: Any]?) {
|
||||
self.model = model
|
||||
guard let castedModel = model as? ViewModel else { return }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user