Code linting for Objective C

前端 未结 5 815
情歌与酒
情歌与酒 2020-12-24 08:35

Are there any code linting tools for ObjectiveC?

5条回答
  •  误落风尘
    2020-12-24 09:00

    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

提交回复
热议问题