I want to create a copy of a UIView
, and I dont want to use NSKeyedArchiver
because I am frequently creating a copy of many views, and using NSKeyedArchiver
was slow.
I heard about copy
or initWithZone:
, but Googling it found it is not good for UIView
. I don't want a copy which points to the original view because any changes made to it will also make changes to the copied UIView
.