[iOS] Important notes when working with blocks

Blocks iOS – Important notes when working with blocks Block Variables – blocks iOS The following rules apply to variables used within a block: Global variables are accessible, including static variables that exist within the enclosing lexical scope. Parameters passed to the block are accessible (just like parameters to a function). Stack (non-static) variables local to […] Read more

Dec, 15, 2014

  sticky

0