Are there any code linting tools for ObjectiveC?
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- back button text does not change
- iOS (objective-c) compression_decode_buffer() retu
- how to find the index position of the ARRAY Where
相关文章
- 现在使用swift开发ios应用好还是swift?
- TCC __TCCAccessRequest_block_invoke
- xcode 4 garbage collection removed?
- Unable to process app at this time due to a genera
- How can I add media attachments to my push notific
- didBeginContact:(SKPhysicsContact *)contact not in
- Custom Marker performance iOS, crash with result “
- Why is my library not able to expand on the CocoaP
I know it is an old question, but I will add another one static analysis tool here for the sake of completeness, Infer, from Facebook
You can see their home page, works with iOS and Android projects, and spare Obj-C/Java/C files
It's worth mentioning OCLint too. It covers some things not touched by the Clang analyser, such as:
Check out the home page for more details.
There is also the commercial tool FauxPas, which catches a lot of code smells, but also stuff like unused graphics, translation format argument mismatch, etc.
It’s not super cheap, but I‘m a happy user. There's a time-limited trial version available, which is fully functional, as far as I know.
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"