This commit is contained in:
Kevin G Christiano 2020-03-26 09:03:21 -04:00
parent 3249c9d68b
commit 874007423d

View File

@ -24,6 +24,12 @@ import Foundation
line = LineModel(type: .none) line = LineModel(type: .none)
style = "sectionFooter" style = "sectionFooter"
} }
// public func verify() throws {
// guard dropDown.options.count != molecules.count else {
// throw
// }
// }
//-------------------------------------------------- //--------------------------------------------------
// MARK: - Initializer // MARK: - Initializer
@ -32,6 +38,7 @@ import Foundation
public init(molecules: [[ListItemModelProtocol & MoleculeModelProtocol]], dropDown: ItemDropdownEntryFieldModel) { public init(molecules: [[ListItemModelProtocol & MoleculeModelProtocol]], dropDown: ItemDropdownEntryFieldModel) {
self.molecules = molecules self.molecules = molecules
self.dropDown = dropDown self.dropDown = dropDown
// try verify()
super.init() super.init()
} }