Hi, i would to have a few text input boxes storing the user input into a variable. as of now i am able to declare the UITextFields, and when the user selects the submit button it passes the user input as follows
So that the two text fields are now shown. I am sure this is a round about way of passing input data, but I would really like to be able to store the input into a variable for each. Advice on how I can start learning this?
Code:
-(IBAction) submitYourName;
{
lblUserTypedName.text = [NSString stringWithFormat: @"hello your name is %@ %@", txtUserName.text, txtUserName2.text];
}
So that the two text fields are now shown. I am sure this is a round about way of passing input data, but I would really like to be able to store the input into a variable for each. Advice on how I can start learning this?