I am making an app that uses text feilds and I want to connect it to a variable, but I dont know how to connect my text feild to a variable.
Welcome to the community!
Open the assistant editor (I believe is what it’s called) so you can see your storyboard and code on each side.
Click on the textField + control + drag to your code (let go) and select IBOutlet
check out this video to see how
if you cant find the assistant editor you can refer to this video https://www.youtube.com/watch?v=rTn02yqIj6w