Latest 0.5.3
Homepage https://github.com/MarLoe/GitHub.Release
License MIT
Platforms ios 9.0, osx 10.10, tvos 9.0

AppIcon GitHub.Release

GitHub license

Check your GitHub repo for new releases from within your software.

Introduction

Using GitHub to host your software?
Want to check for new releases?
Use GitHubRelease to check if a new release has been published.
Prereleases and drafts can be opted in via configuration.

Installing

GitHub.Release is a framework that can be integrated into your project.
It supports installation via cocoapods.

Building

Use Xcode 9 or later.

Usage

Make sure you have added the GitHub.Release framework to your project. Using cocoapods does this automatically for you.

Import the framework header

#import <GitHubRelease/GitHubRelease.h>

Now somewhere appropriate in your source code add these lines to check for new releases.

GitHubReleaseChecker* releaseChecker = [[GitHubReleaseChecker alloc] initWithUser:@"MarLoe"
                                                                       andProject:@"GitHub.Release"];
releaseChecker.delegate = self;
[releaseChecker checkRelease:self.version];

Remember to change "MarLoe" and "GitHub.Release" to your own user and project.

Sample Projects

Sample projects for iOS, tvOS and macOS is included. They all show how to MLGitHubAsset to actually download the asset in the background and utinlize it.

The macOS example project even shows how to show progress and bounce the "Downloads stack" during and after download:

Dock

License

GitHub.Release is released under the MIT License.

Acknowledgements

GitHub is a registered trademark of GitHub Inc.

Latest podspec

{
    "name": "GitHubRelease",
    "version": "0.5.3",
    "summary": "Check your GitHub repo for new releases.",
    "description": "Using GitHub to host your software?nWant to check for new releases?nUse GitHubRelease to check if a new release has been published.nPrereleases and drafts can be opted in via configuration.",
    "homepage": "https://github.com/MarLoe/GitHub.Release",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": "Martin Lu00f8bger",
    "social_media_url": "https://github.com/MarLoe",
    "platforms": {
        "ios": "9.0",
        "osx": "10.10",
        "tvos": "9.0"
    },
    "source": {
        "git": "https://github.com/MarLoe/GitHub.Release.git",
        "tag": "v0.5.3"
    },
    "source_files": [
        "GitHubRelease",
        "GitHubRelease/**/*.{h,m}"
    ]
}

Pin It on Pinterest

Share This