From 919a9a7b3cee3dc3031ff6cb8af55f015af768b6 Mon Sep 17 00:00:00 2001 From: Keith Ito Date: Thu, 21 Apr 2016 17:00:36 -0400 Subject: [PATCH] Build as a dynamic framework to support Carthage. --- .travis.yml | 3 +- Example/Example.xcodeproj/project.pbxproj | 303 +++++++++ .../contents.xcworkspacedata | 7 + Example/Podfile | 11 - Example/Podfile.lock | 20 - .../AppIcon.appiconset/Contents.json | 0 .../Assets.xcassets}/Contents.json | 0 .../play.imageset/Contents.json | 0 .../play.imageset/play_24x24@2x.png | Bin .../play.imageset/play_24x24@3x.png | Bin .../Base.lproj/LaunchScreen.xib | 0 .../Base.lproj/Main.storyboard | 0 .../{SimpleAnimation => Resources}/Info.plist | 8 + .../SimpleAnimation.xcodeproj/project.pbxproj | 582 ------------------ .../AppDelegate.swift | 0 .../ViewController.swift | 0 Example/Tests/Tests.swift | 17 - SimpleAnimation.podspec | 4 +- SimpleAnimation.xcodeproj/project.pbxproj | 406 ++++++++++++ .../contents.xcworkspacedata | 0 .../xcschemes/SimpleAnimation.xcscheme | 54 +- .../contents.xcworkspacedata | 2 +- SimpleAnimation/Assets/.gitkeep | 0 SimpleAnimation/Classes/.gitkeep | 0 Source/Info.plist | 26 + .../UIView+SimpleAnimation.swift | 0 {Example/Tests => Tests}/Info.plist | 0 Tests/UIView+SimpleAnimationTest.swift | 16 + _Pods.xcodeproj | 1 - 29 files changed, 789 insertions(+), 671 deletions(-) create mode 100644 Example/Example.xcodeproj/project.pbxproj create mode 100644 Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata delete mode 100644 Example/Podfile delete mode 100644 Example/Podfile.lock rename Example/{SimpleAnimation/Images.xcassets => Resources/Assets.xcassets}/AppIcon.appiconset/Contents.json (100%) rename Example/{SimpleAnimation/Images.xcassets => Resources/Assets.xcassets}/Contents.json (100%) rename Example/{SimpleAnimation/Images.xcassets => Resources/Assets.xcassets}/play.imageset/Contents.json (100%) rename Example/{SimpleAnimation/Images.xcassets => Resources/Assets.xcassets}/play.imageset/play_24x24@2x.png (100%) rename Example/{SimpleAnimation/Images.xcassets => Resources/Assets.xcassets}/play.imageset/play_24x24@3x.png (100%) rename Example/{SimpleAnimation => Resources}/Base.lproj/LaunchScreen.xib (100%) rename Example/{SimpleAnimation => Resources}/Base.lproj/Main.storyboard (100%) rename Example/{SimpleAnimation => Resources}/Info.plist (76%) delete mode 100644 Example/SimpleAnimation.xcodeproj/project.pbxproj rename Example/{SimpleAnimation => Source}/AppDelegate.swift (100%) rename Example/{SimpleAnimation => Source}/ViewController.swift (100%) delete mode 100644 Example/Tests/Tests.swift create mode 100644 SimpleAnimation.xcodeproj/project.pbxproj rename {Example/SimpleAnimation.xcodeproj => SimpleAnimation.xcodeproj}/project.xcworkspace/contents.xcworkspacedata (100%) rename Example/SimpleAnimation.xcodeproj/xcshareddata/xcschemes/SimpleAnimation-Example.xcscheme => SimpleAnimation.xcodeproj/xcshareddata/xcschemes/SimpleAnimation.xcscheme (62%) rename {Example/SimpleAnimation.xcworkspace => SimpleAnimation.xcworkspace}/contents.xcworkspacedata (78%) delete mode 100644 SimpleAnimation/Assets/.gitkeep delete mode 100644 SimpleAnimation/Classes/.gitkeep create mode 100644 Source/Info.plist rename {SimpleAnimation/Classes => Source}/UIView+SimpleAnimation.swift (100%) rename {Example/Tests => Tests}/Info.plist (100%) create mode 100644 Tests/UIView+SimpleAnimationTest.swift delete mode 120000 _Pods.xcodeproj diff --git a/.travis.yml b/.travis.yml index f65aa26..0308a08 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,6 @@ language: objective-c osx_image: xcode7.3 before_install: - gem install cocoapods xcpretty --no-rdoc --no-ri --no-document --quiet -- pod install --project-directory=Example script: -- set -o pipefail && xcodebuild test -workspace Example/SimpleAnimation.xcworkspace -scheme SimpleAnimation-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty +- set -o pipefail && xcodebuild test -workspace SimpleAnimation.xcworkspace -scheme SimpleAnimation -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty - pod lib lint --quick diff --git a/Example/Example.xcodeproj/project.pbxproj b/Example/Example.xcodeproj/project.pbxproj new file mode 100644 index 0000000..417fe49 --- /dev/null +++ b/Example/Example.xcodeproj/project.pbxproj @@ -0,0 +1,303 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 4005237C1CC973B900E6DDA3 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4005237A1CC973B900E6DDA3 /* AppDelegate.swift */; }; + 4005237D1CC973B900E6DDA3 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4005237B1CC973B900E6DDA3 /* ViewController.swift */; }; + 400523801CC973C600E6DDA3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 4005237F1CC973C600E6DDA3 /* Assets.xcassets */; }; + 400523871CC973E100E6DDA3 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 400523831CC973E100E6DDA3 /* LaunchScreen.xib */; }; + 400523881CC973E100E6DDA3 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 400523851CC973E100E6DDA3 /* Main.storyboard */; }; + 4005238A1CC973F200E6DDA3 /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 400523891CC973F200E6DDA3 /* Info.plist */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 400523511CC7B94C00E6DDA3 /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 4005237A1CC973B900E6DDA3 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = Source/AppDelegate.swift; sourceTree = ""; }; + 4005237B1CC973B900E6DDA3 /* ViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = ViewController.swift; path = Source/ViewController.swift; sourceTree = ""; }; + 4005237F1CC973C600E6DDA3 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Resources/Assets.xcassets; sourceTree = ""; }; + 400523841CC973E100E6DDA3 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Resources/Base.lproj/LaunchScreen.xib; sourceTree = ""; }; + 400523861CC973E100E6DDA3 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Resources/Base.lproj/Main.storyboard; sourceTree = ""; }; + 400523891CC973F200E6DDA3 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = Resources/Info.plist; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 4005234E1CC7B94C00E6DDA3 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 400523481CC7B94C00E6DDA3 = { + isa = PBXGroup; + children = ( + 400523791CC973A900E6DDA3 /* Source */, + 4005237F1CC973C600E6DDA3 /* Assets.xcassets */, + 400523851CC973E100E6DDA3 /* Main.storyboard */, + 400523831CC973E100E6DDA3 /* LaunchScreen.xib */, + 400523891CC973F200E6DDA3 /* Info.plist */, + 400523521CC7B94C00E6DDA3 /* Products */, + ); + sourceTree = ""; + }; + 400523521CC7B94C00E6DDA3 /* Products */ = { + isa = PBXGroup; + children = ( + 400523511CC7B94C00E6DDA3 /* Example.app */, + ); + name = Products; + sourceTree = ""; + }; + 400523791CC973A900E6DDA3 /* Source */ = { + isa = PBXGroup; + children = ( + 4005237A1CC973B900E6DDA3 /* AppDelegate.swift */, + 4005237B1CC973B900E6DDA3 /* ViewController.swift */, + ); + name = Source; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 400523501CC7B94C00E6DDA3 /* Example */ = { + isa = PBXNativeTarget; + buildConfigurationList = 400523631CC7B94C00E6DDA3 /* Build configuration list for PBXNativeTarget "Example" */; + buildPhases = ( + 4005234D1CC7B94C00E6DDA3 /* Sources */, + 4005234E1CC7B94C00E6DDA3 /* Frameworks */, + 4005234F1CC7B94C00E6DDA3 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Example; + productName = Example; + productReference = 400523511CC7B94C00E6DDA3 /* Example.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 400523491CC7B94C00E6DDA3 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0730; + LastUpgradeCheck = 0730; + ORGANIZATIONNAME = "Keith Ito"; + TargetAttributes = { + 400523501CC7B94C00E6DDA3 = { + CreatedOnToolsVersion = 7.3; + }; + }; + }; + buildConfigurationList = 4005234C1CC7B94C00E6DDA3 /* Build configuration list for PBXProject "Example" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 400523481CC7B94C00E6DDA3; + productRefGroup = 400523521CC7B94C00E6DDA3 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 400523501CC7B94C00E6DDA3 /* Example */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 4005234F1CC7B94C00E6DDA3 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4005238A1CC973F200E6DDA3 /* Info.plist in Resources */, + 400523881CC973E100E6DDA3 /* Main.storyboard in Resources */, + 400523871CC973E100E6DDA3 /* LaunchScreen.xib in Resources */, + 400523801CC973C600E6DDA3 /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 4005234D1CC7B94C00E6DDA3 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4005237D1CC973B900E6DDA3 /* ViewController.swift in Sources */, + 4005237C1CC973B900E6DDA3 /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 400523831CC973E100E6DDA3 /* LaunchScreen.xib */ = { + isa = PBXVariantGroup; + children = ( + 400523841CC973E100E6DDA3 /* Base */, + ); + name = LaunchScreen.xib; + sourceTree = ""; + }; + 400523851CC973E100E6DDA3 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 400523861CC973E100E6DDA3 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 400523611CC7B94C00E6DDA3 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + 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; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + 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 = 9.3; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 400523621CC7B94C00E6DDA3 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + 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; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + 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 = 9.3; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 400523641CC7B94C00E6DDA3 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + INFOPLIST_FILE = "$(SRCROOT)/Resources/Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.keithito.SimpleAnimationExample; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 400523651CC7B94C00E6DDA3 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + INFOPLIST_FILE = "$(SRCROOT)/Resources/Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.keithito.SimpleAnimationExample; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 4005234C1CC7B94C00E6DDA3 /* Build configuration list for PBXProject "Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 400523611CC7B94C00E6DDA3 /* Debug */, + 400523621CC7B94C00E6DDA3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 400523631CC7B94C00E6DDA3 /* Build configuration list for PBXNativeTarget "Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 400523641CC7B94C00E6DDA3 /* Debug */, + 400523651CC7B94C00E6DDA3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 400523491CC7B94C00E6DDA3 /* Project object */; +} diff --git a/Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..6d2a51b --- /dev/null +++ b/Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Example/Podfile b/Example/Podfile deleted file mode 100644 index ad02061..0000000 --- a/Example/Podfile +++ /dev/null @@ -1,11 +0,0 @@ -use_frameworks! - -target 'SimpleAnimation_Example', :exclusive => true do - pod 'SimpleAnimation', :path => '../' -end - -target 'SimpleAnimation_Tests', :exclusive => true do - pod 'SimpleAnimation', :path => '../' - pod 'Quick', '~> 0.8' - pod 'Nimble', '~> 3.0' -end diff --git a/Example/Podfile.lock b/Example/Podfile.lock deleted file mode 100644 index 0578de1..0000000 --- a/Example/Podfile.lock +++ /dev/null @@ -1,20 +0,0 @@ -PODS: - - Nimble (3.2.0) - - Quick (0.9.2) - - SimpleAnimation (0.1.0) - -DEPENDENCIES: - - Nimble (~> 3.0) - - Quick (~> 0.8) - - SimpleAnimation (from `../`) - -EXTERNAL SOURCES: - SimpleAnimation: - :path: ../ - -SPEC CHECKSUMS: - Nimble: 703854335d181df169bbca9c97117b5cf8c47c1d - Quick: 18d057bc66451eedd5d1c8dc99ba2a5db6e60226 - SimpleAnimation: dfdeddaf49c2e41f49651345a6fb81184e212373 - -COCOAPODS: 0.39.0 diff --git a/Example/SimpleAnimation/Images.xcassets/AppIcon.appiconset/Contents.json b/Example/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from Example/SimpleAnimation/Images.xcassets/AppIcon.appiconset/Contents.json rename to Example/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/Example/SimpleAnimation/Images.xcassets/Contents.json b/Example/Resources/Assets.xcassets/Contents.json similarity index 100% rename from Example/SimpleAnimation/Images.xcassets/Contents.json rename to Example/Resources/Assets.xcassets/Contents.json diff --git a/Example/SimpleAnimation/Images.xcassets/play.imageset/Contents.json b/Example/Resources/Assets.xcassets/play.imageset/Contents.json similarity index 100% rename from Example/SimpleAnimation/Images.xcassets/play.imageset/Contents.json rename to Example/Resources/Assets.xcassets/play.imageset/Contents.json diff --git a/Example/SimpleAnimation/Images.xcassets/play.imageset/play_24x24@2x.png b/Example/Resources/Assets.xcassets/play.imageset/play_24x24@2x.png similarity index 100% rename from Example/SimpleAnimation/Images.xcassets/play.imageset/play_24x24@2x.png rename to Example/Resources/Assets.xcassets/play.imageset/play_24x24@2x.png diff --git a/Example/SimpleAnimation/Images.xcassets/play.imageset/play_24x24@3x.png b/Example/Resources/Assets.xcassets/play.imageset/play_24x24@3x.png similarity index 100% rename from Example/SimpleAnimation/Images.xcassets/play.imageset/play_24x24@3x.png rename to Example/Resources/Assets.xcassets/play.imageset/play_24x24@3x.png diff --git a/Example/SimpleAnimation/Base.lproj/LaunchScreen.xib b/Example/Resources/Base.lproj/LaunchScreen.xib similarity index 100% rename from Example/SimpleAnimation/Base.lproj/LaunchScreen.xib rename to Example/Resources/Base.lproj/LaunchScreen.xib diff --git a/Example/SimpleAnimation/Base.lproj/Main.storyboard b/Example/Resources/Base.lproj/Main.storyboard similarity index 100% rename from Example/SimpleAnimation/Base.lproj/Main.storyboard rename to Example/Resources/Base.lproj/Main.storyboard diff --git a/Example/SimpleAnimation/Info.plist b/Example/Resources/Info.plist similarity index 76% rename from Example/SimpleAnimation/Info.plist rename to Example/Resources/Info.plist index eb18faa..40c6215 100644 --- a/Example/SimpleAnimation/Info.plist +++ b/Example/Resources/Info.plist @@ -34,6 +34,14 @@ UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight diff --git a/Example/SimpleAnimation.xcodeproj/project.pbxproj b/Example/SimpleAnimation.xcodeproj/project.pbxproj deleted file mode 100644 index bde0f62..0000000 --- a/Example/SimpleAnimation.xcodeproj/project.pbxproj +++ /dev/null @@ -1,582 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 43A8E55717C8842068E1F844 /* Pods_SimpleAnimation_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A8DDD23EC4A4DF11B1A88262 /* Pods_SimpleAnimation_Example.framework */; }; - 43F595BA5EB0C5C68D068703 /* Pods_SimpleAnimation_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E43733D922790CFDF1CEEE2 /* Pods_SimpleAnimation_Tests.framework */; }; - 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; - 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; - 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; - 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; - 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; - 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 607FACC81AFB9204008FA782 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 607FACCF1AFB9204008FA782; - remoteInfo = SimpleAnimation; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 0C144004CF3CDA22BB2F5AAC /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; - 5C0F7DB46DE73B6374D3B4B3 /* Pods-SimpleAnimation_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SimpleAnimation_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SimpleAnimation_Example/Pods-SimpleAnimation_Example.debug.xcconfig"; sourceTree = ""; }; - 5D42D7B405384C4D8697FF38 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; - 5E43733D922790CFDF1CEEE2 /* Pods_SimpleAnimation_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SimpleAnimation_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 607FACD01AFB9204008FA782 /* SimpleAnimation_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SimpleAnimation_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; - 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; - 607FACE51AFB9204008FA782 /* SimpleAnimation_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SimpleAnimation_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; - 6225F3B2713E047D44E51CCF /* Pods-SimpleAnimation_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SimpleAnimation_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-SimpleAnimation_Tests/Pods-SimpleAnimation_Tests.release.xcconfig"; sourceTree = ""; }; - 63B84BD05E1E9A2BCEFA3CD1 /* SimpleAnimation.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = SimpleAnimation.podspec; path = ../SimpleAnimation.podspec; sourceTree = ""; }; - 9C8613934360B43B511E1CEE /* Pods-SimpleAnimation_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SimpleAnimation_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-SimpleAnimation_Example/Pods-SimpleAnimation_Example.release.xcconfig"; sourceTree = ""; }; - A8DDD23EC4A4DF11B1A88262 /* Pods_SimpleAnimation_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SimpleAnimation_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - C06A04970CFB7433270A23AC /* Pods-SimpleAnimation_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SimpleAnimation_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SimpleAnimation_Tests/Pods-SimpleAnimation_Tests.debug.xcconfig"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 607FACCD1AFB9204008FA782 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 43A8E55717C8842068E1F844 /* Pods_SimpleAnimation_Example.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 607FACE21AFB9204008FA782 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 43F595BA5EB0C5C68D068703 /* Pods_SimpleAnimation_Tests.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 0D1C1D5675070D0F8B51E49F /* Frameworks */ = { - isa = PBXGroup; - children = ( - A8DDD23EC4A4DF11B1A88262 /* Pods_SimpleAnimation_Example.framework */, - 5E43733D922790CFDF1CEEE2 /* Pods_SimpleAnimation_Tests.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - 607FACC71AFB9204008FA782 = { - isa = PBXGroup; - children = ( - 607FACF51AFB993E008FA782 /* Podspec Metadata */, - 607FACD21AFB9204008FA782 /* Example for SimpleAnimation */, - 607FACE81AFB9204008FA782 /* Tests */, - 607FACD11AFB9204008FA782 /* Products */, - B069D7CFC01302F5E2F8BFA1 /* Pods */, - 0D1C1D5675070D0F8B51E49F /* Frameworks */, - ); - sourceTree = ""; - }; - 607FACD11AFB9204008FA782 /* Products */ = { - isa = PBXGroup; - children = ( - 607FACD01AFB9204008FA782 /* SimpleAnimation_Example.app */, - 607FACE51AFB9204008FA782 /* SimpleAnimation_Tests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 607FACD21AFB9204008FA782 /* Example for SimpleAnimation */ = { - isa = PBXGroup; - children = ( - 607FACD51AFB9204008FA782 /* AppDelegate.swift */, - 607FACD71AFB9204008FA782 /* ViewController.swift */, - 607FACD91AFB9204008FA782 /* Main.storyboard */, - 607FACDC1AFB9204008FA782 /* Images.xcassets */, - 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, - 607FACD31AFB9204008FA782 /* Supporting Files */, - ); - name = "Example for SimpleAnimation"; - path = SimpleAnimation; - sourceTree = ""; - }; - 607FACD31AFB9204008FA782 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - 607FACD41AFB9204008FA782 /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - 607FACE81AFB9204008FA782 /* Tests */ = { - isa = PBXGroup; - children = ( - 607FACEB1AFB9204008FA782 /* Tests.swift */, - 607FACE91AFB9204008FA782 /* Supporting Files */, - ); - path = Tests; - sourceTree = ""; - }; - 607FACE91AFB9204008FA782 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - 607FACEA1AFB9204008FA782 /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { - isa = PBXGroup; - children = ( - 63B84BD05E1E9A2BCEFA3CD1 /* SimpleAnimation.podspec */, - 0C144004CF3CDA22BB2F5AAC /* README.md */, - 5D42D7B405384C4D8697FF38 /* LICENSE */, - ); - name = "Podspec Metadata"; - sourceTree = ""; - }; - B069D7CFC01302F5E2F8BFA1 /* Pods */ = { - isa = PBXGroup; - children = ( - 5C0F7DB46DE73B6374D3B4B3 /* Pods-SimpleAnimation_Example.debug.xcconfig */, - 9C8613934360B43B511E1CEE /* Pods-SimpleAnimation_Example.release.xcconfig */, - C06A04970CFB7433270A23AC /* Pods-SimpleAnimation_Tests.debug.xcconfig */, - 6225F3B2713E047D44E51CCF /* Pods-SimpleAnimation_Tests.release.xcconfig */, - ); - name = Pods; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 607FACCF1AFB9204008FA782 /* SimpleAnimation_Example */ = { - isa = PBXNativeTarget; - buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "SimpleAnimation_Example" */; - buildPhases = ( - A2C5B6CD04FE7639918D4D85 /* Check Pods Manifest.lock */, - 607FACCC1AFB9204008FA782 /* Sources */, - 607FACCD1AFB9204008FA782 /* Frameworks */, - 607FACCE1AFB9204008FA782 /* Resources */, - 7193325D905A102A4ADF3A59 /* Embed Pods Frameworks */, - 3434EFCF4260B2E87ED70539 /* Copy Pods Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = SimpleAnimation_Example; - productName = SimpleAnimation; - productReference = 607FACD01AFB9204008FA782 /* SimpleAnimation_Example.app */; - productType = "com.apple.product-type.application"; - }; - 607FACE41AFB9204008FA782 /* SimpleAnimation_Tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "SimpleAnimation_Tests" */; - buildPhases = ( - 46B23AF0A6FE32C7F4453201 /* Check Pods Manifest.lock */, - 607FACE11AFB9204008FA782 /* Sources */, - 607FACE21AFB9204008FA782 /* Frameworks */, - 607FACE31AFB9204008FA782 /* Resources */, - 68BE24EAE6F9C3C98ECC5AC3 /* Embed Pods Frameworks */, - 5833BB20FA3860F21BAC8A97 /* Copy Pods Resources */, - ); - buildRules = ( - ); - dependencies = ( - 607FACE71AFB9204008FA782 /* PBXTargetDependency */, - ); - name = SimpleAnimation_Tests; - productName = Tests; - productReference = 607FACE51AFB9204008FA782 /* SimpleAnimation_Tests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 607FACC81AFB9204008FA782 /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0720; - LastUpgradeCheck = 0720; - ORGANIZATIONNAME = CocoaPods; - TargetAttributes = { - 607FACCF1AFB9204008FA782 = { - CreatedOnToolsVersion = 6.3.1; - }; - 607FACE41AFB9204008FA782 = { - CreatedOnToolsVersion = 6.3.1; - TestTargetID = 607FACCF1AFB9204008FA782; - }; - }; - }; - buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "SimpleAnimation" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 607FACC71AFB9204008FA782; - productRefGroup = 607FACD11AFB9204008FA782 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 607FACCF1AFB9204008FA782 /* SimpleAnimation_Example */, - 607FACE41AFB9204008FA782 /* SimpleAnimation_Tests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 607FACCE1AFB9204008FA782 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, - 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, - 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 607FACE31AFB9204008FA782 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 3434EFCF4260B2E87ED70539 /* 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-SimpleAnimation_Example/Pods-SimpleAnimation_Example-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - 46B23AF0A6FE32C7F4453201 /* 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; - }; - 5833BB20FA3860F21BAC8A97 /* 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-SimpleAnimation_Tests/Pods-SimpleAnimation_Tests-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - 68BE24EAE6F9C3C98ECC5AC3 /* Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Embed Pods Frameworks"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SimpleAnimation_Tests/Pods-SimpleAnimation_Tests-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 7193325D905A102A4ADF3A59 /* Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Embed Pods Frameworks"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SimpleAnimation_Example/Pods-SimpleAnimation_Example-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - A2C5B6CD04FE7639918D4D85 /* 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 */ - 607FACCC1AFB9204008FA782 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, - 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 607FACE11AFB9204008FA782 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 607FACCF1AFB9204008FA782 /* SimpleAnimation_Example */; - targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 607FACD91AFB9204008FA782 /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 607FACDA1AFB9204008FA782 /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { - isa = PBXVariantGroup; - children = ( - 607FACDF1AFB9204008FA782 /* Base */, - ); - name = LaunchScreen.xib; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 607FACED1AFB9204008FA782 /* 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; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - 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.3; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - 607FACEE1AFB9204008FA782 /* 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 = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - 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.3; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 607FACF01AFB9204008FA782 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 5C0F7DB46DE73B6374D3B4B3 /* Pods-SimpleAnimation_Example.debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = SimpleAnimation/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - MODULE_NAME = ExampleApp; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - 607FACF11AFB9204008FA782 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9C8613934360B43B511E1CEE /* Pods-SimpleAnimation_Example.release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = SimpleAnimation/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - MODULE_NAME = ExampleApp; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; - 607FACF31AFB9204008FA782 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = C06A04970CFB7433270A23AC /* Pods-SimpleAnimation_Tests.debug.xcconfig */; - buildSettings = { - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - 607FACF41AFB9204008FA782 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 6225F3B2713E047D44E51CCF /* Pods-SimpleAnimation_Tests.release.xcconfig */; - buildSettings = { - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "SimpleAnimation" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 607FACED1AFB9204008FA782 /* Debug */, - 607FACEE1AFB9204008FA782 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "SimpleAnimation_Example" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 607FACF01AFB9204008FA782 /* Debug */, - 607FACF11AFB9204008FA782 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "SimpleAnimation_Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 607FACF31AFB9204008FA782 /* Debug */, - 607FACF41AFB9204008FA782 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 607FACC81AFB9204008FA782 /* Project object */; -} diff --git a/Example/SimpleAnimation/AppDelegate.swift b/Example/Source/AppDelegate.swift similarity index 100% rename from Example/SimpleAnimation/AppDelegate.swift rename to Example/Source/AppDelegate.swift diff --git a/Example/SimpleAnimation/ViewController.swift b/Example/Source/ViewController.swift similarity index 100% rename from Example/SimpleAnimation/ViewController.swift rename to Example/Source/ViewController.swift diff --git a/Example/Tests/Tests.swift b/Example/Tests/Tests.swift deleted file mode 100644 index 63fce2a..0000000 --- a/Example/Tests/Tests.swift +++ /dev/null @@ -1,17 +0,0 @@ -// https://github.com/Quick/Quick - -import Quick -import Nimble -import SimpleAnimation - -class TableOfContentsSpec: QuickSpec { - override func spec() { - describe("write") { - context("some") { - it("tests") { - expect(23) == 23 - } - } - } - } -} diff --git a/SimpleAnimation.podspec b/SimpleAnimation.podspec index 3d540aa..42ed148 100644 --- a/SimpleAnimation.podspec +++ b/SimpleAnimation.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "SimpleAnimation" s.version = "0.1.2" - s.summary = "A UIView extension that makes adding basic animations, like fades and bounces, simple." + s.summary = "A UIView extension to make basic animations, like fades and bounces, simple." s.homepage = "https://github.com/keithito/SimpleAnimation" s.license = 'MIT' s.author = { "Keith Ito" => "keeeto@gmail.com" } @@ -10,6 +10,6 @@ Pod::Spec.new do |s| s.ios.deployment_target = '8.0' - s.source_files = 'SimpleAnimation/Classes/**/*' + s.source_files = 'Source/*' s.frameworks = 'UIKit' end diff --git a/SimpleAnimation.xcodeproj/project.pbxproj b/SimpleAnimation.xcodeproj/project.pbxproj new file mode 100644 index 0000000..3d14ccd --- /dev/null +++ b/SimpleAnimation.xcodeproj/project.pbxproj @@ -0,0 +1,406 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 4005232F1CC7B47800E6DDA3 /* SimpleAnimation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 400523241CC7B47800E6DDA3 /* SimpleAnimation.framework */; }; + 4005233F1CC7B51F00E6DDA3 /* UIView+SimpleAnimation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4005233E1CC7B51F00E6DDA3 /* UIView+SimpleAnimation.swift */; }; + 400523411CC7B56D00E6DDA3 /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 400523401CC7B56D00E6DDA3 /* Info.plist */; }; + 400523441CC7B5E000E6DDA3 /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 400523421CC7B5E000E6DDA3 /* Info.plist */; }; + 400523471CC7B87500E6DDA3 /* UIView+SimpleAnimationTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 400523431CC7B5E000E6DDA3 /* UIView+SimpleAnimationTest.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 400523301CC7B47800E6DDA3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 4005231B1CC7B47800E6DDA3 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 400523231CC7B47800E6DDA3; + remoteInfo = SimpleAnimation; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 400523241CC7B47800E6DDA3 /* SimpleAnimation.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SimpleAnimation.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 4005232E1CC7B47800E6DDA3 /* SimpleAnimationTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SimpleAnimationTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 4005233E1CC7B51F00E6DDA3 /* UIView+SimpleAnimation.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = "UIView+SimpleAnimation.swift"; path = "Source/UIView+SimpleAnimation.swift"; sourceTree = SOURCE_ROOT; }; + 400523401CC7B56D00E6DDA3 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = Source/Info.plist; sourceTree = SOURCE_ROOT; }; + 400523421CC7B5E000E6DDA3 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = Tests/Info.plist; sourceTree = SOURCE_ROOT; }; + 400523431CC7B5E000E6DDA3 /* UIView+SimpleAnimationTest.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = "UIView+SimpleAnimationTest.swift"; path = "Tests/UIView+SimpleAnimationTest.swift"; sourceTree = SOURCE_ROOT; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 400523201CC7B47800E6DDA3 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 4005232B1CC7B47800E6DDA3 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 4005232F1CC7B47800E6DDA3 /* SimpleAnimation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 4005231A1CC7B47800E6DDA3 = { + isa = PBXGroup; + children = ( + 400523261CC7B47800E6DDA3 /* Source */, + 400523321CC7B47800E6DDA3 /* Tests */, + 400523251CC7B47800E6DDA3 /* Products */, + ); + sourceTree = ""; + }; + 400523251CC7B47800E6DDA3 /* Products */ = { + isa = PBXGroup; + children = ( + 400523241CC7B47800E6DDA3 /* SimpleAnimation.framework */, + 4005232E1CC7B47800E6DDA3 /* SimpleAnimationTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 400523261CC7B47800E6DDA3 /* Source */ = { + isa = PBXGroup; + children = ( + 4005233E1CC7B51F00E6DDA3 /* UIView+SimpleAnimation.swift */, + 400523401CC7B56D00E6DDA3 /* Info.plist */, + ); + name = Source; + path = SimpleAnimation; + sourceTree = ""; + }; + 400523321CC7B47800E6DDA3 /* Tests */ = { + isa = PBXGroup; + children = ( + 400523431CC7B5E000E6DDA3 /* UIView+SimpleAnimationTest.swift */, + 400523421CC7B5E000E6DDA3 /* Info.plist */, + ); + name = Tests; + path = SimpleAnimationTests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 400523211CC7B47800E6DDA3 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 400523231CC7B47800E6DDA3 /* SimpleAnimation */ = { + isa = PBXNativeTarget; + buildConfigurationList = 400523381CC7B47800E6DDA3 /* Build configuration list for PBXNativeTarget "SimpleAnimation" */; + buildPhases = ( + 4005231F1CC7B47800E6DDA3 /* Sources */, + 400523201CC7B47800E6DDA3 /* Frameworks */, + 400523211CC7B47800E6DDA3 /* Headers */, + 400523221CC7B47800E6DDA3 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = SimpleAnimation; + productName = SimpleAnimation; + productReference = 400523241CC7B47800E6DDA3 /* SimpleAnimation.framework */; + productType = "com.apple.product-type.framework"; + }; + 4005232D1CC7B47800E6DDA3 /* SimpleAnimationTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4005233B1CC7B47800E6DDA3 /* Build configuration list for PBXNativeTarget "SimpleAnimationTests" */; + buildPhases = ( + 4005232A1CC7B47800E6DDA3 /* Sources */, + 4005232B1CC7B47800E6DDA3 /* Frameworks */, + 4005232C1CC7B47800E6DDA3 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 400523311CC7B47800E6DDA3 /* PBXTargetDependency */, + ); + name = SimpleAnimationTests; + productName = SimpleAnimationTests; + productReference = 4005232E1CC7B47800E6DDA3 /* SimpleAnimationTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 4005231B1CC7B47800E6DDA3 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0730; + LastUpgradeCheck = 0730; + ORGANIZATIONNAME = "Keith Ito"; + TargetAttributes = { + 400523231CC7B47800E6DDA3 = { + CreatedOnToolsVersion = 7.3; + }; + 4005232D1CC7B47800E6DDA3 = { + CreatedOnToolsVersion = 7.3; + }; + }; + }; + buildConfigurationList = 4005231E1CC7B47800E6DDA3 /* Build configuration list for PBXProject "SimpleAnimation" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 4005231A1CC7B47800E6DDA3; + productRefGroup = 400523251CC7B47800E6DDA3 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 400523231CC7B47800E6DDA3 /* SimpleAnimation */, + 4005232D1CC7B47800E6DDA3 /* SimpleAnimationTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 400523221CC7B47800E6DDA3 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 400523441CC7B5E000E6DDA3 /* Info.plist in Resources */, + 400523411CC7B56D00E6DDA3 /* Info.plist in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 4005232C1CC7B47800E6DDA3 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 4005231F1CC7B47800E6DDA3 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4005233F1CC7B51F00E6DDA3 /* UIView+SimpleAnimation.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 4005232A1CC7B47800E6DDA3 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 400523471CC7B87500E6DDA3 /* UIView+SimpleAnimationTest.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 400523311CC7B47800E6DDA3 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 400523231CC7B47800E6DDA3 /* SimpleAnimation */; + targetProxy = 400523301CC7B47800E6DDA3 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 400523361CC7B47800E6DDA3 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + 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; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + 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.0; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 400523371CC7B47800E6DDA3 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + 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; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + 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.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 400523391CC7B47800E6DDA3 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = Source/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.keithito.SimpleAnimation; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 4005233A1CC7B47800E6DDA3 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = Source/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.keithito.SimpleAnimation; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + }; + name = Release; + }; + 4005233C1CC7B47800E6DDA3 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = Tests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.keithito.SimpleAnimationTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 4005233D1CC7B47800E6DDA3 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = Tests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.keithito.SimpleAnimationTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 4005231E1CC7B47800E6DDA3 /* Build configuration list for PBXProject "SimpleAnimation" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 400523361CC7B47800E6DDA3 /* Debug */, + 400523371CC7B47800E6DDA3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 400523381CC7B47800E6DDA3 /* Build configuration list for PBXNativeTarget "SimpleAnimation" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 400523391CC7B47800E6DDA3 /* Debug */, + 4005233A1CC7B47800E6DDA3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 4005233B1CC7B47800E6DDA3 /* Build configuration list for PBXNativeTarget "SimpleAnimationTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4005233C1CC7B47800E6DDA3 /* Debug */, + 4005233D1CC7B47800E6DDA3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 4005231B1CC7B47800E6DDA3 /* Project object */; +} diff --git a/Example/SimpleAnimation.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/SimpleAnimation.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from Example/SimpleAnimation.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to SimpleAnimation.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/Example/SimpleAnimation.xcodeproj/xcshareddata/xcschemes/SimpleAnimation-Example.xcscheme b/SimpleAnimation.xcodeproj/xcshareddata/xcschemes/SimpleAnimation.xcscheme similarity index 62% rename from Example/SimpleAnimation.xcodeproj/xcshareddata/xcschemes/SimpleAnimation-Example.xcscheme rename to SimpleAnimation.xcodeproj/xcshareddata/xcschemes/SimpleAnimation.xcscheme index a69cfbb..b6bfc4c 100644 --- a/Example/SimpleAnimation.xcodeproj/xcshareddata/xcschemes/SimpleAnimation-Example.xcscheme +++ b/SimpleAnimation.xcodeproj/xcshareddata/xcschemes/SimpleAnimation.xcscheme @@ -14,23 +14,9 @@ buildForAnalyzing = "YES"> - - - - @@ -46,9 +32,9 @@ skipped = "NO"> @@ -56,9 +42,9 @@ @@ -75,16 +61,15 @@ debugDocumentVersioning = "YES" debugServiceExtension = "internal" allowLocationSimulation = "YES"> - + - + @@ -94,16 +79,15 @@ savedToolIdentifier = "" useCustomWorkingDirectory = "NO" debugDocumentVersioning = "YES"> - + - + diff --git a/Example/SimpleAnimation.xcworkspace/contents.xcworkspacedata b/SimpleAnimation.xcworkspace/contents.xcworkspacedata similarity index 78% rename from Example/SimpleAnimation.xcworkspace/contents.xcworkspacedata rename to SimpleAnimation.xcworkspace/contents.xcworkspacedata index f3d4fc3..2234bea 100644 --- a/Example/SimpleAnimation.xcworkspace/contents.xcworkspacedata +++ b/SimpleAnimation.xcworkspace/contents.xcworkspacedata @@ -5,6 +5,6 @@ location = "group:SimpleAnimation.xcodeproj"> + location = "group:Example/Example.xcodeproj"> diff --git a/SimpleAnimation/Assets/.gitkeep b/SimpleAnimation/Assets/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/SimpleAnimation/Classes/.gitkeep b/SimpleAnimation/Classes/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/Source/Info.plist b/Source/Info.plist new file mode 100644 index 0000000..4b278ca --- /dev/null +++ b/Source/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 0.1.2 + CFBundleSignature + ???? + CFBundleVersion + 0.1.2 + NSPrincipalClass + + + diff --git a/SimpleAnimation/Classes/UIView+SimpleAnimation.swift b/Source/UIView+SimpleAnimation.swift similarity index 100% rename from SimpleAnimation/Classes/UIView+SimpleAnimation.swift rename to Source/UIView+SimpleAnimation.swift diff --git a/Example/Tests/Info.plist b/Tests/Info.plist similarity index 100% rename from Example/Tests/Info.plist rename to Tests/Info.plist diff --git a/Tests/UIView+SimpleAnimationTest.swift b/Tests/UIView+SimpleAnimationTest.swift new file mode 100644 index 0000000..3141ceb --- /dev/null +++ b/Tests/UIView+SimpleAnimationTest.swift @@ -0,0 +1,16 @@ +// +// SimpleAnimationTests.swift +// SimpleAnimationTests +// +// Created by Keith Ito on 4/20/16. +// Copyright © 2016 Keith Ito. All rights reserved. +// + +import XCTest +@testable import SimpleAnimation + +class UIView_SimpleAnimationTest: XCTestCase { + func testNeedToWriteTests() { + XCTAssert(true); + } +} diff --git a/_Pods.xcodeproj b/_Pods.xcodeproj deleted file mode 120000 index 3c5a8e7..0000000 --- a/_Pods.xcodeproj +++ /dev/null @@ -1 +0,0 @@ -Example/Pods/Pods.xcodeproj \ No newline at end of file