Pergunta

How can I indicate inline code blocks like this in Appledoc comments?

Backticks just read as backticks in Xcode Quick Help panel.

enter image description here

I'd really love to have NSStringFromClass codified somehow.

Foi útil?

Solução

Use @p before a word to place it in monospaced font.

///
/// @summary does some stuff
///
/// Alias for @p NSStringFromClass actually.
///

Code preview

Here's a pretty solid overview of available features.

Outras dicas

Start the code block with a tab character.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top