Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: Objective C 的代码检查
Objective-c 是否有任何 lint 工具?
Xcode 包括 Clang 静态分析器,标记为Build and Analyze(仅Analyze在 Xcode 4 下)。 http://clang-analyzer.llvm.org/xcode.html
Build and Analyze
Analyze
编辑:
OCLint 基于 Clang,提供对代码样式和复杂性的额外检查。http://oclint.org