use set(with:
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
c66281fbc2
commit
9f58543276
@ -48,7 +48,7 @@ class CheckboxViewController: ModelViewController<DefaultCheckboxModel>, Storyb
|
|||||||
defaultModel.labelText = "Terms and conditions"
|
defaultModel.labelText = "Terms and conditions"
|
||||||
defaultModel.childText = "I agree to Verizon's terms and conditions click here"
|
defaultModel.childText = "I agree to Verizon's terms and conditions click here"
|
||||||
defaultModel.errorText = "Error Text"
|
defaultModel.errorText = "Error Text"
|
||||||
model = defaultModel
|
set(with: defaultModel)
|
||||||
|
|
||||||
checkbox
|
checkbox
|
||||||
.handlerPublisher()
|
.handlerPublisher()
|
||||||
|
|||||||
@ -58,7 +58,7 @@ class RadioButtonViewController: ModelViewController<DefaultRadioButtonGroupMod
|
|||||||
model2.labelText = "iPhone 11 Bundle 2"
|
model2.labelText = "iPhone 11 Bundle 2"
|
||||||
model2.childText = "Apple iPhone 11 - 128 GB\nOtterbox Case Black\nScreen Protector"
|
model2.childText = "Apple iPhone 11 - 128 GB\nOtterbox Case Black\nScreen Protector"
|
||||||
defaultModel.selectors = [model1, model2]
|
defaultModel.selectors = [model1, model2]
|
||||||
model = defaultModel
|
set(with: defaultModel)
|
||||||
|
|
||||||
//update the model
|
//update the model
|
||||||
radioButtonGroup
|
radioButtonGroup
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user