My little app is coming along and everything is working so far. I am tryign to find out if I can remove UITextFields programaticly. In the Photo the User presses the + key and that adds a row of 3 items. I added a trash can to remove them, not as easy.
I have a way I am working on that when the user backs out of this page the TextFields are saved to an Array or Dict. Then when they enter the page again I can count the items in the array, use a for loop to add the textFields back in and add the content to them.
But if they want to remove it by clicking on the trash can, I am drawing a blank. Since I add them programaticly I don't think they have unique identifiers. But if they are selected then the are the first responder and I might be able to delete it that way. Any ideas where I should look?
I have a way I am working on that when the user backs out of this page the TextFields are saved to an Array or Dict. Then when they enter the page again I can count the items in the array, use a for loop to add the textFields back in and add the content to them.
But if they want to remove it by clicking on the trash can, I am drawing a blank. Since I add them programaticly I don't think they have unique identifiers. But if they are selected then the are the first responder and I might be able to delete it that way. Any ideas where I should look?