From 458f303972034f7f4d164b7b2d124aa96624e772 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Wed, 21 Aug 2024 14:21:17 -0500 Subject: [PATCH] fixed per comments Signed-off-by: Matt Bruce --- MVMCoreUI/Atomic/Atoms/Selectors/CheckboxesModel.swift | 2 +- MVMCoreUI/Atomic/Atoms/Selectors/RadioButtonsModel.swift | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MVMCoreUI/Atomic/Atoms/Selectors/CheckboxesModel.swift b/MVMCoreUI/Atomic/Atoms/Selectors/CheckboxesModel.swift index 9ffbc20a..e33042a7 100644 --- a/MVMCoreUI/Atomic/Atoms/Selectors/CheckboxesModel.swift +++ b/MVMCoreUI/Atomic/Atoms/Selectors/CheckboxesModel.swift @@ -10,7 +10,7 @@ import Foundation import MVMCore import VDS -@objcMembers public class CheckboxesModel: MoleculeModelProtocol { +public class CheckboxesModel: MoleculeModelProtocol { //-------------------------------------------------- // MARK: - Properties //-------------------------------------------------- diff --git a/MVMCoreUI/Atomic/Atoms/Selectors/RadioButtonsModel.swift b/MVMCoreUI/Atomic/Atoms/Selectors/RadioButtonsModel.swift index b1277d08..a71f0837 100644 --- a/MVMCoreUI/Atomic/Atoms/Selectors/RadioButtonsModel.swift +++ b/MVMCoreUI/Atomic/Atoms/Selectors/RadioButtonsModel.swift @@ -10,7 +10,7 @@ import Foundation import MVMCore import VDS -@objcMembers public class RadioButtonsModel: FormFieldModel { +public class RadioButtonsModel: FormFieldModel { //-------------------------------------------------- // MARK: - Properties //-------------------------------------------------- @@ -23,7 +23,7 @@ import VDS // MARK: - Form Validation //-------------------------------------------------- - /// Returns the fieldValue of the selected box, otherwise the text of the selected box. + /// Returns the fieldValue of the selected RadioButton. public override func formFieldValue() -> AnyHashable? { guard enabled else { return nil } let selectedBox = radioButtons.first { $0.radioButton.state }