PDA

View Full Version : Question about Table View Cell Types




Duke Leto
Apr 14, 2008, 08:35 PM
Finally, I think I have a well-worded question.

I have an edit button that, when you press it, puts the cells in Edit mode so that you can delete them.

Is there a way to change the cell type to my own custom cell that allows you to change the text in it? This is so that you can delete the cell and edit the information in it. I can change the cell type in the
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath withAvailableCell:(UITableViewCell *)availableCell

method, but is there a way to change it on the go?

Does this question go against the NDA?