SwiftLint
A tool to enforce Swift style and conventions
...These rules are well described in popular style guides like Ray Wenderlich’s Swift Style Guide. SwiftLint hooks into Clang and SourceKit to use the AST representation of your source files for more accurate results. You might want to move your SwiftLint phase directly before ‘Compile Sources’ step, to detect errors quickly before compiling. However, SwiftLint is designed to run on valid Swift code that cleanly completes the compiler’s parsing stage. So running SwiftLint before ‘Compile Sources’ might yield some incorrect results. SwiftLint hooks into SourceKit so it continues working even as Swift evolves! ...