gpt4 book ai didi

swift - 如何从 Swift 文件中提取 API 文档?

转载 作者:可可西里 更新时间:2023-10-31 23:13:49 24 4
gpt4 key购买 nike

Swift 具有从模块中提取注释和文档的能力。

Automatically generate the Swift interface for a compiled module

echo ":print_module CoreGraphics" | xcrun swift -deprecated-integrated-repl 

我如何使用这些工具为我自己的模块打印文档?

具体来说,我想在 C.I 中使用它。作为对我的模块是否完整记录的测试。

最佳答案

$ sudo gem install jazzy

$爵士乐

在包含您制作框架的项目文件的目录中:https://www.appcoda.com/swift-markdown/

关于swift - 如何从 Swift 文件中提取 API 文档?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40966410/

24 4 0
文章推荐: ios - 滑动时 TableView 单元格高度
文章推荐: node.js - 使用 nodemailer 发送邮件 - 来自字段的电子邮件不正确
文章推荐: css - 如何在
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com