From 4a53d6195a7e8c9a6e913e47f7061b41a10793d2 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Thu, 18 Aug 2022 15:16:29 -0500 Subject: [PATCH] updated name Signed-off-by: Matt Bruce --- VDSSample/ViewControllers/TestViewController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VDSSample/ViewControllers/TestViewController.swift b/VDSSample/ViewControllers/TestViewController.swift index 4b10450..659d765 100644 --- a/VDSSample/ViewControllers/TestViewController.swift +++ b/VDSSample/ViewControllers/TestViewController.swift @@ -20,7 +20,7 @@ struct User { } } -class TextFieldBindingCell: UIControl { +class UserNameView: UIControl { private let firstNameTextField = TextField() private let lastNameTextField = TextField() @@ -98,7 +98,7 @@ class TextFieldBindingCell: UIControl { super.viewDidLoad() view.backgroundColor = .white - let nameTextField = TextFieldBindingCell(user: user) + let nameTextField = UserNameView(user: user) let button = UIButton() button.translatesAutoresizingMaskIntoConstraints = false