Skip to content

Commit

Permalink
Updating documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kgn committed Jul 9, 2011
1 parent 3d85893 commit 786f071
Show file tree
Hide file tree
Showing 8 changed files with 112 additions and 152 deletions.
2 changes: 1 addition & 1 deletion AppledocSettings.plist
Expand Up @@ -11,7 +11,7 @@
<string>com.inscopeapps</string>
<key>--input</key>
<array>
<string>./Spectttator/SPManager.h</string>
<string>./Spectttator/SPRequest.h</string>
<string>./Spectttator/SPPagination.h</string>
<string>./Spectttator/SPPlayer.h</string>
<string>./Spectttator/SPShot.h</string>
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Classes/SPComment.html
Expand Up @@ -143,7 +143,7 @@ <h2 class="subtitle subtitle-overview">Overview</h2>

<pre><code>#import &lt;Spectttator/Spectttator.h&gt;

[[SPManager sharedManager] shotInformationForIdentifier:199295 runOnMainThread:NO withBlock:^(SPShot *shot){
[SPRequest shotInformationForIdentifier:199295 runOnMainThread:NO withBlock:^(SPShot *shot){
[shot commentsWithPagination:nil runOnMainThread:NO withBlock:^(NSArray *comments, SPPagination *pagination){
NSLog(@"Comments for '%@': %@", shot.title, comments);
}];
Expand Down
14 changes: 7 additions & 7 deletions Documentation/Classes/SPPagination.html
Expand Up @@ -171,13 +171,13 @@ <h2 class="subtitle subtitle-overview">Overview</h2>

NSString *username = @"inscopeapps";

[[SPManager sharedManager] shotsForPlayer:user
withPagination:[SPPagination perPage:20]
runOnMainThread:NO
withBlock:^(NSArray *shots, SPPagination *pagination){
NSLog(@"Received shot data for %@", user);
NSLog(@"With pagination: %@", pagination);
}];
[SPRequest shotsForPlayer:user
withPagination:[SPPagination perPage:20]
runOnMainThread:NO
withBlock:^(NSArray *shots, SPPagination *pagination){
NSLog(@"Received shot data for %@", user);
NSLog(@"With pagination: %@", pagination);
}];
</code></pre>

<p>This is non-blocking, <code>NSLog</code> will run whenever the comment data has finished loading,
Expand Down
12 changes: 6 additions & 6 deletions Documentation/Classes/SPPlayer.html
Expand Up @@ -207,11 +207,11 @@ <h2 class="subtitle subtitle-overview">Overview</h2>

NSString *username = @"inscopeapps";

[[SPManager sharedManager] playerInformationForUsername:username
runOnMainThread:NO
withBlock:^(SPPlayer *player){
NSLog(@"Player information for %@: %@", username, player);
}];
[SPRequest playerInformationForUsername:username
runOnMainThread:NO
withBlock:^(SPPlayer *player){
NSLog(@"Player information for %@: %@", username, player);
}];
</code></pre>

<p>This is non-blocking, <code>NSLog</code> will run whenever the comment data has finished loading,
Expand Down Expand Up @@ -1135,7 +1135,7 @@ <h4 class="method-subtitle parameter-title">Return Value</h4>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>There is no need to call this method directly, it is used by
higher level methods like <a href="../Classes/SPManager.html#//api/name/playerInformationForUsername:runOnMainThread:withBlock:"><code>[SPManager playerInformationForUsername:runOnMainThread:withBlock:]</code></a>.</p>
higher level methods like <a href="../Classes/SPRequest.html#//api/name/playerInformationForUsername:runOnMainThread:withBlock:"><code>[SPRequest playerInformationForUsername:runOnMainThread:withBlock:]</code></a>.</p>
</div>


Expand Down

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Documentation/Classes/SPShot.html
Expand Up @@ -203,7 +203,7 @@ <h2 class="subtitle subtitle-overview">Overview</h2>

<pre><code>#import &lt;Spectttator/Spectttator.h&gt;

[[SPManager sharedManager] shotInformationForIdentifier:199295 runOnMainThread:NO withBlock:^(SPShot *shot){
[SPRequest shotInformationForIdentifier:199295 runOnMainThread:NO withBlock:^(SPShot *shot){
NSLog(@"Shot Information: %@", shot);
[shot reboundsWithPagination:nil
runOnMainThread:NO
Expand Down Expand Up @@ -1144,7 +1144,7 @@ <h4 class="method-subtitle parameter-title">Return Value</h4>
<h4 class="method-subtitle">Discussion</h4>

<p>There is no need to call this method directly, it is used by
higher level methods like <a href="../Classes/SPManager.html#//api/name/shotsForList:withPagination:runOnMainThread:withBlock:"><code>[SPManager shotsForList:withPagination:runOnMainThread:withBlock:]</code></a>.</p>
higher level methods like <a href="../Classes/SPRequest.html#//api/name/shotsForList:withPagination:runOnMainThread:withBlock:"><code>[SPRequest shotsForList:withPagination:runOnMainThread:withBlock:]</code></a>.</p>
</div>


Expand Down
6 changes: 3 additions & 3 deletions Documentation/hierarchy.html
Expand Up @@ -29,12 +29,12 @@ <h2 class="index-title">Class Hierarchy</h2>

<li><a href="Classes/SPComment.html">SPComment</a></li>

<li><a href="Classes/SPManager.html">SPManager</a></li>

<li><a href="Classes/SPPagination.html">SPPagination</a></li>

<li><a href="Classes/SPPlayer.html">SPPlayer</a></li>

<li><a href="Classes/SPRequest.html">SPRequest</a></li>

<li><a href="Classes/SPShot.html">SPShot</a></li>

</ul>
Expand All @@ -53,7 +53,7 @@ <h2 class="index-title">Class Hierarchy</h2>
<div id="footer">
<hr />
<div class="footer-copyright">
<p><span class="copyright">&copy; 2011 David Keegan. All rights reserved. (Last updated: 2011-07-06)</span><br />
<p><span class="copyright">&copy; 2011 David Keegan. All rights reserved. (Last updated: 2011-07-08)</span><br />

<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.4 (build 703)</a>.</span></p>

Expand Down
6 changes: 3 additions & 3 deletions Documentation/index.html
Expand Up @@ -27,12 +27,12 @@ <h2 class="index-title">Class References</h2>

<li><a href="Classes/SPComment.html">SPComment</a></li>

<li><a href="Classes/SPManager.html">SPManager</a></li>

<li><a href="Classes/SPPagination.html">SPPagination</a></li>

<li><a href="Classes/SPPlayer.html">SPPlayer</a></li>

<li><a href="Classes/SPRequest.html">SPRequest</a></li>

<li><a href="Classes/SPShot.html">SPShot</a></li>

</ul>
Expand All @@ -47,7 +47,7 @@ <h2 class="index-title">Class References</h2>
<div id="footer">
<hr />
<div class="footer-copyright">
<p><span class="copyright">&copy; 2011 David Keegan. All rights reserved. (Last updated: 2011-07-06)</span><br />
<p><span class="copyright">&copy; 2011 David Keegan. All rights reserved. (Last updated: 2011-07-08)</span><br />

<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.4 (build 703)</a>.</span></p>

Expand Down

0 comments on commit 786f071

Please sign in to comment.