开发者

Lint-checking tools for Objective-C development [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 5 years ago.

Improve this question

Large projects with multiple developers often result in code that is inconsistent in style. I am looking for a lint-like tool tailored to Objective-C that goes beyond the scope of the Clang Static Analyser and checks for adherence to stylistic conventions; e.g. braces, indentation, comment formatting, declaring variables at the top of functions and so on.

开发者_StackOverflow中文版I am aware of AnalysisTool, but it doesn't quite do what I'm after. I saw this question asked elsewhere on SO, but it's not clear whether the question-asker was after the same thing.

Does such a tool exist?


I was doing the same research and I just found OCLint


I have recently stumbled across uncrustify, which has support for Objective-C. It appears well-written and adding additional checks (and respective fixes) seems straight-forward.

It's not all-in-one, but in combination with the static analyser and a good differencing tool, it should do the job.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜