Reuse prototype cell (Checklists page.33)

(sorry I am not good at English.)

Hi, I’m talking about the bug on page.33 Checklists iOS Apprentice.

Why just only the checkmark move over without the label on the cell?

both are on the same cell but the text is fixed on ordered list.

By the nature, labels are inherent to the row, not to the cell. Checkmarks are properties of the cell based off the current way they were implemented at that point.

This is the why solution that he discusses in that section is to move the checkmark to be a property of the row. If the checkmark is a property of the row, there should not be any issue with the checkmark being ‘reused’ by the prototype.

1 Like