XCode Objective-C: Useful Keyboard shortcuts

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:

Immagine 3

. 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:

Immagine 4

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

There are no comments for this post

Leave a comment

TAG XHTML PERMITS: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> INSERTION CODE:
 <pre></pre> // blocco generico <code></code> // blocco generico [cc_actionscript][/cc_actionscript] // Actionscript [cc_actionscript3][/cc_actionscript3] // Actionscript 3 [cc_css][/cc_css] // CSS Style Sheet [cc_html][/cc_html] // HTML [cc_js][/cc_js] // Javascript [cc_objc][/cc_objc] // Objective-C [cc_php][/cc_objc] // PHP [cc_sql][/cc_sql] // SQL 


Stop SOPA