Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updating documentation

  • Loading branch information...
commit 786f0718c9495acbe095d9c96524ff68af22b8ed 1 parent 3d85893
@kgn authored
View
2  AppledocSettings.plist
@@ -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>
View
2  Documentation/Classes/SPComment.html
@@ -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);
}];
View
14 Documentation/Classes/SPPagination.html
@@ -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,
View
12 Documentation/Classes/SPPlayer.html
@@ -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,
@@ -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>
View
218 Documentation/Classes/SPManager.html → Documentation/Classes/SPRequest.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML>
<html>
<head>
- <title>SPManager Class Reference</title>
+ <title>SPRequest Class Reference</title>
<meta http-equiv="Content-Type" content="application/xhtml+xml;charset=utf-8" />
<meta id="xcode-display" name="xcode-display" content="render"/>
<meta name="viewport" content="width=550" />
@@ -11,7 +11,7 @@
<body>
<header id="top_header">
<div id="title" role="banner">
- <h1 class="hideInXcode">SPManager Class Reference</h1>
+ <h1 class="hideInXcode">SPRequest Class Reference</h1>
</div>
<ul id="headerButtons" role="toolbar">
<li id="toc_button">
@@ -36,30 +36,25 @@ <h1 class="hideInXcode">SPManager Class Reference</h1>
<option value="class_methods">Class Methods</option>
- <option value="//api/name/sharedManager">&nbsp;&nbsp;&nbsp;&nbsp;+ sharedManager</option>
+ <option value="//api/name/playerDraftees:withPagination:runOnMainThread:withBlock:">&nbsp;&nbsp;&nbsp;&nbsp;+ playerDraftees:withPagination:runOnMainThread:withBlock:</option>
+ <option value="//api/name/playerFollowers:withPagination:runOnMainThread:withBlock:">&nbsp;&nbsp;&nbsp;&nbsp;+ playerFollowers:withPagination:runOnMainThread:withBlock:</option>
+ <option value="//api/name/playerFollowing:withPagination:runOnMainThread:withBlock:">&nbsp;&nbsp;&nbsp;&nbsp;+ playerFollowing:withPagination:runOnMainThread:withBlock:</option>
+ <option value="//api/name/playerInformationForUsername:runOnMainThread:withBlock:">&nbsp;&nbsp;&nbsp;&nbsp;+ playerInformationForUsername:runOnMainThread:withBlock:</option>
- <option value="instance_methods">Instance Methods</option>
+ <option value="//api/name/shotInformationForIdentifier:runOnMainThread:withBlock:">&nbsp;&nbsp;&nbsp;&nbsp;+ shotInformationForIdentifier:runOnMainThread:withBlock:</option>
- <option value="//api/name/playerDraftees:withPagination:runOnMainThread:withBlock:">&nbsp;&nbsp;&nbsp;&nbsp;- playerDraftees:withPagination:runOnMainThread:withBlock:</option>
+ <option value="//api/name/shotsForList:withPagination:runOnMainThread:withBlock:">&nbsp;&nbsp;&nbsp;&nbsp;+ shotsForList:withPagination:runOnMainThread:withBlock:</option>
- <option value="//api/name/playerFollowers:withPagination:runOnMainThread:withBlock:">&nbsp;&nbsp;&nbsp;&nbsp;- playerFollowers:withPagination:runOnMainThread:withBlock:</option>
+ <option value="//api/name/shotsForPlayer:withPagination:runOnMainThread:withBlock:">&nbsp;&nbsp;&nbsp;&nbsp;+ shotsForPlayer:withPagination:runOnMainThread:withBlock:</option>
- <option value="//api/name/playerFollowing:withPagination:runOnMainThread:withBlock:">&nbsp;&nbsp;&nbsp;&nbsp;- playerFollowing:withPagination:runOnMainThread:withBlock:</option>
+ <option value="//api/name/shotsForPlayerFollowing:withPagination:runOnMainThread:withBlock:">&nbsp;&nbsp;&nbsp;&nbsp;+ shotsForPlayerFollowing:withPagination:runOnMainThread:withBlock:</option>
- <option value="//api/name/playerInformationForUsername:runOnMainThread:withBlock:">&nbsp;&nbsp;&nbsp;&nbsp;- playerInformationForUsername:runOnMainThread:withBlock:</option>
+ <option value="//api/name/shotsForPlayerLikes:withPagination:runOnMainThread:withBlock:">&nbsp;&nbsp;&nbsp;&nbsp;+ shotsForPlayerLikes:withPagination:runOnMainThread:withBlock:</option>
- <option value="//api/name/shotInformationForIdentifier:runOnMainThread:withBlock:">&nbsp;&nbsp;&nbsp;&nbsp;- shotInformationForIdentifier:runOnMainThread:withBlock:</option>
- <option value="//api/name/shotsForList:withPagination:runOnMainThread:withBlock:">&nbsp;&nbsp;&nbsp;&nbsp;- shotsForList:withPagination:runOnMainThread:withBlock:</option>
-
- <option value="//api/name/shotsForPlayer:withPagination:runOnMainThread:withBlock:">&nbsp;&nbsp;&nbsp;&nbsp;- shotsForPlayer:withPagination:runOnMainThread:withBlock:</option>
-
- <option value="//api/name/shotsForPlayerFollowing:withPagination:runOnMainThread:withBlock:">&nbsp;&nbsp;&nbsp;&nbsp;- shotsForPlayerFollowing:withPagination:runOnMainThread:withBlock:</option>
-
- <option value="//api/name/shotsForPlayerLikes:withPagination:runOnMainThread:withBlock:">&nbsp;&nbsp;&nbsp;&nbsp;- shotsForPlayerLikes:withPagination:runOnMainThread:withBlock:</option>
@@ -77,8 +72,6 @@ <h1 class="hideInXcode">SPManager Class Reference</h1>
<li role="treeitem" id="task_treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#tasks">Tasks</a></span><ul>
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Getting the Shared SPManager Instance">Getting the Shared SPManager Instance</a></span></li>
-
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Players">Players</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Shots">Shots</a></span></li>
@@ -93,14 +86,6 @@ <h1 class="hideInXcode">SPManager Class Reference</h1>
<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#class_methods">Class Methods</a></span><ul>
- <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/sharedManager">sharedManager</a></span></li>
-
-</ul></li>
-
-
-
-<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#instance_methods">Instance Methods</a></span><ul>
-
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/playerDraftees:withPagination:runOnMainThread:withBlock:">playerDraftees:withPagination:runOnMainThread:withBlock:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/playerFollowers:withPagination:runOnMainThread:withBlock:">playerFollowers:withPagination:runOnMainThread:withBlock:</a></span></li>
@@ -122,11 +107,13 @@ <h1 class="hideInXcode">SPManager Class Reference</h1>
</ul></li>
+
+
</ul>
</nav>
<article>
<div id="contents" class="isShowingTOC" role="main">
- <a title="SPManager Class Reference" name="top"></a>
+ <a title="SPRequest Class Reference" name="top"></a>
<div class="main-navigation navigation-top">
<ul>
<li><a href="../index.html">Index</a></li>
@@ -135,7 +122,7 @@ <h1 class="hideInXcode">SPManager Class Reference</h1>
</div>
<div id="header">
<div class="section-header">
- <h1 class="title title-header">SPManager Class Reference</h1>
+ <h1 class="title title-header">SPRequest Class Reference</h1>
</div>
</div>
<div id="container">
@@ -146,7 +133,7 @@ <h1 class="title title-header">SPManager Class Reference</h1>
<td class="specification-value">NSObject</td>
</tr><tr>
<td class="specification-title">Declared in</td>
- <td class="specification-value">SPManager.h</td>
+ <td class="specification-value">SPRequest.h</td>
</tr>
</tbody></table></div>
@@ -156,7 +143,7 @@ <h1 class="title title-header">SPManager Class Reference</h1>
<div class="section section-overview">
<a title="Overview" name="overview"></a>
<h2 class="subtitle subtitle-overview">Overview</h2>
- <p>The <code>SPManager</code> class provides a programmatic interface for interacting
+ <p>The <code>SPRequest</code> class provides a programmatic interface for interacting
with the majority of <a href="http://dribbble.com/api">Dribbble api</a> calls, there are some shot centric
methods implemented on the <a href="../Classes/SPShot.html"><code>SPShot</code></a> object.</p>
@@ -166,12 +153,12 @@ <h2 class="subtitle subtitle-overview">Overview</h2>
NSString *username = @"inscopeapps";
-[[SPManager sharedManager] shotsForPlayerLikes:username
- withPagination:[SPPagination perPage:10]
- runOnMainThread:NO
- withBlock:^(NSArray *shots, SPPagination *pagination){
- NSLog(@"Shot %@ likes: %@", username, shots);
- }];
+[SPRequest shotsForPlayerLikes:username
+ withPagination:[SPPagination perPage:10]
+ runOnMainThread:NO
+ withBlock:^(NSArray *shots, SPPagination *pagination){
+ NSLog(@"Shot %@ likes: %@", username, shots);
+ }];
</code></pre>
<p>This is non-blocking, <code>NSLog</code> will run whenever the comment data has finished loading,
@@ -189,49 +176,34 @@ <h2 class="subtitle subtitle-overview">Overview</h2>
<h2 class="subtitle subtitle-tasks">Tasks</h2>
- <a title="Getting the Shared SPManager Instance" name="task_Getting the Shared SPManager Instance"></a>
- <h3 class="subsubtitle task-title">Getting the Shared SPManager Instance</h3>
-
- <ul class="task-list">
- <li>
- <span class="tooltip">
- <code><a href="#//api/name/sharedManager">+&nbsp;sharedManager</a></code>
- <span class="tooltip"><p>Returns the shared Spectttator manager object.</p></span>
- </span>
-
-
-</li>
- </ul>
-
-
<a title="Players" name="task_Players"></a>
<h3 class="subsubtitle task-title">Players</h3>
<ul class="task-list">
<li>
<span class="tooltip">
- <code><a href="#//api/name/playerInformationForUsername:runOnMainThread:withBlock:">&ndash;&nbsp;playerInformationForUsername:runOnMainThread:withBlock:</a></code>
+ <code><a href="#//api/name/playerInformationForUsername:runOnMainThread:withBlock:">+&nbsp;playerInformationForUsername:runOnMainThread:withBlock:</a></code>
<span class="tooltip"><p>Retrieves profile details for a player specified by <em>username</em>.</p></span>
</span>
</li><li>
<span class="tooltip">
- <code><a href="#//api/name/playerFollowers:withPagination:runOnMainThread:withBlock:">&ndash;&nbsp;playerFollowers:withPagination:runOnMainThread:withBlock:</a></code>
+ <code><a href="#//api/name/playerFollowers:withPagination:runOnMainThread:withBlock:">+&nbsp;playerFollowers:withPagination:runOnMainThread:withBlock:</a></code>
<span class="tooltip"><p>Retrieves the list of followers for a player specified by <em>username</em>.</p></span>
</span>
</li><li>
<span class="tooltip">
- <code><a href="#//api/name/playerFollowing:withPagination:runOnMainThread:withBlock:">&ndash;&nbsp;playerFollowing:withPagination:runOnMainThread:withBlock:</a></code>
+ <code><a href="#//api/name/playerFollowing:withPagination:runOnMainThread:withBlock:">+&nbsp;playerFollowing:withPagination:runOnMainThread:withBlock:</a></code>
<span class="tooltip"><p>Retrieves the list of followers for a player specified by <em>username</em>.</p></span>
</span>
</li><li>
<span class="tooltip">
- <code><a href="#//api/name/playerDraftees:withPagination:runOnMainThread:withBlock:">&ndash;&nbsp;playerDraftees:withPagination:runOnMainThread:withBlock:</a></code>
+ <code><a href="#//api/name/playerDraftees:withPagination:runOnMainThread:withBlock:">+&nbsp;playerDraftees:withPagination:runOnMainThread:withBlock:</a></code>
<span class="tooltip"><p>Retrieves the list of players drafted by the player specified by <em>username</em>.</p></span>
</span>
@@ -246,35 +218,35 @@ <h3 class="subsubtitle task-title">Shots</h3>
<ul class="task-list">
<li>
<span class="tooltip">
- <code><a href="#//api/name/shotInformationForIdentifier:runOnMainThread:withBlock:">&ndash;&nbsp;shotInformationForIdentifier:runOnMainThread:withBlock:</a></code>
+ <code><a href="#//api/name/shotInformationForIdentifier:runOnMainThread:withBlock:">+&nbsp;shotInformationForIdentifier:runOnMainThread:withBlock:</a></code>
<span class="tooltip"><p>Retrieves details for a shot specified by <em>id</em>.</p></span>
</span>
</li><li>
<span class="tooltip">
- <code><a href="#//api/name/shotsForList:withPagination:runOnMainThread:withBlock:">&ndash;&nbsp;shotsForList:withPagination:runOnMainThread:withBlock:</a></code>
+ <code><a href="#//api/name/shotsForList:withPagination:runOnMainThread:withBlock:">+&nbsp;shotsForList:withPagination:runOnMainThread:withBlock:</a></code>
<span class="tooltip"><p>Retrieves the specified list of shots.</p></span>
</span>
</li><li>
<span class="tooltip">
- <code><a href="#//api/name/shotsForPlayer:withPagination:runOnMainThread:withBlock:">&ndash;&nbsp;shotsForPlayer:withPagination:runOnMainThread:withBlock:</a></code>
+ <code><a href="#//api/name/shotsForPlayer:withPagination:runOnMainThread:withBlock:">+&nbsp;shotsForPlayer:withPagination:runOnMainThread:withBlock:</a></code>
<span class="tooltip"><p>Retrieves the most recent shots for the player specified by <em>username</em>.</p></span>
</span>
</li><li>
<span class="tooltip">
- <code><a href="#//api/name/shotsForPlayerFollowing:withPagination:runOnMainThread:withBlock:">&ndash;&nbsp;shotsForPlayerFollowing:withPagination:runOnMainThread:withBlock:</a></code>
+ <code><a href="#//api/name/shotsForPlayerFollowing:withPagination:runOnMainThread:withBlock:">+&nbsp;shotsForPlayerFollowing:withPagination:runOnMainThread:withBlock:</a></code>
<span class="tooltip"><p>Retrieves the most recent shots published by those the player specified by <em>username</em> is following.</p></span>
</span>
</li><li>
<span class="tooltip">
- <code><a href="#//api/name/shotsForPlayerLikes:withPagination:runOnMainThread:withBlock:">&ndash;&nbsp;shotsForPlayerLikes:withPagination:runOnMainThread:withBlock:</a></code>
+ <code><a href="#//api/name/shotsForPlayerLikes:withPagination:runOnMainThread:withBlock:">+&nbsp;shotsForPlayerLikes:withPagination:runOnMainThread:withBlock:</a></code>
<span class="tooltip"><p>Retrieves shots liked by the player specified by <em>username</em>.</p></span>
</span>
@@ -295,48 +267,6 @@ <h3 class="subsubtitle task-title">Shots</h3>
<h2 class="subtitle subtitle-methods">Class Methods</h2>
<div class="section-method">
- <a name="//api/name/sharedManager" title="sharedManager"></a>
- <h3 class="subsubtitle method-title">sharedManager</h3>
-
-
-
- <div class="method-subsection brief-description">
- <p>Returns the shared Spectttator manager object.</p>
- </div>
-
-
- <div class="method-subsection method-declaration"><code>+ (id)sharedManager</code></div>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <div class="method-subsection declared-in-section">
- <h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">SPManager.h</code><br />
- </div>
-
-
-</div>
-
- </div>
-
-
-
- <div class="section section-methods">
- <a title="Instance Methods" name="instance_methods"></a>
- <h2 class="subtitle subtitle-methods">Instance Methods</h2>
-
- <div class="section-method">
<a name="//api/name/playerDraftees:withPagination:runOnMainThread:withBlock:" title="playerDraftees:withPagination:runOnMainThread:withBlock:"></a>
<h3 class="subsubtitle method-title">playerDraftees:withPagination:runOnMainThread:withBlock:</h3>
@@ -347,7 +277,7 @@ <h3 class="subsubtitle method-title">playerDraftees:withPagination:runOnMainThre
</div>
- <div class="method-subsection method-declaration"><code>- (void)playerDraftees:(NSString *)<em>username</em> withPagination:(NSDictionary *)<em>pagination</em> runOnMainThread:(BOOL)<em>runOnMainThread</em> withBlock:(void ( ^ ) ( NSArray *, SPPagination *))<em>block</em></code></div>
+ <div class="method-subsection method-declaration"><code>+ (void)playerDraftees:(NSString *)<em>username</em> withPagination:(NSDictionary *)<em>pagination</em> runOnMainThread:(BOOL)<em>runOnMainThread</em> withBlock:(void ( ^ ) ( NSArray *, SPPagination *))<em>block</em></code></div>
<div class="method-subsection arguments-section parameters">
@@ -384,7 +314,10 @@ <h4 class="method-subtitle parameter-title">Parameters</h4>
-
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Retrieves the list of players drafted by the player specified by <em>username</em>.</p>
+ </div>
@@ -405,7 +338,7 @@ <h4 class="method-subtitle">See Also</h4>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">SPManager.h</code><br />
+ <code class="declared-in-ref">SPRequest.h</code><br />
</div>
@@ -422,7 +355,7 @@ <h3 class="subsubtitle method-title">playerFollowers:withPagination:runOnMainThr
</div>
- <div class="method-subsection method-declaration"><code>- (void)playerFollowers:(NSString *)<em>username</em> withPagination:(NSDictionary *)<em>pagination</em> runOnMainThread:(BOOL)<em>runOnMainThread</em> withBlock:(void ( ^ ) ( NSArray *, SPPagination *))<em>block</em></code></div>
+ <div class="method-subsection method-declaration"><code>+ (void)playerFollowers:(NSString *)<em>username</em> withPagination:(NSDictionary *)<em>pagination</em> runOnMainThread:(BOOL)<em>runOnMainThread</em> withBlock:(void ( ^ ) ( NSArray *, SPPagination *))<em>block</em></code></div>
<div class="method-subsection arguments-section parameters">
@@ -459,7 +392,10 @@ <h4 class="method-subtitle parameter-title">Parameters</h4>
-
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Retrieves the list of followers for a player specified by <em>username</em>.</p>
+ </div>
@@ -480,7 +416,7 @@ <h4 class="method-subtitle">See Also</h4>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">SPManager.h</code><br />
+ <code class="declared-in-ref">SPRequest.h</code><br />
</div>
@@ -497,7 +433,7 @@ <h3 class="subsubtitle method-title">playerFollowing:withPagination:runOnMainThr
</div>
- <div class="method-subsection method-declaration"><code>- (void)playerFollowing:(NSString *)<em>username</em> withPagination:(NSDictionary *)<em>pagination</em> runOnMainThread:(BOOL)<em>runOnMainThread</em> withBlock:(void ( ^ ) ( NSArray *, SPPagination *))<em>block</em></code></div>
+ <div class="method-subsection method-declaration"><code>+ (void)playerFollowing:(NSString *)<em>username</em> withPagination:(NSDictionary *)<em>pagination</em> runOnMainThread:(BOOL)<em>runOnMainThread</em> withBlock:(void ( ^ ) ( NSArray *, SPPagination *))<em>block</em></code></div>
<div class="method-subsection arguments-section parameters">
@@ -534,7 +470,10 @@ <h4 class="method-subtitle parameter-title">Parameters</h4>
-
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Retrieves the list of followers for a player specified by <em>username</em>.</p>
+ </div>
@@ -555,7 +494,7 @@ <h4 class="method-subtitle">See Also</h4>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">SPManager.h</code><br />
+ <code class="declared-in-ref">SPRequest.h</code><br />
</div>
@@ -572,7 +511,7 @@ <h3 class="subsubtitle method-title">playerInformationForUsername:runOnMainThrea
</div>
- <div class="method-subsection method-declaration"><code>- (void)playerInformationForUsername:(NSString *)<em>username</em> runOnMainThread:(BOOL)<em>runOnMainThread</em> withBlock:(void ( ^ ) ( SPPlayer *))<em>block</em></code></div>
+ <div class="method-subsection method-declaration"><code>+ (void)playerInformationForUsername:(NSString *)<em>username</em> runOnMainThread:(BOOL)<em>runOnMainThread</em> withBlock:(void ( ^ ) ( SPPlayer *))<em>block</em></code></div>
<div class="method-subsection arguments-section parameters">
@@ -601,7 +540,10 @@ <h4 class="method-subtitle parameter-title">Parameters</h4>
-
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Retrieves profile details for a player specified by <em>username</em>.</p>
+ </div>
@@ -620,7 +562,7 @@ <h4 class="method-subtitle">See Also</h4>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">SPManager.h</code><br />
+ <code class="declared-in-ref">SPRequest.h</code><br />
</div>
@@ -637,7 +579,7 @@ <h3 class="subsubtitle method-title">shotInformationForIdentifier:runOnMainThrea
</div>
- <div class="method-subsection method-declaration"><code>- (void)shotInformationForIdentifier:(NSUInteger)<em>identifier</em> runOnMainThread:(BOOL)<em>runOnMainThread</em> withBlock:(void ( ^ ) ( SPShot *))<em>block</em></code></div>
+ <div class="method-subsection method-declaration"><code>+ (void)shotInformationForIdentifier:(NSUInteger)<em>identifier</em> runOnMainThread:(BOOL)<em>runOnMainThread</em> withBlock:(void ( ^ ) ( SPShot *))<em>block</em></code></div>
<div class="method-subsection arguments-section parameters">
@@ -666,7 +608,10 @@ <h4 class="method-subtitle parameter-title">Parameters</h4>
-
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Retrieves details for a shot specified by <em>id</em>.</p>
+ </div>
@@ -685,7 +630,7 @@ <h4 class="method-subtitle">See Also</h4>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">SPManager.h</code><br />
+ <code class="declared-in-ref">SPRequest.h</code><br />
</div>
@@ -702,7 +647,7 @@ <h3 class="subsubtitle method-title">shotsForList:withPagination:runOnMainThread
</div>
- <div class="method-subsection method-declaration"><code>- (void)shotsForList:(NSString *)<em>list</em> withPagination:(NSDictionary *)<em>pagination</em> runOnMainThread:(BOOL)<em>runOnMainThread</em> withBlock:(void ( ^ ) ( NSArray *, SPPagination *))<em>block</em></code></div>
+ <div class="method-subsection method-declaration"><code>+ (void)shotsForList:(NSString *)<em>list</em> withPagination:(NSDictionary *)<em>pagination</em> runOnMainThread:(BOOL)<em>runOnMainThread</em> withBlock:(void ( ^ ) ( NSArray *, SPPagination *))<em>block</em></code></div>
<div class="method-subsection arguments-section parameters">
@@ -746,7 +691,10 @@ <h4 class="method-subtitle parameter-title">Parameters</h4>
-
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Retrieves the specified list of shots.</p>
+ </div>
@@ -767,7 +715,7 @@ <h4 class="method-subtitle">See Also</h4>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">SPManager.h</code><br />
+ <code class="declared-in-ref">SPRequest.h</code><br />
</div>
@@ -784,7 +732,7 @@ <h3 class="subsubtitle method-title">shotsForPlayer:withPagination:runOnMainThre
</div>
- <div class="method-subsection method-declaration"><code>- (void)shotsForPlayer:(NSString *)<em>username</em> withPagination:(NSDictionary *)<em>pagination</em> runOnMainThread:(BOOL)<em>runOnMainThread</em> withBlock:(void ( ^ ) ( NSArray *, SPPagination *))<em>block</em></code></div>
+ <div class="method-subsection method-declaration"><code>+ (void)shotsForPlayer:(NSString *)<em>username</em> withPagination:(NSDictionary *)<em>pagination</em> runOnMainThread:(BOOL)<em>runOnMainThread</em> withBlock:(void ( ^ ) ( NSArray *, SPPagination *))<em>block</em></code></div>
<div class="method-subsection arguments-section parameters">
@@ -821,7 +769,10 @@ <h4 class="method-subtitle parameter-title">Parameters</h4>
-
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Retrieves the most recent shots for the player specified by <em>username</em>.</p>
+ </div>
@@ -842,7 +793,7 @@ <h4 class="method-subtitle">See Also</h4>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">SPManager.h</code><br />
+ <code class="declared-in-ref">SPRequest.h</code><br />
</div>
@@ -859,7 +810,7 @@ <h3 class="subsubtitle method-title">shotsForPlayerFollowing:withPagination:runO
</div>
- <div class="method-subsection method-declaration"><code>- (void)shotsForPlayerFollowing:(NSString *)<em>username</em> withPagination:(NSDictionary *)<em>pagination</em> runOnMainThread:(BOOL)<em>runOnMainThread</em> withBlock:(void ( ^ ) ( NSArray *, SPPagination *))<em>block</em></code></div>
+ <div class="method-subsection method-declaration"><code>+ (void)shotsForPlayerFollowing:(NSString *)<em>username</em> withPagination:(NSDictionary *)<em>pagination</em> runOnMainThread:(BOOL)<em>runOnMainThread</em> withBlock:(void ( ^ ) ( NSArray *, SPPagination *))<em>block</em></code></div>
<div class="method-subsection arguments-section parameters">
@@ -896,6 +847,10 @@ <h4 class="method-subtitle parameter-title">Parameters</h4>
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Retrieves the most recent shots published by those the player specified by <em>username</em> is following.</p>
+ </div>
@@ -916,7 +871,7 @@ <h4 class="method-subtitle">See Also</h4>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">SPManager.h</code><br />
+ <code class="declared-in-ref">SPRequest.h</code><br />
</div>
@@ -933,7 +888,7 @@ <h3 class="subsubtitle method-title">shotsForPlayerLikes:withPagination:runOnMai
</div>
- <div class="method-subsection method-declaration"><code>- (void)shotsForPlayerLikes:(NSString *)<em>username</em> withPagination:(NSDictionary *)<em>pagination</em> runOnMainThread:(BOOL)<em>runOnMainThread</em> withBlock:(void ( ^ ) ( NSArray *, SPPagination *))<em>block</em></code></div>
+ <div class="method-subsection method-declaration"><code>+ (void)shotsForPlayerLikes:(NSString *)<em>username</em> withPagination:(NSDictionary *)<em>pagination</em> runOnMainThread:(BOOL)<em>runOnMainThread</em> withBlock:(void ( ^ ) ( NSArray *, SPPagination *))<em>block</em></code></div>
<div class="method-subsection arguments-section parameters">
@@ -970,7 +925,10 @@ <h4 class="method-subtitle parameter-title">Parameters</h4>
-
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <p>Retrieves shots liked by the player specified by <em>username</em>.</p>
+ </div>
@@ -991,7 +949,7 @@ <h4 class="method-subtitle">See Also</h4>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
- <code class="declared-in-ref">SPManager.h</code><br />
+ <code class="declared-in-ref">SPRequest.h</code><br />
</div>
@@ -1000,6 +958,8 @@ <h4 class="method-subtitle">Declared In</h4>
</div>
+
+
</div>
<div class="main-navigation navigation-bottom">
<ul>
@@ -1010,7 +970,7 @@ <h4 class="method-subtitle">Declared In</h4>
<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>
View
4 Documentation/Classes/SPShot.html
@@ -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
@@ -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>
View
6 Documentation/hierarchy.html
@@ -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>
@@ -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>
View
6 Documentation/index.html
@@ -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>
@@ -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>
Please sign in to comment.
Something went wrong with that request. Please try again.