During WWDC 2018 Apple announced Xcode 10 with a lot of new features. Many of them are available for you automatically and enabled by default, but some of them might not show up and need some manual adjustments. Code folding To enable it, open preferences under Text Editing > Editing and select Code folding ribbon. …