added AnyEquality to classes that have an a property with 'any' added default implementation on shouldUpdateView() to check equality, this can be re-implemented in classes removed all shouldUpdateView methods everywhere since above was done Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
19 lines
352 B
Swift
19 lines
352 B
Swift
//
|
|
// Modelable.swift
|
|
// VDS
|
|
//
|
|
// Created by Matt Bruce on 8/5/22.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public protocol Modelable: Surfaceable, Disabling, Initable, Withable, Identifiable, Equatable, CustomDebugStringConvertible where ID == UUID {
|
|
|
|
}
|
|
|
|
extension Modelable {
|
|
public var debugDescription: String {
|
|
return "\(id.uuidString)"
|
|
}
|
|
}
|