Is the first parameter supposed to be an object? A tutorial I'm following has the first parameter being textFieldBeingEdited.text, where it is defined in the .h file as
UITextField *textFieldBeingEdited
Isn't textFieldBeingEdited an object, and text is a property of that object?
The following code crashes:
[tempValues setObject:textFieldBeingEdited forKey:tagAsNum];
If I change it to the following then it doesn't crash:
[tempValues setObject:textFieldBeingEdited.text forKey:tagAsNum];
That doesn't make sense though since the first argument is supposed to be an object, and not a property.