When manually implementing @property instead of using @synthesize, do you have to include ARC code?
Would it be ok to implement it like this:
@synthesize var1;
- (void)setvar1:(NSObject *)newVar1
{
var1 = newVar1;
}
or do you have to include retain, release etc?
Under ARC, you don’t have to (and in fact cannot) manually
retainorreleasevariables. Your implementation, apart from needing a capital V insetVar1:, is perfectly acceptable under ARC.