Reborn 0.1.0

Reborn 0.1.0

Maintained by Volkan Bicer.



Reborn 0.1.0

  • By
  • vbicer

Reborn

CI Status Version License Platform

About

Reborn checks a user's currently installed version of your iOS app against the version that is currently configured.

If a both versions match and if it's the first time then fire and event to inform configured version installed.

Example

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

Installation

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

pod 'Reborn'

Usage

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
setupReborn()
return true
}

func setupReborn(){
// Alert will be fired when the first time 1.3 version installed
let reborn = Reborn(at: "1.3")
reborn.isTest = true
reborn.delegate = self
reborn.check()
}

extension AppDelegate: RebornDelegate{
func rebornDidComplete() {
print("Reborn did triggered!")
}
}

Author

vbicer, [email protected]

License

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