You can check typos in name or String. Typo checker made with swift. This project is heavily inspired by the shiba1014/NoMoreTypo, realm/SwiftLint
$ git clone git@github.com:takuchantuyoshi/TypoChecker.git
$ cd TypoChecker
$ make install
$ mint install takuchantuyoshi/TypoChecker
$ TypoChecker -path hoge/foo
Integrate TypoChecker into an Xcode scheme to get warnings displayed in the IDE. Just add a new "Run Script Phase" with:
if which TypoChecker >/dev/null; then
TypoChecker -path "$SRCROOT" -report xcode
else
echo "warning: TypoChecker not installed, download from https://github.com/takuchantuyoshi/TypoChecker"
fi
You can see options by TypoChecker --help