I jumped on the bandwagon ARC. Previously, I would have rights to delegate properties as follows:
@property(assign) id<MyProtocol> delegate;
So, I thought I would do it under ARC:
@property(weak) id<MyProtocol> delegate;
Not this way. In the @synthesize statement in .m, I have error compilation:
* Semantic release: existing ivar 'delegate' for __weak property 'delegate' must be __weak *
I declared it weak! Just like passing a class that implements the protocol to a low reference property. Should I wrap it in one of these strange obj_unretained calls?
Any help on this would be greatly appreciated.
ios iphone automatic-ref-counting ios5
Mike S Jun 30 2018-11-11T00: 00Z
source share