开发者

Is there a way to set custom collapsable code regions in Xcode

开发者 https://www.devze.com 2022-12-25 00:33 出处:网络
Is there a way to create custom collapsable code regions in Xcode similar to how Visual 开发者_运维技巧Studio can fold around #region/#endregion blocks?

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."

0

精彩评论

暂无评论...
验证码 换一张
取 消