In Objective C, I can use #pragma mark
to mark sections of my code in the symbol navigator.
(在Objective C中,我可以使用#pragma mark
在符号导航器中标记我的代码部分。)
Since this is a C preprocessor command, it's not available in Swift. (由于这是一个C预处理器命令,因此在Swift中不可用。)
Is there a stand-in for this in Swift, or do I have to use ugly comments? (在Swift中是否有替代,或者我是否必须使用丑陋的评论?)
ask by Arbitur translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…