Giter Site home page Giter Site logo

libgithubissues's Introduction

#libGitHubIssues Integrate GitHub's Issues system into your app to use as a bugtracker. A single public view controller is provided to present modally, and supports a native OAuth application flow for users to login. Existing issues can be viewed without the user needing to log in.

##Screenshots

Issues Overview Issue Detail Login UI Comment Composer Issue Composer

##Installation

You can install libGitHubIssues into your application in two ways: via CocoaPods, or as a dependancy in a jailbroken package.

###REQUIRED: GitHub Application

To utilise this project, you will first need to create an OAuth2 application for GitHub here; fill in the homepage URL with your website, as it won't be needed for functionality.

Make a note of the client ID and secret; you will need these when using this project.

###CocoaPods

Add

pod "libGitHubIssues", "~> 0.0.1"

to your Podfile.

###Jailbroken Package

Please note that libGitHubIssues is not yet available via a default Cydia repository, due to cirumstances beyond my control. This should be resolved soon. In the meantime, please download a copy in a .deb format from the Releases tab.

When using libGitHubIssues in a jailbroken package:

  1. On your device, download and install libGitHubIssues from Cydia (found on the BigBoss repository).
  2. Copy libGitHubIssues.dylib from /usr/lib to your development machine's theos/lib directory.
  3. Copy libGitHubIssues.h from /usr/include/libGitHubIssues/ to your development machine's theos/include directory.
  4. Add -lGitHubIssues to your project makefile's LDFLAGS field
  5. Add a dependancy upon com.matchstic.libgithubissues to your project's control file.

##Usage

#import <libGitHubIssues.h>

...

GIRootViewController *rootModal = [[GIRootViewController alloc] init];

[GIRootViewController registerClientID:@"<client_id>" andSecret:@"<client_secret>"];
[GIRootViewController registerCurrentRepositoryName:@"<repo_name>" andOwner:@"<repo_owner>"];

[self presentViewController:rootModal animated:YES completion:nil];

##Contributing

To work on this project, clone or fork it:

$ git clone https://github.com/Matchstic/libGitHubIssues.git

update CocoaPods:

$ pod update

and open libGitHubIssues.xcworkspace.

To build the libGitHubIssues-(Jailbreak) target you will need iOSOpenDev.

===

Released under the BSD 2-Clause license.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.