vds_ios/VDS/Protocols/Modelable.swift
Matt Bruce 49e84c5255 updated control to take in generic class
updated toggle to include this and make a abstract class and new subclass

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-30 10:33:23 -05:00

18 lines
297 B
Swift

//
// Modelable.swift
// VDS
//
// Created by Matt Bruce on 7/22/22.
//
import Foundation
public let ModelStateDebounce = 0.02
public protocol Modelable {
associatedtype ModelType
var model: ModelType { get set }
init(with model: ModelType)
func set(with model: ModelType)
}