ios - Block variable use __weak why sometimes there are values, sometimes for nil -


enter image description here

the variables in graph normal, nil

when marking variable __weak, no retain message sent it. means if block outlives variable, when block tries read it, null because not retained.

relevant clang doc


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -