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."
精彩评论