Permalink
Browse files

Created gh-pages branch via GitHub

  • Loading branch information...
0 parents commit 91fd4fa0230bdc08d5258fc65e0d0044a315d003 Owain R Hunt committed May 8, 2012
Showing with 523 additions and 0 deletions.
  1. BIN images/checker.png
  2. +86 −0 index.html
  3. +20 −0 javascripts/scale.fix.js
  4. +1 −0 params.json
  5. +60 −0 stylesheets/pygment_trac.css
  6. +356 −0 stylesheets/styles.css
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,86 @@
+<!doctype html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="chrome=1">
+ <title>UAGithubEngine by owainhunt</title>
+
+ <link rel="stylesheet" href="stylesheets/styles.css">
+ <link rel="stylesheet" href="stylesheets/pygment_trac.css">
+ <script src="javascripts/scale.fix.js"></script>
+ <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
+
+ <!--[if lt IE 9]>
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
+ <![endif]-->
+ </head>
+ <body>
+ <div class="wrapper">
+ <header>
+ <h1>UAGithubEngine</h1>
+ <p>Objective-C Wrapper for the Github API</p>
+ <p class="view"><a href="https://github.com/owainhunt/UAGithubEngine">View the Project on GitHub <small>owainhunt/UAGithubEngine</small></a></p>
+ <ul>
+ <li><a href="https://github.com/owainhunt/UAGithubEngine/zipball/master">Download <strong>ZIP File</strong></a></li>
+ <li><a href="https://github.com/owainhunt/UAGithubEngine/tarball/master">Download <strong>TAR Ball</strong></a></li>
+ <li><a href="https://github.com/owainhunt/UAGithubEngine">View On <strong>GitHub</strong></a></li>
+ </ul>
+ </header>
+ <section>
+ <h1>UAGithubEngine</h1>
+
+<p>by <a href="http://owainrhunt.com">Owain R Hunt</a></p>
+
+<p>UAGithubEngine is a wrapper around the Github API. Check out the <a href="http://developer.github.com/">API documentation</a> for full details of what the API can do. </p>
+
+<p>UAGithubEngine is compatible with Mac OS X 10.7 and above, and iOS 5.0.</p>
+
+<h2>Note</h2>
+
+<p>The <code>master</code> branch is built on version 3 of the API, and uses up-to-date technologies such as blocks and ARC. Version 1 of UAGE, found in the branch <code>v1</code>, was built on version 2 of the API, and may be more suited to your uses if you need to support earlier versions of OS X or iOS. This branch is no longer under active development.</p>
+
+<h2>How do I use it?</h2>
+
+<ul>
+<li>
+<p>UAGithubEngine is available from <a href="http://cocoapods.org">CocoaPods</a>. Just add the following to your Podfile:</p>
+
+<p><code>dependency 'UAGithubEngine'</code></p>
+
+<p>Then run <code>pod install</code>.</p>
+</li>
+<li><p>The easiest way to use the engine is with the framework - build and link against the <code>UAGithubEngine</code> framework, and <code>#import &lt;UAGithubEngine/UAGithubEngine.h&gt;</code> where you want to use the framework.</p></li>
+<li><p>If you don't fancy using CocoaPods or the framework, either copy across all the files in the 'UAGithubEngine' group from the UAGithubEngine project into your app's project, or add the entire project to your workspace. Use <code>#import "UAGithubEngine.h"</code> where you want to use the engine.</p></li>
+<li><p>Instantiate an engine, passing a username and password. If you want to receive notifications when reachability status changes (<code>UAGithubReachabilityStatusDidChangeNotification</code>), pass <code>YES</code> as the final argument.</p></li>
+<li><p>Call some methods. </p></li>
+</ul><h2>Code speaks louder than words.</h2>
+
+<div class="highlight">
+<pre><span class="n">UAGithubEngine</span> <span class="o">*</span><span class="n">engine</span> <span class="o">=</span> <span class="p">[[</span><span class="n">UAGithubEngine</span> <span class="n">alloc</span><span class="p">]</span> <span class="nl">initWithUsername:</span><span class="s">@"aUser"</span> <span class="nl">password:</span><span class="s">@"aPassword"</span> <span class="nl">withReachability:</span><span class="n">YES</span><span class="p">];</span>
+
+<span class="p">[</span><span class="n">engine</span> <span class="nl">repositoriesWithSuccess:</span><span class="o">^</span><span class="p">(</span><span class="kt">id</span> <span class="n">response</span><span class="p">)</span> <span class="p">{</span>
+ <span class="n">NSLog</span><span class="p">(</span><span class="s">@"Got an array of repos: %@"</span><span class="p">,</span> <span class="n">obj</span><span class="p">);</span>
+ <span class="p">}</span> <span class="nl">failure:</span><span class="o">^</span><span class="p">(</span><span class="n">NSError</span> <span class="o">*</span><span class="n">error</span><span class="p">)</span> <span class="p">{</span>
+ <span class="n">NSLog</span><span class="p">(</span><span class="s">@"Oops: %@"</span><span class="p">,</span> <span class="n">error</span><span class="p">);</span>
+ <span class="p">}];</span>
+
+<span class="p">[</span><span class="n">engine</span> <span class="nl">user:</span><span class="s">@"this_guy"</span> <span class="nl">isCollaboratorForRepository:</span><span class="s">@"UAGithubEngine"</span> <span class="nl">success:</span><span class="o">^</span><span class="p">(</span><span class="kt">BOOL</span> <span class="n">collaborates</span><span class="p">)</span> <span class="p">{</span>
+ <span class="n">NSLog</span><span class="p">(</span><span class="s">@"%d"</span><span class="p">,</span> <span class="n">collaborates</span><span class="p">);</span>
+ <span class="p">}</span> <span class="nl">failure:</span><span class="o">^</span><span class="p">(</span><span class="n">NSError</span> <span class="o">*</span><span class="n">error</span><span class="p">){</span>
+ <span class="n">NSLog</span><span class="p">(</span><span class="s">@"D'oh: %@"</span><span class="p">,</span> <span class="n">error</span><span class="p">);</span>
+ <span class="p">}];</span>
+</pre>
+</div>
+
+
+<p>Any questions, comments, improvements and so on, either open an issue, find me on Twitter (<a href="https://github.com/orhunt" class="user-mention">@orhunt</a>) or send me an email (<a href="mailto:owain@underscoreapps.com">owain@underscoreapps.com</a>).</p>
+ </section>
+ </div>
+ <footer>
+ <p>Project maintained by <a href="https://github.com/owainhunt">owainhunt</a></p>
+ <p>Hosted on GitHub Pages &mdash; Theme by <a href="https://github.com/orderedlist">orderedlist</a></p>
+ </footer>
+ <!--[if !IE]><script>fixScale(document);</script><!--<![endif]-->
+
+ </body>
+</html>
@@ -0,0 +1,20 @@
+fixScale = function(doc) {
+
+ var addEvent = 'addEventListener',
+ type = 'gesturestart',
+ qsa = 'querySelectorAll',
+ scales = [1, 1],
+ meta = qsa in doc ? doc[qsa]('meta[name=viewport]') : [];
+
+ function fix() {
+ meta.content = 'width=device-width,minimum-scale=' + scales[0] + ',maximum-scale=' + scales[1];
+ doc.removeEventListener(type, fix, true);
+ }
+
+ if ((meta = meta[meta.length - 1]) && addEvent in doc) {
+ fix();
+ scales = [.25, 1.6];
+ doc[addEvent](type, fix, true);
+ }
+
+};
@@ -0,0 +1 @@
+{"name":"UAGithubEngine","body":"# UAGithubEngine\r\nby [Owain R Hunt](http://owainrhunt.com)\r\n\r\nUAGithubEngine is a wrapper around the Github API. Check out the [API documentation](http://developer.github.com/) for full details of what the API can do. \r\n\r\nUAGithubEngine is compatible with Mac OS X 10.7 and above, and iOS 5.0.\r\n\r\n## Note\r\n\r\nThe `master` branch is built on version 3 of the API, and uses up-to-date technologies such as blocks and ARC. Version 1 of UAGE, found in the branch `v1`, was built on version 2 of the API, and may be more suited to your uses if you need to support earlier versions of OS X or iOS. This branch is no longer under active development.\r\n\r\n## How do I use it?\r\n\r\n* UAGithubEngine is available from [CocoaPods](http://cocoapods.org). Just add the following to your Podfile:\r\n\r\n\t`dependency 'UAGithubEngine'`\r\n\t\r\n\tThen run `pod install`.\r\n\r\n* The easiest way to use the engine is with the framework - build and link against the `UAGithubEngine` framework, and `#import <UAGithubEngine/UAGithubEngine.h>` where you want to use the framework.\r\n\r\n* If you don't fancy using CocoaPods or the framework, either copy across all the files in the 'UAGithubEngine' group from the UAGithubEngine project into your app's project, or add the entire project to your workspace. Use `#import \"UAGithubEngine.h\"` where you want to use the engine.\r\n\r\n* Instantiate an engine, passing a username and password. If you want to receive notifications when reachability status changes (`UAGithubReachabilityStatusDidChangeNotification`), pass `YES` as the final argument.\r\n\t\r\n* Call some methods. \r\n\r\n## Code speaks louder than words.\r\n```objective-c\r\nUAGithubEngine *engine = [[UAGithubEngine alloc] initWithUsername:@\"aUser\" password:@\"aPassword\" withReachability:YES];\r\n\r\n[engine repositoriesWithSuccess:^(id response) { \r\n\t\tNSLog(@\"Got an array of repos: %@\", obj); \r\n\t} failure:^(NSError *error) { \r\n\t\tNSLog(@\"Oops: %@\", error);\r\n\t}]; \r\n\r\n[engine user:@\"this_guy\" isCollaboratorForRepository:@\"UAGithubEngine\" success:^(BOOL collaborates) { \r\n\t\tNSLog(@\"%d\", collaborates); \r\n\t} failure:^(NSError *error){ \r\n\t\tNSLog(@\"D'oh: %@\", error); \r\n\t}];\r\n```\r\n\r\nAny questions, comments, improvements and so on, either open an issue, find me on Twitter (@orhunt) or send me an email (owain@underscoreapps.com).\r\n","tagline":"Objective-C Wrapper for the Github API","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}
@@ -0,0 +1,60 @@
+.highlight .hll { background-color: #49483e }
+.highlight { background: #3A3C42; color: #f8f8f2 }
+.highlight .c { color: #75715e } /* Comment */
+.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
+.highlight .k { color: #66d9ef } /* Keyword */
+.highlight .l { color: #ae81ff } /* Literal */
+.highlight .n { color: #f8f8f2 } /* Name */
+.highlight .o { color: #f92672 } /* Operator */
+.highlight .p { color: #f8f8f2 } /* Punctuation */
+.highlight .cm { color: #75715e } /* Comment.Multiline */
+.highlight .cp { color: #75715e } /* Comment.Preproc */
+.highlight .c1 { color: #75715e } /* Comment.Single */
+.highlight .cs { color: #75715e } /* Comment.Special */
+.highlight .ge { font-style: italic } /* Generic.Emph */
+.highlight .gs { font-weight: bold } /* Generic.Strong */
+.highlight .kc { color: #66d9ef } /* Keyword.Constant */
+.highlight .kd { color: #66d9ef } /* Keyword.Declaration */
+.highlight .kn { color: #f92672 } /* Keyword.Namespace */
+.highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
+.highlight .kr { color: #66d9ef } /* Keyword.Reserved */
+.highlight .kt { color: #66d9ef } /* Keyword.Type */
+.highlight .ld { color: #e6db74 } /* Literal.Date */
+.highlight .m { color: #ae81ff } /* Literal.Number */
+.highlight .s { color: #e6db74 } /* Literal.String */
+.highlight .na { color: #a6e22e } /* Name.Attribute */
+.highlight .nb { color: #f8f8f2 } /* Name.Builtin */
+.highlight .nc { color: #a6e22e } /* Name.Class */
+.highlight .no { color: #66d9ef } /* Name.Constant */
+.highlight .nd { color: #a6e22e } /* Name.Decorator */
+.highlight .ni { color: #f8f8f2 } /* Name.Entity */
+.highlight .ne { color: #a6e22e } /* Name.Exception */
+.highlight .nf { color: #a6e22e } /* Name.Function */
+.highlight .nl { color: #f8f8f2 } /* Name.Label */
+.highlight .nn { color: #f8f8f2 } /* Name.Namespace */
+.highlight .nx { color: #a6e22e } /* Name.Other */
+.highlight .py { color: #f8f8f2 } /* Name.Property */
+.highlight .nt { color: #f92672 } /* Name.Tag */
+.highlight .nv { color: #f8f8f2 } /* Name.Variable */
+.highlight .ow { color: #f92672 } /* Operator.Word */
+.highlight .w { color: #f8f8f2 } /* Text.Whitespace */
+.highlight .mf { color: #ae81ff } /* Literal.Number.Float */
+.highlight .mh { color: #ae81ff } /* Literal.Number.Hex */
+.highlight .mi { color: #ae81ff } /* Literal.Number.Integer */
+.highlight .mo { color: #ae81ff } /* Literal.Number.Oct */
+.highlight .sb { color: #e6db74 } /* Literal.String.Backtick */
+.highlight .sc { color: #e6db74 } /* Literal.String.Char */
+.highlight .sd { color: #e6db74 } /* Literal.String.Doc */
+.highlight .s2 { color: #e6db74 } /* Literal.String.Double */
+.highlight .se { color: #ae81ff } /* Literal.String.Escape */
+.highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */
+.highlight .si { color: #e6db74 } /* Literal.String.Interpol */
+.highlight .sx { color: #e6db74 } /* Literal.String.Other */
+.highlight .sr { color: #e6db74 } /* Literal.String.Regex */
+.highlight .s1 { color: #e6db74 } /* Literal.String.Single */
+.highlight .ss { color: #e6db74 } /* Literal.String.Symbol */
+.highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
+.highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */
+.highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */
+.highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */
+.highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */
Oops, something went wrong.

0 comments on commit 91fd4fa

Please sign in to comment.