her's what we need to do:
- the data source of the tableView core data.
- a tableView that contain 5 different type of custom tableViewCell.
- every tableViewCell is completely different from others.
- some tableViewCell will have a progressBar.
we have 3 solutions:
- use a unique tableViewCell with a unique reuse identifier.
- use a unique tableViewCell with 5 reuse identifier.
- use 5 tableViewCell and 5 reuse identifier.
we test the 1st solution, it's ok in iphone 5/ iphone 4S, but in iphone 4 it's slooooooow (and we need to support the 3GS too ...).
The question: which solution will be better? or if you have other solution it will be great.
the favor: can you explain how the reuse identifier work (in details please :) ), like when the first cells are allocated, when they are reused (with 1 and with different reuse identifier), when they are desallocated ... ?
thank you.
This was my solution, and it works ok on 3gs, now depends how complex is your cell and how many things you do @ [cell load] method. Try to avoid for/while loops there.
...and so on