removed code

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2024-07-30 17:02:17 -05:00
parent 57bec1ecec
commit 9606b914cc

View File

@ -31,25 +31,6 @@ open class RadioBoxes: VDS.RadioBoxGroup, VDSMoleculeViewProtocol {
public var boxes: [RadioBoxModel]? public var boxes: [RadioBoxModel]?
public weak var radioDelegate: RadioBoxSelectionDelegate? public weak var radioDelegate: RadioBoxSelectionDelegate?
// TODO: this matches the current accessibility however not what was passed by Barbara's team.
// open override var items: [RadioBoxItem] {
// didSet {
// let total = items.count
// for (index, radioBoxItem) in items.enumerated() {
// radioBoxItem.selectorView.bridge_accessibilityValueBlock = {
// guard let format = MVMCoreUIUtility.hardcodedString(withKey: "index_string_of_total"),
// let indexString = MVMCoreUIUtility.getOrdinalString(forIndex: NSNumber(value: index + 1)) else { return ""}
// return String(format: format, indexString, total)
// }
// }
// }
// }
open override func setup() {
super.setup()
}
// MARK: - MoleculeViewProtocol // MARK: - MoleculeViewProtocol
public func viewModelDidUpdate() { public func viewModelDidUpdate() {
boxes = viewModel.boxes boxes = viewModel.boxes