TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Oct 2017 |
SwiftSwift Version | 4.0 |
SPMSupports SPM | ✗ |
Maintained by Eddie Saenz.
Bumper detects the version number stored in the Info.plist under the CFBundleShortVersionString
key for increases. Bumper calls your code when and where you want when it detects a version bump. Bumper's completion block will only be called once per app upgrade. Bumper's great for "New Features" views on app upgrades.
Apple's Version Numbering Conventions are the rules followed to detect version bumps.
To run the example project, clone the repo, and run pod install
from the Example directory first. Run the app once to install the example app on your simulator or device. Then in the General settings section of the Bumper_Example target, increase the Version number. Run the app again and see Bumper execute.
Bumper is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod 'Bumper'
Place Bumper.launch()
in your AppDelegate:
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
Bumper.launch()
...
}
Bumper.tryToExecute {
...
}
Eddie Saenz (@eddies5)
Bumper is available under the MIT license. See the LICENSE file for more info.