Signed-off-by: Matt Bruce <matt.bruce@verizon.com>

This commit is contained in:
Matt Bruce 2022-08-01 17:36:46 -05:00
parent 2c4b0a578a
commit 0aeaeeb81c

View File

@ -28,7 +28,7 @@ import Combine
}
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
super.init(with: DefaultToggleModel())
}
}
@ -173,6 +173,21 @@ import Combine
}
}
}
//--------------------------------------------------
// MARK: - Initializers
//--------------------------------------------------
public convenience init() {
self.init(with: ModelType())
}
required public init(with model: ModelType) {
super.init(with: model)
}
required public init?(coder: NSCoder) {
super.init(with: ModelType())
}
//--------------------------------------------------
// MARK: - Constraints