Blocks Code Completion

block, ios, xcode

Solution

If you have the auto-fill text highlighted, push `ENTER` and the parameters and block body are filled in for you, as well as an additional bit of auto-fil text that reads `code`.

Problem

In the below scenario, it does not seem possible to use the tab key to automatically fill in the parameters for the block, instead you have to write them out fully, which is a bit of a pain. Is there an easier way of doing this?

Original source