Skip to content

Commit

Permalink
Change readme and podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
Constantine Fry committed Jul 7, 2013
1 parent 6f66a24 commit 32d6dfd
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Foursquare-API-v2.podspec
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Pod::Spec.new do |s|
s.name = "Foursquare-API-v2"
s.version = "1.2.1"
s.version = "1.2.2"
s.summary = "Foursquare API v2 For iOS."
s.homepage = "https://github.com/Constantine-Fry/Foursquare-API-v2"
s.screenshots = "https://raw.github.com/Constantine-Fry/Foursquare-API-v2/master/img/photo%202.PNG"
s.license = 'MIT'
s.author = { "Constantine Fry" => "constantine.fry@gmail.com" }
s.source = { :git => "https://github.com/Constantine-Fry/Foursquare-API-v2.git", :tag => "1.2.1" }
s.source = { :git => "https://github.com/Constantine-Fry/Foursquare-API-v2.git", :tag => "1.2.2" }
s.platform = :ios, '5.0'
s.source_files = 'Classes', 'Foursquare2/**/*.{h,m}'
s.exclude_files = 'Classes/Exclude'
Expand Down
2 changes: 2 additions & 0 deletions Foursquare2-iOS/Foursquare2-iOS.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
4779884B16AC686700038756 /* poweredByFoursquare_gray@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "poweredByFoursquare_gray@2x.png"; sourceTree = "<group>"; };
4779884E16AC697200038756 /* FSWebLogin.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = FSWebLogin.xib; sourceTree = "<group>"; };
4779886316AC6E2900038756 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; lineEnding = 0; name = README.md; path = ../README.md; sourceTree = "<group>"; };
479EA375178A143400B2DD92 /* Foursquare-API-v2.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; name = "Foursquare-API-v2.podspec"; path = "../Foursquare-API-v2.podspec"; sourceTree = "<group>"; };
47ADFAC716C3C6D700891DCD /* FSConverter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FSConverter.h; sourceTree = "<group>"; };
47ADFAC816C3C6D700891DCD /* FSConverter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FSConverter.m; sourceTree = "<group>"; };
8D1107310486CEB800E47090 /* Foursquare_API-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "Foursquare_API-Info.plist"; plistStructureDefinitionIdentifier = "com.apple.xcode.plist.structure-definition.iphone.info-plist"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -123,6 +124,7 @@
29B97314FDCFA39411CA2CEA /* CustomTemplate */ = {
isa = PBXGroup;
children = (
479EA375178A143400B2DD92 /* Foursquare-API-v2.podspec */,
4779886316AC6E2900038756 /* README.md */,
4779881E16AC248800038756 /* Foursquare2 */,
080E96DDFE201D6D7F000001 /* Classes */,
Expand Down
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,17 @@
1. Create Your application here https://foursquare.com/developers/register
![](https://github.com/Constantine-Fry/Foursquare-API-v2/blob/master/img/site.png?raw=true)

2. You should modify Foursquare2.h
2. Setup Foursquare to use your credentials

1. Change FS2_OAUTH_KEY and FS2_OAUTH_SECRET
2. Change FS2_REDIRECT_URL. It should start with app://
3. Change FS2_API_VERSION to your current date, so you will use latest API/

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {

[Foursquare2 setupFoursquareWithKey:YOUR_KEY
secret:YOUR_SECRET
callbackURL:YOUR_CALLBACK_URL];
}


3. You need to make sure you set up the URL scheme in your info.plist properly

CFBundleURLTypes -> CFBundleURLName -> CFBundleURLSchemes -> {app_id}
Expand Down

0 comments on commit 32d6dfd

Please sign in to comment.