Latest 1.0.0
Homepage https://github.com/KoStudio/VersionUpManager
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

import head file

#import <VersionUpManager/VersionUpManager.h>

Use this when app’s version number has changed

 [[VersionUpManager sharedManager] runVersionUpdateProcessIfNeedsWith:^(NSString *oldVer, NSString *newVer) {
        NSLog(@"oldVer: %@, newVer:%@",oldVer, newVer);
    }];

Use this with your custom token

[[VersionUpManager sharedManager] runOnceWithToken:@"AnyToken" onProcessBlock:^(NSString *oldVer, NSString *newVer) {
        NSLog(@"Only run once with token: AnyToken");
    }];

Requirements

Installation

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

pod "VersionUpManager"

Author

kmk, [email protected]

License

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

Latest podspec

{
    "name": "VersionUpManager",
    "version": "1.0.0",
    "summary": "Manage version update events.",
    "description": "Get a run block only when App version string has changed.",
    "homepage": "https://github.com/KoStudio/VersionUpManager",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "kmk": "[email protected]"
    },
    "source": {
        "git": "https://github.com/KoStudio/VersionUpManager.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "VersionUpManager/Classes/**/*"
}

Pin It on Pinterest

Share This