Is it possible to pass a float value from my detail view back to the table view? For example, I enter a amount into my detail view. I want to be able to get that value from the detail view back to the table view to display that value in my custom table view cell, which contains a uilabel. The table view is populated with an nsmutablearray, which is populated with custom objects. In these custom objects, I have a name and a float value. The name is not a problem because the user inputs the name in the tableview. However, like I said before the float value is input from the detail view. How would I go about grabbing this float value from the detail view? Thanks for any help.
Is it possible to pass a float value from my detail view back to the table view? For example, I enter a amount into my detail view. I want to be able to get that value from the detail view back to the table view to display that value in my custom table view cell, which contains a uilabel. The table view is populated with an nsmutablearray, which is populated with custom objects. In these custom objects, I have a name and a float value. The name is not a problem because the user inputs the name in the tableview. However, like I said before the float value is input from the detail view. How would I go about grabbing this float value from the detail view? Thanks for any help.
Yes it's possible, same as passing data between any two views. Check this out for help.
Yes it's possible, same as passing data between any two views. Check this out for help.
How am I supposed to know which index I'm editing though? This is the part that really puts me at a stand still. Oh and I forgot to mention: I don't have a set amount of rows or cells in the table view. The user can add and delete rows to their liking.
Last edited by Whitehk; 05-09-2011 at 10:20 PM.
Reason: Forgot to mention something