TestsTested | ✓ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Oct 2017 |
SwiftSwift Version | 4.0 |
SPMSupports SPM | ✗ |
Maintained by asashin227.
Bundle identifier
and Bundle versions string, short
in Info.plist is used in AppUpdateChecker.
And using iTunes API
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)")
}
}
To run the example project, clone the repo, and run pod install
from the Example directory first.
AppUpdateChecker is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod 'AppUpdateChecker'
AppUpdateChecker is available under the MIT license. See the LICENSE file for more info.