I define a property in an ObjC class using DEPRECATED_MSG_ATTRIBUTE to output a
warning when building against the API:
** Defines the type of the object
* @return The object type as a string
* @deprecated Will be removed in v3.4.0
*/
@property (nullable, readonly) NSString *type DEPRECATED_MSG_ATTRIBUTE("Use
property: instead");
Doxygen 1.9.2 parses this block and creates html (including the deprecated
comment), but thinks this is a method rather than a property:
<>Instance Methods
(NSString *type) - DEPRECATED_MSG_ATTRIBUTE
<file:///Users/will/Documents/development/SDK/apple/admanagement/YOAdManagement/dist/Documentation/html/interface_y_o_ad_break.html#ae461161d33e97686512fade8dccd7135>
...
◆
<file:///Users/will/Documents/development/SDK/apple/admanagement/YOAdManagement/dist/Documentation/html/interface_y_o_ad_break.html#ae461161d33e97686512fade8dccd7135>DEPRECATED_MSG_ATTRIBUTE
- (NSString *type) DEPRECATED_MSG_ATTRIBUTE (“Use property:
instead")
Defines the type of the object
Returns
The object type as a string
Deprecated:
<file:///Users/will/Documents/development/SDK/apple/admanagement/YOAdManagement/dist/Documentation/html/deprecated.html#_deprecated000001>
Will be removed in v3.4.0
Is there something I am missing?
I see that it has been used successfully in another project:
https://app.mapsindoors.com/mapsindoors/reference/ios/v3/_m_p_location_8h_source.html
<https://app.mapsindoors.com/mapsindoors/reference/ios/v3/_m_p_location_8h_source.html>
output
https://app.mapsindoors.com/mapsindoors/reference/ios/v3/interface_m_p_location.html#a740623ead5e934170dea0765804c410f
<https://app.mapsindoors.com/mapsindoors/reference/ios/v3/interface_m_p_location.html#a740623ead5e934170dea0765804c410f>
but I’m not sure how (unless the author temporarily removed the macro in the
header before parsing with Doxygen.
Any help gratefully accepted!
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users