Does Swift have documentation generation support?

前端 未结 12 1486
伪装坚强ぢ
伪装坚强ぢ 2020-11-28 00:15

Many languages support documentation comments to allow a generator (like javadoc or doxygen) to generate code documentation by parsing that sam

12条回答
  •  孤独总比滥情好
    2020-11-28 00:50

    I've found something interesting, digging in the Xcode binary. Files with the ending .swiftdoc. It definitely has docs, because these files contain the docs for the Swift UIKit / Foundation API, unfortunately it seems to be a proprietary file format, for use in the Documentation viewer in Xcode.

提交回复
热议问题