use set(with:

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2022-08-23 09:31:40 -05:00
parent c66281fbc2
commit 9f58543276
2 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ class CheckboxViewController: ModelViewController<DefaultCheckboxModel>, Storyb
defaultModel.labelText = "Terms and conditions"
defaultModel.childText = "I agree to Verizon's terms and conditions click here"
defaultModel.errorText = "Error Text"
model = defaultModel
set(with: defaultModel)
checkbox
.handlerPublisher()

View File

@ -58,8 +58,8 @@ class RadioButtonViewController: ModelViewController<DefaultRadioButtonGroupMod
model2.labelText = "iPhone 11 Bundle 2"
model2.childText = "Apple iPhone 11 - 128 GB\nOtterbox Case Black\nScreen Protector"
defaultModel.selectors = [model1, model2]
model = defaultModel
set(with: defaultModel)
//update the model
radioButtonGroup
.handlerPublisher()