I deleted the previous post ...
Which one do i use if I have a class that owns an object objA? I know if the object wasn't own by the class,it needs to be retained.
@class A
@property (retain) ObjectA objA;
@end
@implementation A
-(void) func {
self.objA = [[ObjectA alloc] init];
}
@end
If objA in class A is set as a retain, and was initialized in func using init function. Would this give 2 retain count or just 1 retain count.