XCode Tip: Block Select Mode

Sometimes, when you comment something out in XCode, uncommenting using the standard Command + Slash might not work (it just adds another row of // commented out code, instead of uncommenting!). Previously, I just manually removed the // from each line of code. But yesterday, I learned that there is another, better / cooler solution out there!

Option + Drag lets your select as many columns of code as you want vertically!

Enjoy the article? Join over 20,000+ Swift developers and enthusiasts who get my weekly updates.