Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds "Save to Pocket" as an option in the UIActivityViewController
PocketAPIActivity taken from here Pocket/Pocket-ObjC-SDK#1
To get the functionality to work properly, you'll need to create two Pocket applications (one for the iPhone, one for the iPad) http://getpocket.com/developer/apps/
Modify the Constants.h file with the keys for each device. Additionally, inside the Info.plist file, you'll need to edit URL Types -> Item 0 -> URL Schemes -> Item 0 to be pocketappXXXX, where XXXX is the digits before the dash in your consumer keys
Ex:
The one thing this pull request is missing is some indicator about successfully saving a link or a link failing to being saved. Right now there are just NSLogs. I figured a stock UIAlertView wouldn't fit the style of the app and would be too intrusive. Any suggestions?