Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Invoke an event when app updated.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages