Xcode: View all TODO's in project

Marcus Leon picture Marcus Leon · Apr 9, 2016 · Viewed 8.3k times · Source

Is there a way to view all TODO marks in an Xcode project?

I'm aware of how to do this in a file through the function drop down but wasn't sure how to see all in a project.

Answer

Cyrille picture Cyrille · Apr 11, 2016

Instead of marking them as

//TODO: do something

I like to write them this way:

#warning TODO do something

That allows seeing them in the issue navigator. On production builds I even go as far as checking the "treat all warnings as errors" compiler setting.