What?
From CTGradientView:
CTGradient *aGradient = [NSKeyedUnarchiver unarchiveObjectWithData:[NSKeyedArchiver archivedDataWithRootObject:myGradient]];
- Why not just implement
-copyWithZone:? - Why would
-drawRect:want to copy the gradient anyway?
From CTGradientView:
CTGradient *aGradient = [NSKeyedUnarchiver unarchiveObjectWithData:[NSKeyedArchiver archivedDataWithRootObject:myGradient]];
-copyWithZone:?-drawRect: want to copy the gradient anyway?