{"id":114,"date":"2008-12-07T22:37:30","date_gmt":"2008-12-08T03:37:30","guid":{"rendered":"http:\/\/pessoal.org\/blog\/?p=114"},"modified":"2008-12-07T22:40:15","modified_gmt":"2008-12-08T03:40:15","slug":"xcode-keyboard-tricks","status":"publish","type":"post","link":"https:\/\/pessoal.org\/blog\/2008\/12\/07\/xcode-keyboard-tricks\/","title":{"rendered":"Xcode keyboard tricks"},"content":{"rendered":"<p>I&#8217;m mostly a keyboard navigation type of user, so it&#8217;s been a few busy months trying to remember all of the different little tricks in Xcode while doing Objective-C work.<\/p>\n<p>A few of my favorites:<\/p>\n<ul>\n<li>&#8984; + l (lowercase L) &#8211; if done within a text editor pane, it will re-center the editor around the line that the cursor is currently in. Too confusing? Try this <a href=\"http:\/\/www.viddler.com\/explore\/itod\/videos\/36\/\">video demonstration<\/a> from Todd Ditchendorf then.<\/li>\n<li>&#8984; + option + up arrow &#8211; switches between header (.h) and implementation (.m) files.<\/li>\n<li>&#8984; + b &#8211; builds project.<\/li>\n<li>&#8984; + r &#8211; build and run project.<\/li>\n<li>If you hold down the alt\/option key, and then double click on a code token, such as a class name or function name, it will automatically search the documentation for that particular word. Very useful when you want to read some more about the UITableView class, for instance.<\/li>\n<li>A similar trick is available if you would like to open the definition for a particular code token, such as the source code file where class ExampleController is defined. Just hold down the command key (&#8984;), and double click the word.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m mostly a keyboard navigation type of user, so it&#8217;s been a few busy months trying to remember all of the different little tricks in Xcode while doing Objective-C work. A few of my favorites: &#8984; + l (lowercase L) &#8211; if done within a text editor pane, it will re-center the editor around the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[40,41,42],"tags":[],"_links":{"self":[{"href":"https:\/\/pessoal.org\/blog\/wp-json\/wp\/v2\/posts\/114"}],"collection":[{"href":"https:\/\/pessoal.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pessoal.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pessoal.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pessoal.org\/blog\/wp-json\/wp\/v2\/comments?post=114"}],"version-history":[{"count":0,"href":"https:\/\/pessoal.org\/blog\/wp-json\/wp\/v2\/posts\/114\/revisions"}],"wp:attachment":[{"href":"https:\/\/pessoal.org\/blog\/wp-json\/wp\/v2\/media?parent=114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pessoal.org\/blog\/wp-json\/wp\/v2\/categories?post=114"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pessoal.org\/blog\/wp-json\/wp\/v2\/tags?post=114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}