mvm_core_ui/MVMCoreUI/Models/Holder.swift
Suresh, Kamlesh 205c83c097 intial draft
2019-10-28 14:47:42 -04:00

17 lines
359 B
Swift

import Foundation
public protocol Holdable: Codable {
static var identifier: String { get set }
}
public protocol Holder: Codable {
associatedtype HoldableType = Holdable
static var codingKeyName: String { get }
var name: String { get set }
var object: HoldableType { get set }
init (name: String, object: HoldableType)
}