Possible Duplicate:
Code linting for Objective C
Is there any lint tool for Objective-c?
Xcode includes the Clang static analyzer, labeled as Build and Analyze
(simply Analyze
under Xcode 4).
http://clang-analyzer.llvm.org/xcode.html
Edit:
OCLint, based on Clang, provides additional checks of code style and complexity.
http://oclint.org