I took an app iOS-2048 as a sample to show how iOSSnapshotTestCase and SwiftSnapshotTesting work.
$ gem install fastlane
$ pod install
$ fastlane test record:true
$ fastlane test
(c) 2014-2015 Austin Zheng. Released under the terms of the MIT license.
2048 by Gabriele Cirulli (http://gabrielecirulli.com/). The original game can be found at http://gabrielecirulli.github.io/2048/, as can all relevant attributions. 2048 is inspired by an iOS game called "Threes", by Asher Vollmer.