Our Favorite Xcode Shortcuts
1. Edit all in scope: CTRL+⌘+E This shortcut allows you to change the name of a variable or function and have that change take effect in your entire file. Here is an illustration: Before After We simply clicked on `label` within the `set` method, typed ⌘+CTRL+E, and changed the name to `titleLabel`. 2. Fix all in scope: CTRL+⌥+⌘+F This one is a handful, but it’s super handy. It will allow Xcode to automatically fix all errors that can be fixed automatically. 3. Open quickly: ⇧+⌘+O Type ⇧+⌘+o and start typing in the search box that opens. The strength of “open quickly” is that the search engine is able to discern which files or functions you’re looking for even if you only enter parts of the name. For example, typing “appfinish” will bring up “applicationDidFinishLaunching” as part of the results. 4. Searching within a file: CTRL+6 This powerful shortcut opens the jump bar so you can see all existing symbols in the open ...