为什么 Swift 游乐场以“//:”开头?
Why do Swift playgrounds begin with "//:"?
大多数 Swift 文档以 ///
的形式提供。 //:
是什么意思在上下文 //: Playground - noun: a place where people can play
Xcode Swift playground 文档中的默认 header 字符串?
来自标记格式参考中的 Single Line Comment:
Use two forward slash (/) characters followed by a colon (:) for a single line of markup for a playground.
如果你 select "Editor -> Show Rendered Markup":
你会看到效果
大多数 Swift 文档以 ///
的形式提供。 //:
是什么意思在上下文 //: Playground - noun: a place where people can play
Xcode Swift playground 文档中的默认 header 字符串?
来自标记格式参考中的 Single Line Comment:
Use two forward slash (/) characters followed by a colon (:) for a single line of markup for a playground.
如果你 select "Editor -> Show Rendered Markup":
你会看到效果