_weak is unknown?


#1

Everything went to hell once I declared timeLabel as a weak reference on page 166. It builds fine as soon as I remove it. What am I missing here?


#2

ARC directive should be __weak not [color=#FF0000]_weak[/color].
See: “ARC Introduces New Lifetime Qualifiers” in “Transitioning to ARC Release Notes” in Xcode’s doc set.


#3

Thanks. Even after you replied it took me a while to figure out it was 2 underscores, not one.