Saturday, April 23, 2011

Xcode tip: Make use of #warning directive for good

If you have been using Xcode4 lately you will notice few #warning being generated a for new UITableViewController class. I didn't notice it before in Xcode3, but it's good directive that you can make use of to add note or todo. Of course you can add custom directive but I am not going into that.

See how I am making use of the #warning for todo items in the screenshot below.
Hope this tip helps you.

No comments: