Mar*_*ark 10 xcode objective-c documentation-generation
我知道Doxygen要生成文档.我正在寻找的是在Xcode中插入文档的快速方法,类似于Eclipse在编辑Java文件时所做的操作.
假设我有一个带有几个这样的参数的objective-c方法:
-(NSInteger*) sumOf: (NSInteger*) one and:(NSInteger*) two {...
Run Code Online (Sandbox Code Playgroud)
在Eclipse中,如果将光标放在方法上方并键入:/**<Enter>您将获得一个预先填充了@param和@return标记的Javadoc模板.
是否有可能在Xcode中实现类似的功能?输入后/**<Enter>,我想自动获取:
/**
*
* @param one
* @param two
*
* @return
*/
-(NSInteger*) sumOf: (NSInteger*) one and:(NSInteger*) two {...
Run Code Online (Sandbox Code Playgroud)