xcode todo comments

These are handy little reminders as you code but somehow I never remember what they are:

The most common is

//TODO:

 

But there are several others:

//FIXME:

//???:

//!!!:

 //MARK

all much to the same effect. In addition to these you can use #warning and #error to flag up warnings and errors but obviously your project will no longer build if you start putting errors in as reminders everywhere!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>