I solved the problem by following the links that appear when you start a question
they told me how, but not why...
so my question is to understand compiler warning language
In Xcode
I wanted a button that triggers an AlertView to assume the result of what the user enters therein:
UITextField *textfield = [alertView textFieldAtIndex:0];
circumference = [textfield.text floatValue];
NSString *myString = textfield.text;
[_myButton setTitle:(@"%@",myString) forState:UIControlStateNormal];
Well, it works, plus a warning.
I should pose my question here so:
the warning said "Expression Result Unused". How do they figure that? I was using the result of the expression - right there on the button.
for those concerned, this is the fix:
UITextField *textfield = [alertView textFieldAtIndex:0];
circumference = [textfield.text floatValue];
[_myButton setTitle:[NSString stringWithFormat:@"%@",textfield.text] forState:UIControlStateNormal];