views:

175

answers:

1

What's the best way to have a list of text items, tap on one and be able to edit it? How about going to a detail view? But then how do you get your change back into the UITableView?

I suppose this could all be done with SQL or CoreData but since the UITableView is based on an array, can we just edit that element of the array and reset the table view?

Eventually I want the data to be persistent so I'll probably go with CoreData or SQL but for now I just want to go from a list to details, edit the details, and go back to the list.

A: 

"But then how do you get your change back into the UITableView?"

Both the table view and the detail view should be accessing a common model object. In other words, the detail view that's changing data doesn't have to even know the table view exists.

Shaggy Frog