The easiest way is to use the comment added by // TODO and then search, which allows you to navigate to problems from the navigator. It is quite difficult to defeat this technique.
I personally don’t like using breakpoints for bookmarks, because entering notes is not easy. I use breakpoints as breakpoints and prefer not to mix them with bookmarks.
Anyway, if you want to participate a bit, you can get xcode to generate warnings // TODO: some message or // FIXME: some message that can be moved in the problem navigator. I took the instructions below this site :
Instruction manual
Go to the project element in the Project Navigator (usually at the top) Find your goal in the list of goals on the left, select it Go to the "Build phases" tab. Click "Add Build Phase" in the lower right corner of the screen. In the editor that appears, paste the bash script shown below. Now just create and you will see all your // TODO: and // FIXME: comments have become warnings. I like this technique, it may not be so for everyone, but I hope this helps someone. Bash script For “Run Script” Build Phase
KEYWORDS = "TODO: | FIXME: |? \\ \ ?: | !!!:" find "$ {SRCROOT}" (-name ".h" -or -name ".m") -print0 | xargs -0 egrep --with-filename -line-number -only-matching "($ KEYWORDS). * \ $" | perl -p -e "s / ($ KEYWORDS) / warning: \ $ 1 /" You can also click each of the warnings in the problem navigator to go to the file and specify the code in which you left the original // TODO: or // FIXME: Extra tip: make sure you use phrases to describe your // TODO: comments, such as // TODO: handle this error and the like. Phrases will appear in the problem list next to each warning. Credit for a little tidbit should go to Tim on the Cocos2D forums (found after Googling for a bit), I believe that its solution was originally intended for Xcode 3 and did not work if you had spaces along your path, my script is not here of these restrictions, but he should get full credit here from his original message .
smileBot Apr 16 '14 at 19:44 2014-04-16 19:44
source share