I am using ARC (no, this is not NDA). I am declaring my ivar in my interface with
id itemDelegate;
I then declare the property:
@property (nonatomic, weak) id<mySecretDelegateYouAreNotSupposedToSeeOnSO> itemDelegate;
(with weak instead of assign because of ARC)
In my implementation file I simply synthesize it: @synthesize itemDelegate;
However, I am getting the error:
"Existing ivar 'ItemDelegate' for _weak property 'itemDelegate' must be _weak".
Anyone know what's wrong? Thanks for your help.
ARC - Automatic Reference Counting