When writing c#, in Visual Studio, you can set regions to group code accordingly. Being new to Xcode I can\'t seem to find a similar feature.
If you want to have a folding zone with a custom section of your code then put your desired code inside braces {
}
, and it will become a folding zone.
But you have to keep in mind that braces also define variables scope, so this code should not have variables declarations which will be used outside these brackets.