Swiftlint is a tool to enforce swift style and conventions. To install the tool, just donwload the swiftLint.pkg and running it.
After the installation, go to XCode in the build phase tab and add a new "Run Script Phase" and type
if which swiftlint >/dev/null; then
swiftlint
else
echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint"
fi
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods