Create an instance of a UpdateKit
object:
let updateKit = UpdateKit()
If you need to perform an action when your app is updated:
updateKit.appUpdate { appVersion in
// Code to run on app update
}
Note: Will always run once.
If you need to run something on first launch:
updateKit.firstLaunch {
// Code to be run on first app launch
}
UpdateKit is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "UpdateKit"
KyleGoslan
UpdateKit is available under the MIT license. See the LICENSE file for more info.