From b83ce0797d114a9c6bc16097e062cca8449a7d52 Mon Sep 17 00:00:00 2001 From: Antoine Jackson Date: Mon, 23 Jun 2014 23:17:06 +0200 Subject: [PATCH] initial commit --- sdk-ios-tutorial.xcodeproj/project.pbxproj | 472 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../UserInterfaceState.xcuserstate | Bin 0 -> 11008 bytes .../xcschemes/sdk-ios-tutorial.xcscheme | 96 ++++ .../xcschemes/xcschememanagement.plist | 27 + sdk-ios-tutorial/Base.lproj/Main.storyboard | 30 ++ .../AppIcon.appiconset/Contents.json | 23 + .../LaunchImage.launchimage/Contents.json | 23 + sdk-ios-tutorial/WSAppDelegate.h | 15 + sdk-ios-tutorial/WSAppDelegate.m | 46 ++ sdk-ios-tutorial/WSViewController.h | 13 + sdk-ios-tutorial/WSViewController.m | 29 ++ sdk-ios-tutorial/en.lproj/InfoPlist.strings | 2 + sdk-ios-tutorial/main.m | 18 + sdk-ios-tutorial/sdk-ios-tutorial-Info.plist | 40 ++ sdk-ios-tutorial/sdk-ios-tutorial-Prefix.pch | 16 + .../en.lproj/InfoPlist.strings | 2 + .../sdk-ios-tutorialTests-Info.plist | 22 + sdk-ios-tutorialTests/sdk_ios_tutorialTests.m | 34 ++ 19 files changed, 915 insertions(+) create mode 100644 sdk-ios-tutorial.xcodeproj/project.pbxproj create mode 100644 sdk-ios-tutorial.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 sdk-ios-tutorial.xcodeproj/project.xcworkspace/xcuserdata/antoine.xcuserdatad/UserInterfaceState.xcuserstate create mode 100644 sdk-ios-tutorial.xcodeproj/xcuserdata/antoine.xcuserdatad/xcschemes/sdk-ios-tutorial.xcscheme create mode 100644 sdk-ios-tutorial.xcodeproj/xcuserdata/antoine.xcuserdatad/xcschemes/xcschememanagement.plist create mode 100644 sdk-ios-tutorial/Base.lproj/Main.storyboard create mode 100644 sdk-ios-tutorial/Images.xcassets/AppIcon.appiconset/Contents.json create mode 100644 sdk-ios-tutorial/Images.xcassets/LaunchImage.launchimage/Contents.json create mode 100644 sdk-ios-tutorial/WSAppDelegate.h create mode 100644 sdk-ios-tutorial/WSAppDelegate.m create mode 100644 sdk-ios-tutorial/WSViewController.h create mode 100644 sdk-ios-tutorial/WSViewController.m create mode 100644 sdk-ios-tutorial/en.lproj/InfoPlist.strings create mode 100644 sdk-ios-tutorial/main.m create mode 100644 sdk-ios-tutorial/sdk-ios-tutorial-Info.plist create mode 100644 sdk-ios-tutorial/sdk-ios-tutorial-Prefix.pch create mode 100644 sdk-ios-tutorialTests/en.lproj/InfoPlist.strings create mode 100644 sdk-ios-tutorialTests/sdk-ios-tutorialTests-Info.plist create mode 100644 sdk-ios-tutorialTests/sdk_ios_tutorialTests.m diff --git a/sdk-ios-tutorial.xcodeproj/project.pbxproj b/sdk-ios-tutorial.xcodeproj/project.pbxproj new file mode 100644 index 0000000..4607f47 --- /dev/null +++ b/sdk-ios-tutorial.xcodeproj/project.pbxproj @@ -0,0 +1,472 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 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 */; }; +/* 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 */ + 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 = ""; }; +/* 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 */, + ); + 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 = ( + 71195AAE1958D04D0003497E /* sdk-ios-tutorial */, + 71195ACD1958D04E0003497E /* sdk-ios-tutorialTests */, + 71195AA71958D04D0003497E /* Frameworks */, + 71195AA61958D04D0003497E /* Products */, + ); + 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 */, + ); + name = Frameworks; + sourceTree = ""; + }; + 71195AAE1958D04D0003497E /* sdk-ios-tutorial */ = { + isa = PBXGroup; + children = ( + 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 */, + ); + 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 = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 71195AA41958D04D0003497E /* sdk-ios-tutorial */ = { + isa = PBXNativeTarget; + buildConfigurationList = 71195AD71958D04E0003497E /* Build configuration list for PBXNativeTarget "sdk-ios-tutorial" */; + buildPhases = ( + 71195AA11958D04D0003497E /* Sources */, + 71195AA21958D04D0003497E /* Frameworks */, + 71195AA31958D04D0003497E /* 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 */, + 71195AB31958D04D0003497E /* InfoPlist.strings 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 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; + 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; + 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; + }; + 71195ADA1958D04E0003497E /* Build configuration list for PBXNativeTarget "sdk-ios-tutorialTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 71195ADB1958D04E0003497E /* Debug */, + 71195ADC1958D04E0003497E /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = 71195A9D1958D04D0003497E /* Project object */; +} diff --git a/sdk-ios-tutorial.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/sdk-ios-tutorial.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..dc606dd --- /dev/null +++ b/sdk-ios-tutorial.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/sdk-ios-tutorial.xcodeproj/project.xcworkspace/xcuserdata/antoine.xcuserdatad/UserInterfaceState.xcuserstate b/sdk-ios-tutorial.xcodeproj/project.xcworkspace/xcuserdata/antoine.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000000000000000000000000000000000000..3b31ad5fe210e193d50a4bc5da28b0ee400cc66b GIT binary patch literal 11008 zcmcIqd3+Pq_P_T|nlw!tlaMr%rb(u0K?>b>P=S^fL1=-dEiDB?+DzL(nuIJsEtQKX zZipxXqJp$VHuqh@1x4IJR-Zn%r_bll1qC-m!RPNxrfC~MpMShZKO~d6=bn4+x#xV( zGSlR9y8^+SoTCUMf*2%0F-XeX&aACZTgdwZF0ZFP&D%7OZw>|;(j5NgHW%EkNeg;? z8iZGDen^dDkqpJ6AxMjKC=+F&Y?Om?Q69=i1*i}ep<+~m#-UPFh9;saG!@mMCe)0a zh(|5RjoOhPU5Pr;64ZsRLd(z%=tguCx&_^a)}Zz19<&*CqaA1`x)0rt9zc(x$I;Vh z4|*BxL$9MZ&^zdF=w0+4`a60beSkhhAEB?%*XTI<2K|Iip`X!d^b7hOBaE>E$KwR7 z#5!!j98SSjoQl)%P@Ii(a4ycnm*UIt7+i)Y;5s}5*W(5}6F1^ncrI?nPRwH$_Tm7( z4quONz&GNX@Jf6$UWISLtMTo4C%zBgj~~Df;)n3V_!0alehfd3ci|WCtN1m15Ff(t z;lJbe@z?k`{sw=GPvDdIJNz>~jsJ~*Co&RCK zfILWck=^83@(OvC>?eoFG4d{XpL{_6K|Uj2kmKYV@(cNuoFQk)Z;YIYV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-F#O`N#6(@^9rQ<=@9u$JyiB;^xJ<<2-S` zxQ@8axURURam(VC$8Cz+7k4D?j6$MFP$(5Tg;g<9k*Ua5B@TLOyw-)93`)8 zRl1b(mF>!f$}Z&!YGf(5z zbZ9y?U7Dqum70y3doa+AY`h0z%zF0p=U#D--H|po;=jxmEA^p|*>-0D1Z_=;U-=@D^zfQkizf=E|ewY4P z{R{dR^?UUP^@sF_^+)wz>rd;?=zn7oOIQi3X0>c0YhaD6i5;g8(E@V5{PPU6(!QRZ?!rscRVb`)f>^61>dmsBS`zZT3`y~4U`xbkM zJ;EMi|IU8Ee#HKR{gOS!o?(Aue>X@BQbVjE&R{YOGb}VLH>@+^Hn^_|$MFNuI}`({$AIj_F;~C#HXz{$)CCjxo#3 za3KD=fX1S1cb}zOa00`Py>Ya>nu- zhd9DXIF=jA4d+I1nOruP%Z=v7a;4mOu7a!PW^fH$BR7|8;+$Ly=jE1g%edv-wcL%| zN^TXmn%lr_<+gF#xt-io+%E1}?gj2eZZG#1cZfT}9pnDSea3ysea(Hteb4>Ko#IZX zkQ7Adc^(pNs*QNBN+?%p3Wk<^WDf?0mq#R56#453> ztQxD%%371G+15O3fwjn5VjXQAZ@t1g#X8kmZLP7+w%V-@>pZL5>ai}eUTIxoy~TRB zb(3|owa2>K`n+|Ib+2`w^?>z|^@#PD^`q3-)P&UH)N!dTsq<5BP3=wHp88-oJ41ws O-^?B2cjPnm;r|B&r?@u& literal 0 HcmV?d00001 diff --git a/sdk-ios-tutorial.xcodeproj/xcuserdata/antoine.xcuserdatad/xcschemes/sdk-ios-tutorial.xcscheme b/sdk-ios-tutorial.xcodeproj/xcuserdata/antoine.xcuserdatad/xcschemes/sdk-ios-tutorial.xcscheme new file mode 100644 index 0000000..ddcc230 --- /dev/null +++ b/sdk-ios-tutorial.xcodeproj/xcuserdata/antoine.xcuserdatad/xcschemes/sdk-ios-tutorial.xcscheme @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sdk-ios-tutorial.xcodeproj/xcuserdata/antoine.xcuserdatad/xcschemes/xcschememanagement.plist b/sdk-ios-tutorial.xcodeproj/xcuserdata/antoine.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..6bc0e85 --- /dev/null +++ b/sdk-ios-tutorial.xcodeproj/xcuserdata/antoine.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,27 @@ + + + + + SchemeUserState + + sdk-ios-tutorial.xcscheme + + orderHint + 0 + + + SuppressBuildableAutocreation + + 71195AA41958D04D0003497E + + primary + + + 71195AC51958D04D0003497E + + primary + + + + + diff --git a/sdk-ios-tutorial/Base.lproj/Main.storyboard b/sdk-ios-tutorial/Base.lproj/Main.storyboard new file mode 100644 index 0000000..0b8f628 --- /dev/null +++ b/sdk-ios-tutorial/Base.lproj/Main.storyboard @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sdk-ios-tutorial/Images.xcassets/AppIcon.appiconset/Contents.json b/sdk-ios-tutorial/Images.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..a396706 --- /dev/null +++ b/sdk-ios-tutorial/Images.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/sdk-ios-tutorial/Images.xcassets/LaunchImage.launchimage/Contents.json b/sdk-ios-tutorial/Images.xcassets/LaunchImage.launchimage/Contents.json new file mode 100644 index 0000000..c79ebd3 --- /dev/null +++ b/sdk-ios-tutorial/Images.xcassets/LaunchImage.launchimage/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "orientation" : "portrait", + "idiom" : "iphone", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "2x" + }, + { + "orientation" : "portrait", + "idiom" : "iphone", + "subtype" : "retina4", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/sdk-ios-tutorial/WSAppDelegate.h b/sdk-ios-tutorial/WSAppDelegate.h new file mode 100644 index 0000000..c035139 --- /dev/null +++ b/sdk-ios-tutorial/WSAppDelegate.h @@ -0,0 +1,15 @@ +// +// WSAppDelegate.h +// sdk-ios-tutorial +// +// Created by Antoine Jackson on 23/06/14. +// Copyright (c) 2014 OAuth.io. All rights reserved. +// + +#import + +@interface WSAppDelegate : UIResponder + +@property (strong, nonatomic) UIWindow *window; + +@end diff --git a/sdk-ios-tutorial/WSAppDelegate.m b/sdk-ios-tutorial/WSAppDelegate.m new file mode 100644 index 0000000..bfba23d --- /dev/null +++ b/sdk-ios-tutorial/WSAppDelegate.m @@ -0,0 +1,46 @@ +// +// WSAppDelegate.m +// sdk-ios-tutorial +// +// Created by Antoine Jackson on 23/06/14. +// Copyright (c) 2014 OAuth.io. All rights reserved. +// + +#import "WSAppDelegate.h" + +@implementation WSAppDelegate + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions +{ + // Override point for customization after application launch. + return YES; +} + +- (void)applicationWillResignActive:(UIApplication *)application +{ + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. +} + +- (void)applicationDidEnterBackground:(UIApplication *)application +{ + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. +} + +- (void)applicationWillEnterForeground:(UIApplication *)application +{ + // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. +} + +- (void)applicationDidBecomeActive:(UIApplication *)application +{ + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. +} + +- (void)applicationWillTerminate:(UIApplication *)application +{ + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. +} + +@end diff --git a/sdk-ios-tutorial/WSViewController.h b/sdk-ios-tutorial/WSViewController.h new file mode 100644 index 0000000..9337462 --- /dev/null +++ b/sdk-ios-tutorial/WSViewController.h @@ -0,0 +1,13 @@ +// +// WSViewController.h +// sdk-ios-tutorial +// +// Created by Antoine Jackson on 23/06/14. +// Copyright (c) 2014 OAuth.io. All rights reserved. +// + +#import + +@interface WSViewController : UIViewController + +@end diff --git a/sdk-ios-tutorial/WSViewController.m b/sdk-ios-tutorial/WSViewController.m new file mode 100644 index 0000000..d012b1e --- /dev/null +++ b/sdk-ios-tutorial/WSViewController.m @@ -0,0 +1,29 @@ +// +// WSViewController.m +// sdk-ios-tutorial +// +// Created by Antoine Jackson on 23/06/14. +// Copyright (c) 2014 OAuth.io. All rights reserved. +// + +#import "WSViewController.h" + +@interface WSViewController () + +@end + +@implementation WSViewController + +- (void)viewDidLoad +{ + [super viewDidLoad]; + // Do any additional setup after loading the view, typically from a nib. +} + +- (void)didReceiveMemoryWarning +{ + [super didReceiveMemoryWarning]; + // Dispose of any resources that can be recreated. +} + +@end diff --git a/sdk-ios-tutorial/en.lproj/InfoPlist.strings b/sdk-ios-tutorial/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/sdk-ios-tutorial/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/sdk-ios-tutorial/main.m b/sdk-ios-tutorial/main.m new file mode 100644 index 0000000..d6b94ce --- /dev/null +++ b/sdk-ios-tutorial/main.m @@ -0,0 +1,18 @@ +// +// main.m +// sdk-ios-tutorial +// +// Created by Antoine Jackson on 23/06/14. +// Copyright (c) 2014 OAuth.io. All rights reserved. +// + +#import + +#import "WSAppDelegate.h" + +int main(int argc, char * argv[]) +{ + @autoreleasepool { + return UIApplicationMain(argc, argv, nil, NSStringFromClass([WSAppDelegate class])); + } +} diff --git a/sdk-ios-tutorial/sdk-ios-tutorial-Info.plist b/sdk-ios-tutorial/sdk-ios-tutorial-Info.plist new file mode 100644 index 0000000..da4124a --- /dev/null +++ b/sdk-ios-tutorial/sdk-ios-tutorial-Info.plist @@ -0,0 +1,40 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + ${PRODUCT_NAME} + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + com.oauthio.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/sdk-ios-tutorial/sdk-ios-tutorial-Prefix.pch b/sdk-ios-tutorial/sdk-ios-tutorial-Prefix.pch new file mode 100644 index 0000000..82a2bb4 --- /dev/null +++ b/sdk-ios-tutorial/sdk-ios-tutorial-Prefix.pch @@ -0,0 +1,16 @@ +// +// Prefix header +// +// The contents of this file are implicitly included at the beginning of every source file. +// + +#import + +#ifndef __IPHONE_5_0 +#warning "This project uses features only available in iOS SDK 5.0 and later." +#endif + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/sdk-ios-tutorialTests/en.lproj/InfoPlist.strings b/sdk-ios-tutorialTests/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/sdk-ios-tutorialTests/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/sdk-ios-tutorialTests/sdk-ios-tutorialTests-Info.plist b/sdk-ios-tutorialTests/sdk-ios-tutorialTests-Info.plist new file mode 100644 index 0000000..f46ed65 --- /dev/null +++ b/sdk-ios-tutorialTests/sdk-ios-tutorialTests-Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + com.oauthio.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/sdk-ios-tutorialTests/sdk_ios_tutorialTests.m b/sdk-ios-tutorialTests/sdk_ios_tutorialTests.m new file mode 100644 index 0000000..95c09b6 --- /dev/null +++ b/sdk-ios-tutorialTests/sdk_ios_tutorialTests.m @@ -0,0 +1,34 @@ +// +// sdk_ios_tutorialTests.m +// sdk-ios-tutorialTests +// +// Created by Antoine Jackson on 23/06/14. +// Copyright (c) 2014 OAuth.io. All rights reserved. +// + +#import + +@interface sdk_ios_tutorialTests : XCTestCase + +@end + +@implementation sdk_ios_tutorialTests + +- (void)setUp +{ + [super setUp]; + // Put setup code here. This method is called before the invocation of each test method in the class. +} + +- (void)tearDown +{ + // Put teardown code here. This method is called after the invocation of each test method in the class. + [super tearDown]; +} + +- (void)testExample +{ + XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); +} + +@end