vds_ios/VDS/Protocols/ModelHandlerable.swift
Matt Bruce 4e6d9b2f9d new funcs
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-09 14:36:37 -05:00

19 lines
377 B
Swift

//
// Modelable.swift
// VDS
//
// Created by Matt Bruce on 7/22/22.
//
import Foundation
public protocol ModelHandlerable {
associatedtype ModelType: Modelable
var model: ModelType { get set }
init(with model: ModelType)
func set(with model: ModelType)
func shouldUpdateView(viewModel: ModelType) -> Bool
func updateView(viewModel: ModelType)
}