Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/swift/19.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何从Swift文件中提取API文档?_Swift - Fatal编程技术网

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

如何从Swift文件中提取API文档?,swift,Swift,Swift能够从模块中提取注释和文档 如何使用这些工具打印自己模块的文档 具体来说,我想在C.I.中使用它来测试我的模块是否有完整的文档记录。$sudo gem install jazzy $jazzy 在包含制作框架的项目文件的目录中: echo ":print_module CoreGraphics" | xcrun swift -deprecated-integrated-repl

Swift能够从模块中提取注释和文档

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


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

$sudo gem install jazzy

$jazzy

在包含制作框架的项目文件的目录中:

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