xcode

Does Xcode have a region feature like in the Microsoft Visual Studio?


Does xcode have a region feature like in microsoft visual studio? If It has how can i create it? Here is the screen shot of a region feature from Microsoft Visual Studio


Solution

  • Code folding ribbon" option in Xcode->Preferences->Text Editing needs to be selected. the follow this picture:

    enter image description here

    Or you can directly fold the code when you click on open parenthesis "{" with command then you will get option to fold the code:

    enter image description here