0

So i have a UITextField named apiTextField and a function of the saveButton :

func saveButton(_ sender: Any) { 
}

I want when the user writes to the UITextField and press the saveButton that text the user wrote be passed to a variable which is called var baseURL:String? in another class.

Mark Rotteveel
  • 90,369
  • 161
  • 124
  • 175
ioslifer
  • 23
  • 4

0 Answers0