Get Updates By E-mail 

Article Written By:
Johann Dowa

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.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments