Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
2c4b0a578a
commit
0aeaeeb81c
@ -28,7 +28,7 @@ import Combine
|
|||||||
}
|
}
|
||||||
|
|
||||||
required init?(coder: NSCoder) {
|
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
|
// MARK: - Constraints
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user