Is there a way to set custom collapsable code regions in Xcode
문제
Is there a way to create custom collapsable code regions in Xcode similar to how Visual Studio can fold around #region/#endregion blocks?
It would be nice to throw all autogenerated content into a region that I can fold away until I need to look at it. #pragma mark doesn't seem to do the trick.
해결책
See: Xcode regions for a longer discussion, but the answer is, unfortunately, "not without an ugly hack."
제휴하지 않습니다 StackOverflow