A Tool For Enforcing Swift Style And Conventions With Warnings And Errors In Xcode

In the past I mentioned the ClangFormat-Xcode and Xcode-formatter plugins for formatting objective-C code.

Here’s an interesting command line tool that allows you to enforce Style conventions on your Swift code called SwiftLint from Realm.

SwiftLint uses Clang and SourceKit to deliver warnings and errors directly within Xcode. You’ll need to integrate SwiftLint into an Xcode scheme to get the errors and warnings to display.

You can find SwiftLint on Github here.

You can find the Swift style conventions used in Github’s Swift Style guide.

A great tool for enforcing conventions in Swift.

Original article: A Tool For Enforcing Swift Style And Conventions With Warnings And Errors In Xcode

©2015 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *