Re: commenting code using diagrams
Re: commenting code using diagrams
- Subject: Re: commenting code using diagrams
- From: Paul Walmsley <email@hidden>
- Date: Fri, 10 Apr 2009 15:35:24 +0100
Sean McBride wrote:
On 4/10/09 1:54 PM, julius said:
is there any way of including diagrams within the comments of my
source code (Objective-C in XCode 3.1.2.)?
For instance
... code...
// compute angle Beta in the diagram
// <here I include the diagram>
// other comments ....
... more code....
Though not as good as a real diagram, sometimes I find the wealth of
Unicode characters helpful in comments. There are all kinds of
mathematical characters and line and shape chars that you can use in
your comments.
Another possibility is to use an ASCII art editor, eg http://www.jave.de/
If you use doxygen you can wrap this in \verbatim ... \endverbatim tags
so that it will preserve the format in the HTML output.
Paul
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden