diff --git a/Example Project/Podfile b/Example Project/Podfile new file mode 100644 index 0000000..5c2af79 --- /dev/null +++ b/Example Project/Podfile @@ -0,0 +1,8 @@ +platform :ios, '7.0' + +target 'SampleApp' do + +pod 'YammerSDK', "~> 1.0" + +end + diff --git a/Example Project/Podfile.lock b/Example Project/Podfile.lock new file mode 100644 index 0000000..fb8fd8c --- /dev/null +++ b/Example Project/Podfile.lock @@ -0,0 +1,40 @@ +PODS: + - AFNetworking (2.5.3): + - AFNetworking/NSURLConnection (= 2.5.3) + - AFNetworking/NSURLSession (= 2.5.3) + - AFNetworking/Reachability (= 2.5.3) + - AFNetworking/Security (= 2.5.3) + - AFNetworking/Serialization (= 2.5.3) + - AFNetworking/UIKit (= 2.5.3) + - AFNetworking/NSURLConnection (2.5.3): + - AFNetworking/Reachability + - AFNetworking/Security + - AFNetworking/Serialization + - AFNetworking/NSURLSession (2.5.3): + - AFNetworking/Reachability + - AFNetworking/Security + - AFNetworking/Serialization + - AFNetworking/Reachability (2.5.3) + - AFNetworking/Security (2.5.3) + - AFNetworking/Serialization (2.5.3) + - AFNetworking/UIKit (2.5.3): + - AFNetworking/NSURLConnection + - AFNetworking/NSURLSession + - PDKeychainBindingsController (0.0.1) + - YammerSDK (1.0): + - AFNetworking (~> 2.0) + - PDKeychainBindingsController + +DEPENDENCIES: + - YammerSDK (from `../`) + +EXTERNAL SOURCES: + YammerSDK: + :path: "../" + +SPEC CHECKSUMS: + AFNetworking: e1d86c2a96bb5d2e7408da36149806706ee122fe + PDKeychainBindingsController: fa8cb3cf99f2ea9240d61066ed0549f34e2cec3c + YammerSDK: cb0dd14c060d47824049b88326d59277df6289b1 + +COCOAPODS: 0.37.0 diff --git a/SampleApp/Default-568h@2x.png b/Example Project/SampleApp/Default-568h@2x.png similarity index 100% rename from SampleApp/Default-568h@2x.png rename to Example Project/SampleApp/Default-568h@2x.png diff --git a/SampleApp/Default.png b/Example Project/SampleApp/Default.png similarity index 100% rename from SampleApp/Default.png rename to Example Project/SampleApp/Default.png diff --git a/SampleApp/Default@2x.png b/Example Project/SampleApp/Default@2x.png similarity index 100% rename from SampleApp/Default@2x.png rename to Example Project/SampleApp/Default@2x.png diff --git a/SampleApp/Resources/images/blue-button-bg.png b/Example Project/SampleApp/Resources/images/blue-button-bg.png similarity index 100% rename from SampleApp/Resources/images/blue-button-bg.png rename to Example Project/SampleApp/Resources/images/blue-button-bg.png diff --git a/SampleApp/Resources/images/yammer-tagline.png b/Example Project/SampleApp/Resources/images/yammer-tagline.png similarity index 100% rename from SampleApp/Resources/images/yammer-tagline.png rename to Example Project/SampleApp/Resources/images/yammer-tagline.png diff --git a/SampleApp/Resources/images/yammer-tagline@2x.png b/Example Project/SampleApp/Resources/images/yammer-tagline@2x.png similarity index 100% rename from SampleApp/Resources/images/yammer-tagline@2x.png rename to Example Project/SampleApp/Resources/images/yammer-tagline@2x.png diff --git a/SampleApp/YMAppDelegate.h b/Example Project/SampleApp/YMAppDelegate.h similarity index 100% rename from SampleApp/YMAppDelegate.h rename to Example Project/SampleApp/YMAppDelegate.h diff --git a/SampleApp/YMAppDelegate.m b/Example Project/SampleApp/YMAppDelegate.m similarity index 100% rename from SampleApp/YMAppDelegate.m rename to Example Project/SampleApp/YMAppDelegate.m diff --git a/SampleApp/YMSampleHomeViewController.h b/Example Project/SampleApp/YMSampleHomeViewController.h similarity index 100% rename from SampleApp/YMSampleHomeViewController.h rename to Example Project/SampleApp/YMSampleHomeViewController.h diff --git a/SampleApp/YMSampleHomeViewController.m b/Example Project/SampleApp/YMSampleHomeViewController.m similarity index 100% rename from SampleApp/YMSampleHomeViewController.m rename to Example Project/SampleApp/YMSampleHomeViewController.m diff --git a/SampleApp/en.lproj/HomeView~ipad.xib b/Example Project/SampleApp/en.lproj/HomeView~ipad.xib similarity index 83% rename from SampleApp/en.lproj/HomeView~ipad.xib rename to Example Project/SampleApp/en.lproj/HomeView~ipad.xib index 8ae5c41..a6068b3 100644 --- a/SampleApp/en.lproj/HomeView~ipad.xib +++ b/Example Project/SampleApp/en.lproj/HomeView~ipad.xib @@ -1,14 +1,14 @@ - 1552 - 12E55 - 3084 - 1187.39 - 626.00 + 2048 + 14D72i + 7702 + 1347.13 + 758.30 com.apple.InterfaceBuilder.IBCocoaTouchPlugin - 2083 + 7701 IBProxyObject @@ -61,32 +61,33 @@ {{299, 220}, {169, 44}} - + _NS:9 NO IBIPadFramework 0 0 1 - Log in (explicitly) + + 1 + MC4xOTYwNzg0MzE0IDAuMzA5ODAzOTIxNiAwLjUyMTU2ODYyNzUAA + 3 MQA - - 1 - MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA - + Log in (explicitly) 3 MC41AA 2 + 30 15 - - Helvetica-Bold + + HelveticaNeue 15 16 @@ -105,15 +106,12 @@ 0 1 0 - Delete AuthToken from KeyChain + - - 1 - MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA - + Delete AuthToken from KeyChain - + @@ -128,15 +126,12 @@ 0 0 1 - Attempt Yammer API Call + - - 1 - MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA - + Attempt Yammer API Call - + @@ -155,22 +150,20 @@ 0 0 1 - Clear + - - 1 - MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA - + Clear - + 282 - {{20, 71}, {729, 480}} + {{20, 71}, {729, 479.99999612149935}} + _NS:9 1 @@ -187,16 +180,17 @@ 1 + 0 14 - Helvetica + HelveticaNeue 14 16 - {{0, 433}, {769, 571}} + {{0, 433.00000445219541}, {769, 570.99999554780459}} @@ -226,14 +220,16 @@ 0 1 + 0 17 - - Helvetica + + HelveticaNeue 17 16 NO + YES @@ -241,6 +237,7 @@ {{165, 308}, {42, 21}} + _NS:9 NO YES @@ -255,8 +252,9 @@ 0 - + NO + YES {{0, 20}, {768, 1004}} @@ -273,6 +271,8 @@ IBUIScreenMetrics + IBIPadFramework + iPad Full Screen YES @@ -284,15 +284,13 @@ {1024, 768} - IBIPadFramework - iPad Full Screen 1 IBIPadFramework - + view @@ -468,64 +466,19 @@ 76 - - - - YMSampleHomeViewController - UIViewController - - id - id - id - id - - - - attemptYammerApiCall: - id - - - clearResults: - id - - - deleteToken: - id - - - login: - id - - - - UITextView - UILabel - - - - resultsTextView - UITextView - - - tokenExists - UILabel - - - - IBProjectSource - ./Classes/YMSampleHomeViewController.h - - - - + 0 IBIPadFramework + NO + + com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 + + YES 3 yammer-tagline.png {252, 78} - 2083 diff --git a/SampleApp/en.lproj/HomeView~iphone.xib b/Example Project/SampleApp/en.lproj/HomeView~iphone.xib similarity index 100% rename from SampleApp/en.lproj/HomeView~iphone.xib rename to Example Project/SampleApp/en.lproj/HomeView~iphone.xib diff --git a/SampleApp/en.lproj/InfoPlist.strings b/Example Project/SampleApp/en.lproj/InfoPlist.strings similarity index 100% rename from SampleApp/en.lproj/InfoPlist.strings rename to Example Project/SampleApp/en.lproj/InfoPlist.strings diff --git a/SampleApp/ios-oauth-demo-Info.plist b/Example Project/SampleApp/ios-oauth-demo-Info.plist similarity index 100% rename from SampleApp/ios-oauth-demo-Info.plist rename to Example Project/SampleApp/ios-oauth-demo-Info.plist diff --git a/SampleApp/ios-oauth-demo-Prefix.pch b/Example Project/SampleApp/ios-oauth-demo-Prefix.pch similarity index 100% rename from SampleApp/ios-oauth-demo-Prefix.pch rename to Example Project/SampleApp/ios-oauth-demo-Prefix.pch diff --git a/SampleApp/main.m b/Example Project/SampleApp/main.m similarity index 100% rename from SampleApp/main.m rename to Example Project/SampleApp/main.m diff --git a/ios-oauth-demo.xcodeproj/project.pbxproj b/Example Project/ios-oauth-demo.xcodeproj/project.pbxproj similarity index 77% rename from ios-oauth-demo.xcodeproj/project.pbxproj rename to Example Project/ios-oauth-demo.xcodeproj/project.pbxproj index 0ffe95b..252ba57 100644 --- a/ios-oauth-demo.xcodeproj/project.pbxproj +++ b/Example Project/ios-oauth-demo.xcodeproj/project.pbxproj @@ -7,32 +7,27 @@ objects = { /* Begin PBXBuildFile section */ - 4F0D17831788025E00DFB39D /* YMAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F0D17801788025E00DFB39D /* YMAppDelegate.m */; }; - 4F0D17841788025E00DFB39D /* YMSampleHomeViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F0D17821788025E00DFB39D /* YMSampleHomeViewController.m */; }; + 3DC963D11AF81B9B009D3BCC /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 4FFBD4C01777C17C00C2B71D /* main.m */; }; + 3DC963D21AF81BA8009D3BCC /* YMAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F0D17801788025E00DFB39D /* YMAppDelegate.m */; }; + 3DC963D31AF81BB2009D3BCC /* YMSampleHomeViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F0D17821788025E00DFB39D /* YMSampleHomeViewController.m */; }; 4F3614FC1777CD9E00238846 /* yammer-tagline.png in Resources */ = {isa = PBXBuildFile; fileRef = 4F3614FA1777CD9E00238846 /* yammer-tagline.png */; }; 4F3614FD1777CD9E00238846 /* yammer-tagline@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 4F3614FB1777CD9E00238846 /* yammer-tagline@2x.png */; }; 4FFBD4B51777C17C00C2B71D /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4FFBD4B41777C17C00C2B71D /* UIKit.framework */; }; 4FFBD4B71777C17C00C2B71D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4FFBD4B61777C17C00C2B71D /* Foundation.framework */; }; 4FFBD4B91777C17C00C2B71D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4FFBD4B81777C17C00C2B71D /* CoreGraphics.framework */; }; 4FFBD4BF1777C17C00C2B71D /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 4FFBD4BD1777C17C00C2B71D /* InfoPlist.strings */; }; - 4FFBD4C11777C17C00C2B71D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 4FFBD4C01777C17C00C2B71D /* main.m */; }; 4FFBD4C71777C17C00C2B71D /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = 4FFBD4C61777C17C00C2B71D /* Default.png */; }; 4FFBD4C91777C17C00C2B71D /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 4FFBD4C81777C17C00C2B71D /* Default@2x.png */; }; 4FFBD4CB1777C17C00C2B71D /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 4FFBD4CA1777C17C00C2B71D /* Default-568h@2x.png */; }; 4FFBD4D11777C17C00C2B71D /* HomeView~iphone.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4FFBD4CF1777C17C00C2B71D /* HomeView~iphone.xib */; }; 4FFBD4D41777C17C00C2B71D /* HomeView~ipad.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4FFBD4D21777C17C00C2B71D /* HomeView~ipad.xib */; }; 4FFBD4DF1777C58C00C2B71D /* blue-button-bg.png in Resources */ = {isa = PBXBuildFile; fileRef = 4FFBD4DC1777C58C00C2B71D /* blue-button-bg.png */; }; - 9CCFB081936EA0DA9EDBFFC4 /* YMHTTPClient.m in Sources */ = {isa = PBXBuildFile; fileRef = 9CCFBE6DF7361DE83880B64E /* YMHTTPClient.m */; }; + 8B335DDCD82CEA84CF5883F7 /* libPods-SampleApp.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 9C3ED2D3A2C559891AA1BB4B /* libPods-SampleApp.a */; }; 9CCFB45C2F0C51E6C7DB47F2 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9CCFB69376D1B5E258760FAB /* Security.framework */; }; - 9CCFB4E961BFF542081C85F7 /* README.md in Resources */ = {isa = PBXBuildFile; fileRef = 9CCFBA70BCABA8904C1D0CD2 /* README.md */; }; - 9CCFB817A56ED2D00E347966 /* YMLoginController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9CCFBAF8FE267919B95187E6 /* YMLoginController.m */; }; - 9CCFBEE5929599915B421AD2 /* YMConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = 9CCFBE5A605038CE6CA4AB3A /* YMConstants.m */; }; - B63C473017972775006415A2 /* NSURL+YMQueryParameters.m in Sources */ = {isa = PBXBuildFile; fileRef = B63C472F17972775006415A2 /* NSURL+YMQueryParameters.m */; }; - E32C07D3FAA64D6A8E076C69 /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C8663232EC98470FBB410025 /* libPods.a */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ - 04F07AE353B7491B6EE66771 /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.release.xcconfig; path = "Pods/Target Support Files/Pods/Pods.release.xcconfig"; sourceTree = ""; }; + 15542C73847CDD99F3339428 /* Pods-SampleApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SampleApp.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SampleApp/Pods-SampleApp.debug.xcconfig"; sourceTree = ""; }; 4F0D177F1788025E00DFB39D /* YMAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YMAppDelegate.h; sourceTree = ""; }; 4F0D17801788025E00DFB39D /* YMAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YMAppDelegate.m; sourceTree = ""; }; 4F0D17811788025E00DFB39D /* YMSampleHomeViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YMSampleHomeViewController.h; sourceTree = ""; }; @@ -53,18 +48,9 @@ 4FFBD4D01777C17C00C2B71D /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = "en.lproj/HomeView~iphone.xib"; sourceTree = ""; }; 4FFBD4D31777C17C00C2B71D /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = "en.lproj/HomeView~ipad.xib"; sourceTree = ""; }; 4FFBD4DC1777C58C00C2B71D /* blue-button-bg.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "blue-button-bg.png"; sourceTree = ""; }; - 6D7A16839373520DD3611D98 /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.debug.xcconfig; path = "Pods/Target Support Files/Pods/Pods.debug.xcconfig"; sourceTree = ""; }; - 9CCFB057A4A0796814C65E02 /* YMConstants.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YMConstants.h; sourceTree = ""; }; - 9CCFB342B66EA056FD84325B /* YMLoginController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YMLoginController.h; sourceTree = ""; }; + 9C3ED2D3A2C559891AA1BB4B /* libPods-SampleApp.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-SampleApp.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 9CCFB69376D1B5E258760FAB /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; }; - 9CCFB6D6E82658EE07F127E2 /* YMHTTPClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YMHTTPClient.h; sourceTree = ""; }; - 9CCFBA70BCABA8904C1D0CD2 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = file.md; path = README.md; sourceTree = SOURCE_ROOT; }; - 9CCFBAF8FE267919B95187E6 /* YMLoginController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YMLoginController.m; sourceTree = ""; }; - 9CCFBE5A605038CE6CA4AB3A /* YMConstants.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YMConstants.m; sourceTree = ""; }; - 9CCFBE6DF7361DE83880B64E /* YMHTTPClient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YMHTTPClient.m; sourceTree = ""; }; - B63C472E17972775006415A2 /* NSURL+YMQueryParameters.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSURL+YMQueryParameters.h"; sourceTree = ""; }; - B63C472F17972775006415A2 /* NSURL+YMQueryParameters.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSURL+YMQueryParameters.m"; sourceTree = ""; }; - C8663232EC98470FBB410025 /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; }; + AC7B5304393E3E817ABE70D3 /* Pods-SampleApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SampleApp.release.xcconfig"; path = "Pods/Target Support Files/Pods-SampleApp/Pods-SampleApp.release.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -76,18 +62,18 @@ 4FFBD4B71777C17C00C2B71D /* Foundation.framework in Frameworks */, 4FFBD4B91777C17C00C2B71D /* CoreGraphics.framework in Frameworks */, 9CCFB45C2F0C51E6C7DB47F2 /* Security.framework in Frameworks */, - E32C07D3FAA64D6A8E076C69 /* libPods.a in Frameworks */, + 8B335DDCD82CEA84CF5883F7 /* libPods-SampleApp.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 1122FD5B408CE698C57AEA25 /* Pods */ = { + 0F5208EA4A9D4107D8BBA29E /* Pods */ = { isa = PBXGroup; children = ( - 6D7A16839373520DD3611D98 /* Pods.debug.xcconfig */, - 04F07AE353B7491B6EE66771 /* Pods.release.xcconfig */, + 15542C73847CDD99F3339428 /* Pods-SampleApp.debug.xcconfig */, + AC7B5304393E3E817ABE70D3 /* Pods-SampleApp.release.xcconfig */, ); name = Pods; sourceTree = ""; @@ -95,13 +81,11 @@ 4FFBD4A81777C17C00C2B71D = { isa = PBXGroup; children = ( - 9CCFB593BBC8B7BA2B51F3B2 /* OAuthSDK */, 9CCFB4318BB6A2545FCCE84D /* SampleApp */, 4FFBD4BB1777C17C00C2B71D /* Supporting Files */, 4FFBD4B31777C17C00C2B71D /* Frameworks */, 4FFBD4B21777C17C00C2B71D /* Products */, - 9CCFBA70BCABA8904C1D0CD2 /* README.md */, - 1122FD5B408CE698C57AEA25 /* Pods */, + 0F5208EA4A9D4107D8BBA29E /* Pods */, ); sourceTree = ""; }; @@ -120,7 +104,7 @@ 4FFBD4B61777C17C00C2B71D /* Foundation.framework */, 4FFBD4B81777C17C00C2B71D /* CoreGraphics.framework */, 9CCFB69376D1B5E258760FAB /* Security.framework */, - C8663232EC98470FBB410025 /* libPods.a */, + 9C3ED2D3A2C559891AA1BB4B /* libPods-SampleApp.a */, ); name = Frameworks; sourceTree = ""; @@ -173,21 +157,6 @@ path = SampleApp; sourceTree = SOURCE_ROOT; }; - 9CCFB593BBC8B7BA2B51F3B2 /* OAuthSDK */ = { - isa = PBXGroup; - children = ( - 9CCFB342B66EA056FD84325B /* YMLoginController.h */, - 9CCFBAF8FE267919B95187E6 /* YMLoginController.m */, - 9CCFB057A4A0796814C65E02 /* YMConstants.h */, - 9CCFBE5A605038CE6CA4AB3A /* YMConstants.m */, - 9CCFB6D6E82658EE07F127E2 /* YMHTTPClient.h */, - 9CCFBE6DF7361DE83880B64E /* YMHTTPClient.m */, - B63C472E17972775006415A2 /* NSURL+YMQueryParameters.h */, - B63C472F17972775006415A2 /* NSURL+YMQueryParameters.m */, - ); - path = OAuthSDK; - sourceTree = ""; - }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -251,7 +220,6 @@ 4FFBD4DF1777C58C00C2B71D /* blue-button-bg.png in Resources */, 4F3614FC1777CD9E00238846 /* yammer-tagline.png in Resources */, 4F3614FD1777CD9E00238846 /* yammer-tagline@2x.png in Resources */, - 9CCFB4E961BFF542081C85F7 /* README.md in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -285,7 +253,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-resources.sh\"\n"; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SampleApp/Pods-SampleApp-resources.sh\"\n"; showEnvVarsInLog = 0; }; /* End PBXShellScriptBuildPhase section */ @@ -295,13 +263,9 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 4FFBD4C11777C17C00C2B71D /* main.m in Sources */, - 9CCFB817A56ED2D00E347966 /* YMLoginController.m in Sources */, - 9CCFBEE5929599915B421AD2 /* YMConstants.m in Sources */, - 9CCFB081936EA0DA9EDBFFC4 /* YMHTTPClient.m in Sources */, - 4F0D17831788025E00DFB39D /* YMAppDelegate.m in Sources */, - 4F0D17841788025E00DFB39D /* YMSampleHomeViewController.m in Sources */, - B63C473017972775006415A2 /* NSURL+YMQueryParameters.m in Sources */, + 3DC963D31AF81BB2009D3BCC /* YMSampleHomeViewController.m in Sources */, + 3DC963D21AF81BA8009D3BCC /* YMAppDelegate.m in Sources */, + 3DC963D11AF81B9B009D3BCC /* main.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -395,7 +359,7 @@ }; 4FFBD4D81777C17C00C2B71D /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 6D7A16839373520DD3611D98 /* Pods.debug.xcconfig */; + baseConfigurationReference = 15542C73847CDD99F3339428 /* Pods-SampleApp.debug.xcconfig */; buildSettings = { GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "SampleApp/ios-oauth-demo-Prefix.pch"; @@ -407,7 +371,7 @@ }; 4FFBD4D91777C17C00C2B71D /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 04F07AE353B7491B6EE66771 /* Pods.release.xcconfig */; + baseConfigurationReference = AC7B5304393E3E817ABE70D3 /* Pods-SampleApp.release.xcconfig */; buildSettings = { GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "SampleApp/ios-oauth-demo-Prefix.pch"; diff --git a/ios-oauth-demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Example Project/ios-oauth-demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from ios-oauth-demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to Example Project/ios-oauth-demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/Example Project/ios-oauth-demo.xcodeproj/project.xcworkspace/xcshareddata/ios-oauth-demo.xccheckout b/Example Project/ios-oauth-demo.xcodeproj/project.xcworkspace/xcshareddata/ios-oauth-demo.xccheckout new file mode 100644 index 0000000..7b5f74a --- /dev/null +++ b/Example Project/ios-oauth-demo.xcodeproj/project.xcworkspace/xcshareddata/ios-oauth-demo.xccheckout @@ -0,0 +1,41 @@ + + + + + IDESourceControlProjectFavoriteDictionaryKey + + IDESourceControlProjectIdentifier + 6E58BD9D-182E-4002-AA99-B2C19192F10D + IDESourceControlProjectName + ios-oauth-demo + IDESourceControlProjectOriginsDictionary + + 6E3846885BAE2A8534F4B9A71036E40BAA7CACDA + https://github.com/yammer/ios-oauth-demo.git + + IDESourceControlProjectPath + Example Project/ios-oauth-demo.xcodeproj + IDESourceControlProjectRelativeInstallPathDictionary + + 6E3846885BAE2A8534F4B9A71036E40BAA7CACDA + ../../.. + + IDESourceControlProjectURL + https://github.com/yammer/ios-oauth-demo.git + IDESourceControlProjectVersion + 111 + IDESourceControlProjectWCCIdentifier + 6E3846885BAE2A8534F4B9A71036E40BAA7CACDA + IDESourceControlProjectWCConfigurations + + + IDESourceControlRepositoryExtensionIdentifierKey + public.vcs.git + IDESourceControlWCCIdentifierKey + 6E3846885BAE2A8534F4B9A71036E40BAA7CACDA + IDESourceControlWCCName + ios-oauth-demo + + + + diff --git a/ios-oauth-demo.xcworkspace/contents.xcworkspacedata b/Example Project/ios-oauth-demo.xcworkspace/contents.xcworkspacedata similarity index 100% rename from ios-oauth-demo.xcworkspace/contents.xcworkspacedata rename to Example Project/ios-oauth-demo.xcworkspace/contents.xcworkspacedata diff --git a/Example Project/ios-oauth-demo.xcworkspace/xcshareddata/ios-oauth-demo.xccheckout b/Example Project/ios-oauth-demo.xcworkspace/xcshareddata/ios-oauth-demo.xccheckout new file mode 100644 index 0000000..312cf82 --- /dev/null +++ b/Example Project/ios-oauth-demo.xcworkspace/xcshareddata/ios-oauth-demo.xccheckout @@ -0,0 +1,41 @@ + + + + + IDESourceControlProjectFavoriteDictionaryKey + + IDESourceControlProjectIdentifier + 5E0C8F9A-6816-43A2-B3DF-25203540F64D + IDESourceControlProjectName + ios-oauth-demo + IDESourceControlProjectOriginsDictionary + + 6E3846885BAE2A8534F4B9A71036E40BAA7CACDA + https://github.com/yammer/ios-oauth-demo.git + + IDESourceControlProjectPath + Example Project/ios-oauth-demo.xcworkspace + IDESourceControlProjectRelativeInstallPathDictionary + + 6E3846885BAE2A8534F4B9A71036E40BAA7CACDA + ../.. + + IDESourceControlProjectURL + https://github.com/yammer/ios-oauth-demo.git + IDESourceControlProjectVersion + 111 + IDESourceControlProjectWCCIdentifier + 6E3846885BAE2A8534F4B9A71036E40BAA7CACDA + IDESourceControlProjectWCConfigurations + + + IDESourceControlRepositoryExtensionIdentifierKey + public.vcs.git + IDESourceControlWCCIdentifierKey + 6E3846885BAE2A8534F4B9A71036E40BAA7CACDA + IDESourceControlWCCName + ios-oauth-demo + + + + diff --git a/Podfile b/Podfile deleted file mode 100644 index 28b38bd..0000000 --- a/Podfile +++ /dev/null @@ -1,4 +0,0 @@ -platform :ios, '6.0' - -pod 'AFNetworking', '~> 2.0' -pod 'PDKeychainBindingsController' diff --git a/Podfile.lock b/Podfile.lock deleted file mode 100644 index 200ed01..0000000 --- a/Podfile.lock +++ /dev/null @@ -1,33 +0,0 @@ -PODS: - - AFNetworking (2.5.0): - - AFNetworking/NSURLConnection (= 2.5.0) - - AFNetworking/NSURLSession (= 2.5.0) - - AFNetworking/Reachability (= 2.5.0) - - AFNetworking/Security (= 2.5.0) - - AFNetworking/Serialization (= 2.5.0) - - AFNetworking/UIKit (= 2.5.0) - - AFNetworking/NSURLConnection (2.5.0): - - AFNetworking/Reachability - - AFNetworking/Security - - AFNetworking/Serialization - - AFNetworking/NSURLSession (2.5.0): - - AFNetworking/Reachability - - AFNetworking/Security - - AFNetworking/Serialization - - AFNetworking/Reachability (2.5.0) - - AFNetworking/Security (2.5.0) - - AFNetworking/Serialization (2.5.0) - - AFNetworking/UIKit (2.5.0): - - AFNetworking/NSURLConnection - - AFNetworking/NSURLSession - - PDKeychainBindingsController (0.0.1) - -DEPENDENCIES: - - AFNetworking (~> 2.0) - - PDKeychainBindingsController - -SPEC CHECKSUMS: - AFNetworking: 0f54cb5d16ce38c1b76948faffb8d5fb705021c7 - PDKeychainBindingsController: 529f006d0707646b2bf0c79d476acdda58a9a587 - -COCOAPODS: 0.35.0 diff --git a/YammerSDK.podspec b/YammerSDK.podspec new file mode 100644 index 0000000..bc6b948 --- /dev/null +++ b/YammerSDK.podspec @@ -0,0 +1,16 @@ +Pod::Spec.new do |s| + s.name = 'YammerSDK' + s.version = '1.0' + s.summary = 'YammerSDK' + s.author = { 'Yammer' => 'ios@yammer-inc.com' } + s.homepage = 'https://github.com/yammer/ios-oauth-demo' + s.license = { :type => 'Apache', :file => 'LICENSE' } + + s.source = { :git => 'https://github.com/yammer/ios-oauth-demo.git', :tag => s.version.to_s } + s.source_files = 'OAuthSDK/*.{h,m}' + s.requires_arc = true + s.ios.deployment_target = '7.0' + + s.dependency 'AFNetworking', '~> 2.0' + s.dependency 'PDKeychainBindingsController' +end