I am writing a Cocoa framework in Objective-C and would like to use a documentation writer to generate the API reference. For .NET, it is easy to include examples using:
/// <example>
/// <code lang="c#">
/// Console.WriteLine("Hello, World!");
/// </code>
/// </example>
Is this possible when using Apple's HeaderDoc tool, and if so, how would it be done?
If it is not possible, how would I do it when using Doxygen?