Doxygen和Objective-C类 [英] Doxygen and Objective-C categories
问题描述
作为一个例子,我有一个NSString类别定义为:
@interface NSString(CCFExtensions)
使用一个名为NSString_CCFExtensions.h的接口文件和实现文件NSString_CCFExtension.m
Doxygen将引用超类的文件;但是,尽管看似有效的doxygen语法,但没有一个类别方法被记录。
有人设法获得Objective-C类别的人愿意指出我正确的源标记?
您可以在这里找到涵盖类别的教程:
http://www.duckrowing .com / 2010/03/18 / documenting-objective-c-with-doxygen-part-i /
Although the latest releases of Doxygen claim better handling of Objective-C categories, it still seems to choke on categories in my source code. I'm wondering if someone has gotten it to document categories properly.
As an example, I have a category on NSString defined as:
@interface NSString (CCFExtensions)
with an interface file named NSString_CCFExtensions.h and implementation file NSString_CCFExtension.m
Doxygen will reference the file with the superclass; but none of the category methods are documented despite seemingly valid doxygen syntax.
Would someone who has managed to get Objective-C categories be willing to point me to the correct source markup?
You can find a tutorial that covers categories here:
http://www.duckrowing.com/2010/03/18/documenting-objective-c-with-doxygen-part-i/
这篇关于Doxygen和Objective-C类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!