final clean

This commit is contained in:
Pfeil, Scott Robert 2020-04-16 13:49:52 -04:00
parent ca0f527c7b
commit af28134d90

View File

@ -16,7 +16,9 @@ open class RadioBoxes: View {
private let boxHeight: CGFloat = 64.0
private let itemSpacing: CGFloat = 8.0
private var numberOfColumns: CGFloat = 2.0
private var radioBoxesModel: RadioBoxesModel!
private var radioBoxesModel: RadioBoxesModel? {
return model as? RadioBoxesModel
}
private var delegateObject: MVMCoreUIDelegateObject?
@ -49,7 +51,6 @@ open class RadioBoxes: View {
self.delegateObject = delegateObject
guard let radioBoxesModel = model as? RadioBoxesModel else { return }
self.radioBoxesModel = radioBoxesModel
boxes = radioBoxesModel.boxes
FormValidator.setupValidation(for: radioBoxesModel, delegate: delegateObject?.formHolderDelegate)