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 -
效果图如下:
![](https://img.haomeiwen.com/i4191750/32a30ef5da438d87.png)
![](https://img.haomeiwen.com/i4191750/cea125706fe298a8.png)