Skip to content

KyleGoslan/UpdateKit

Repository files navigation

UpdateKit

Version License Platform

Usage

Create an instance of a UpdateKit object:

let updateKit = UpdateKit()

App Updated

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.

First launch

If you need to run something on first launch:

updateKit.firstLaunch { 
    // Code to be run on first app launch
}

Installation

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

pod "UpdateKit"

Author

KyleGoslan

License

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