Xcode注释标记

代码如下:

#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注释标记_第1张图片
Xcode Dark
Xcode注释标记_第2张图片
Xcode Light

你可能感兴趣的:(Xcode注释标记)