Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

Commit

Permalink
Updated SDK version to 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Streza committed Dec 6, 2012
1 parent 1fe8882 commit 245520d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions PocketSDK.podspec → PocketAPI.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "PocketAPI"
s.version = "1.0"
s.version = "1.0.1"
s.summary = "Objective-C SDK for authenticating and making API calls to the Pocket API."
s.description = <<-DESC
The Pocket SDK is the fastest way to add Pocket integration to any iOS or Mac
Expand All @@ -13,7 +13,7 @@ Pod::Spec.new do |s|
s.license = 'MIT'

s.authors = { "Steve Streza" => "steve@getpocket.com", "James Yopp" => "james@getpocket.com", "Nate Weiner" => "nate@getpocket.com" }
s.source = { :git => "https://github.com/Pocket/Pocket-ObjC-SDK.git", :tag => "sdk/1.0" }
s.source = { :git => "https://github.com/Pocket/Pocket-ObjC-SDK.git", :tag => "sdk/1.0.1" }

s.ios.deployment_target = '3.0'
s.osx.deployment_target = '10.6'
Expand Down
8 changes: 4 additions & 4 deletions README.html
Expand Up @@ -17,14 +17,14 @@ <h3 id="step1:downloadthepocketsdk">Step 1: Download the Pocket SDK</h3>

<p>You can download the SDK at: <a href="http://getpocket.com/api/v3/pocket-objc-sdk.zip">http://getpocket.com/api/v3/pocket-objc-sdk.zip</a></p>

<p>You can also watch/checkout the SDK from GitHub at: <a href="http://github.com/pocketco/Pocket-ObjC-SDK">http://github.com/pocketco/Pocket-ObjC-SDK</a></p>
<p>You can also watch/checkout the SDK from GitHub at: <a href="http://github.com/pocketco/Pocket-ObjC-SDK">http://github.com/pocketco/Pocket-ObjC-SDK</a>. If you use recommend adding the Pocket SDK as a git submodule of your project by running <code>git submodule add git://github.com/Pocket/Pocket-ObjC-SDK.git &lt;path&gt;</code> from the root directory of your repository, replacing the <code>&lt;path&gt;</code> with the path you'd like it installed to.</p>

<p>If you use <a href="http://cocoapods.org/">CocoaPods</a>, you can add the <code>PocketAPI</code> pod to your Podfile. Then run <code>pod install</code>, and the Pocket SDK will be available in your project. See the documentation on the CocoaPods website if you want to set up a new or existing project.</p>

<p>The project download includes the SDK and an example project.</p>

<h3 id="step2:addthepocketsdktoyourproject">Step 2: Add the Pocket SDK to your project</h3>

<p>(<strong>Images below</strong>)</p>

<ul>
<li>Open your existing project. </li>
<li>Drag the SDK folder from the example project into your Xcode project.</li>
Expand All @@ -44,7 +44,7 @@ <h3 id="step3:obtainaplatformconsumerkey">Step 3: Obtain a platform consumer key

<p>If you have not obtained a consumer key yet, you can register one at <a href="http://getpocket.com/api/signup">http://getpocket.com/api/signup</a></p>

<h3 id="step4:addthepocketurl-scheme">Step 4: Add the Pocket url-scheme</h3>
<h3 id="step4:addthepocketurl-scheme">Step 4: Add the Pocket URL scheme</h3>

<p>Once you have the consumer key for the platform you are supporting, the application must register a URL scheme to receive login callbacks. By default, this is &#8220;pocketapp&#8221; plus your application&#8217;s ID (which you can find at the beginning of the consumer key before the hyphen). So if your consumer key is 42-abcdef, your app ID is 42, and your URL scheme will be &#8220;pocketapp42&#8221;. </p>

Expand Down
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -11,14 +11,14 @@ The Pocket SDK is the fastest way to add Pocket integration to any iOS or Mac ap

You can download the SDK at: [http://getpocket.com/api/v3/pocket-objc-sdk.zip](http://getpocket.com/api/v3/pocket-objc-sdk.zip)

You can also watch/checkout the SDK from GitHub at: [http://github.com/pocketco/Pocket-ObjC-SDK](http://github.com/pocketco/Pocket-ObjC-SDK)
You can also watch/checkout the SDK from GitHub at: [http://github.com/pocketco/Pocket-ObjC-SDK](http://github.com/pocketco/Pocket-ObjC-SDK). If you use recommend adding the Pocket SDK as a git submodule of your project by running `git submodule add git://github.com/Pocket/Pocket-ObjC-SDK.git <path>` from the root directory of your repository, replacing the `<path>` with the path you'd like it installed to.

If you use [CocoaPods](http://cocoapods.org/), you can add the `PocketAPI` pod to your Podfile. Then run `pod install`, and the Pocket SDK will be available in your project. See the documentation on the CocoaPods website if you want to set up a new or existing project.

The project download includes the SDK and an example project.

###Step 2: Add the Pocket SDK to your project###

(**Images below**)

- Open your existing project.
- Drag the SDK folder from the example project into your Xcode project.
- Make sure the “Copy items into destination group’s folder (if needed)” checkbox is checked.
Expand All @@ -40,7 +40,7 @@ When you register your app with Pocket, it will provide you with a platform cons
If you have not obtained a consumer key yet, you can register one at [http://getpocket.com/api/signup](http://getpocket.com/api/signup)


###Step 4: Add the Pocket url-scheme###
###Step 4: Add the Pocket URL scheme###


Once you have the consumer key for the platform you are supporting, the application must register a URL scheme to receive login callbacks. By default, this is "pocketapp" plus your application's ID (which you can find at the beginning of the consumer key before the hyphen). So if your consumer key is 42-abcdef, your app ID is 42, and your URL scheme will be "pocketapp42".
Expand Down
2 changes: 1 addition & 1 deletion SDK/PocketAPI.m
Expand Up @@ -29,7 +29,7 @@
#import <sys/sysctl.h>
#import <CommonCrypto/CommonDigest.h>

#define POCKET_SDK_VERSION @"1.0"
#define POCKET_SDK_VERSION @"1.0.1"

static NSString *kPocketAPICurrentLoginKey = @"PocketAPICurrentLogin";

Expand Down

0 comments on commit 245520d

Please sign in to comment.