Latest 1.0.1
Homepage https://github.com/alariju/Genoise
License MIT
Platforms ios 8.0, requires ARC
Authors

Version
License
Platform

Genoise is a light-weight pod to help you checking if there’s an update available for your application.
You only need your application’s id that you can get on your iTunes Connect dashboard.

travis ci is left to be made.

Example

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

Installation and usage

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

pod "Genoise"

Swift Usage

After running a pod install just import Genoise on your Swift class, and initialize Genoise and make the call:

import Genoise

Genoise.initializeWithApplicationId("YOUR_APP_ID")
Genoise.isOutdated {
    isOutdated, whatsNew in
    if isOutdated {
        #There's an update available
        #The new vewsion details are available on whatsNew (String)
    } else {
        #Your app is up-to-date!
    }
}

Objective-C Usage

You can just add the Genoise.swift file to your project, and create a Bridging Header. Then, do the same as Swift’s:

#import "PROJECT_NAME-Swift.h"

...

- (void) exampleMethod {
    [Genoise initializeWithApplicationId: @"YOUR_APP_ID"];
    [Genoise isOutdated:^(BOOL isOutdated, NSString * _Nonnull whatsNew) {
    if (isOutdated) {
        #There's an update available
        #The new vewsion details are available on whatsNew (String)
    } else {
        #Your app is up-to-date!
    }
}];
}

Author

alariju, [email protected]

License

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

Latest podspec

{
    "name": "Genoise",
    "version": "1.0.1",
    "summary": "Genoise helps you to check if your app is outdated.",
    "description": "Genoise connects to iTunes API to retrieve and compare information and determine if your app is outdated.",
    "homepage": "https://github.com/alariju/Genoise",
    "license": "MIT",
    "authors": {
        "alariju": "[email protected]"
    },
    "source": {
        "git": "https://github.com/alariju/Genoise.git",
        "tag": "1.0.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "Genoise": [
            "Pod/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This