Skip to content

asashin227/AppUpdateChecker

Repository files navigation

AppUpdateChecker

CI Status Version License Platform

Bundle identifier and Bundle versions string, short in Info.plist is used in AppUpdateChecker.

And using iTunes API

Usage

AppUpdateChecker().conferm() {
    result in
    switch result {
    case .existUpdate(let version, let storeScheme):
        // For example, Show UIAlertController here.
        print("Now available version: \(version)")
        print("DL from hare: \(storeScheme.absoluteString)")
    case .noUpdate:
        print("Current version is newest")
    case .error(let error):
        print("error: \(error)")
    }
}

Example

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

Installation

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

pod 'AppUpdateChecker'

License

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors