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

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

java - How to implement an entity bound odata action in olingo v4.3 -