XCode is a very powerful development environment and reserves some surprises. It allows a function similar to the "snippet" of the famous editor TextMate . In practice it is possible to insert blocks of code using the sequence ESC + a combination of one or more sequences of characters. e otterrete: For example, if you want to insert a block if try pressing ESC+if and you'll get:

. As shown in the figure, a menu appears (the same auto-completion) where you can choose between a simple block if or if/else . Clicking "send" you get:

Here are two links for the complete list of keyboard shortcuts:










There are no comments for this post
Leave a comment