Ipad and blocks - Blocks

3 important questions on Ipad and blocks - Blocks

Where do all blocks start with syntactically ?

^{ code }

What happens with object referenced from inside a block when the block stops executing?

During the "lifetime" of the block, it has a strong pointer to the object, after the block is executed the strong pointer will disappear.

Can you put blocks in dictionary's and array's?

YES, but a block is not an object!

The question on the page originate from the summary of the following study material:

  • A unique study and practice tool
  • Never study anything twice again
  • Get the grades you hope for
  • 100% sure, 100% understanding
Remember faster, study better. Scientifically proven.
Trustpilot Logo