Some sites are saying that this:
@property (nonatomic, strong) MyObject *foo;
self.foo = [[MyObject alloc] init];
increases the retain count to 2
but since the latest xcode version or ARC, this shouldnt be a problem right?
according to the video we can take out all autorelease
so from this:
@property (nonatomic, strong) MyObject *foo;
self.foo = [[[MyObject alloc] init] autorelease];
turns into this
@property (nonatomic, strong) MyObject *foo;
self.foo = [[MyObject alloc] init];
So should I ignore the website that says that self.foo = [[MyObject alloc] init];
increases retain count to 2?