From 9332848274191847c66dcc032b460efd7885067d Mon Sep 17 00:00:00 2001 From: colin Date: Tue, 7 Apr 2015 15:17:29 +0800 Subject: [PATCH] Initial Commit --- HoledViewTest.xcodeproj/project.pbxproj | 471 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcschemes/HoledViewTest.xcscheme | 96 ++++ .../xcschemes/xcschememanagement.plist | 27 + HoledViewTest/AppDelegate.h | 15 + HoledViewTest/AppDelegate.m | 46 ++ HoledViewTest/Base.lproj/Main.storyboard | 30 ++ HoledViewTest/HoledViewTest-Info.plist | 40 ++ HoledViewTest/HoledViewTest-Prefix.pch | 16 + .../AppIcon.appiconset/Contents.json | 23 + .../LaunchImage.launchimage/Contents.json | 23 + HoledViewTest/ViewController.h | 13 + HoledViewTest/ViewController.m | 29 ++ HoledViewTest/en.lproj/InfoPlist.strings | 2 + HoledViewTest/main.m | 18 + .../HoledViewTestTests-Info.plist | 22 + HoledViewTestTests/HoledViewTestTests.m | 34 ++ HoledViewTestTests/en.lproj/InfoPlist.strings | 2 + 18 files changed, 914 insertions(+) create mode 100644 HoledViewTest.xcodeproj/project.pbxproj create mode 100644 HoledViewTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 HoledViewTest.xcodeproj/xcuserdata/apple.xcuserdatad/xcschemes/HoledViewTest.xcscheme create mode 100644 HoledViewTest.xcodeproj/xcuserdata/apple.xcuserdatad/xcschemes/xcschememanagement.plist create mode 100644 HoledViewTest/AppDelegate.h create mode 100644 HoledViewTest/AppDelegate.m create mode 100644 HoledViewTest/Base.lproj/Main.storyboard create mode 100644 HoledViewTest/HoledViewTest-Info.plist create mode 100644 HoledViewTest/HoledViewTest-Prefix.pch create mode 100644 HoledViewTest/Images.xcassets/AppIcon.appiconset/Contents.json create mode 100644 HoledViewTest/Images.xcassets/LaunchImage.launchimage/Contents.json create mode 100644 HoledViewTest/ViewController.h create mode 100644 HoledViewTest/ViewController.m create mode 100644 HoledViewTest/en.lproj/InfoPlist.strings create mode 100644 HoledViewTest/main.m create mode 100644 HoledViewTestTests/HoledViewTestTests-Info.plist create mode 100644 HoledViewTestTests/HoledViewTestTests.m create mode 100644 HoledViewTestTests/en.lproj/InfoPlist.strings diff --git a/HoledViewTest.xcodeproj/project.pbxproj b/HoledViewTest.xcodeproj/project.pbxproj new file mode 100644 index 0000000..f1acd98 --- /dev/null +++ b/HoledViewTest.xcodeproj/project.pbxproj @@ -0,0 +1,471 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 1861B5C41AD3BC0700453C08 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1861B5C31AD3BC0700453C08 /* Foundation.framework */; }; + 1861B5C61AD3BC0700453C08 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1861B5C51AD3BC0700453C08 /* CoreGraphics.framework */; }; + 1861B5C81AD3BC0700453C08 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1861B5C71AD3BC0700453C08 /* UIKit.framework */; }; + 1861B5CE1AD3BC0700453C08 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 1861B5CC1AD3BC0700453C08 /* InfoPlist.strings */; }; + 1861B5D01AD3BC0700453C08 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 1861B5CF1AD3BC0700453C08 /* main.m */; }; + 1861B5D41AD3BC0700453C08 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 1861B5D31AD3BC0700453C08 /* AppDelegate.m */; }; + 1861B5D71AD3BC0700453C08 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 1861B5D51AD3BC0700453C08 /* Main.storyboard */; }; + 1861B5DA1AD3BC0700453C08 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1861B5D91AD3BC0700453C08 /* ViewController.m */; }; + 1861B5DC1AD3BC0700453C08 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1861B5DB1AD3BC0700453C08 /* Images.xcassets */; }; + 1861B5E31AD3BC0700453C08 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1861B5E21AD3BC0700453C08 /* XCTest.framework */; }; + 1861B5E41AD3BC0700453C08 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1861B5C31AD3BC0700453C08 /* Foundation.framework */; }; + 1861B5E51AD3BC0700453C08 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1861B5C71AD3BC0700453C08 /* UIKit.framework */; }; + 1861B5ED1AD3BC0700453C08 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 1861B5EB1AD3BC0700453C08 /* InfoPlist.strings */; }; + 1861B5EF1AD3BC0700453C08 /* HoledViewTestTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1861B5EE1AD3BC0700453C08 /* HoledViewTestTests.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 1861B5E61AD3BC0700453C08 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1861B5B81AD3BC0700453C08 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 1861B5BF1AD3BC0700453C08; + remoteInfo = HoledViewTest; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 1861B5C01AD3BC0700453C08 /* HoledViewTest.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HoledViewTest.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 1861B5C31AD3BC0700453C08 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 1861B5C51AD3BC0700453C08 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; + 1861B5C71AD3BC0700453C08 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; + 1861B5CB1AD3BC0700453C08 /* HoledViewTest-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "HoledViewTest-Info.plist"; sourceTree = ""; }; + 1861B5CD1AD3BC0700453C08 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + 1861B5CF1AD3BC0700453C08 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + 1861B5D11AD3BC0700453C08 /* HoledViewTest-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "HoledViewTest-Prefix.pch"; sourceTree = ""; }; + 1861B5D21AD3BC0700453C08 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; + 1861B5D31AD3BC0700453C08 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; + 1861B5D61AD3BC0700453C08 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 1861B5D81AD3BC0700453C08 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; + 1861B5D91AD3BC0700453C08 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; + 1861B5DB1AD3BC0700453C08 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; + 1861B5E11AD3BC0700453C08 /* HoledViewTestTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = HoledViewTestTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 1861B5E21AD3BC0700453C08 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; + 1861B5EA1AD3BC0700453C08 /* HoledViewTestTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "HoledViewTestTests-Info.plist"; sourceTree = ""; }; + 1861B5EC1AD3BC0700453C08 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + 1861B5EE1AD3BC0700453C08 /* HoledViewTestTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = HoledViewTestTests.m; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 1861B5BD1AD3BC0700453C08 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1861B5C61AD3BC0700453C08 /* CoreGraphics.framework in Frameworks */, + 1861B5C81AD3BC0700453C08 /* UIKit.framework in Frameworks */, + 1861B5C41AD3BC0700453C08 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1861B5DE1AD3BC0700453C08 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1861B5E31AD3BC0700453C08 /* XCTest.framework in Frameworks */, + 1861B5E51AD3BC0700453C08 /* UIKit.framework in Frameworks */, + 1861B5E41AD3BC0700453C08 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 1861B5B71AD3BC0700453C08 = { + isa = PBXGroup; + children = ( + 1861B5C91AD3BC0700453C08 /* HoledViewTest */, + 1861B5E81AD3BC0700453C08 /* HoledViewTestTests */, + 1861B5C21AD3BC0700453C08 /* Frameworks */, + 1861B5C11AD3BC0700453C08 /* Products */, + ); + sourceTree = ""; + }; + 1861B5C11AD3BC0700453C08 /* Products */ = { + isa = PBXGroup; + children = ( + 1861B5C01AD3BC0700453C08 /* HoledViewTest.app */, + 1861B5E11AD3BC0700453C08 /* HoledViewTestTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 1861B5C21AD3BC0700453C08 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 1861B5C31AD3BC0700453C08 /* Foundation.framework */, + 1861B5C51AD3BC0700453C08 /* CoreGraphics.framework */, + 1861B5C71AD3BC0700453C08 /* UIKit.framework */, + 1861B5E21AD3BC0700453C08 /* XCTest.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 1861B5C91AD3BC0700453C08 /* HoledViewTest */ = { + isa = PBXGroup; + children = ( + 1861B5D21AD3BC0700453C08 /* AppDelegate.h */, + 1861B5D31AD3BC0700453C08 /* AppDelegate.m */, + 1861B5D51AD3BC0700453C08 /* Main.storyboard */, + 1861B5D81AD3BC0700453C08 /* ViewController.h */, + 1861B5D91AD3BC0700453C08 /* ViewController.m */, + 1861B5DB1AD3BC0700453C08 /* Images.xcassets */, + 1861B5CA1AD3BC0700453C08 /* Supporting Files */, + ); + path = HoledViewTest; + sourceTree = ""; + }; + 1861B5CA1AD3BC0700453C08 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 1861B5CB1AD3BC0700453C08 /* HoledViewTest-Info.plist */, + 1861B5CC1AD3BC0700453C08 /* InfoPlist.strings */, + 1861B5CF1AD3BC0700453C08 /* main.m */, + 1861B5D11AD3BC0700453C08 /* HoledViewTest-Prefix.pch */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + 1861B5E81AD3BC0700453C08 /* HoledViewTestTests */ = { + isa = PBXGroup; + children = ( + 1861B5EE1AD3BC0700453C08 /* HoledViewTestTests.m */, + 1861B5E91AD3BC0700453C08 /* Supporting Files */, + ); + path = HoledViewTestTests; + sourceTree = ""; + }; + 1861B5E91AD3BC0700453C08 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 1861B5EA1AD3BC0700453C08 /* HoledViewTestTests-Info.plist */, + 1861B5EB1AD3BC0700453C08 /* InfoPlist.strings */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 1861B5BF1AD3BC0700453C08 /* HoledViewTest */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1861B5F21AD3BC0700453C08 /* Build configuration list for PBXNativeTarget "HoledViewTest" */; + buildPhases = ( + 1861B5BC1AD3BC0700453C08 /* Sources */, + 1861B5BD1AD3BC0700453C08 /* Frameworks */, + 1861B5BE1AD3BC0700453C08 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = HoledViewTest; + productName = HoledViewTest; + productReference = 1861B5C01AD3BC0700453C08 /* HoledViewTest.app */; + productType = "com.apple.product-type.application"; + }; + 1861B5E01AD3BC0700453C08 /* HoledViewTestTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1861B5F51AD3BC0700453C08 /* Build configuration list for PBXNativeTarget "HoledViewTestTests" */; + buildPhases = ( + 1861B5DD1AD3BC0700453C08 /* Sources */, + 1861B5DE1AD3BC0700453C08 /* Frameworks */, + 1861B5DF1AD3BC0700453C08 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 1861B5E71AD3BC0700453C08 /* PBXTargetDependency */, + ); + name = HoledViewTestTests; + productName = HoledViewTestTests; + productReference = 1861B5E11AD3BC0700453C08 /* HoledViewTestTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 1861B5B81AD3BC0700453C08 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0510; + ORGANIZATIONNAME = icephone; + TargetAttributes = { + 1861B5E01AD3BC0700453C08 = { + TestTargetID = 1861B5BF1AD3BC0700453C08; + }; + }; + }; + buildConfigurationList = 1861B5BB1AD3BC0700453C08 /* Build configuration list for PBXProject "HoledViewTest" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 1861B5B71AD3BC0700453C08; + productRefGroup = 1861B5C11AD3BC0700453C08 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 1861B5BF1AD3BC0700453C08 /* HoledViewTest */, + 1861B5E01AD3BC0700453C08 /* HoledViewTestTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 1861B5BE1AD3BC0700453C08 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1861B5DC1AD3BC0700453C08 /* Images.xcassets in Resources */, + 1861B5CE1AD3BC0700453C08 /* InfoPlist.strings in Resources */, + 1861B5D71AD3BC0700453C08 /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1861B5DF1AD3BC0700453C08 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1861B5ED1AD3BC0700453C08 /* InfoPlist.strings in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 1861B5BC1AD3BC0700453C08 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1861B5DA1AD3BC0700453C08 /* ViewController.m in Sources */, + 1861B5D41AD3BC0700453C08 /* AppDelegate.m in Sources */, + 1861B5D01AD3BC0700453C08 /* main.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1861B5DD1AD3BC0700453C08 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1861B5EF1AD3BC0700453C08 /* HoledViewTestTests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 1861B5E71AD3BC0700453C08 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 1861B5BF1AD3BC0700453C08 /* HoledViewTest */; + targetProxy = 1861B5E61AD3BC0700453C08 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 1861B5CC1AD3BC0700453C08 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 1861B5CD1AD3BC0700453C08 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; + 1861B5D51AD3BC0700453C08 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 1861B5D61AD3BC0700453C08 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + 1861B5EB1AD3BC0700453C08 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 1861B5EC1AD3BC0700453C08 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 1861B5F01AD3BC0700453C08 /* 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; + }; + 1861B5F11AD3BC0700453C08 /* 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; + }; + 1861B5F31AD3BC0700453C08 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "HoledViewTest/HoledViewTest-Prefix.pch"; + INFOPLIST_FILE = "HoledViewTest/HoledViewTest-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + 1861B5F41AD3BC0700453C08 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "HoledViewTest/HoledViewTest-Prefix.pch"; + INFOPLIST_FILE = "HoledViewTest/HoledViewTest-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; + 1861B5F61AD3BC0700453C08 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/HoledViewTest.app/HoledViewTest"; + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(inherited)", + "$(DEVELOPER_FRAMEWORKS_DIR)", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "HoledViewTest/HoledViewTest-Prefix.pch"; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + INFOPLIST_FILE = "HoledViewTestTests/HoledViewTestTests-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = xctest; + }; + name = Debug; + }; + 1861B5F71AD3BC0700453C08 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/HoledViewTest.app/HoledViewTest"; + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(inherited)", + "$(DEVELOPER_FRAMEWORKS_DIR)", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "HoledViewTest/HoledViewTest-Prefix.pch"; + INFOPLIST_FILE = "HoledViewTestTests/HoledViewTestTests-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = xctest; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 1861B5BB1AD3BC0700453C08 /* Build configuration list for PBXProject "HoledViewTest" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1861B5F01AD3BC0700453C08 /* Debug */, + 1861B5F11AD3BC0700453C08 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 1861B5F21AD3BC0700453C08 /* Build configuration list for PBXNativeTarget "HoledViewTest" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1861B5F31AD3BC0700453C08 /* Debug */, + 1861B5F41AD3BC0700453C08 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; + 1861B5F51AD3BC0700453C08 /* Build configuration list for PBXNativeTarget "HoledViewTestTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1861B5F61AD3BC0700453C08 /* Debug */, + 1861B5F71AD3BC0700453C08 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = 1861B5B81AD3BC0700453C08 /* Project object */; +} diff --git a/HoledViewTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/HoledViewTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..060ed2b --- /dev/null +++ b/HoledViewTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/HoledViewTest.xcodeproj/xcuserdata/apple.xcuserdatad/xcschemes/HoledViewTest.xcscheme b/HoledViewTest.xcodeproj/xcuserdata/apple.xcuserdatad/xcschemes/HoledViewTest.xcscheme new file mode 100644 index 0000000..302bda0 --- /dev/null +++ b/HoledViewTest.xcodeproj/xcuserdata/apple.xcuserdatad/xcschemes/HoledViewTest.xcscheme @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/HoledViewTest.xcodeproj/xcuserdata/apple.xcuserdatad/xcschemes/xcschememanagement.plist b/HoledViewTest.xcodeproj/xcuserdata/apple.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..e14d622 --- /dev/null +++ b/HoledViewTest.xcodeproj/xcuserdata/apple.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,27 @@ + + + + + SchemeUserState + + HoledViewTest.xcscheme + + orderHint + 0 + + + SuppressBuildableAutocreation + + 1861B5BF1AD3BC0700453C08 + + primary + + + 1861B5E01AD3BC0700453C08 + + primary + + + + + diff --git a/HoledViewTest/AppDelegate.h b/HoledViewTest/AppDelegate.h new file mode 100644 index 0000000..12a3bd0 --- /dev/null +++ b/HoledViewTest/AppDelegate.h @@ -0,0 +1,15 @@ +// +// AppDelegate.h +// HoledViewTest +// +// Created by Colin on 15/4/7. +// Copyright (c) 2015年 icephone. All rights reserved. +// + +#import + +@interface AppDelegate : UIResponder + +@property (strong, nonatomic) UIWindow *window; + +@end diff --git a/HoledViewTest/AppDelegate.m b/HoledViewTest/AppDelegate.m new file mode 100644 index 0000000..c0c0b40 --- /dev/null +++ b/HoledViewTest/AppDelegate.m @@ -0,0 +1,46 @@ +// +// AppDelegate.m +// HoledViewTest +// +// Created by Colin on 15/4/7. +// Copyright (c) 2015年 icephone. All rights reserved. +// + +#import "AppDelegate.h" + +@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/HoledViewTest/Base.lproj/Main.storyboard b/HoledViewTest/Base.lproj/Main.storyboard new file mode 100644 index 0000000..ce2c658 --- /dev/null +++ b/HoledViewTest/Base.lproj/Main.storyboard @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/HoledViewTest/HoledViewTest-Info.plist b/HoledViewTest/HoledViewTest-Info.plist new file mode 100644 index 0000000..9cdf916 --- /dev/null +++ b/HoledViewTest/HoledViewTest-Info.plist @@ -0,0 +1,40 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + ${PRODUCT_NAME} + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + Colin.${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/HoledViewTest/HoledViewTest-Prefix.pch b/HoledViewTest/HoledViewTest-Prefix.pch new file mode 100644 index 0000000..82a2bb4 --- /dev/null +++ b/HoledViewTest/HoledViewTest-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/HoledViewTest/Images.xcassets/AppIcon.appiconset/Contents.json b/HoledViewTest/Images.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..a396706 --- /dev/null +++ b/HoledViewTest/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/HoledViewTest/Images.xcassets/LaunchImage.launchimage/Contents.json b/HoledViewTest/Images.xcassets/LaunchImage.launchimage/Contents.json new file mode 100644 index 0000000..c79ebd3 --- /dev/null +++ b/HoledViewTest/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/HoledViewTest/ViewController.h b/HoledViewTest/ViewController.h new file mode 100644 index 0000000..c67fb59 --- /dev/null +++ b/HoledViewTest/ViewController.h @@ -0,0 +1,13 @@ +// +// ViewController.h +// HoledViewTest +// +// Created by Colin on 15/4/7. +// Copyright (c) 2015年 icephone. All rights reserved. +// + +#import + +@interface ViewController : UIViewController + +@end diff --git a/HoledViewTest/ViewController.m b/HoledViewTest/ViewController.m new file mode 100644 index 0000000..2b18c4f --- /dev/null +++ b/HoledViewTest/ViewController.m @@ -0,0 +1,29 @@ +// +// ViewController.m +// HoledViewTest +// +// Created by Colin on 15/4/7. +// Copyright (c) 2015年 icephone. All rights reserved. +// + +#import "ViewController.h" + +@interface ViewController () + +@end + +@implementation ViewController + +- (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/HoledViewTest/en.lproj/InfoPlist.strings b/HoledViewTest/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/HoledViewTest/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/HoledViewTest/main.m b/HoledViewTest/main.m new file mode 100644 index 0000000..c6f79da --- /dev/null +++ b/HoledViewTest/main.m @@ -0,0 +1,18 @@ +// +// main.m +// HoledViewTest +// +// Created by Colin on 15/4/7. +// Copyright (c) 2015年 icephone. All rights reserved. +// + +#import + +#import "AppDelegate.h" + +int main(int argc, char * argv[]) +{ + @autoreleasepool { + return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); + } +} diff --git a/HoledViewTestTests/HoledViewTestTests-Info.plist b/HoledViewTestTests/HoledViewTestTests-Info.plist new file mode 100644 index 0000000..feec9ba --- /dev/null +++ b/HoledViewTestTests/HoledViewTestTests-Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + Colin.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/HoledViewTestTests/HoledViewTestTests.m b/HoledViewTestTests/HoledViewTestTests.m new file mode 100644 index 0000000..833720a --- /dev/null +++ b/HoledViewTestTests/HoledViewTestTests.m @@ -0,0 +1,34 @@ +// +// HoledViewTestTests.m +// HoledViewTestTests +// +// Created by Colin on 15/4/7. +// Copyright (c) 2015年 icephone. All rights reserved. +// + +#import + +@interface HoledViewTestTests : XCTestCase + +@end + +@implementation HoledViewTestTests + +- (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 diff --git a/HoledViewTestTests/en.lproj/InfoPlist.strings b/HoledViewTestTests/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/HoledViewTestTests/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ +