My Favorite Xcode 8 Shortcuts Part 3/3

Center Line, AutoCompletion, Move Line, Delete Line, Doc

Bob Lee
Bob the Developer

--

Motivation

I feel like I’m repeating myself since Part 1 and 2. The goal is to increase productivity and spend time creating rather than doing menial tasks.

1. Center the Current Line

Common Usage: You don’t have to use the mouse or trackpad to adjust the screen position. Simply go to the line and press,

Control L

#1 Centering the current line

2. Show AutoCompletion

Common Usage: There are times when you accidentally press ESC to get rid of autocompletion. But when you try to have it again, you delete a couple of letters and write again just to get that white box filled with methods. No more of that. Press,

ESC

#2 No need to retype to bring up autocompletion

3. Move Line Up/Down

Common Usage: It’s a dope feature when you try to beautify and make it readable by giving plenty of space without clicking the mouse.

Command Option [ ]

#3 Moving realtroll from the rest

4. Delete Line Below

Common Usage: I use this feature often when it comes to deleting attributes of UI objects. It’s usually for pretty much deleting anything. 👍

Control K

#4 Deleting lines below

5. Hide Code and Delete

Common Usage: I use this feature to delete functions and possibly to clean up entire code and write from scratch in seconds.

Option Command Left/Right(Hide/Show)

Command Delete(Delete all)

Option Delete(Delete Word)

#5 Delete entire file with two shortcuts in 1 second

6. Open Documentation

Common Usage: It’s just a must. No need to move your mouse to click help and documentation.

Command Shift 0(Number)

#6 Get help when needed right away

Last Remarks

You’ve come along way. I hope now you can implement these shortcuts throughout to save time and increase productivity. If you found this Xcode shortcut series useful, please do me a favor by sharing it with your friends and community! ✌️

Shout Out

Thanks for those who engaged with me and left meaningful comments! Follow these bad boys Oren Alalouf(All-time favorite), Ildar Gilfanov, Benjamin Bourasseau, Ilya, ssubhankar2007, Logan Blevins, Hidouri Soufien, Lazim Mohammed, Mayuran Kunarajah, Marcel McFall, Horacio Garza, Neelesh Shah, Eashan Ashrafulzaman, Ivan Cantarino, Victor Tong, Nick Steinhauer, Diego Polcel, Erik Lindberg, Nilesh Pol. Of course, one of a kind, Lisa Kim (Don’t tell me you speak 🇰🇷)

Bob the Developer

I’m an iOS instructor from Seoul, 🇰🇷. Feel free to get to know me on Instagram. I post regular updates on Facebook and 🖨 on Saturday.

--

--