Re: @property and HeaderDoc
Re: @property and HeaderDoc
- Subject: Re: @property and HeaderDoc
- From: Jerry Krinock <email@hidden>
- Date: Tue, 21 Oct 2008 18:48:17 -0700
On 2008 Oct, 21, at 8:48, Sean McBride wrote:
It is my impression that few people are still using HeaderDoc.
doxygen
supports Obj-C 2 @property declarations.
Thank you, Sean. That explains it.
Yes, I just downloaded Doxygen an hour ago and after running it on my
project already I can see that it's obviously a generation or two more
advanced than HeaderDoc. Indeed, @property declarations just work.
Here's a quick reference for converting Special Commands in the
Special Comments from HeaderDoc syntax to Doxygen, using Project Find:
Find:
@abstract
Replace:
@brief
Find:
@discussion
Replace:
@detail
Finally, to remove the redundant symbol name Special Commands which
Doxygen doesn't need, using Regular Expression matching, Find:
[ ]*(@class|@header|@category|@protocol|@const|@struct|@enum@|
defined|@function|@category|@superclass|@method)[ ]*[a-zA-Z0-9_:]+[ ]*\n
Replace: with nothing (i.e. delete the entire line)
If anyone has written any Xcode user scripts for inserting Doxygen
templates, to replace those useless "HeaderDoc Insert" templates, let
me know.
Otherwise, if I have any further discussion on this topic I'll take it
to the Xcode list since that's where the issues are.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden