I have a uitableview with multiple sections. I want to let user edit all rows of one section. The text is originally displayed with UILabels in section (Say section B). Is it possible to do something like this?
- Add an extra section (Say section C) with UITextView, and the same content as section B, But keep it hidden.
- Add an edit button somewhere so when user hits it, Section B hides, Section C shows up with two option buttons (Update, Cancel).
- Depending on what they choose, perform the action (say submit to server if Update is clicked, or Cancel and move to step 4 if cancel button is pressed)
- Hide the editable section C, Show section B (with new content if edited).
OR is there a better way to do this?