How to fold the code in Xcode Swift iOS by default

226 Views Asked by At

I know that we can fold the code by using Option+Command+Shift+LeftKey. But what I want to know that, can we do something to fold the code by default in every View Controller's class that means whenever we search for or open any class it's code is already folded. Thank you very much in advance.

1

There are 1 best solutions below

1
atultw On

Not something you can set as default. The closest you can get is using command+option+shift+left to fold all in the current file.