udpated protocols
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
01083bd8c8
commit
74cbd6a2fe
@ -8,7 +8,6 @@
|
|||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
public protocol FormFieldable {
|
public protocol FormFieldable {
|
||||||
associatedtype ValueType
|
|
||||||
var inputId: String? { get set }
|
var inputId: String? { get set }
|
||||||
var value: ValueType? { get set }
|
var value: AnyHashable? { get set }
|
||||||
}
|
}
|
||||||
|
|||||||
@ -9,6 +9,6 @@ import Foundation
|
|||||||
|
|
||||||
public protocol Modelable {
|
public protocol Modelable {
|
||||||
associatedtype ModelType
|
associatedtype ModelType
|
||||||
var model: ModelType? { get set }
|
var model: ModelType { get set }
|
||||||
func set(with model: ModelType)
|
func set(with model: ModelType)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user