i loaded up an array with UITextFields, they are all created dynamically (and locally) and i need to keep reference to them for a later point.
my text fields are name, textField01, textField02, etc.
i want to pull out textField02 out and change the data. how can i search through my array of them get it out? i tried “isEqualToString” and failed. i can’t use the .tag cause i’m using that for something else. i can’t compare to the .text value cause i don’t know what it will be (entered by user).
You could use
NSDictionaryhere. Add each text field with a named key that you’ll use for retrieval later.