I am looking for pretty simple functionality how to format my comments (basically for internal documentation). Before f.e. for text bolding two asterisks from for sides would work, for italic text single quotes would work (``). Now it seems that they changed it and I can't find the documentation for it. Does anyone faced the same problem?
Asked
Active
Viewed 1,191 times
2 Answers
2
For future adventurers, this is the answer for my question: What are the new documentation commands available in Xcode 5?
it includes: @b
for bold text, @a
for italic and etc.

Vidux
- 183
- 1
- 11
-
Update: it seems not to work so well with Swift. I've found out that two asterisks (**) before and after word bolds it, haven't figured out other formatting yet. If someone has some documentation please share! – Vidux Sep 02 '20 at 10:15
-2
You can use "MARK:
" keyword for the comments.
For example:
//MARK: Height constant
let height = heightSlider.value

Ecem
- 1
- 2