I've just started using Xcode, after spending quite sometime using C/C++, and I have a small problem. I have a small program where the user must input text in to a text field, and I want to assign that string to a variable. I have all the outlets and actions set up, I just need to know the syntax of the code.
For example, the outlet that the text field is connected to is called 'input' and I wish to assign that to the variable 'name'.
Thanks.
For example, the outlet that the text field is connected to is called 'input' and I wish to assign that to the variable 'name'.
Thanks.