Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'gh-pages' of https://github.com/ap4y/cocoa_helpers into…

… gh-pages
  • Loading branch information...
commit ee1fdfa075cbddc1face426feb78b8d9064bd66d 2 parents c4dfacb + fa203ef
@ap4y authored
Showing with 12 additions and 47 deletions.
  1. +11 −46 index.html
  2. +1 −1  params.json
View
57 index.html
@@ -28,61 +28,26 @@
</ul>
</header>
<section>
- <h2>NSManagedObject with JSON support and refined fetched requests</h2>
+ <p>Helpers for common cocoa tasks (<code>CoreData</code>, <code>REST</code>, <code>Unit Testing</code>, <code>Social Networking</code>)</p>
-<p>Common base class for <code>JSON</code> based managed objects. Solves general tasks:</p>
+<h2>Documentation</h2>
-<ul>
-<li>
-<code>JSON</code> serialization and desirialization. Fast serialization process via <code>JSONKit</code> with type-checking and mappings.</li>
-<li>Fetching remote items. All actions performed in background (using <code>GCD</code>), main thread active only when synthesizing saved entites from <code>objectID</code>.</li>
-<li>
-<p>Simplified fetch requests. ActiveRecord-like behaviour.</p>
+<p><code>appledoc</code> documentation available <a href="http://ap4y.github.com/cocoa_helpers/Documentation/index.html">online</a></p>
-<div class="highlight"><pre><span class="n">NSFetchRequest</span> <span class="o">*</span><span class="n">request</span> <span class="o">=</span> <span class="p">[[</span><span class="n">TestEntity</span> <span class="n">find</span><span class="o">:</span><span class="err">@</span><span class="p">(</span><span class="mi">1</span><span class="p">)]</span> <span class="n">orderBy</span><span class="o">:</span><span class="s">@"id"</span><span class="p">,</span> <span class="nb">nil</span><span class="p">];</span>
-<span class="n">NSFetchRequest</span> <span class="o">*</span><span class="n">request</span> <span class="o">=</span> <span class="p">[</span><span class="n">TestEntity</span> <span class="n">find</span><span class="o">:</span><span class="err">@</span><span class="p">(</span><span class="mi">1</span><span class="p">)];</span>
-<span class="n">NSFetchRequest</span> <span class="o">*</span><span class="n">request</span> <span class="o">=</span> <span class="p">[</span><span class="n">TestEntity</span> <span class="n">where</span><span class="o">:</span><span class="n">predicate</span><span class="p">];</span>
-</pre></div>
-</li>
-<li><p>Handles json root objects, dates and allow to create temporary requested entities.</p></li>
-</ul><h2>CoreData helpers</h2>
-
-<p>Solves common <code>CoreData</code> task:</p>
-
-<ul>
-<li>Creating contexts, model, coordinator.</li>
-<li>Dedicated context singleton for the main thread.</li>
-<li>Simple fetched requests.</li>
-<li>Merging notifications.</li>
-<li>Automatic switching to memory store for unit tests</li>
-</ul><h2>Social networks</h2>
-
-<p>Clients for social networks with common interface, authentication, credentials caching.</p>
+<h2>Installation</h2>
-<ul>
-<li>Generic <code>OAuth1.x</code> implementation.</li>
-<li>
-<code>Keychain</code> token storage.</li>
-<li>
-<code>SSO</code> supported where possible.</li>
-<li>Implemented wrappers for fetching user <code>profile</code>, <code>connections</code> and creating <code>shares</code>.</li>
-<li>Implemented clients for: <code>Facebook</code>, <code>Twitter</code>, <code>LinkedIn</code>, <code>Google+</code>, <code>Xing</code>, <code>Vkontakte</code>.</li>
-</ul><h2>Unit testing</h2>
+<p>Install via <a href="http://cocoapods.org">cocoapods</a></p>
-<p>Async test looping with blocks:</p>
+<pre><code>pod AEHelpers/REST', :git =&gt; 'https://github.com/ap4y/cocoa_helpers.git.
+</code></pre>
-<div class="highlight"><pre><span class="k">-</span> <span class="p">(</span><span class="kt">void</span><span class="p">)</span><span class="nf">runAsyncTestUntil:</span><span class="p">(</span><span class="n">NSTimeInterval</span><span class="p">)</span><span class="nv">interval</span>
- <span class="nl">test:</span><span class="p">(</span><span class="kt">void</span> <span class="p">(</span><span class="o">^</span><span class="p">)())</span><span class="nv">test</span><span class="p">;</span>
-<span class="k">-</span> <span class="p">(</span><span class="kt">void</span><span class="p">)</span><span class="nf">runAsyncTest:</span><span class="p">(</span><span class="kt">void</span> <span class="p">(</span><span class="o">^</span><span class="p">)(</span><span class="n">AsyncTestConditon</span><span class="o">*</span> <span class="n">endCondition</span><span class="p">))</span><span class="nv">test</span>
- <span class="nl">withInterval:</span><span class="p">(</span><span class="n">NSTimeInterval</span><span class="p">)</span><span class="nv">interval</span><span class="p">;</span>
-<span class="k">-</span> <span class="p">(</span><span class="kt">void</span><span class="p">)</span><span class="nf">runAsyncTest:</span><span class="p">(</span><span class="kt">void</span> <span class="p">(</span><span class="o">^</span><span class="p">)(</span><span class="n">AsyncTestConditon</span><span class="o">*</span> <span class="n">endCondition</span><span class="p">))</span><span class="nv">test</span><span class="p">;</span>
-</pre></div>
+<h2>Unit Tests</h2>
-<p>implement your async test in block and return <code>endCondition.trigger</code> after getting callback result, looping continues till interval expiration.</p>
+<p><code>OCUnit</code> unit test included integrated into the project.</p>
-<h2>Installation</h2>
+<h2>Examples</h2>
-<p><a href="http://cocoapods.org">cocoapods</a> <code>podspec</code> included. Unit test included. Social network client examples included.</p>
+<p>Social network client examples located in <code>Social_Examples</code> folder.</p>
<h2>License</h2>
View
2  params.json
@@ -1 +1 @@
-{"name":"AEHelpers","tagline":"helpers for common cocoa tasks","body":"## NSManagedObject with JSON support and refined fetched requests\r\n\r\n Common base class for `JSON` based managed objects. Solves general tasks:\r\n\r\n - `JSON` serialization and desirialization. Fast serialization process via `JSONKit` with type-checking and mappings.\r\n - Fetching remote items. All actions performed in background (using `GCD`), main thread active only when synthesizing saved entites from `objectID`.\r\n - Simplified fetch requests. ActiveRecord-like behaviour.\r\n\r\n ```objective-c\r\nNSFetchRequest *request = [[TestEntity find:@(1)] orderBy:@\"id\", nil];\r\nNSFetchRequest *request = [TestEntity find:@(1)];\r\nNSFetchRequest *request = [TestEntity where:predicate];\r\n```\r\n\r\n - Handles json root objects, dates and allow to create temporary requested entities.\r\n\r\n## CoreData helpers\r\n\r\nSolves common `CoreData` task:\r\n\r\n- Creating contexts, model, coordinator.\r\n- Dedicated context singleton for the main thread.\r\n- Simple fetched requests.\r\n- Merging notifications.\r\n- Automatic switching to memory store for unit tests\r\n\r\n## Social networks\r\n\r\nClients for social networks with common interface, authentication, credentials caching.\r\n\r\n- Generic `OAuth1.x` implementation.\r\n- `Keychain` token storage.\r\n- `SSO` supported where possible.\r\n- Implemented wrappers for fetching user `profile`, `connections` and creating `shares`.\r\n- Implemented clients for: `Facebook`, `Twitter`, `LinkedIn`, `Google+`, `Xing`, `Vkontakte`.\r\n\r\n## Unit testing\r\n\r\nAsync test looping with blocks:\r\n\r\n ```objective-c\r\n- (void)runAsyncTestUntil:(NSTimeInterval)interval\r\n test:(void (^)())test;\r\n- (void)runAsyncTest:(void (^)(AsyncTestConditon* endCondition))test\r\n withInterval:(NSTimeInterval)interval;\r\n- (void)runAsyncTest:(void (^)(AsyncTestConditon* endCondition))test;\r\n```\r\n\r\nimplement your async test in block and return `endCondition.trigger` after getting callback result, looping continues till interval expiration.\r\n\r\n## Installation\r\n\r\n[cocoapods](http://cocoapods.org) `podspec` included. Unit test included. Social network client examples included.\r\n\r\n## License ##\r\n\r\n(The MIT License)\r\n","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}
+{"name":"AEHelpers","tagline":"helpers for common cocoa tasks","body":"Helpers for common cocoa tasks (`CoreData`, `REST`, `Unit Testing`, `Social Networking`)\r\n\r\n## Documentation\r\n\r\n`appledoc` documentation available [online](http://ap4y.github.com/cocoa_helpers/Documentation/index.html)\r\n\r\n## Installation\r\n\r\nInstall via [cocoapods](http://cocoapods.org)\r\n\r\n pod AEHelpers/REST', :git => 'https://github.com/ap4y/cocoa_helpers.git.\r\n\r\n## Unit Tests\r\n\r\n`OCUnit` unit test included integrated into the project.\r\n\r\n## Examples\r\n\r\nSocial network client examples located in `Social_Examples` folder.\r\n\r\n## License ##\r\n\r\n(The MIT License)\r\n","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}
Please sign in to comment.
Something went wrong with that request. Please try again.