I want to use the UIView hierarchy several times (the nib object is a template). Unfortunately, UIView does not match <NSCopying>, so
[cell.contentView addSubview: [[templEditCellView copy] autorelease]];
does not work.
I was not surprised, as I need a deep copy of the hierarchy of views.
Presentation is one of several top-level objects in a loadable nib. Is there a way to reload one specified top level object from nib? Should I split the view into one NIB that can be reloaded on demand? Or is there another way to make a deep copy of the view?
Thank!
source
share