美文网首页Xcode
Xcode注释标记

Xcode注释标记

作者: 悄然林静 | 来源:发表于2018-11-24 10:03 被阅读0次

代码如下:

#pragma mark - xcode注释标记(顶部有线)

// MARK: - A section heading or a comment with a separator line above
// TODO: - A to-do item with a separator line above
// FIXME: - A bug fix reminder with a separator line above
// !!!: - A red flag with separator line above
// ???: - A question with a separator line above

#pragma mark - xcode注释标记(底部有线)

// MARK: A section heading or a comment with a separator line below -
// TODO: A to-do item with a separator line below -
// FIXME: A bug fix reminder with a separator line below -
// !!!: A red flag with a separator line below -
// ???: A question with a separator line below -

#pragma mark - xcode注释标记(顶部和底部都有线)

// MARK: - A section heading or a comment with a separator line below -
// TODO: - A to-do item with a separator line below -
// FIXME: - A bug fix reminder with a separator line below -
// !!!: - A red flag with a separator line below -
// ???: - A question with a separator line below -

效果图如下:


Xcode Dark Xcode Light

相关文章

网友评论

    本文标题:Xcode注释标记

    本文链接:https://www.haomeiwen.com/subject/ztueqqtx.html