I am working through chapter 3, and when typing the code from pg. 70:
_weak BNRItem *container;
I get 2 errors on this line.
- Expected ‘:’ at end of declaration list
- Unknown type name '_weak’
And the code will not compile.
The code worked properly up to this point. Upon consulting the documentation, it appears to indicate that “weak” is no longer supported, and ‘assign’ should be used, but I am unable to find additional details in the iOS Documentation. I would like to understand what is happening before moving on.
I am using xCode 4.3.3.
Thanks for any assistance.