views:

22

answers:

0

I have a dataset that I wish to display in fixed size grouped sections.
The sections each consist of three rows, a header, a switch and a text field. Each section represents a dictionary (constructed from my coredata 'records')

The number of 'groups' that I need to display depends on the count of objects stored in my coredata store. The store will provide the datasource behind the objects (default values for the textfield and switch etc).

What I am currently unsure of is how to best implement this. My initial thoughts were to use the typical section and indexes and use switch tables to draw the grid but this produces drawing errors because I think I am incorrectly reusing the cells.

The above solution also gives problems with saving the data back to the core data model.

I suspect I am missing something obvious here.

Thanks,

J