diff --git a/.gitignore b/.gitignore
index 8f30a7e..6013e3f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
Pods
+sdk-ios-tutorial/config.plist
diff --git a/sdk-ios-tutorial.xcodeproj/project.pbxproj b/sdk-ios-tutorial.xcodeproj/project.pbxproj
index 732870f..23be340 100644
--- a/sdk-ios-tutorial.xcodeproj/project.pbxproj
+++ b/sdk-ios-tutorial.xcodeproj/project.pbxproj
@@ -1,1102 +1,537 @@
-
-
-
-
- archiveVersion
- 1
- classes
-
- objectVersion
- 46
- objects
-
- 0B1D59999D734DC3B7B5DE77
-
- includeInIndex
- 1
- isa
- PBXFileReference
- lastKnownFileType
- text.xcconfig
- name
- Pods.xcconfig
- path
- Pods/Pods.xcconfig
- sourceTree
- <group>
-
- 0C57192D53674A6BAE34FB6F
-
- explicitFileType
- archive.ar
- includeInIndex
- 0
- isa
- PBXFileReference
- path
- libPods.a
- sourceTree
- BUILT_PRODUCTS_DIR
-
- 320F17E3D65B4942A6CBE921
-
- fileRef
- 0C57192D53674A6BAE34FB6F
- isa
- PBXBuildFile
-
- 4D73459122FE47DDBE1E04DD
-
- buildActionMask
- 2147483647
- files
-
- inputPaths
-
- isa
- PBXShellScriptBuildPhase
- name
- Check Pods Manifest.lock
- outputPaths
-
- runOnlyForDeploymentPostprocessing
- 0
- shellPath
- /bin/sh
- shellScript
- diff "${PODS_ROOT}/../Podfile.lock" "${PODS_ROOT}/Manifest.lock" > /dev/null
-if [[ $? != 0 ]] ; then
- cat << EOM
-error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
-EOM
- exit 1
-fi
-
- showEnvVarsInLog
- 0
-
- 71195A9C1958D04D0003497E
-
- children
-
- 71195ADD1958D1400003497E
- 71195AAE1958D04D0003497E
- 71195ACD1958D04E0003497E
- 71195AA71958D04D0003497E
- 71195AA61958D04D0003497E
- 0B1D59999D734DC3B7B5DE77
-
- isa
- PBXGroup
- sourceTree
- <group>
-
- 71195A9D1958D04D0003497E
-
- attributes
-
- CLASSPREFIX
- WS
- LastUpgradeCheck
- 0510
- ORGANIZATIONNAME
- OAuth.io
- TargetAttributes
-
- 71195AC51958D04D0003497E
-
- TestTargetID
- 71195AA41958D04D0003497E
-
-
-
- buildConfigurationList
- 71195AA01958D04D0003497E
- compatibilityVersion
- Xcode 3.2
- developmentRegion
- English
- hasScannedForEncodings
- 0
- isa
- PBXProject
- knownRegions
-
- en
- Base
-
- mainGroup
- 71195A9C1958D04D0003497E
- productRefGroup
- 71195AA61958D04D0003497E
- projectDirPath
-
- projectReferences
-
- projectRoot
-
- targets
-
- 71195AA41958D04D0003497E
- 71195AC51958D04D0003497E
-
-
- 71195AA01958D04D0003497E
-
- buildConfigurations
-
- 71195AD51958D04E0003497E
- 71195AD61958D04E0003497E
-
- defaultConfigurationIsVisible
- 0
- defaultConfigurationName
- Release
- isa
- XCConfigurationList
-
- 71195AA11958D04D0003497E
-
- buildActionMask
- 2147483647
- files
-
- 71195AB91958D04D0003497E
- 71195AB51958D04D0003497E
- 71195ABF1958D04D0003497E
-
- isa
- PBXSourcesBuildPhase
- runOnlyForDeploymentPostprocessing
- 0
-
- 71195AA21958D04D0003497E
-
- buildActionMask
- 2147483647
- files
-
- 71195AAB1958D04D0003497E
- 71195AAD1958D04D0003497E
- 71195AA91958D04D0003497E
- 320F17E3D65B4942A6CBE921
-
- isa
- PBXFrameworksBuildPhase
- runOnlyForDeploymentPostprocessing
- 0
-
- 71195AA31958D04D0003497E
-
- buildActionMask
- 2147483647
- files
-
- 71195AC11958D04D0003497E
- 71195AB31958D04D0003497E
- 71195ADE1958D1400003497E
- 71195ABC1958D04D0003497E
-
- isa
- PBXResourcesBuildPhase
- runOnlyForDeploymentPostprocessing
- 0
-
- 71195AA41958D04D0003497E
-
- buildConfigurationList
- 71195AD71958D04E0003497E
- buildPhases
-
- 4D73459122FE47DDBE1E04DD
- 71195AA11958D04D0003497E
- 71195AA21958D04D0003497E
- 71195AA31958D04D0003497E
- 8946BA9B458B4341AA437A54
-
- buildRules
-
- dependencies
-
- isa
- PBXNativeTarget
- name
- sdk-ios-tutorial
- productName
- sdk-ios-tutorial
- productReference
- 71195AA51958D04D0003497E
- productType
- com.apple.product-type.application
-
- 71195AA51958D04D0003497E
-
- explicitFileType
- wrapper.application
- includeInIndex
- 0
- isa
- PBXFileReference
- path
- sdk-ios-tutorial.app
- sourceTree
- BUILT_PRODUCTS_DIR
-
- 71195AA61958D04D0003497E
-
- children
-
- 71195AA51958D04D0003497E
- 71195AC61958D04D0003497E
-
- isa
- PBXGroup
- name
- Products
- sourceTree
- <group>
-
- 71195AA71958D04D0003497E
-
- children
-
- 71195AA81958D04D0003497E
- 71195AAA1958D04D0003497E
- 71195AAC1958D04D0003497E
- 71195AC71958D04D0003497E
- 0C57192D53674A6BAE34FB6F
-
- isa
- PBXGroup
- name
- Frameworks
- sourceTree
- <group>
-
- 71195AA81958D04D0003497E
-
- isa
- PBXFileReference
- lastKnownFileType
- wrapper.framework
- name
- Foundation.framework
- path
- System/Library/Frameworks/Foundation.framework
- sourceTree
- SDKROOT
-
- 71195AA91958D04D0003497E
-
- fileRef
- 71195AA81958D04D0003497E
- isa
- PBXBuildFile
-
- 71195AAA1958D04D0003497E
-
- isa
- PBXFileReference
- lastKnownFileType
- wrapper.framework
- name
- CoreGraphics.framework
- path
- System/Library/Frameworks/CoreGraphics.framework
- sourceTree
- SDKROOT
-
- 71195AAB1958D04D0003497E
-
- fileRef
- 71195AAA1958D04D0003497E
- isa
- PBXBuildFile
-
- 71195AAC1958D04D0003497E
-
- isa
- PBXFileReference
- lastKnownFileType
- wrapper.framework
- name
- UIKit.framework
- path
- System/Library/Frameworks/UIKit.framework
- sourceTree
- SDKROOT
-
- 71195AAD1958D04D0003497E
-
- fileRef
- 71195AAC1958D04D0003497E
- isa
- PBXBuildFile
-
- 71195AAE1958D04D0003497E
-
- children
-
- 71195AB71958D04D0003497E
- 71195AB81958D04D0003497E
- 71195ABA1958D04D0003497E
- 71195ABD1958D04D0003497E
- 71195ABE1958D04D0003497E
- 71195AC01958D04D0003497E
- 71195AAF1958D04D0003497E
-
- isa
- PBXGroup
- path
- sdk-ios-tutorial
- sourceTree
- <group>
-
- 71195AAF1958D04D0003497E
-
- children
-
- 71195AB01958D04D0003497E
- 71195AB11958D04D0003497E
- 71195AB41958D04D0003497E
- 71195AB61958D04D0003497E
-
- isa
- PBXGroup
- name
- Supporting Files
- sourceTree
- <group>
-
- 71195AB01958D04D0003497E
-
- isa
- PBXFileReference
- lastKnownFileType
- text.plist.xml
- path
- sdk-ios-tutorial-Info.plist
- sourceTree
- <group>
-
- 71195AB11958D04D0003497E
-
- children
-
- 71195AB21958D04D0003497E
-
- isa
- PBXVariantGroup
- name
- InfoPlist.strings
- sourceTree
- <group>
-
- 71195AB21958D04D0003497E
-
- isa
- PBXFileReference
- lastKnownFileType
- text.plist.strings
- name
- en
- path
- en.lproj/InfoPlist.strings
- sourceTree
- <group>
-
- 71195AB31958D04D0003497E
-
- fileRef
- 71195AB11958D04D0003497E
- isa
- PBXBuildFile
-
- 71195AB41958D04D0003497E
-
- isa
- PBXFileReference
- lastKnownFileType
- sourcecode.c.objc
- path
- main.m
- sourceTree
- <group>
-
- 71195AB51958D04D0003497E
-
- fileRef
- 71195AB41958D04D0003497E
- isa
- PBXBuildFile
-
- 71195AB61958D04D0003497E
-
- isa
- PBXFileReference
- lastKnownFileType
- sourcecode.c.h
- path
- sdk-ios-tutorial-Prefix.pch
- sourceTree
- <group>
-
- 71195AB71958D04D0003497E
-
- isa
- PBXFileReference
- lastKnownFileType
- sourcecode.c.h
- path
- WSAppDelegate.h
- sourceTree
- <group>
-
- 71195AB81958D04D0003497E
-
- isa
- PBXFileReference
- lastKnownFileType
- sourcecode.c.objc
- path
- WSAppDelegate.m
- sourceTree
- <group>
-
- 71195AB91958D04D0003497E
-
- fileRef
- 71195AB81958D04D0003497E
- isa
- PBXBuildFile
-
- 71195ABA1958D04D0003497E
-
- children
-
- 71195ABB1958D04D0003497E
-
- isa
- PBXVariantGroup
- name
- Main.storyboard
- sourceTree
- <group>
-
- 71195ABB1958D04D0003497E
-
- isa
- PBXFileReference
- lastKnownFileType
- file.storyboard
- name
- Base
- path
- Base.lproj/Main.storyboard
- sourceTree
- <group>
-
- 71195ABC1958D04D0003497E
-
- fileRef
- 71195ABA1958D04D0003497E
- isa
- PBXBuildFile
-
- 71195ABD1958D04D0003497E
-
- isa
- PBXFileReference
- lastKnownFileType
- sourcecode.c.h
- path
- WSViewController.h
- sourceTree
- <group>
-
- 71195ABE1958D04D0003497E
-
- isa
- PBXFileReference
- lastKnownFileType
- sourcecode.c.objc
- path
- WSViewController.m
- sourceTree
- <group>
-
- 71195ABF1958D04D0003497E
-
- fileRef
- 71195ABE1958D04D0003497E
- isa
- PBXBuildFile
-
- 71195AC01958D04D0003497E
-
- isa
- PBXFileReference
- lastKnownFileType
- folder.assetcatalog
- path
- Images.xcassets
- sourceTree
- <group>
-
- 71195AC11958D04D0003497E
-
- fileRef
- 71195AC01958D04D0003497E
- isa
- PBXBuildFile
-
- 71195AC21958D04D0003497E
-
- buildActionMask
- 2147483647
- files
-
- 71195AD41958D04E0003497E
-
- isa
- PBXSourcesBuildPhase
- runOnlyForDeploymentPostprocessing
- 0
-
- 71195AC31958D04D0003497E
-
- buildActionMask
- 2147483647
- files
-
- 71195AC81958D04D0003497E
- 71195ACA1958D04E0003497E
- 71195AC91958D04E0003497E
-
- isa
- PBXFrameworksBuildPhase
- runOnlyForDeploymentPostprocessing
- 0
-
- 71195AC41958D04D0003497E
-
- buildActionMask
- 2147483647
- files
-
- 71195AD21958D04E0003497E
-
- isa
- PBXResourcesBuildPhase
- runOnlyForDeploymentPostprocessing
- 0
-
- 71195AC51958D04D0003497E
-
- buildConfigurationList
- 71195ADA1958D04E0003497E
- buildPhases
-
- 71195AC21958D04D0003497E
- 71195AC31958D04D0003497E
- 71195AC41958D04D0003497E
-
- buildRules
-
- dependencies
-
- 71195ACC1958D04E0003497E
-
- isa
- PBXNativeTarget
- name
- sdk-ios-tutorialTests
- productName
- sdk-ios-tutorialTests
- productReference
- 71195AC61958D04D0003497E
- productType
- com.apple.product-type.bundle.unit-test
-
- 71195AC61958D04D0003497E
-
- explicitFileType
- wrapper.cfbundle
- includeInIndex
- 0
- isa
- PBXFileReference
- path
- sdk-ios-tutorialTests.xctest
- sourceTree
- BUILT_PRODUCTS_DIR
-
- 71195AC71958D04D0003497E
-
- isa
- PBXFileReference
- lastKnownFileType
- wrapper.framework
- name
- XCTest.framework
- path
- Library/Frameworks/XCTest.framework
- sourceTree
- DEVELOPER_DIR
-
- 71195AC81958D04D0003497E
-
- fileRef
- 71195AC71958D04D0003497E
- isa
- PBXBuildFile
-
- 71195AC91958D04E0003497E
-
- fileRef
- 71195AA81958D04D0003497E
- isa
- PBXBuildFile
-
- 71195ACA1958D04E0003497E
-
- fileRef
- 71195AAC1958D04D0003497E
- isa
- PBXBuildFile
-
- 71195ACB1958D04E0003497E
-
- containerPortal
- 71195A9D1958D04D0003497E
- isa
- PBXContainerItemProxy
- proxyType
- 1
- remoteGlobalIDString
- 71195AA41958D04D0003497E
- remoteInfo
- sdk-ios-tutorial
-
- 71195ACC1958D04E0003497E
-
- isa
- PBXTargetDependency
- target
- 71195AA41958D04D0003497E
- targetProxy
- 71195ACB1958D04E0003497E
-
- 71195ACD1958D04E0003497E
-
- children
-
- 71195AD31958D04E0003497E
- 71195ACE1958D04E0003497E
-
- isa
- PBXGroup
- path
- sdk-ios-tutorialTests
- sourceTree
- <group>
-
- 71195ACE1958D04E0003497E
-
- children
-
- 71195ACF1958D04E0003497E
- 71195AD01958D04E0003497E
-
- isa
- PBXGroup
- name
- Supporting Files
- sourceTree
- <group>
-
- 71195ACF1958D04E0003497E
-
- isa
- PBXFileReference
- lastKnownFileType
- text.plist.xml
- path
- sdk-ios-tutorialTests-Info.plist
- sourceTree
- <group>
-
- 71195AD01958D04E0003497E
-
- children
-
- 71195AD11958D04E0003497E
-
- isa
- PBXVariantGroup
- name
- InfoPlist.strings
- sourceTree
- <group>
-
- 71195AD11958D04E0003497E
-
- isa
- PBXFileReference
- lastKnownFileType
- text.plist.strings
- name
- en
- path
- en.lproj/InfoPlist.strings
- sourceTree
- <group>
-
- 71195AD21958D04E0003497E
-
- fileRef
- 71195AD01958D04E0003497E
- isa
- PBXBuildFile
-
- 71195AD31958D04E0003497E
-
- isa
- PBXFileReference
- lastKnownFileType
- sourcecode.c.objc
- path
- sdk_ios_tutorialTests.m
- sourceTree
- <group>
-
- 71195AD41958D04E0003497E
-
- fileRef
- 71195AD31958D04E0003497E
- isa
- PBXBuildFile
-
- 71195AD51958D04E0003497E
-
- buildSettings
-
- ALWAYS_SEARCH_USER_PATHS
- NO
- CLANG_CXX_LANGUAGE_STANDARD
- gnu++0x
- CLANG_CXX_LIBRARY
- libc++
- CLANG_ENABLE_MODULES
- YES
- CLANG_ENABLE_OBJC_ARC
- YES
- CLANG_WARN_BOOL_CONVERSION
- YES
- CLANG_WARN_CONSTANT_CONVERSION
- YES
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE
- YES_ERROR
- CLANG_WARN_EMPTY_BODY
- YES
- CLANG_WARN_ENUM_CONVERSION
- YES
- CLANG_WARN_INT_CONVERSION
- YES
- CLANG_WARN_OBJC_ROOT_CLASS
- YES_ERROR
- CLANG_WARN__DUPLICATE_METHOD_MATCH
- YES
- CODE_SIGN_IDENTITY[sdk=iphoneos*]
- iPhone Developer
- COPY_PHASE_STRIP
- NO
- GCC_C_LANGUAGE_STANDARD
- gnu99
- GCC_DYNAMIC_NO_PIC
- NO
- GCC_OPTIMIZATION_LEVEL
- 0
- GCC_PREPROCESSOR_DEFINITIONS
-
- DEBUG=1
- $(inherited)
-
- GCC_SYMBOLS_PRIVATE_EXTERN
- NO
- GCC_WARN_64_TO_32_BIT_CONVERSION
- YES
- GCC_WARN_ABOUT_RETURN_TYPE
- YES_ERROR
- GCC_WARN_UNDECLARED_SELECTOR
- YES
- GCC_WARN_UNINITIALIZED_AUTOS
- YES_AGGRESSIVE
- GCC_WARN_UNUSED_FUNCTION
- YES
- GCC_WARN_UNUSED_VARIABLE
- YES
- IPHONEOS_DEPLOYMENT_TARGET
- 7.1
- ONLY_ACTIVE_ARCH
- YES
- SDKROOT
- iphoneos
-
- isa
- XCBuildConfiguration
- name
- Debug
-
- 71195AD61958D04E0003497E
-
- buildSettings
-
- ALWAYS_SEARCH_USER_PATHS
- NO
- CLANG_CXX_LANGUAGE_STANDARD
- gnu++0x
- CLANG_CXX_LIBRARY
- libc++
- CLANG_ENABLE_MODULES
- YES
- CLANG_ENABLE_OBJC_ARC
- YES
- CLANG_WARN_BOOL_CONVERSION
- YES
- CLANG_WARN_CONSTANT_CONVERSION
- YES
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE
- YES_ERROR
- CLANG_WARN_EMPTY_BODY
- YES
- CLANG_WARN_ENUM_CONVERSION
- YES
- CLANG_WARN_INT_CONVERSION
- YES
- CLANG_WARN_OBJC_ROOT_CLASS
- YES_ERROR
- CLANG_WARN__DUPLICATE_METHOD_MATCH
- YES
- CODE_SIGN_IDENTITY[sdk=iphoneos*]
- iPhone Developer
- COPY_PHASE_STRIP
- YES
- ENABLE_NS_ASSERTIONS
- NO
- GCC_C_LANGUAGE_STANDARD
- gnu99
- GCC_WARN_64_TO_32_BIT_CONVERSION
- YES
- GCC_WARN_ABOUT_RETURN_TYPE
- YES_ERROR
- GCC_WARN_UNDECLARED_SELECTOR
- YES
- GCC_WARN_UNINITIALIZED_AUTOS
- YES_AGGRESSIVE
- GCC_WARN_UNUSED_FUNCTION
- YES
- GCC_WARN_UNUSED_VARIABLE
- YES
- IPHONEOS_DEPLOYMENT_TARGET
- 7.1
- SDKROOT
- iphoneos
- VALIDATE_PRODUCT
- YES
-
- isa
- XCBuildConfiguration
- name
- Release
-
- 71195AD71958D04E0003497E
-
- buildConfigurations
-
- 71195AD81958D04E0003497E
- 71195AD91958D04E0003497E
-
- defaultConfigurationIsVisible
- 0
- isa
- XCConfigurationList
-
- 71195AD81958D04E0003497E
-
- baseConfigurationReference
- 0B1D59999D734DC3B7B5DE77
- buildSettings
-
- ASSETCATALOG_COMPILER_APPICON_NAME
- AppIcon
- ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME
- LaunchImage
- GCC_PRECOMPILE_PREFIX_HEADER
- YES
- GCC_PREFIX_HEADER
- sdk-ios-tutorial/sdk-ios-tutorial-Prefix.pch
- INFOPLIST_FILE
- sdk-ios-tutorial/sdk-ios-tutorial-Info.plist
- PRODUCT_NAME
- $(TARGET_NAME)
- WRAPPER_EXTENSION
- app
-
- isa
- XCBuildConfiguration
- name
- Debug
-
- 71195AD91958D04E0003497E
-
- baseConfigurationReference
- 0B1D59999D734DC3B7B5DE77
- buildSettings
-
- ASSETCATALOG_COMPILER_APPICON_NAME
- AppIcon
- ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME
- LaunchImage
- GCC_PRECOMPILE_PREFIX_HEADER
- YES
- GCC_PREFIX_HEADER
- sdk-ios-tutorial/sdk-ios-tutorial-Prefix.pch
- INFOPLIST_FILE
- sdk-ios-tutorial/sdk-ios-tutorial-Info.plist
- PRODUCT_NAME
- $(TARGET_NAME)
- WRAPPER_EXTENSION
- app
-
- isa
- XCBuildConfiguration
- name
- Release
-
- 71195ADA1958D04E0003497E
-
- buildConfigurations
-
- 71195ADB1958D04E0003497E
- 71195ADC1958D04E0003497E
-
- defaultConfigurationIsVisible
- 0
- isa
- XCConfigurationList
-
- 71195ADB1958D04E0003497E
-
- buildSettings
-
- BUNDLE_LOADER
- $(BUILT_PRODUCTS_DIR)/sdk-ios-tutorial.app/sdk-ios-tutorial
- FRAMEWORK_SEARCH_PATHS
-
- $(SDKROOT)/Developer/Library/Frameworks
- $(inherited)
- $(DEVELOPER_FRAMEWORKS_DIR)
-
- GCC_PRECOMPILE_PREFIX_HEADER
- YES
- GCC_PREFIX_HEADER
- sdk-ios-tutorial/sdk-ios-tutorial-Prefix.pch
- GCC_PREPROCESSOR_DEFINITIONS
-
- DEBUG=1
- $(inherited)
-
- INFOPLIST_FILE
- sdk-ios-tutorialTests/sdk-ios-tutorialTests-Info.plist
- PRODUCT_NAME
- $(TARGET_NAME)
- TEST_HOST
- $(BUNDLE_LOADER)
- WRAPPER_EXTENSION
- xctest
-
- isa
- XCBuildConfiguration
- name
- Debug
-
- 71195ADC1958D04E0003497E
-
- buildSettings
-
- BUNDLE_LOADER
- $(BUILT_PRODUCTS_DIR)/sdk-ios-tutorial.app/sdk-ios-tutorial
- FRAMEWORK_SEARCH_PATHS
-
- $(SDKROOT)/Developer/Library/Frameworks
- $(inherited)
- $(DEVELOPER_FRAMEWORKS_DIR)
-
- GCC_PRECOMPILE_PREFIX_HEADER
- YES
- GCC_PREFIX_HEADER
- sdk-ios-tutorial/sdk-ios-tutorial-Prefix.pch
- INFOPLIST_FILE
- sdk-ios-tutorialTests/sdk-ios-tutorialTests-Info.plist
- PRODUCT_NAME
- $(TARGET_NAME)
- TEST_HOST
- $(BUNDLE_LOADER)
- WRAPPER_EXTENSION
- xctest
-
- isa
- XCBuildConfiguration
- name
- Release
-
- 71195ADD1958D1400003497E
-
- fileEncoding
- 4
- isa
- PBXFileReference
- lastKnownFileType
- text
- path
- Podfile
- sourceTree
- <group>
-
- 71195ADE1958D1400003497E
-
- fileRef
- 71195ADD1958D1400003497E
- isa
- PBXBuildFile
-
- 8946BA9B458B4341AA437A54
-
- buildActionMask
- 2147483647
- files
-
- inputPaths
-
- isa
- PBXShellScriptBuildPhase
- name
- Copy Pods Resources
- outputPaths
-
- runOnlyForDeploymentPostprocessing
- 0
- shellPath
- /bin/sh
- shellScript
- "${SRCROOT}/Pods/Pods-resources.sh"
-
- showEnvVarsInLog
- 0
-
-
- rootObject
- 71195A9D1958D04D0003497E
-
-
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 320F17E3D65B4942A6CBE921 /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 0C57192D53674A6BAE34FB6F /* libPods.a */; };
+ 71195AA91958D04D0003497E /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 71195AA81958D04D0003497E /* Foundation.framework */; };
+ 71195AAB1958D04D0003497E /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 71195AAA1958D04D0003497E /* CoreGraphics.framework */; };
+ 71195AAD1958D04D0003497E /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 71195AAC1958D04D0003497E /* UIKit.framework */; };
+ 71195AB31958D04D0003497E /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 71195AB11958D04D0003497E /* InfoPlist.strings */; };
+ 71195AB51958D04D0003497E /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 71195AB41958D04D0003497E /* main.m */; };
+ 71195AB91958D04D0003497E /* WSAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 71195AB81958D04D0003497E /* WSAppDelegate.m */; };
+ 71195ABC1958D04D0003497E /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 71195ABA1958D04D0003497E /* Main.storyboard */; };
+ 71195ABF1958D04D0003497E /* WSViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 71195ABE1958D04D0003497E /* WSViewController.m */; };
+ 71195AC11958D04D0003497E /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 71195AC01958D04D0003497E /* Images.xcassets */; };
+ 71195AC81958D04D0003497E /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 71195AC71958D04D0003497E /* XCTest.framework */; };
+ 71195AC91958D04E0003497E /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 71195AA81958D04D0003497E /* Foundation.framework */; };
+ 71195ACA1958D04E0003497E /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 71195AAC1958D04D0003497E /* UIKit.framework */; };
+ 71195AD21958D04E0003497E /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 71195AD01958D04E0003497E /* InfoPlist.strings */; };
+ 71195AD41958D04E0003497E /* sdk_ios_tutorialTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 71195AD31958D04E0003497E /* sdk_ios_tutorialTests.m */; };
+ 71195ADE1958D1400003497E /* Podfile in Resources */ = {isa = PBXBuildFile; fileRef = 71195ADD1958D1400003497E /* Podfile */; };
+ 71195AE11958D3FD0003497E /* oauthio-logo.png in Resources */ = {isa = PBXBuildFile; fileRef = 71195AE01958D3FD0003497E /* oauthio-logo.png */; };
+ 71195AE319597B4B0003497E /* config.plist in Resources */ = {isa = PBXBuildFile; fileRef = 71195AE219597B4B0003497E /* config.plist */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXContainerItemProxy section */
+ 71195ACB1958D04E0003497E /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = 71195A9D1958D04D0003497E /* Project object */;
+ proxyType = 1;
+ remoteGlobalIDString = 71195AA41958D04D0003497E;
+ remoteInfo = "sdk-ios-tutorial";
+ };
+/* End PBXContainerItemProxy section */
+
+/* Begin PBXFileReference section */
+ 0B1D59999D734DC3B7B5DE77 /* Pods.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.xcconfig; path = Pods/Pods.xcconfig; sourceTree = ""; };
+ 0C57192D53674A6BAE34FB6F /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; };
+ 71195AA51958D04D0003497E /* sdk-ios-tutorial.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "sdk-ios-tutorial.app"; sourceTree = BUILT_PRODUCTS_DIR; };
+ 71195AA81958D04D0003497E /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
+ 71195AAA1958D04D0003497E /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
+ 71195AAC1958D04D0003497E /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
+ 71195AB01958D04D0003497E /* sdk-ios-tutorial-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "sdk-ios-tutorial-Info.plist"; sourceTree = ""; };
+ 71195AB21958D04D0003497E /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; };
+ 71195AB41958D04D0003497E /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
+ 71195AB61958D04D0003497E /* sdk-ios-tutorial-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "sdk-ios-tutorial-Prefix.pch"; sourceTree = ""; };
+ 71195AB71958D04D0003497E /* WSAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WSAppDelegate.h; sourceTree = ""; };
+ 71195AB81958D04D0003497E /* WSAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = WSAppDelegate.m; sourceTree = ""; };
+ 71195ABB1958D04D0003497E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
+ 71195ABD1958D04D0003497E /* WSViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WSViewController.h; sourceTree = ""; };
+ 71195ABE1958D04D0003497E /* WSViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = WSViewController.m; sourceTree = ""; };
+ 71195AC01958D04D0003497E /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; };
+ 71195AC61958D04D0003497E /* sdk-ios-tutorialTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "sdk-ios-tutorialTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
+ 71195AC71958D04D0003497E /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
+ 71195ACF1958D04E0003497E /* sdk-ios-tutorialTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "sdk-ios-tutorialTests-Info.plist"; sourceTree = ""; };
+ 71195AD11958D04E0003497E /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; };
+ 71195AD31958D04E0003497E /* sdk_ios_tutorialTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = sdk_ios_tutorialTests.m; sourceTree = ""; };
+ 71195ADD1958D1400003497E /* Podfile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Podfile; sourceTree = ""; };
+ 71195AE01958D3FD0003497E /* oauthio-logo.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "oauthio-logo.png"; sourceTree = ""; };
+ 71195AE219597B4B0003497E /* config.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = config.plist; sourceTree = ""; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 71195AA21958D04D0003497E /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 71195AAB1958D04D0003497E /* CoreGraphics.framework in Frameworks */,
+ 71195AAD1958D04D0003497E /* UIKit.framework in Frameworks */,
+ 71195AA91958D04D0003497E /* Foundation.framework in Frameworks */,
+ 320F17E3D65B4942A6CBE921 /* libPods.a in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 71195AC31958D04D0003497E /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 71195AC81958D04D0003497E /* XCTest.framework in Frameworks */,
+ 71195ACA1958D04E0003497E /* UIKit.framework in Frameworks */,
+ 71195AC91958D04E0003497E /* Foundation.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 71195A9C1958D04D0003497E = {
+ isa = PBXGroup;
+ children = (
+ 71195ADD1958D1400003497E /* Podfile */,
+ 71195AAE1958D04D0003497E /* sdk-ios-tutorial */,
+ 71195ACD1958D04E0003497E /* sdk-ios-tutorialTests */,
+ 71195AA71958D04D0003497E /* Frameworks */,
+ 71195AA61958D04D0003497E /* Products */,
+ 0B1D59999D734DC3B7B5DE77 /* Pods.xcconfig */,
+ );
+ sourceTree = "";
+ };
+ 71195AA61958D04D0003497E /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 71195AA51958D04D0003497E /* sdk-ios-tutorial.app */,
+ 71195AC61958D04D0003497E /* sdk-ios-tutorialTests.xctest */,
+ );
+ name = Products;
+ sourceTree = "";
+ };
+ 71195AA71958D04D0003497E /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ 71195AA81958D04D0003497E /* Foundation.framework */,
+ 71195AAA1958D04D0003497E /* CoreGraphics.framework */,
+ 71195AAC1958D04D0003497E /* UIKit.framework */,
+ 71195AC71958D04D0003497E /* XCTest.framework */,
+ 0C57192D53674A6BAE34FB6F /* libPods.a */,
+ );
+ name = Frameworks;
+ sourceTree = "";
+ };
+ 71195AAE1958D04D0003497E /* sdk-ios-tutorial */ = {
+ isa = PBXGroup;
+ children = (
+ 71195ADF1958D3FD0003497E /* Resources */,
+ 71195AB71958D04D0003497E /* WSAppDelegate.h */,
+ 71195AB81958D04D0003497E /* WSAppDelegate.m */,
+ 71195ABA1958D04D0003497E /* Main.storyboard */,
+ 71195ABD1958D04D0003497E /* WSViewController.h */,
+ 71195ABE1958D04D0003497E /* WSViewController.m */,
+ 71195AC01958D04D0003497E /* Images.xcassets */,
+ 71195AAF1958D04D0003497E /* Supporting Files */,
+ );
+ path = "sdk-ios-tutorial";
+ sourceTree = "";
+ };
+ 71195AAF1958D04D0003497E /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ 71195AB01958D04D0003497E /* sdk-ios-tutorial-Info.plist */,
+ 71195AB11958D04D0003497E /* InfoPlist.strings */,
+ 71195AB41958D04D0003497E /* main.m */,
+ 71195AB61958D04D0003497E /* sdk-ios-tutorial-Prefix.pch */,
+ 71195AE219597B4B0003497E /* config.plist */,
+ );
+ name = "Supporting Files";
+ sourceTree = "";
+ };
+ 71195ACD1958D04E0003497E /* sdk-ios-tutorialTests */ = {
+ isa = PBXGroup;
+ children = (
+ 71195AD31958D04E0003497E /* sdk_ios_tutorialTests.m */,
+ 71195ACE1958D04E0003497E /* Supporting Files */,
+ );
+ path = "sdk-ios-tutorialTests";
+ sourceTree = "";
+ };
+ 71195ACE1958D04E0003497E /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ 71195ACF1958D04E0003497E /* sdk-ios-tutorialTests-Info.plist */,
+ 71195AD01958D04E0003497E /* InfoPlist.strings */,
+ );
+ name = "Supporting Files";
+ sourceTree = "";
+ };
+ 71195ADF1958D3FD0003497E /* Resources */ = {
+ isa = PBXGroup;
+ children = (
+ 71195AE01958D3FD0003497E /* oauthio-logo.png */,
+ );
+ path = Resources;
+ sourceTree = "";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 71195AA41958D04D0003497E /* sdk-ios-tutorial */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 71195AD71958D04E0003497E /* Build configuration list for PBXNativeTarget "sdk-ios-tutorial" */;
+ buildPhases = (
+ 4D73459122FE47DDBE1E04DD /* Check Pods Manifest.lock */,
+ 71195AA11958D04D0003497E /* Sources */,
+ 71195AA21958D04D0003497E /* Frameworks */,
+ 71195AA31958D04D0003497E /* Resources */,
+ 8946BA9B458B4341AA437A54 /* Copy Pods Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = "sdk-ios-tutorial";
+ productName = "sdk-ios-tutorial";
+ productReference = 71195AA51958D04D0003497E /* sdk-ios-tutorial.app */;
+ productType = "com.apple.product-type.application";
+ };
+ 71195AC51958D04D0003497E /* sdk-ios-tutorialTests */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 71195ADA1958D04E0003497E /* Build configuration list for PBXNativeTarget "sdk-ios-tutorialTests" */;
+ buildPhases = (
+ 71195AC21958D04D0003497E /* Sources */,
+ 71195AC31958D04D0003497E /* Frameworks */,
+ 71195AC41958D04D0003497E /* Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ 71195ACC1958D04E0003497E /* PBXTargetDependency */,
+ );
+ name = "sdk-ios-tutorialTests";
+ productName = "sdk-ios-tutorialTests";
+ productReference = 71195AC61958D04D0003497E /* sdk-ios-tutorialTests.xctest */;
+ productType = "com.apple.product-type.bundle.unit-test";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 71195A9D1958D04D0003497E /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ CLASSPREFIX = WS;
+ LastUpgradeCheck = 0510;
+ ORGANIZATIONNAME = OAuth.io;
+ TargetAttributes = {
+ 71195AC51958D04D0003497E = {
+ TestTargetID = 71195AA41958D04D0003497E;
+ };
+ };
+ };
+ buildConfigurationList = 71195AA01958D04D0003497E /* Build configuration list for PBXProject "sdk-ios-tutorial" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ Base,
+ );
+ mainGroup = 71195A9C1958D04D0003497E;
+ productRefGroup = 71195AA61958D04D0003497E /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 71195AA41958D04D0003497E /* sdk-ios-tutorial */,
+ 71195AC51958D04D0003497E /* sdk-ios-tutorialTests */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 71195AA31958D04D0003497E /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 71195AC11958D04D0003497E /* Images.xcassets in Resources */,
+ 71195AE11958D3FD0003497E /* oauthio-logo.png in Resources */,
+ 71195AE319597B4B0003497E /* config.plist in Resources */,
+ 71195AB31958D04D0003497E /* InfoPlist.strings in Resources */,
+ 71195ADE1958D1400003497E /* Podfile in Resources */,
+ 71195ABC1958D04D0003497E /* Main.storyboard in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 71195AC41958D04D0003497E /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 71195AD21958D04E0003497E /* InfoPlist.strings in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXShellScriptBuildPhase section */
+ 4D73459122FE47DDBE1E04DD /* Check Pods Manifest.lock */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Check Pods Manifest.lock";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
+ showEnvVarsInLog = 0;
+ };
+ 8946BA9B458B4341AA437A54 /* Copy Pods Resources */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Copy Pods Resources";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"${SRCROOT}/Pods/Pods-resources.sh\"\n";
+ showEnvVarsInLog = 0;
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 71195AA11958D04D0003497E /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 71195AB91958D04D0003497E /* WSAppDelegate.m in Sources */,
+ 71195AB51958D04D0003497E /* main.m in Sources */,
+ 71195ABF1958D04D0003497E /* WSViewController.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 71195AC21958D04D0003497E /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 71195AD41958D04E0003497E /* sdk_ios_tutorialTests.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXTargetDependency section */
+ 71195ACC1958D04E0003497E /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = 71195AA41958D04D0003497E /* sdk-ios-tutorial */;
+ targetProxy = 71195ACB1958D04E0003497E /* PBXContainerItemProxy */;
+ };
+/* End PBXTargetDependency section */
+
+/* Begin PBXVariantGroup section */
+ 71195AB11958D04D0003497E /* InfoPlist.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 71195AB21958D04D0003497E /* en */,
+ );
+ name = InfoPlist.strings;
+ sourceTree = "";
+ };
+ 71195ABA1958D04D0003497E /* Main.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 71195ABB1958D04D0003497E /* Base */,
+ );
+ name = Main.storyboard;
+ sourceTree = "";
+ };
+ 71195AD01958D04E0003497E /* InfoPlist.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 71195AD11958D04E0003497E /* en */,
+ );
+ name = InfoPlist.strings;
+ sourceTree = "";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ 71195AD51958D04E0003497E /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 7.1;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = iphoneos;
+ };
+ name = Debug;
+ };
+ 71195AD61958D04E0003497E /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = YES;
+ ENABLE_NS_ASSERTIONS = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 7.1;
+ SDKROOT = iphoneos;
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Release;
+ };
+ 71195AD81958D04E0003497E /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 0B1D59999D734DC3B7B5DE77 /* Pods.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "sdk-ios-tutorial/sdk-ios-tutorial-Prefix.pch";
+ INFOPLIST_FILE = "sdk-ios-tutorial/sdk-ios-tutorial-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Debug;
+ };
+ 71195AD91958D04E0003497E /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 0B1D59999D734DC3B7B5DE77 /* Pods.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "sdk-ios-tutorial/sdk-ios-tutorial-Prefix.pch";
+ INFOPLIST_FILE = "sdk-ios-tutorial/sdk-ios-tutorial-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Release;
+ };
+ 71195ADB1958D04E0003497E /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/sdk-ios-tutorial.app/sdk-ios-tutorial";
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(SDKROOT)/Developer/Library/Frameworks",
+ "$(inherited)",
+ "$(DEVELOPER_FRAMEWORKS_DIR)",
+ );
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "sdk-ios-tutorial/sdk-ios-tutorial-Prefix.pch";
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ INFOPLIST_FILE = "sdk-ios-tutorialTests/sdk-ios-tutorialTests-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ TEST_HOST = "$(BUNDLE_LOADER)";
+ WRAPPER_EXTENSION = xctest;
+ };
+ name = Debug;
+ };
+ 71195ADC1958D04E0003497E /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/sdk-ios-tutorial.app/sdk-ios-tutorial";
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(SDKROOT)/Developer/Library/Frameworks",
+ "$(inherited)",
+ "$(DEVELOPER_FRAMEWORKS_DIR)",
+ );
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "sdk-ios-tutorial/sdk-ios-tutorial-Prefix.pch";
+ INFOPLIST_FILE = "sdk-ios-tutorialTests/sdk-ios-tutorialTests-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ TEST_HOST = "$(BUNDLE_LOADER)";
+ WRAPPER_EXTENSION = xctest;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 71195AA01958D04D0003497E /* Build configuration list for PBXProject "sdk-ios-tutorial" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 71195AD51958D04E0003497E /* Debug */,
+ 71195AD61958D04E0003497E /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 71195AD71958D04E0003497E /* Build configuration list for PBXNativeTarget "sdk-ios-tutorial" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 71195AD81958D04E0003497E /* Debug */,
+ 71195AD91958D04E0003497E /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 71195ADA1958D04E0003497E /* Build configuration list for PBXNativeTarget "sdk-ios-tutorialTests" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 71195ADB1958D04E0003497E /* Debug */,
+ 71195ADC1958D04E0003497E /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 71195A9D1958D04D0003497E /* Project object */;
+}
diff --git a/sdk-ios-tutorial.xcworkspace/xcuserdata/antoine.xcuserdatad/UserInterfaceState.xcuserstate b/sdk-ios-tutorial.xcworkspace/xcuserdata/antoine.xcuserdatad/UserInterfaceState.xcuserstate
index 9ff7aa9..8d7026d 100644
Binary files a/sdk-ios-tutorial.xcworkspace/xcuserdata/antoine.xcuserdatad/UserInterfaceState.xcuserstate and b/sdk-ios-tutorial.xcworkspace/xcuserdata/antoine.xcuserdatad/UserInterfaceState.xcuserstate differ
diff --git a/sdk-ios-tutorial.xcworkspace/xcuserdata/antoine.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/sdk-ios-tutorial.xcworkspace/xcuserdata/antoine.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
new file mode 100644
index 0000000..ed9a9b4
--- /dev/null
+++ b/sdk-ios-tutorial.xcworkspace/xcuserdata/antoine.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
@@ -0,0 +1,5 @@
+
+
+
diff --git a/sdk-ios-tutorial/Base.lproj/Main.storyboard b/sdk-ios-tutorial/Base.lproj/Main.storyboard
index 0b8f628..7b699d7 100644
--- a/sdk-ios-tutorial/Base.lproj/Main.storyboard
+++ b/sdk-ios-tutorial/Base.lproj/Main.storyboard
@@ -1,10 +1,10 @@
-
+
-
+
@@ -15,13 +15,126 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/sdk-ios-tutorial/Resources/oauthio-logo.png b/sdk-ios-tutorial/Resources/oauthio-logo.png
new file mode 100644
index 0000000..aae0f40
Binary files /dev/null and b/sdk-ios-tutorial/Resources/oauthio-logo.png differ
diff --git a/sdk-ios-tutorial/WSViewController.h b/sdk-ios-tutorial/WSViewController.h
index 9337462..5df5957 100644
--- a/sdk-ios-tutorial/WSViewController.h
+++ b/sdk-ios-tutorial/WSViewController.h
@@ -7,7 +7,10 @@
//
#import
+#import
+
+@interface WSViewController : UIViewController
+
-@interface WSViewController : UIViewController
@end
diff --git a/sdk-ios-tutorial/WSViewController.m b/sdk-ios-tutorial/WSViewController.m
index d012b1e..30011b2 100644
--- a/sdk-ios-tutorial/WSViewController.m
+++ b/sdk-ios-tutorial/WSViewController.m
@@ -9,6 +9,19 @@
#import "WSViewController.h"
@interface WSViewController ()
+@property (strong, nonatomic) IBOutlet UISwitch *login_switch;
+@property (strong, nonatomic) IBOutlet UIBarButtonItem *call_button;
+@property (strong, nonatomic) IBOutlet UIBarButtonItem *cache_button;
+@property (strong, nonatomic) IBOutlet UILabel *name_label;
+@property (strong, nonatomic) IBOutlet UILabel *email_label;
+@property (strong, nonatomic) IBOutlet UIView *state_view;
+@property (strong, nonatomic) IBOutlet UILabel *state_label;
+@property (strong, nonatomic) IBOutlet UIActivityIndicatorView *state_spinner;
+@property (strong, nonatomic) IBOutlet UILabel *login_state_label;
+
+@property OAuthIORequest *request_object;
+@property OAuthIOModal *oauthio_modal;
+@property NSDictionary *config;
@end
@@ -17,7 +30,20 @@ @implementation WSViewController
- (void)viewDidLoad
{
[super viewDidLoad];
- // Do any additional setup after loading the view, typically from a nib.
+
+ NSString *path = [[NSBundle mainBundle] pathForResource:@"config" ofType:@"plist"];
+ _config = [[NSDictionary alloc] initWithContentsOfFile:path];
+
+ _oauthio_modal = [[OAuthIOModal alloc] initWithKey:[_config objectForKey:@"app_key"] delegate:self];
+ _login_state_label.text = @"Not connected";
+}
+
+-(void) viewDidAppear:(BOOL)animated
+{
+ if ([_oauthio_modal cacheAvailableForProvider:@"facebook"])
+ {
+ [self login];
+ }
}
- (void)didReceiveMemoryWarning
@@ -26,4 +52,84 @@ - (void)didReceiveMemoryWarning
// Dispose of any resources that can be recreated.
}
+-(void) login
+{
+ _state_label.text = @"Logging in via Facebook";
+ [_state_view setHidden:NO];
+ NSMutableDictionary *options = [[NSMutableDictionary alloc] init];
+ [options setObject:@"true" forKey:@"cache"];
+ [options setObject:@"true" forKey:@"clear-popup-cache"];
+ [_oauthio_modal showWithProvider:@"facebook" options:options];
+
+}
+
+-(void) makeAPICall
+{
+ _name_label.text = @"N/A";
+ _email_label.text = @"N/A";
+ _state_label.text = @"Fetching your info";
+ [_state_view setHidden:NO];
+ [_request_object me:nil success:^(NSDictionary *output, NSString *body, NSHTTPURLResponse *httpResponse) {
+ _name_label.text = [output objectForKey:@"name"];
+ _email_label.text = [output objectForKey:@"email"];
+ [_state_view setHidden:YES];
+ }];
+}
+
+-(void) logout
+{
+ _request_object = nil;
+ _name_label.text = @"N/A";
+ _email_label.text = @"N/A";
+ _login_state_label.text = @"Not connected";
+}
+
+-(void) clearCache
+{
+ [_oauthio_modal clearCache];
+}
+
+-(IBAction)buttonPressed:(id)sender
+{
+ if (sender == _login_switch)
+ {
+ if ([_login_switch isOn])
+ {
+ [self login];
+ }
+ else
+ {
+ [self logout];
+ }
+
+ }
+ else if (sender == _call_button && _request_object != nil)
+ {
+ [self makeAPICall];
+ }
+ else if (sender == _cache_button)
+ {
+ [self clearCache];
+ }
+}
+
+-(void) didReceiveOAuthIOResponse:(OAuthIORequest *)request
+{
+ _login_state_label.text = @"Logged in";
+ [_state_view setHidden:YES];
+ [_login_switch setOn:YES animated:YES];
+ _request_object = request;
+}
+
+-(void) didFailWithOAuthIOError:(NSError *)error
+{
+ [_state_view setHidden:YES];
+ [_login_switch setOn:NO animated:YES];
+ _name_label.text = @"N/A";
+ _email_label.text = @"N/A";
+ _login_state_label.text = @"Not connected";
+}
+
+
+
@end