Xcode using FIXME, TODO, ???,?

前端 未结 9 1310
抹茶落季
抹茶落季 2021-01-30 04:13

I have started to use the FIXME, TODO, ??? and !!! tags in XCode but have am finding it painful that it does not recognise th

9条回答
  •  不要未来只要你来
    2021-01-30 04:42

    In xcode 4.1 (don't know if this works in previous versions) I write

    #warning TODO: fix this later...
    

    to get a compile warning or

    #error FIXME: fix now!
    

    to get a compile error.

    I also add these to the code snippet library to make it really ease to add todos.

提交回复
热议问题