Hello,
The question is quite simple, I need to have an UIImage conform to NSCopying protocol but I have absolutely no idea on where to start to achieve this.
Do you have any pointer to help me?
Thanks in advance
Hello,
The question is quite simple, I need to have an UIImage conform to NSCopying protocol but I have absolutely no idea on where to start to achieve this.
Do you have any pointer to help me?
Thanks in advance
- (id) copyWithZone: (NSZone *) zone
{
return [[UIImage allocWithZone: zone] initWithCGImage: self.CGImage];
}