Objective-C Tidy

后端 未结 8 2063
無奈伤痛
無奈伤痛 2020-12-08 08:17

I have a somewhat messily-formatted Objective-C code base. Is there a way to have Xcode reformat an entire project to conform to a coding standard (i.e., properly indent, sp

8条回答
  •  遥遥无期
    2020-12-08 09:09

    The sole feature of the "GTMXcodePlugin", aka Google Toolbox For Mac Xcode Plugin - does a great job of tidying objective-c code, by effectively, and safely trimming whitespaces.

    The GTM Xcode 4 plugin currently only adds a "Clean Up Whitespace" menu item to the end of the "Edit" menu to remove unnecessary end of line white space from text files. Hopefully we will add more features soon. It has only been tested against Xcode 4.2.

提交回复
热议问题