I have a UITableView with two sections that needs to be editable. The first section is a few cells with text, numerical and date content that are provided a separate view controller for editing the values.
The bottom section is jst one cell that displays a custom cell which has a MKMapView. This cell is used to visualize the location for this particular record of information. I would like this cell to be editable 'in place':
- The MKMapView becomes scrollable
- The center of the map (indicated by a crosshair) is the (new) location
I am not sure how to proceed:
- Where to set the state change when the cell becomes editable (from fixed to scrollable)
- How do I update the underlying entity when the new location is set?