Xcode

Xcode注释标记

2018-11-24  本文已影响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
上一篇 下一篇

猜你喜欢

热点阅读