Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法在 Xcode 中创建自定义可折叠代码区域,类似于 Visual Studio 可以围绕 #region/#endregion 块折叠的方式?
将所有自动生成的内容放入一个我可以折叠起来直到我需要查看它的区域会很好。#pragma mark 似乎不起作用。
请参阅:Xcode 区域以进行更长时间的讨论,但不幸的是,答案是“并非没有丑陋的 hack”。