开发者

Objective C - Code sniffer

开发者 https://www.devze.com 2023-01-15 23:53 出处:网络
I am looking for coding standard checker something like php_codesniffer (http://pear.ph开发者_开发百科p.net/manual/en/package.php.php-codesniffer.intro.php) for objective c.

I am looking for coding standard checker something like php_codesniffer (http://pear.ph开发者_开发百科p.net/manual/en/package.php.php-codesniffer.intro.php) for objective c.

Thanks, Jose Antony


Maybe check out Uncrustify, there is also a fork with better Objective-C support. If you want to integrate uncrustify into xcode, read the blog post: Adding a code beautifier script to Xcode


The LLVM static analyzer is your answer.

In Xcode, you can use the build and analyze feature.

If you want to invoke it manually, see this LLVM web page.

0

精彩评论

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