SwiftLint banner

SwiftLint Overview

A tool to enforce Swift style and conventions, loosely based on GitHub's Swift Style Guide. SwiftLint uses Clang and SourceKit to use the Clang AST representation of your source files for more accurate results. Once installed, SwiftLint can be used directly from the command line or added as a build phase in Xcode to show errors and warnings in the IDE. SwiftLint currently supports over 15 style rules which are themselves written in Swift, so you can contribute your own.

Stay on top of new tools for iOS developers

Subscribe to get a convenient weekly roundup of iOS Dev Tools' newest addition
of helpful and time-saving developer tools, services, and SDKs to get your job done faster.