Latest0.1.0
Homepagehttps://github.com/eddies5/Bumper
LicenseMIT
Platformsios 8.0
Authors

Version
License

Overview

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.

Example

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.

Installation

Bumper is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'Bumper'

Usage

Setup

Place Bumper.launch() in your AppDelegate:

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {

    Bumper.launch()
    ...
}

Execution

Bumper.tryToExecute {
    ...
}

Contributors

Eddie Saenz (@eddies5)

License

Bumper is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "Bumper",
    "version": "0.1.0",
    "summary": "Easy version number bump detection.",
    "description": "Bumper looks for version number increases at app start up and calls your code when and where you want when a bump occurs. Great for displaying "New Features" views on upgrades.",
    "homepage": "https://github.com/eddies5/Bumper",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Eddie Saenz": "[email protected]"
    },
    "source": {
        "git": "https://github.com/eddies5/Bumper.git",
        "tag": "0.1.0"
    },
    "social_media_url": "https://twitter.com/eddies5",
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "Bumper/Classes/**/*",
    "pushed_with_swift_version": "4.0"
}

Pin It on Pinterest

Share This