Duplicate a UITableViewCell - iPhone
Posted
by ncohen
on Stack Overflow
See other posts from Stack Overflow
or by ncohen
Published on 2010-03-17T13:34:46Z
Indexed on
2010/03/17
18:21 UTC
Read the original article
Hit count: 322
Hi everyone, I would like to create an effect to a cell of a UITableView. The effect is: duplicate the cell and move the duplicated cell (the original stays at its place). My problem is to duplicate the cell...
I've tried:
Code:
UITableViewCell *animatedCell = [[UITableViewCell alloc] init];
animatedCell = [[self cellForRowAtIndexPath:indexPath] copy];
but UIView doesn't seem to implement the copy... How can I do it?
Thanks
© Stack Overflow or respective owner