Thin SwiftLint ruleset (#704)

* Thin SwiftLint ruleset

* Disabled trailing_whitespace rule
This commit is contained in:
Hesham Salman
2017-10-23 16:58:09 -04:00
committed by Ryan Nystrom
parent a0f1bcdfcb
commit f213bac924
270 changed files with 5781 additions and 5049 deletions

View File

@@ -9,17 +9,17 @@
import UIKit
extension UIAlertController {
func addActions(_ actions: [UIAlertAction?]) {
for anAction in actions {
self.add(action: anAction)
}
}
func add(action: UIAlertAction?) {
if let action = action {
self.addAction(action)
}
}
}