I have a methode like this :
-(void)myMethod:(MyClass *)object {
self.object1 = object;
self.object2 = object;
....
}
and object1
and object2
are declared like this :
property (nonatomic, strong) MyClass *object1;
property (nonatomic, strong) MyClass *object2;
and MyClass is like this :
@interface MyClass :NSObject
....
@end
and later when I modify the self.object1
the self.object2
is modified to, I would like that self.object2
don't change its value when modifing self.object1