官术网_书友最值得收藏!

Markup in playgrounds

The playground supports an easy way to write documentation for your code. It's like comments, which we are familiar with, but the Xcode renders them nicely. Let's do it step-by-step:

  1. Open a playground project
  2. Open the Utilities project
  3. Select the File Inspector
  4. Mark the option Render Documentation
  5.  You should see that //: Playground - noun: a place where people can play is converted to a good-looking text
主站蜘蛛池模板: 专栏| 富宁县| 威海市| 诸城市| 阿拉善盟| 应城市| 黑河市| 舒城县| 福鼎市| 潍坊市| 静乐县| 察雅县| 益阳市| 西丰县| 中阳县| 弥勒县| 乌恰县| 陇川县| 诏安县| 马尔康县| 林口县| 永顺县| 元江| 湘乡市| 额尔古纳市| 米泉市| 泰顺县| 淳化县| 东丽区| 衡水市| 金秀| 白城市| 叙永县| 合肥市| 桦南县| 隆化县| 华宁县| 江西省| 高邮市| 泾阳县| 滁州市|