Ios 文档自定义框架XCode
实际上,我正在为iOS/OSX创建一个框架,我想像苹果一样记录我的公共方法 例如,假设我有方法Ios 文档自定义框架XCode,ios,xcode,macos,frameworks,Ios,Xcode,Macos,Frameworks,实际上,我正在为iOS/OSX创建一个框架,我想像苹果一样记录我的公共方法 例如,假设我有方法doSomething:。。。 我希望在XCode的自动完成窗格中收到“做一些非常有趣的事情”的描述 这是期望结果的一个示例: 这可能吗 您可以在方法声明中添加文档注释: /** * Summary of the method. * * @param firstParam This affects what the method does. * @param secondParam And s
doSomething:
。。。
我希望在XCode的自动完成窗格中收到“做一些非常有趣的事情”的描述
这是期望结果的一个示例:
这可能吗 您可以在方法声明中添加文档注释:
/**
* Summary of the method.
*
* @param firstParam This affects what the method does.
* @param secondParam And so does this!
*
* @return Something very interesting.
*/
.如果在代码中添加带有特定语法的注释,它将转换为文档 请在上阅读这篇文章