views:

255

answers:

1

Are there any code linting tools for ObjectiveC?

+7  A: 

Have a look at the LLVM/Clang Static Analyzer

The LLVM/Clang static analyzer is a standalone tool that find bugs in C and Objective-C programs and it is very early in development.

A static analyzer based on clang. The goal of the Clang project is to create a new C, C++, Objective C and Objective C++ front-end for the LLVM compiler.

Edit

Clang has now been integrated into Xcode and can easily be run as a menu option "Build & Analyse"

alt text

epatel
+1 nice link. thanks.
DasBoot
Does it also work with Objective-C++?
Plumenator