diff --git a/TGPControlsDemo7/Podfile b/TGPControlsDemo7/Podfile new file mode 100644 index 0000000..b0f54b4 --- /dev/null +++ b/TGPControlsDemo7/Podfile @@ -0,0 +1,12 @@ +platform :ios, '7.0' +source 'https://github.com/CocoaPods/Specs.git' + +target 'TGPControlsDemo7' do + # pod 'TGPControls', :path => '../../TGPControls' + pod 'TGPControls', '0.0.2' +end + +target 'TGPControlsDemo7Tests' do + +end + diff --git a/TGPControlsDemo7/TGPControlsDemo7.xcodeproj/project.pbxproj b/TGPControlsDemo7/TGPControlsDemo7.xcodeproj/project.pbxproj new file mode 100644 index 0000000..9e00b9b --- /dev/null +++ b/TGPControlsDemo7/TGPControlsDemo7.xcodeproj/project.pbxproj @@ -0,0 +1,496 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + A506FFB267F7DB477E7645C6 /* libPods-TGPControlsDemo7.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C3CF5B835790FE83208A2032 /* libPods-TGPControlsDemo7.a */; }; + DC74B6791A901699001DC526 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = DC74B6781A901699001DC526 /* main.m */; }; + DC74B67C1A901699001DC526 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = DC74B67B1A901699001DC526 /* AppDelegate.m */; }; + DC74B67F1A901699001DC526 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = DC74B67E1A901699001DC526 /* ViewController.m */; }; + DC74B6821A901699001DC526 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = DC74B6801A901699001DC526 /* Main.storyboard */; }; + DC74B6841A901699001DC526 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = DC74B6831A901699001DC526 /* Images.xcassets */; }; + DC74B6871A901699001DC526 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = DC74B6851A901699001DC526 /* LaunchScreen.xib */; }; + DC74B6931A901699001DC526 /* TGPControlsDemo7Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = DC74B6921A901699001DC526 /* TGPControlsDemo7Tests.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + DC74B68D1A901699001DC526 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DC74B66B1A901699001DC526 /* Project object */; + proxyType = 1; + remoteGlobalIDString = DC74B6721A901699001DC526; + remoteInfo = TGPControlsDemo7; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 3227B7F26D7BFA5B9536A0DB /* Pods-TGPControlsDemo7.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TGPControlsDemo7.release.xcconfig"; path = "Pods/Target Support Files/Pods-TGPControlsDemo7/Pods-TGPControlsDemo7.release.xcconfig"; sourceTree = ""; }; + 9D6EC9A4396AF16D62F320EE /* Pods-TGPControlsDemo7.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TGPControlsDemo7.debug.xcconfig"; path = "Pods/Target Support Files/Pods-TGPControlsDemo7/Pods-TGPControlsDemo7.debug.xcconfig"; sourceTree = ""; }; + C3CF5B835790FE83208A2032 /* libPods-TGPControlsDemo7.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-TGPControlsDemo7.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + DC74B6731A901699001DC526 /* TGPControlsDemo7.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TGPControlsDemo7.app; sourceTree = BUILT_PRODUCTS_DIR; }; + DC74B6771A901699001DC526 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + DC74B6781A901699001DC526 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + DC74B67A1A901699001DC526 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; + DC74B67B1A901699001DC526 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; + DC74B67D1A901699001DC526 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; + DC74B67E1A901699001DC526 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; + DC74B6811A901699001DC526 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + DC74B6831A901699001DC526 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; + DC74B6861A901699001DC526 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; + DC74B68C1A901699001DC526 /* TGPControlsDemo7Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TGPControlsDemo7Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + DC74B6911A901699001DC526 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + DC74B6921A901699001DC526 /* TGPControlsDemo7Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = TGPControlsDemo7Tests.m; sourceTree = ""; }; + DCC831371A9017670047F142 /* Podfile */ = {isa = PBXFileReference; lastKnownFileType = text; path = Podfile; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + DC74B6701A901699001DC526 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + A506FFB267F7DB477E7645C6 /* libPods-TGPControlsDemo7.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DC74B6891A901699001DC526 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 2BAC7104A1110CC622B002A7 /* Frameworks */ = { + isa = PBXGroup; + children = ( + C3CF5B835790FE83208A2032 /* libPods-TGPControlsDemo7.a */, + ); + name = Frameworks; + sourceTree = ""; + }; + DC74B66A1A901699001DC526 = { + isa = PBXGroup; + children = ( + DCC831371A9017670047F142 /* Podfile */, + DC74B6751A901699001DC526 /* TGPControlsDemo7 */, + DC74B68F1A901699001DC526 /* TGPControlsDemo7Tests */, + DC74B6741A901699001DC526 /* Products */, + EA8C94FA4563F0443C64E897 /* Pods */, + 2BAC7104A1110CC622B002A7 /* Frameworks */, + ); + sourceTree = ""; + }; + DC74B6741A901699001DC526 /* Products */ = { + isa = PBXGroup; + children = ( + DC74B6731A901699001DC526 /* TGPControlsDemo7.app */, + DC74B68C1A901699001DC526 /* TGPControlsDemo7Tests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + DC74B6751A901699001DC526 /* TGPControlsDemo7 */ = { + isa = PBXGroup; + children = ( + DC74B67A1A901699001DC526 /* AppDelegate.h */, + DC74B67B1A901699001DC526 /* AppDelegate.m */, + DC74B67D1A901699001DC526 /* ViewController.h */, + DC74B67E1A901699001DC526 /* ViewController.m */, + DC74B6801A901699001DC526 /* Main.storyboard */, + DC74B6831A901699001DC526 /* Images.xcassets */, + DC74B6851A901699001DC526 /* LaunchScreen.xib */, + DC74B6761A901699001DC526 /* Supporting Files */, + ); + path = TGPControlsDemo7; + sourceTree = ""; + }; + DC74B6761A901699001DC526 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + DC74B6771A901699001DC526 /* Info.plist */, + DC74B6781A901699001DC526 /* main.m */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + DC74B68F1A901699001DC526 /* TGPControlsDemo7Tests */ = { + isa = PBXGroup; + children = ( + DC74B6921A901699001DC526 /* TGPControlsDemo7Tests.m */, + DC74B6901A901699001DC526 /* Supporting Files */, + ); + path = TGPControlsDemo7Tests; + sourceTree = ""; + }; + DC74B6901A901699001DC526 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + DC74B6911A901699001DC526 /* Info.plist */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + EA8C94FA4563F0443C64E897 /* Pods */ = { + isa = PBXGroup; + children = ( + 9D6EC9A4396AF16D62F320EE /* Pods-TGPControlsDemo7.debug.xcconfig */, + 3227B7F26D7BFA5B9536A0DB /* Pods-TGPControlsDemo7.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + DC74B6721A901699001DC526 /* TGPControlsDemo7 */ = { + isa = PBXNativeTarget; + buildConfigurationList = DC74B6961A901699001DC526 /* Build configuration list for PBXNativeTarget "TGPControlsDemo7" */; + buildPhases = ( + FEE5971EB6029A24184C34B2 /* Check Pods Manifest.lock */, + DC74B66F1A901699001DC526 /* Sources */, + DC74B6701A901699001DC526 /* Frameworks */, + DC74B6711A901699001DC526 /* Resources */, + CEF1711B486B1BADB4F115FF /* Copy Pods Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = TGPControlsDemo7; + productName = TGPControlsDemo7; + productReference = DC74B6731A901699001DC526 /* TGPControlsDemo7.app */; + productType = "com.apple.product-type.application"; + }; + DC74B68B1A901699001DC526 /* TGPControlsDemo7Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = DC74B6991A901699001DC526 /* Build configuration list for PBXNativeTarget "TGPControlsDemo7Tests" */; + buildPhases = ( + DC74B6881A901699001DC526 /* Sources */, + DC74B6891A901699001DC526 /* Frameworks */, + DC74B68A1A901699001DC526 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + DC74B68E1A901699001DC526 /* PBXTargetDependency */, + ); + name = TGPControlsDemo7Tests; + productName = TGPControlsDemo7Tests; + productReference = DC74B68C1A901699001DC526 /* TGPControlsDemo7Tests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + DC74B66B1A901699001DC526 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0610; + ORGANIZATIONNAME = TheGothicParty; + TargetAttributes = { + DC74B6721A901699001DC526 = { + CreatedOnToolsVersion = 6.1.1; + }; + DC74B68B1A901699001DC526 = { + CreatedOnToolsVersion = 6.1.1; + TestTargetID = DC74B6721A901699001DC526; + }; + }; + }; + buildConfigurationList = DC74B66E1A901699001DC526 /* Build configuration list for PBXProject "TGPControlsDemo7" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = DC74B66A1A901699001DC526; + productRefGroup = DC74B6741A901699001DC526 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + DC74B6721A901699001DC526 /* TGPControlsDemo7 */, + DC74B68B1A901699001DC526 /* TGPControlsDemo7Tests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + DC74B6711A901699001DC526 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + DC74B6821A901699001DC526 /* Main.storyboard in Resources */, + DC74B6871A901699001DC526 /* LaunchScreen.xib in Resources */, + DC74B6841A901699001DC526 /* Images.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DC74B68A1A901699001DC526 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + CEF1711B486B1BADB4F115FF /* Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-TGPControlsDemo7/Pods-TGPControlsDemo7-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + FEE5971EB6029A24184C34B2 /* 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; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + DC74B66F1A901699001DC526 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + DC74B67F1A901699001DC526 /* ViewController.m in Sources */, + DC74B67C1A901699001DC526 /* AppDelegate.m in Sources */, + DC74B6791A901699001DC526 /* main.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DC74B6881A901699001DC526 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + DC74B6931A901699001DC526 /* TGPControlsDemo7Tests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + DC74B68E1A901699001DC526 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = DC74B6721A901699001DC526 /* TGPControlsDemo7 */; + targetProxy = DC74B68D1A901699001DC526 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + DC74B6801A901699001DC526 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + DC74B6811A901699001DC526 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + DC74B6851A901699001DC526 /* LaunchScreen.xib */ = { + isa = PBXVariantGroup; + children = ( + DC74B6861A901699001DC526 /* Base */, + ); + name = LaunchScreen.xib; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + DC74B6941A901699001DC526 /* 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_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + 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 = 8.1; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + DC74B6951A901699001DC526 /* 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_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = YES; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + 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 = 8.1; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + DC74B6971A901699001DC526 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 9D6EC9A4396AF16D62F320EE /* Pods-TGPControlsDemo7.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + INFOPLIST_FILE = TGPControlsDemo7/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 7.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + DC74B6981A901699001DC526 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 3227B7F26D7BFA5B9536A0DB /* Pods-TGPControlsDemo7.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + INFOPLIST_FILE = TGPControlsDemo7/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 7.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + DC74B69A1A901699001DC526 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(inherited)", + ); + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + INFOPLIST_FILE = TGPControlsDemo7Tests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TGPControlsDemo7.app/TGPControlsDemo7"; + }; + name = Debug; + }; + DC74B69B1A901699001DC526 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(inherited)", + ); + INFOPLIST_FILE = TGPControlsDemo7Tests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TGPControlsDemo7.app/TGPControlsDemo7"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + DC74B66E1A901699001DC526 /* Build configuration list for PBXProject "TGPControlsDemo7" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DC74B6941A901699001DC526 /* Debug */, + DC74B6951A901699001DC526 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + DC74B6961A901699001DC526 /* Build configuration list for PBXNativeTarget "TGPControlsDemo7" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DC74B6971A901699001DC526 /* Debug */, + DC74B6981A901699001DC526 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + DC74B6991A901699001DC526 /* Build configuration list for PBXNativeTarget "TGPControlsDemo7Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DC74B69A1A901699001DC526 /* Debug */, + DC74B69B1A901699001DC526 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = DC74B66B1A901699001DC526 /* Project object */; +} diff --git a/TGPControlsDemo7/TGPControlsDemo7/AppDelegate.h b/TGPControlsDemo7/TGPControlsDemo7/AppDelegate.h new file mode 100644 index 0000000..223af7a --- /dev/null +++ b/TGPControlsDemo7/TGPControlsDemo7/AppDelegate.h @@ -0,0 +1,39 @@ +// @file: AppDelegate.h +// @project: TGPControlsDemo7 (TGPControls) +// +// @history: Created November 27, 2014 (Thanksgiving Day) +// @author: Xavier Schott +// mailto://xschott@gmail.com +// http://thegothicparty.com +// tel://+18089383634 +// +// @license: http://opensource.org/licenses/MIT +// Copyright (c) 2014, Xavier Schott +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#import + +@interface AppDelegate : UIResponder + +@property (strong, nonatomic) UIWindow *window; + + +@end + diff --git a/TGPControlsDemo7/TGPControlsDemo7/AppDelegate.m b/TGPControlsDemo7/TGPControlsDemo7/AppDelegate.m new file mode 100644 index 0000000..3035601 --- /dev/null +++ b/TGPControlsDemo7/TGPControlsDemo7/AppDelegate.m @@ -0,0 +1,67 @@ +// @file: AppDelegate.m +// @project: TGPControlsDemo7 (TGPControls) +// +// @history: Created November 27, 2014 (Thanksgiving Day) +// @author: Xavier Schott +// mailto://xschott@gmail.com +// http://thegothicparty.com +// tel://+18089383634 +// +// @license: http://opensource.org/licenses/MIT +// Copyright (c) 2014, Xavier Schott +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#import "AppDelegate.h" + +@interface AppDelegate () + +@end + +@implementation AppDelegate + + +- (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/TGPControlsDemo7/TGPControlsDemo7/Base.lproj/LaunchScreen.xib b/TGPControlsDemo7/TGPControlsDemo7/Base.lproj/LaunchScreen.xib new file mode 100644 index 0000000..0c5a5a5 --- /dev/null +++ b/TGPControlsDemo7/TGPControlsDemo7/Base.lproj/LaunchScreen.xib @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/TGPControlsDemo7/TGPControlsDemo7/Base.lproj/Main.storyboard b/TGPControlsDemo7/TGPControlsDemo7/Base.lproj/Main.storyboard new file mode 100644 index 0000000..62d5331 --- /dev/null +++ b/TGPControlsDemo7/TGPControlsDemo7/Base.lproj/Main.storyboard @@ -0,0 +1,435 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/TGPControlsDemo7/TGPControlsDemo7/Images.xcassets/AppIcon.appiconset/Contents.json b/TGPControlsDemo7/TGPControlsDemo7/Images.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..36d2c80 --- /dev/null +++ b/TGPControlsDemo7/TGPControlsDemo7/Images.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,68 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "3x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/TGPControlsDemo7/TGPControlsDemo7/Info.plist b/TGPControlsDemo7/TGPControlsDemo7/Info.plist new file mode 100644 index 0000000..21f9d00 --- /dev/null +++ b/TGPControlsDemo7/TGPControlsDemo7/Info.plist @@ -0,0 +1,47 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + com.thegothicparty.$(PRODUCT_NAME:rfc1034identifier) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + LSRequiresIPhoneOS + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/TGPControlsDemo7/TGPControlsDemo7/ViewController.h b/TGPControlsDemo7/TGPControlsDemo7/ViewController.h new file mode 100644 index 0000000..abc9321 --- /dev/null +++ b/TGPControlsDemo7/TGPControlsDemo7/ViewController.h @@ -0,0 +1,37 @@ +// @file: ViewController.h +// @project: TGPControlsDemo7 (TGPControls) +// +// @history: Created November 27, 2014 (Thanksgiving Day) +// @author: Xavier Schott +// mailto://xschott@gmail.com +// http://thegothicparty.com +// tel://+18089383634 +// +// @license: http://opensource.org/licenses/MIT +// Copyright (c) 2014, Xavier Schott +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#import + +@interface ViewController : UIViewController + + +@end + diff --git a/TGPControlsDemo7/TGPControlsDemo7/ViewController.m b/TGPControlsDemo7/TGPControlsDemo7/ViewController.m new file mode 100644 index 0000000..c06d2e0 --- /dev/null +++ b/TGPControlsDemo7/TGPControlsDemo7/ViewController.m @@ -0,0 +1,92 @@ +// @file: ViewController.m +// @project: TGPControlsDemo7 (TGPControls) +// +// @history: Created November 27, 2014 (Thanksgiving Day) +// @author: Xavier Schott +// mailto://xschott@gmail.com +// http://thegothicparty.com +// tel://+18089383634 +// +// @license: http://opensource.org/licenses/MIT +// Copyright (c) 2014, Xavier Schott +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#import "ViewController.h" +#import "TGPDiscreteSlider7.h" +#import "TGPCamelLabels7.h" + +@interface ViewController () + +// iOS 7 does not support IBInspectable, so use the .7 class for both controls. +// If your project targets iOS 8+, you should use TGPDiscreteSlider & TGPCamelLabels instead + +@property (weak, nonatomic) IBOutlet TGPCamelLabels7 *oneTo10Labels; +@property (weak, nonatomic) IBOutlet TGPDiscreteSlider7 *oneTo10Slider; + +@property (weak, nonatomic) IBOutlet TGPCamelLabels7 *alphabetLabels; +@property (weak, nonatomic) IBOutlet TGPDiscreteSlider7 *alphabetSlider; + +@property (weak, nonatomic) IBOutlet TGPCamelLabels7 *switch1Camel; +@property (weak, nonatomic) IBOutlet TGPCamelLabels7 *switch2Camel; +@end + +@implementation ViewController + +- (void)viewDidLoad { + [super viewDidLoad]; + + [self.oneTo10Slider addTarget:self + action:@selector(oneTo10SliderValueChanged:) + forControlEvents:UIControlEventValueChanged]; + [self.alphabetSlider addTarget:self + action:@selector(alphabetSliderValueChanged:) + forControlEvents:UIControlEventValueChanged]; + + self.alphabetLabels.names = @[@"A",@"B",@"C",@"D",@"E",@"F", @"G",@"H",@"I",@"J",@"K",@"L",@"M", + @"N",@"O",@"P",@"Q",@"R",@"S", @"T",@"U",@"V",@"W",@"X",@"Y",@"Z"]; + self.switch1Camel.names = @[@"OFF", @"ON"]; + self.switch2Camel.names = @[@"O", @"l"]; + + // Match the ticks spacing exactly + self.alphabetSlider.ticksListener = self.alphabetLabels; + self.oneTo10Slider.ticksListener = self.oneTo10Labels; +} + +#pragma mark TGPDiscreteSlider + +- (IBAction)oneTo10SliderValueChanged:(TGPDiscreteSlider7 *)sender { + [self.oneTo10Labels setValue:sender.value]; +} + +- (IBAction)alphabetSliderValueChanged:(TGPDiscreteSlider7 *)sender { + [self.alphabetLabels setValue:sender.value]; +} + +#pragma mark UISwitch + +- (IBAction)switch1ValueChanged:(UISwitch *)sender { + [self.switch1Camel setValue:((sender.isOn) ? 1 : 0)]; +} + +- (IBAction)switch2TouchUpInside:(UISwitch *)sender { + [self.switch2Camel setValue:((sender.isOn) ? 1 : 0)]; +} + +@end \ No newline at end of file diff --git a/TGPControlsDemo7/TGPControlsDemo7/main.m b/TGPControlsDemo7/TGPControlsDemo7/main.m new file mode 100644 index 0000000..47a089c --- /dev/null +++ b/TGPControlsDemo7/TGPControlsDemo7/main.m @@ -0,0 +1,38 @@ +// @file: main.m +// @project: TGPControlsDemo7 (TGPControls) +// +// @history: Created November 27, 2014 (Thanksgiving Day) +// @author: Xavier Schott +// mailto://xschott@gmail.com +// http://thegothicparty.com +// tel://+18089383634 +// +// @license: http://opensource.org/licenses/MIT +// Copyright (c) 2014, Xavier Schott +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#import +#import "AppDelegate.h" + +int main(int argc, char * argv[]) { + @autoreleasepool { + return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); + } +} diff --git a/TGPControlsDemo7/TGPControlsDemo7Tests/Info.plist b/TGPControlsDemo7/TGPControlsDemo7Tests/Info.plist new file mode 100644 index 0000000..f794cd2 --- /dev/null +++ b/TGPControlsDemo7/TGPControlsDemo7Tests/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + com.thegothicparty.$(PRODUCT_NAME:rfc1034identifier) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/TGPControlsDemo7/TGPControlsDemo7Tests/TGPControlsDemo7Tests.m b/TGPControlsDemo7/TGPControlsDemo7Tests/TGPControlsDemo7Tests.m new file mode 100644 index 0000000..e3561f1 --- /dev/null +++ b/TGPControlsDemo7/TGPControlsDemo7Tests/TGPControlsDemo7Tests.m @@ -0,0 +1,62 @@ +// @file: TGPControlsDemo7Tests.m +// @project: TGPControlsDemo7 (TGPControls) +// +// @history: Created November 27, 2014 (Thanksgiving Day) +// @author: Xavier Schott +// mailto://xschott@gmail.com +// http://thegothicparty.com +// tel://+18089383634 +// +// @license: http://opensource.org/licenses/MIT +// Copyright (c) 2014, Xavier Schott +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#import +#import + +@interface TGPControlsDemo7Tests : XCTestCase + +@end + +@implementation TGPControlsDemo7Tests + +- (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 { + // This is an example of a functional test case. + XCTAssert(YES, @"Pass"); +} + +- (void)testPerformanceExample { + // This is an example of a performance test case. + [self measureBlock:^{ + // Put the code you want to measure the time of here. + }]; +} + +@end