Post

Replies

Boosts

Views

Activity

I am not finding text here in this code below
class SecondViewController: UIViewController {     @IBOutlet weak var myNameTextField: UITextField!              @IBOutlet var myNameLabel: UIView!               override func viewDidLoad() {         super.viewDidLoad()         // Do any additional setup after loading the view.     }          @IBAction func onSubmitClick(_ sender: Any) {                  if(myNameTextField.text != ""){             myNameLabel.text=myNameTextField.text          }     }
4
0
1.6k
Jul ’22
I am not finding text here in this code below
class SecondViewController: UIViewController {     @IBOutlet weak var myNameTextField: UITextField!              @IBOutlet var myNameLabel: UIView!               override func viewDidLoad() {         super.viewDidLoad()         // Do any additional setup after loading the view.     }          @IBAction func onSubmitClick(_ sender: Any) {                  if(myNameTextField.text != ""){             myNameLabel.text=myNameTextField.text          }     }
Replies
4
Boosts
0
Views
1.6k
Activity
Jul ’22