Danger + Swift + Realm

Using SwiftLint and Danger for Swift Best Practices

Apple’s Swift is becoming more and more popular amongst the developer community. Most of us already started adapting our projects to this folk. While adopting, we may not be as careful as we should be as Swift is a very flexible language and it’s really easy to misuse it. Especially coming from an Objective-C culture, applying best practices becomes really important.

After reading Swifty Tips from Göksel, I realized a couple of his tips can be checked automatically with SwiftLint. Also, we’re lazy people and we tend to forget to check our code before merging to master. Just in here, Danger comes to the stage with shiny clothes and points out we’re doing something dangerous. Continue reading →