Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Blocks Code Completion

Tags:

xcode

ios

block

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?

Code Snipper

like image 320
Alan Avatar asked Feb 17 '23 12:02

Alan


1 Answers

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.

like image 153
Hyperbole Avatar answered Feb 27 '23 09:02

Hyperbole