I want to use a UIView heirarchy multiple times (the nib object is a template). Unfortunately, UIView does not conform to <NSCopying> so
[cell.contentView addSubview: [[templEditCellView copy] autorelease]];
does not work.
I wasn't surprised, since I want a deep copy of the view heirarchy.
Currently the view is one of several top-level objects in the nib it is loaded from. Is there a way to reload a single specified top-level object from the nib? Should I split out the view to a single NIB which can be reloaded on demand? Or is there another way to make a deep copy of a view?
Thanks!