Xcode 7 - Swift TODO Comments

Using Xcode 7 and Swift 2.0, I am trying to use TODO comments, as in Visual Studio C #. I found sites offering

// MARK: comment here
// TODO: comment here
// FIXME: comment here

but none of them seem to work. I am checking the hierarchy of functions where, it seems, comments should appear later, and they are never updated.

This is what I expect:

A TODO: comment showing up in Xcode's intellisense

How can I get these comments to display in Xcode intellisense?

+5
source share
2 answers

The simple use of comment code in Xcode 7 with Swift 2.0 seems to work. It looks like this:enter image description here

+1
source

Add code annotation to the navigation bar

, , , , .

: TODO :.

:

//TODO: [ ].

: FIXME :.

:

//FIXME: [ ].

: MARK :.

:

//: [ ].

. , (-) .

:

//MARK: - [ ]. , (-) .

:

//MARK: [ ] -.

https://help.apple.com/xcode/mac/current/#/dev86a148f73

0

Source: https://habr.com/ru/post/1610287/


All Articles