I have a class:
@interface MyClass : NSObject
@property (weak) id delegate;
@end
and the implementation:
@implementation MyClass
@synthesize delegate;
@end
When I refactor the code for ARC, it tells me that synthesize of 'weak' property is only allowed in ARC/GC mode. But from what I known, delegate can be 'weak' in ARC, also, if I change it to assign, then it will be converted to unsafe_unretained.
My question is, does it mean the code before conversion(to ARC) should NOT use anything ARC?
Thanks!