From ae4ca8d9db6f8b895bcd6fdd0f9aba89b2cb10d1 Mon Sep 17 00:00:00 2001 From: Takuma Yoshida Date: Mon, 24 Aug 2015 15:21:01 +0900 Subject: [PATCH] initial commit --- .../contents.xcworkspacedata | 10 + Example/Podfile.lock | 14 + .../Local Podspecs/LiquidLoader.podspec.json | 25 + Example/Pods/Manifest.lock | 14 + Example/Pods/Pods.xcodeproj/project.pbxproj | 826 ++++++++++++++++++ .../xcschemes/LiquidLoader.xcscheme | 62 ++ .../LiquidLoader/Info.plist | 26 + .../LiquidLoader-Private.xcconfig | 6 + .../LiquidLoader/LiquidLoader-dummy.m | 5 + .../LiquidLoader/LiquidLoader-prefix.pch | 4 + .../LiquidLoader/LiquidLoader-umbrella.h | 6 + .../LiquidLoader/LiquidLoader.modulemap | 6 + .../LiquidLoader/LiquidLoader.xcconfig | 0 .../Pods-LiquidLoader_Example/Info.plist | 26 + ...idLoader_Example-acknowledgements.markdown | 26 + ...iquidLoader_Example-acknowledgements.plist | 56 ++ .../Pods-LiquidLoader_Example-dummy.m | 5 + .../Pods-LiquidLoader_Example-frameworks.sh | 59 ++ .../Pods-LiquidLoader_Example-resources.sh | 95 ++ .../Pods-LiquidLoader_Example-umbrella.h | 6 + .../Pods-LiquidLoader_Example.debug.xcconfig | 7 + .../Pods-LiquidLoader_Example.modulemap | 6 + ...Pods-LiquidLoader_Example.release.xcconfig | 7 + .../Pods-LiquidLoader_Tests/Info.plist | 26 + ...quidLoader_Tests-acknowledgements.markdown | 26 + ...-LiquidLoader_Tests-acknowledgements.plist | 56 ++ .../Pods-LiquidLoader_Tests-dummy.m | 5 + .../Pods-LiquidLoader_Tests-frameworks.sh | 59 ++ .../Pods-LiquidLoader_Tests-resources.sh | 95 ++ .../Pods-LiquidLoader_Tests-umbrella.h | 6 + .../Pods-LiquidLoader_Tests.debug.xcconfig | 7 + .../Pods-LiquidLoader_Tests.modulemap | 6 + .../Pods-LiquidLoader_Tests.release.xcconfig | 7 + Pod/Classes/ArrayEx.swift | 106 +++ Pod/Classes/CGPointEx.swift | 142 +++ Pod/Classes/CGRectEx.swift | 23 + Pod/Classes/CircularGradientLayer.swift | 31 + Pod/Classes/LiquidCircleEffect.swift | 79 ++ Pod/Classes/LiquidLineEffect.swift | 70 ++ Pod/Classes/LiquidLoadEffect.swift | 119 +++ Pod/Classes/LiquidLoader.swift | 59 ++ Pod/Classes/LiquidUtil.swift | 53 ++ Pod/Classes/LiquittableCircle.swift | 75 ++ Pod/Classes/SimpleCircleLiquidEngine.swift | 150 ++++ Pod/Classes/UIColorEx.swift | 48 + Pod/Classes/UIView+Grow.swift | 44 + 46 files changed, 2589 insertions(+) create mode 100644 Example/LiquidLoader.xcworkspace/contents.xcworkspacedata create mode 100644 Example/Podfile.lock create mode 100644 Example/Pods/Local Podspecs/LiquidLoader.podspec.json create mode 100644 Example/Pods/Manifest.lock create mode 100644 Example/Pods/Pods.xcodeproj/project.pbxproj create mode 100644 Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/LiquidLoader.xcscheme create mode 100644 Example/Pods/Target Support Files/LiquidLoader/Info.plist create mode 100644 Example/Pods/Target Support Files/LiquidLoader/LiquidLoader-Private.xcconfig create mode 100644 Example/Pods/Target Support Files/LiquidLoader/LiquidLoader-dummy.m create mode 100644 Example/Pods/Target Support Files/LiquidLoader/LiquidLoader-prefix.pch create mode 100644 Example/Pods/Target Support Files/LiquidLoader/LiquidLoader-umbrella.h create mode 100644 Example/Pods/Target Support Files/LiquidLoader/LiquidLoader.modulemap rename Pod/Classes/ReplaceMe.swift => Example/Pods/Target Support Files/LiquidLoader/LiquidLoader.xcconfig (100%) create mode 100644 Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Info.plist create mode 100644 Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example-acknowledgements.markdown create mode 100644 Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example-acknowledgements.plist create mode 100644 Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example-dummy.m create mode 100755 Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example-frameworks.sh create mode 100755 Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example-resources.sh create mode 100644 Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example-umbrella.h create mode 100644 Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example.debug.xcconfig create mode 100644 Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example.modulemap create mode 100644 Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example.release.xcconfig create mode 100644 Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Info.plist create mode 100644 Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests-acknowledgements.markdown create mode 100644 Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests-acknowledgements.plist create mode 100644 Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests-dummy.m create mode 100755 Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests-frameworks.sh create mode 100755 Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests-resources.sh create mode 100644 Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests-umbrella.h create mode 100644 Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests.debug.xcconfig create mode 100644 Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests.modulemap create mode 100644 Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests.release.xcconfig create mode 100644 Pod/Classes/ArrayEx.swift create mode 100644 Pod/Classes/CGPointEx.swift create mode 100644 Pod/Classes/CGRectEx.swift create mode 100644 Pod/Classes/CircularGradientLayer.swift create mode 100644 Pod/Classes/LiquidCircleEffect.swift create mode 100644 Pod/Classes/LiquidLineEffect.swift create mode 100644 Pod/Classes/LiquidLoadEffect.swift create mode 100644 Pod/Classes/LiquidLoader.swift create mode 100644 Pod/Classes/LiquidUtil.swift create mode 100644 Pod/Classes/LiquittableCircle.swift create mode 100644 Pod/Classes/SimpleCircleLiquidEngine.swift create mode 100644 Pod/Classes/UIColorEx.swift create mode 100644 Pod/Classes/UIView+Grow.swift diff --git a/Example/LiquidLoader.xcworkspace/contents.xcworkspacedata b/Example/LiquidLoader.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..9402b92 --- /dev/null +++ b/Example/LiquidLoader.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/Example/Podfile.lock b/Example/Podfile.lock new file mode 100644 index 0000000..b90059c --- /dev/null +++ b/Example/Podfile.lock @@ -0,0 +1,14 @@ +PODS: + - LiquidLoader (0.1.0) + +DEPENDENCIES: + - LiquidLoader (from `../`) + +EXTERNAL SOURCES: + LiquidLoader: + :path: ../ + +SPEC CHECKSUMS: + LiquidLoader: 0a76d1e8b6d24a8128b7bd570e0d16534e46f0b3 + +COCOAPODS: 0.38.2 diff --git a/Example/Pods/Local Podspecs/LiquidLoader.podspec.json b/Example/Pods/Local Podspecs/LiquidLoader.podspec.json new file mode 100644 index 0000000..ed3a660 --- /dev/null +++ b/Example/Pods/Local Podspecs/LiquidLoader.podspec.json @@ -0,0 +1,25 @@ +{ + "name": "LiquidLoader", + "version": "0.1.0", + "summary": "A short description of LiquidLoader.", + "description": "", + "homepage": "https://github.com//LiquidLoader", + "license": "MIT", + "authors": { + "Takuma Yoshida": "yoa.jmpr.w@gmail.com" + }, + "source": { + "git": "https://github.com//LiquidLoader.git", + "tag": "0.1.0" + }, + "platforms": { + "ios": "8.0" + }, + "requires_arc": true, + "source_files": "Pod/Classes/**/*", + "resource_bundles": { + "LiquidLoader": [ + "Pod/Assets/*.png" + ] + } +} diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock new file mode 100644 index 0000000..b90059c --- /dev/null +++ b/Example/Pods/Manifest.lock @@ -0,0 +1,14 @@ +PODS: + - LiquidLoader (0.1.0) + +DEPENDENCIES: + - LiquidLoader (from `../`) + +EXTERNAL SOURCES: + LiquidLoader: + :path: ../ + +SPEC CHECKSUMS: + LiquidLoader: 0a76d1e8b6d24a8128b7bd570e0d16534e46f0b3 + +COCOAPODS: 0.38.2 diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj new file mode 100644 index 0000000..f608078 --- /dev/null +++ b/Example/Pods/Pods.xcodeproj/project.pbxproj @@ -0,0 +1,826 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 3158F985A83C4F9B22656681F5D5A805 /* Pods-LiquidLoader_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = FA55DD3AB7BAE20BEA2798B9739361A0 /* Pods-LiquidLoader_Example-dummy.m */; }; + 39D9BDDD682FA8DF596F7301400E949E /* Pods-LiquidLoader_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 314F31CC56F839A8CC1A20496DFF5B0F /* Pods-LiquidLoader_Tests-dummy.m */; }; + 4637BF0F1CCA984D5AAAAB652C8195C7 /* LiquidLoader-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = DDB88F2F9CC13DAE09D0D04A34DE89FF /* LiquidLoader-dummy.m */; }; + 7423092C0D126EEF5181E914FBD3AEC1 /* Pods-LiquidLoader_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 67695B67AD85B386102F8406CDD70360 /* Pods-LiquidLoader_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 760508235F37E371BF0F1A2905533ADC /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 86ECFF2CA523E0AE7BDB2CE890F7D524 /* Foundation.framework */; }; + 7CA6405FE7F0150C77C271DDFC0E4786 /* Pods-LiquidLoader_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = FC6FD4BFA7C157238A059E2A847826F2 /* Pods-LiquidLoader_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B3BFB99B755649013BBB0E1C24AA2822 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 86ECFF2CA523E0AE7BDB2CE890F7D524 /* Foundation.framework */; }; + CD7559B9A50A2675284DADF151CC9415 /* LiquidLoader.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 70EB2D61FE11AA6A2A6A4077E1B2971D /* LiquidLoader.bundle */; }; + D9670D7C1B8AEE5400EA7E16 /* ArrayEx.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9670D7A1B8AEE5400EA7E16 /* ArrayEx.swift */; }; + D9670D7D1B8AEE5400EA7E16 /* CGPointEx.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9670D7B1B8AEE5400EA7E16 /* CGPointEx.swift */; }; + D9670D811B8AEE6300EA7E16 /* CGRectEx.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9670D7E1B8AEE6300EA7E16 /* CGRectEx.swift */; }; + D9670D821B8AEE6300EA7E16 /* UIColorEx.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9670D7F1B8AEE6300EA7E16 /* UIColorEx.swift */; }; + D9670D831B8AEE6300EA7E16 /* UIView+Grow.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9670D801B8AEE6300EA7E16 /* UIView+Grow.swift */; }; + D9670D891B8AEE7700EA7E16 /* LiquidLoadEffect.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9670D841B8AEE7700EA7E16 /* LiquidLoadEffect.swift */; }; + D9670D8A1B8AEE7700EA7E16 /* LiquidUtil.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9670D851B8AEE7700EA7E16 /* LiquidUtil.swift */; }; + D9670D8B1B8AEE7700EA7E16 /* LiquittableCircle.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9670D861B8AEE7700EA7E16 /* LiquittableCircle.swift */; }; + D9670D8C1B8AEE7700EA7E16 /* LiquidCircleEffect.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9670D871B8AEE7700EA7E16 /* LiquidCircleEffect.swift */; }; + D9670D8D1B8AEE7700EA7E16 /* LiquidLineEffect.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9670D881B8AEE7700EA7E16 /* LiquidLineEffect.swift */; }; + D9670D8F1B8AEE8700EA7E16 /* SimpleCircleLiquidEngine.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9670D8E1B8AEE8700EA7E16 /* SimpleCircleLiquidEngine.swift */; }; + D9670D911B8AEE9C00EA7E16 /* CircularGradientLayer.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9670D901B8AEE9C00EA7E16 /* CircularGradientLayer.swift */; }; + D9670D931B8AEEC400EA7E16 /* LiquidLoader.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9670D921B8AEEC400EA7E16 /* LiquidLoader.swift */; }; + E01F6A40DE137D753B80967D830ACA63 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 86ECFF2CA523E0AE7BDB2CE890F7D524 /* Foundation.framework */; }; + EF86124C5788381F1DE0107F373DEF60 /* LiquidLoader-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = F473E44940B4E9B1F3840BB2107E27AF /* LiquidLoader-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 0EA8519BAA499475021F8C200019ACDF /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 86ACC072CDCC719ACDD8C0B3C9C42172; + remoteInfo = "LiquidLoader-LiquidLoader"; + }; + 2F7383DFD3A6468A51138DDF2A652DFF /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = DA3D45A84D6B260D2576265650572ED0; + remoteInfo = LiquidLoader; + }; + C817687E7676901652D107F2602C9378 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = DA3D45A84D6B260D2576265650572ED0; + remoteInfo = LiquidLoader; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 05B280D9B3CF1398ABEC88F2EAB31B66 /* Pods-LiquidLoader_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-LiquidLoader_Tests-resources.sh"; sourceTree = ""; }; + 060BAD9595BC9E563238CDA9021AF787 /* Pods-LiquidLoader_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-LiquidLoader_Example-acknowledgements.markdown"; sourceTree = ""; }; + 0A93AD132C4E6C0C41157DFE25855F31 /* Pods-LiquidLoader_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-LiquidLoader_Example.modulemap"; sourceTree = ""; }; + 1DBD82A97AD1093DCD3F69739E0889C8 /* LiquidLoader.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = LiquidLoader.modulemap; sourceTree = ""; }; + 1E50E0416B2CA3B619AF10880734AC9D /* LiquidLoader.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = LiquidLoader.xcconfig; sourceTree = ""; }; + 2750CDD0D8469E41A2A3E44D81B43401 /* Pods_LiquidLoader_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_LiquidLoader_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 291067D65B8CDB7A0653CA2E913C6778 /* Pods-LiquidLoader_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-LiquidLoader_Example.debug.xcconfig"; sourceTree = ""; }; + 314F31CC56F839A8CC1A20496DFF5B0F /* Pods-LiquidLoader_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-LiquidLoader_Tests-dummy.m"; sourceTree = ""; }; + 3A23C4FF8DD68C2B1D88CBDE7B11E8B6 /* LiquidLoader.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = LiquidLoader.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 44D7029640EE13E21DFA8329C87A96A6 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 4D24BE69DF64A5DDBF5B9784D6546C35 /* Pods-LiquidLoader_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-LiquidLoader_Tests-acknowledgements.markdown"; sourceTree = ""; }; + 67695B67AD85B386102F8406CDD70360 /* Pods-LiquidLoader_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-LiquidLoader_Example-umbrella.h"; sourceTree = ""; }; + 70EB2D61FE11AA6A2A6A4077E1B2971D /* LiquidLoader.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = LiquidLoader.bundle; sourceTree = BUILT_PRODUCTS_DIR; }; + 74D8964242CC9B5EE7760826EADB8774 /* Pods-LiquidLoader_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-LiquidLoader_Example-acknowledgements.plist"; sourceTree = ""; }; + 7892C3050F72DE3B3B8AA6389FAF2F67 /* Pods-LiquidLoader_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-LiquidLoader_Example-resources.sh"; sourceTree = ""; }; + 79CC1CD10CE5EAD40E134E54002C3AB7 /* Pods_LiquidLoader_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_LiquidLoader_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 83941EE4B8AA124DE0DC9D929410A4F3 /* Pods-LiquidLoader_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-LiquidLoader_Tests-acknowledgements.plist"; sourceTree = ""; }; + 86ECFF2CA523E0AE7BDB2CE890F7D524 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; + 873DBB81A12356533FD73EC453531C0B /* LiquidLoader-Private.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "LiquidLoader-Private.xcconfig"; sourceTree = ""; }; + 92116181D6F4EBE5842F13780AEC4ADE /* Pods-LiquidLoader_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-LiquidLoader_Tests.release.xcconfig"; sourceTree = ""; }; + 9C5B81241C442D23766DE3F9DF1236F2 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + B3FD2022636FC815082E8FDF87276877 /* Pods-LiquidLoader_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-LiquidLoader_Tests.debug.xcconfig"; sourceTree = ""; }; + B5CB0F9EB7805E30638C9D53074FD986 /* Pods-LiquidLoader_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-LiquidLoader_Tests-frameworks.sh"; sourceTree = ""; }; + BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + C29EDDDEB7343BBD766DED1F8424FC39 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + C78F017C968E9F49BC0EACE29BB22833 /* LiquidLoader-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "LiquidLoader-prefix.pch"; sourceTree = ""; }; + D9670D7A1B8AEE5400EA7E16 /* ArrayEx.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ArrayEx.swift; sourceTree = ""; }; + D9670D7B1B8AEE5400EA7E16 /* CGPointEx.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CGPointEx.swift; sourceTree = ""; }; + D9670D7E1B8AEE6300EA7E16 /* CGRectEx.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CGRectEx.swift; sourceTree = ""; }; + D9670D7F1B8AEE6300EA7E16 /* UIColorEx.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UIColorEx.swift; sourceTree = ""; }; + D9670D801B8AEE6300EA7E16 /* UIView+Grow.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UIView+Grow.swift"; sourceTree = ""; }; + D9670D841B8AEE7700EA7E16 /* LiquidLoadEffect.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LiquidLoadEffect.swift; sourceTree = ""; }; + D9670D851B8AEE7700EA7E16 /* LiquidUtil.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LiquidUtil.swift; sourceTree = ""; }; + D9670D861B8AEE7700EA7E16 /* LiquittableCircle.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LiquittableCircle.swift; sourceTree = ""; }; + D9670D871B8AEE7700EA7E16 /* LiquidCircleEffect.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LiquidCircleEffect.swift; sourceTree = ""; }; + D9670D881B8AEE7700EA7E16 /* LiquidLineEffect.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LiquidLineEffect.swift; sourceTree = ""; }; + D9670D8E1B8AEE8700EA7E16 /* SimpleCircleLiquidEngine.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SimpleCircleLiquidEngine.swift; sourceTree = ""; }; + D9670D901B8AEE9C00EA7E16 /* CircularGradientLayer.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CircularGradientLayer.swift; sourceTree = ""; }; + D9670D921B8AEEC400EA7E16 /* LiquidLoader.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LiquidLoader.swift; sourceTree = ""; }; + DC0F60F60BB175666F7CA0304BE51EDE /* Pods-LiquidLoader_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-LiquidLoader_Example.release.xcconfig"; sourceTree = ""; }; + DDB88F2F9CC13DAE09D0D04A34DE89FF /* LiquidLoader-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "LiquidLoader-dummy.m"; sourceTree = ""; }; + EF66408B707E3B828E1301C313E9A5CB /* Pods-LiquidLoader_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-LiquidLoader_Tests.modulemap"; sourceTree = ""; }; + F4441D44EDF2D2E113C882E757F5C4CF /* Pods-LiquidLoader_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-LiquidLoader_Example-frameworks.sh"; sourceTree = ""; }; + F473E44940B4E9B1F3840BB2107E27AF /* LiquidLoader-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "LiquidLoader-umbrella.h"; sourceTree = ""; }; + FA55DD3AB7BAE20BEA2798B9739361A0 /* Pods-LiquidLoader_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-LiquidLoader_Example-dummy.m"; sourceTree = ""; }; + FC6FD4BFA7C157238A059E2A847826F2 /* Pods-LiquidLoader_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-LiquidLoader_Tests-umbrella.h"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 275AE8B63407371B871A7D61F11FC977 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 760508235F37E371BF0F1A2905533ADC /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2760045F059D91ED1B31C0A6C268E855 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + B3BFB99B755649013BBB0E1C24AA2822 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 320CAD0182CE72551B58F3B2671CF9CD /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + E01F6A40DE137D753B80967D830ACA63 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6C0D79A25697508C2B019B26763AC3AC /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 52B02FF25C56C35123B3B58BF3D587BE /* Classes */ = { + isa = PBXGroup; + children = ( + D9670D7A1B8AEE5400EA7E16 /* ArrayEx.swift */, + D9670D7B1B8AEE5400EA7E16 /* CGPointEx.swift */, + D9670D7E1B8AEE6300EA7E16 /* CGRectEx.swift */, + D9670D7F1B8AEE6300EA7E16 /* UIColorEx.swift */, + D9670D801B8AEE6300EA7E16 /* UIView+Grow.swift */, + D9670D921B8AEEC400EA7E16 /* LiquidLoader.swift */, + D9670D841B8AEE7700EA7E16 /* LiquidLoadEffect.swift */, + D9670D851B8AEE7700EA7E16 /* LiquidUtil.swift */, + D9670D861B8AEE7700EA7E16 /* LiquittableCircle.swift */, + D9670D871B8AEE7700EA7E16 /* LiquidCircleEffect.swift */, + D9670D881B8AEE7700EA7E16 /* LiquidLineEffect.swift */, + D9670D8E1B8AEE8700EA7E16 /* SimpleCircleLiquidEngine.swift */, + D9670D901B8AEE9C00EA7E16 /* CircularGradientLayer.swift */, + ); + path = Classes; + sourceTree = ""; + }; + 53F661C0CA7190D2CF05023FB33D61E4 /* iOS */ = { + isa = PBXGroup; + children = ( + 86ECFF2CA523E0AE7BDB2CE890F7D524 /* Foundation.framework */, + ); + name = iOS; + sourceTree = ""; + }; + 6EBDF1A8765C432644DAC8E621CCD564 /* Development Pods */ = { + isa = PBXGroup; + children = ( + ED755C84311AACA71547A480AD483259 /* LiquidLoader */, + ); + name = "Development Pods"; + sourceTree = ""; + }; + 7A95945BF243B24D4C08EC9C56D67515 /* Pod */ = { + isa = PBXGroup; + children = ( + 52B02FF25C56C35123B3B58BF3D587BE /* Classes */, + ); + path = Pod; + sourceTree = ""; + }; + 7DB346D0F39D3F0E887471402A8071AB = { + isa = PBXGroup; + children = ( + BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */, + 6EBDF1A8765C432644DAC8E621CCD564 /* Development Pods */, + BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, + CCA510CFBEA2D207524CDA0D73C3B561 /* Products */, + C76AACF3E6B3B11A57C4150198C494CC /* Targets Support Files */, + ); + sourceTree = ""; + }; + 854F753EBC864A33E6DDD5A243F49D1E /* Support Files */ = { + isa = PBXGroup; + children = ( + C29EDDDEB7343BBD766DED1F8424FC39 /* Info.plist */, + 1DBD82A97AD1093DCD3F69739E0889C8 /* LiquidLoader.modulemap */, + 1E50E0416B2CA3B619AF10880734AC9D /* LiquidLoader.xcconfig */, + 873DBB81A12356533FD73EC453531C0B /* LiquidLoader-Private.xcconfig */, + DDB88F2F9CC13DAE09D0D04A34DE89FF /* LiquidLoader-dummy.m */, + C78F017C968E9F49BC0EACE29BB22833 /* LiquidLoader-prefix.pch */, + F473E44940B4E9B1F3840BB2107E27AF /* LiquidLoader-umbrella.h */, + ); + name = "Support Files"; + path = "Example/Pods/Target Support Files/LiquidLoader"; + sourceTree = ""; + }; + BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { + isa = PBXGroup; + children = ( + 53F661C0CA7190D2CF05023FB33D61E4 /* iOS */, + ); + name = Frameworks; + sourceTree = ""; + }; + BD9BF3505DA87DD19EB6C55BF4D0F17B /* Pods-LiquidLoader_Example */ = { + isa = PBXGroup; + children = ( + 9C5B81241C442D23766DE3F9DF1236F2 /* Info.plist */, + 0A93AD132C4E6C0C41157DFE25855F31 /* Pods-LiquidLoader_Example.modulemap */, + 060BAD9595BC9E563238CDA9021AF787 /* Pods-LiquidLoader_Example-acknowledgements.markdown */, + 74D8964242CC9B5EE7760826EADB8774 /* Pods-LiquidLoader_Example-acknowledgements.plist */, + FA55DD3AB7BAE20BEA2798B9739361A0 /* Pods-LiquidLoader_Example-dummy.m */, + F4441D44EDF2D2E113C882E757F5C4CF /* Pods-LiquidLoader_Example-frameworks.sh */, + 7892C3050F72DE3B3B8AA6389FAF2F67 /* Pods-LiquidLoader_Example-resources.sh */, + 67695B67AD85B386102F8406CDD70360 /* Pods-LiquidLoader_Example-umbrella.h */, + 291067D65B8CDB7A0653CA2E913C6778 /* Pods-LiquidLoader_Example.debug.xcconfig */, + DC0F60F60BB175666F7CA0304BE51EDE /* Pods-LiquidLoader_Example.release.xcconfig */, + ); + name = "Pods-LiquidLoader_Example"; + path = "Target Support Files/Pods-LiquidLoader_Example"; + sourceTree = ""; + }; + C76AACF3E6B3B11A57C4150198C494CC /* Targets Support Files */ = { + isa = PBXGroup; + children = ( + BD9BF3505DA87DD19EB6C55BF4D0F17B /* Pods-LiquidLoader_Example */, + DA7718A9753C7B6DF07EDA938EFCB199 /* Pods-LiquidLoader_Tests */, + ); + name = "Targets Support Files"; + sourceTree = ""; + }; + CCA510CFBEA2D207524CDA0D73C3B561 /* Products */ = { + isa = PBXGroup; + children = ( + 70EB2D61FE11AA6A2A6A4077E1B2971D /* LiquidLoader.bundle */, + 3A23C4FF8DD68C2B1D88CBDE7B11E8B6 /* LiquidLoader.framework */, + 2750CDD0D8469E41A2A3E44D81B43401 /* Pods_LiquidLoader_Example.framework */, + 79CC1CD10CE5EAD40E134E54002C3AB7 /* Pods_LiquidLoader_Tests.framework */, + ); + name = Products; + sourceTree = ""; + }; + DA7718A9753C7B6DF07EDA938EFCB199 /* Pods-LiquidLoader_Tests */ = { + isa = PBXGroup; + children = ( + 44D7029640EE13E21DFA8329C87A96A6 /* Info.plist */, + EF66408B707E3B828E1301C313E9A5CB /* Pods-LiquidLoader_Tests.modulemap */, + 4D24BE69DF64A5DDBF5B9784D6546C35 /* Pods-LiquidLoader_Tests-acknowledgements.markdown */, + 83941EE4B8AA124DE0DC9D929410A4F3 /* Pods-LiquidLoader_Tests-acknowledgements.plist */, + 314F31CC56F839A8CC1A20496DFF5B0F /* Pods-LiquidLoader_Tests-dummy.m */, + B5CB0F9EB7805E30638C9D53074FD986 /* Pods-LiquidLoader_Tests-frameworks.sh */, + 05B280D9B3CF1398ABEC88F2EAB31B66 /* Pods-LiquidLoader_Tests-resources.sh */, + FC6FD4BFA7C157238A059E2A847826F2 /* Pods-LiquidLoader_Tests-umbrella.h */, + B3FD2022636FC815082E8FDF87276877 /* Pods-LiquidLoader_Tests.debug.xcconfig */, + 92116181D6F4EBE5842F13780AEC4ADE /* Pods-LiquidLoader_Tests.release.xcconfig */, + ); + name = "Pods-LiquidLoader_Tests"; + path = "Target Support Files/Pods-LiquidLoader_Tests"; + sourceTree = ""; + }; + ED755C84311AACA71547A480AD483259 /* LiquidLoader */ = { + isa = PBXGroup; + children = ( + 7A95945BF243B24D4C08EC9C56D67515 /* Pod */, + 854F753EBC864A33E6DDD5A243F49D1E /* Support Files */, + ); + name = LiquidLoader; + path = ../..; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 1F4AF30C1B91B39BE9E8C05E3B424F6A /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + EF86124C5788381F1DE0107F373DEF60 /* LiquidLoader-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 257C80DDFEBCA988B57407F8DD5B8830 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 7CA6405FE7F0150C77C271DDFC0E4786 /* Pods-LiquidLoader_Tests-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 7FA85987CC561D63DB972E8CDD6D7823 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 7423092C0D126EEF5181E914FBD3AEC1 /* Pods-LiquidLoader_Example-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 58A5EB73BA86B974CB97B025C0C706DB /* Pods-LiquidLoader_Example */ = { + isa = PBXNativeTarget; + buildConfigurationList = FEBAA57D0FD60E60C32C726ECDB646D7 /* Build configuration list for PBXNativeTarget "Pods-LiquidLoader_Example" */; + buildPhases = ( + 65CDF081180EAF54D90131225149D5E5 /* Sources */, + 275AE8B63407371B871A7D61F11FC977 /* Frameworks */, + 7FA85987CC561D63DB972E8CDD6D7823 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + 7DF892F8BA88CE307274CD98138F56C1 /* PBXTargetDependency */, + ); + name = "Pods-LiquidLoader_Example"; + productName = "Pods-LiquidLoader_Example"; + productReference = 2750CDD0D8469E41A2A3E44D81B43401 /* Pods_LiquidLoader_Example.framework */; + productType = "com.apple.product-type.framework"; + }; + 86ACC072CDCC719ACDD8C0B3C9C42172 /* LiquidLoader-LiquidLoader */ = { + isa = PBXNativeTarget; + buildConfigurationList = 26E57D68565D1AD130EF406E37E4ED4B /* Build configuration list for PBXNativeTarget "LiquidLoader-LiquidLoader" */; + buildPhases = ( + E5ECF0BF694987288E165A2F45AED20B /* Sources */, + 6C0D79A25697508C2B019B26763AC3AC /* Frameworks */, + DF5516EE34E2D4756DC2BC33C971B1D7 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "LiquidLoader-LiquidLoader"; + productName = "LiquidLoader-LiquidLoader"; + productReference = 70EB2D61FE11AA6A2A6A4077E1B2971D /* LiquidLoader.bundle */; + productType = "com.apple.product-type.bundle"; + }; + C4800E1D8E6AEDD8BDC05BC3F94479AE /* Pods-LiquidLoader_Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 3E6A4F24C1F5FD422AE7F1050971467D /* Build configuration list for PBXNativeTarget "Pods-LiquidLoader_Tests" */; + buildPhases = ( + 52CC63444CCFAAC16B94DDDC1165270A /* Sources */, + 2760045F059D91ED1B31C0A6C268E855 /* Frameworks */, + 257C80DDFEBCA988B57407F8DD5B8830 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + 757EBAD91C495F79850ACB62C65BF593 /* PBXTargetDependency */, + ); + name = "Pods-LiquidLoader_Tests"; + productName = "Pods-LiquidLoader_Tests"; + productReference = 79CC1CD10CE5EAD40E134E54002C3AB7 /* Pods_LiquidLoader_Tests.framework */; + productType = "com.apple.product-type.framework"; + }; + DA3D45A84D6B260D2576265650572ED0 /* LiquidLoader */ = { + isa = PBXNativeTarget; + buildConfigurationList = A97FAF5CB870A94068DC0FB0CF85762E /* Build configuration list for PBXNativeTarget "LiquidLoader" */; + buildPhases = ( + 08789CB75674894066E7407BED2A5CFE /* Sources */, + 320CAD0182CE72551B58F3B2671CF9CD /* Frameworks */, + 5632DDA76210A4A8C056796204ACE107 /* Resources */, + 1F4AF30C1B91B39BE9E8C05E3B424F6A /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + E49FC84B4ACEDF519945F9DB45184722 /* PBXTargetDependency */, + ); + name = LiquidLoader; + productName = LiquidLoader; + productReference = 3A23C4FF8DD68C2B1D88CBDE7B11E8B6 /* LiquidLoader.framework */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0700; + LastUpgradeCheck = 0700; + }; + buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 7DB346D0F39D3F0E887471402A8071AB; + productRefGroup = CCA510CFBEA2D207524CDA0D73C3B561 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + DA3D45A84D6B260D2576265650572ED0 /* LiquidLoader */, + 86ACC072CDCC719ACDD8C0B3C9C42172 /* LiquidLoader-LiquidLoader */, + 58A5EB73BA86B974CB97B025C0C706DB /* Pods-LiquidLoader_Example */, + C4800E1D8E6AEDD8BDC05BC3F94479AE /* Pods-LiquidLoader_Tests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 5632DDA76210A4A8C056796204ACE107 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + CD7559B9A50A2675284DADF151CC9415 /* LiquidLoader.bundle in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DF5516EE34E2D4756DC2BC33C971B1D7 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 08789CB75674894066E7407BED2A5CFE /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + D9670D821B8AEE6300EA7E16 /* UIColorEx.swift in Sources */, + D9670D8A1B8AEE7700EA7E16 /* LiquidUtil.swift in Sources */, + D9670D7C1B8AEE5400EA7E16 /* ArrayEx.swift in Sources */, + D9670D8B1B8AEE7700EA7E16 /* LiquittableCircle.swift in Sources */, + D9670D811B8AEE6300EA7E16 /* CGRectEx.swift in Sources */, + D9670D8D1B8AEE7700EA7E16 /* LiquidLineEffect.swift in Sources */, + 4637BF0F1CCA984D5AAAAB652C8195C7 /* LiquidLoader-dummy.m in Sources */, + D9670D7D1B8AEE5400EA7E16 /* CGPointEx.swift in Sources */, + D9670D931B8AEEC400EA7E16 /* LiquidLoader.swift in Sources */, + D9670D891B8AEE7700EA7E16 /* LiquidLoadEffect.swift in Sources */, + D9670D8C1B8AEE7700EA7E16 /* LiquidCircleEffect.swift in Sources */, + D9670D831B8AEE6300EA7E16 /* UIView+Grow.swift in Sources */, + D9670D911B8AEE9C00EA7E16 /* CircularGradientLayer.swift in Sources */, + D9670D8F1B8AEE8700EA7E16 /* SimpleCircleLiquidEngine.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 52CC63444CCFAAC16B94DDDC1165270A /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 39D9BDDD682FA8DF596F7301400E949E /* Pods-LiquidLoader_Tests-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 65CDF081180EAF54D90131225149D5E5 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3158F985A83C4F9B22656681F5D5A805 /* Pods-LiquidLoader_Example-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E5ECF0BF694987288E165A2F45AED20B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 757EBAD91C495F79850ACB62C65BF593 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = LiquidLoader; + target = DA3D45A84D6B260D2576265650572ED0 /* LiquidLoader */; + targetProxy = C817687E7676901652D107F2602C9378 /* PBXContainerItemProxy */; + }; + 7DF892F8BA88CE307274CD98138F56C1 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = LiquidLoader; + target = DA3D45A84D6B260D2576265650572ED0 /* LiquidLoader */; + targetProxy = 2F7383DFD3A6468A51138DDF2A652DFF /* PBXContainerItemProxy */; + }; + E49FC84B4ACEDF519945F9DB45184722 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "LiquidLoader-LiquidLoader"; + target = 86ACC072CDCC719ACDD8C0B3C9C42172 /* LiquidLoader-LiquidLoader */; + targetProxy = 0EA8519BAA499475021F8C200019ACDF /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 05D27894E33142C2EEAC6A6DA31494AE /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 873DBB81A12356533FD73EC453531C0B /* LiquidLoader-Private.xcconfig */; + buildSettings = { + ENABLE_STRICT_OBJC_MSGSEND = YES; + PRODUCT_NAME = LiquidLoader; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + WRAPPER_EXTENSION = bundle; + }; + name = Debug; + }; + 10DE1947DAC0ED28F6C0A9F9BD75D546 /* 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; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = YES; + ENABLE_NS_ASSERTIONS = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_PREPROCESSOR_DEFINITIONS = "RELEASE=1"; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; + STRIP_INSTALLED_PRODUCT = NO; + SYMROOT = "${SRCROOT}/../build"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 1FEC0B34EB29F21BB8B1DEEBE6A64740 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 291067D65B8CDB7A0653CA2E913C6778 /* Pods-LiquidLoader_Example.debug.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + INFOPLIST_FILE = "Target Support Files/Pods-LiquidLoader_Example/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example.modulemap"; + MTL_ENABLE_DEBUG_INFO = YES; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_NAME = Pods_LiquidLoader_Example; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 22EB36569845D0E723C21F8253659D97 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 873DBB81A12356533FD73EC453531C0B /* LiquidLoader-Private.xcconfig */; + buildSettings = { + ENABLE_STRICT_OBJC_MSGSEND = YES; + PRODUCT_NAME = LiquidLoader; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + WRAPPER_EXTENSION = bundle; + }; + name = Release; + }; + 4539757536BAC889496731D508FC85AC /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 92116181D6F4EBE5842F13780AEC4ADE /* Pods-LiquidLoader_Tests.release.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + INFOPLIST_FILE = "Target Support Files/Pods-LiquidLoader_Tests/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests.modulemap"; + MTL_ENABLE_DEBUG_INFO = NO; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_NAME = Pods_LiquidLoader_Tests; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 552D02D5BA751AC2E8790D2811D496CA /* 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; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + 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; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; + ONLY_ACTIVE_ARCH = YES; + STRIP_INSTALLED_PRODUCT = NO; + SYMROOT = "${SRCROOT}/../build"; + }; + name = Debug; + }; + 58BEE2680AF5E7D0D1A9F8094DB5618D /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 873DBB81A12356533FD73EC453531C0B /* LiquidLoader-Private.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 0.1.0; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 0.1.0; + DYLIB_CURRENT_VERSION = "$(CURRENT_PROJECT_VERSION)"; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_PREFIX_HEADER = "Target Support Files/LiquidLoader/LiquidLoader-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/LiquidLoader/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/LiquidLoader/LiquidLoader.modulemap"; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_NAME = LiquidLoader; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 861CBB536A316BE1B9AF5F69A1FD8E07 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = DC0F60F60BB175666F7CA0304BE51EDE /* Pods-LiquidLoader_Example.release.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + INFOPLIST_FILE = "Target Support Files/Pods-LiquidLoader_Example/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example.modulemap"; + MTL_ENABLE_DEBUG_INFO = NO; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_NAME = Pods_LiquidLoader_Example; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + BE4E1465BB9BBEE4748B532FEBA7AF68 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = B3FD2022636FC815082E8FDF87276877 /* Pods-LiquidLoader_Tests.debug.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + INFOPLIST_FILE = "Target Support Files/Pods-LiquidLoader_Tests/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests.modulemap"; + MTL_ENABLE_DEBUG_INFO = YES; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_NAME = Pods_LiquidLoader_Tests; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + ED722486509A4DF02BE363AFCB20C815 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 873DBB81A12356533FD73EC453531C0B /* LiquidLoader-Private.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 0.1.0; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 0.1.0; + DYLIB_CURRENT_VERSION = "$(CURRENT_PROJECT_VERSION)"; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_PREFIX_HEADER = "Target Support Files/LiquidLoader/LiquidLoader-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/LiquidLoader/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/LiquidLoader/LiquidLoader.modulemap"; + MTL_ENABLE_DEBUG_INFO = YES; + PRODUCT_NAME = LiquidLoader; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 26E57D68565D1AD130EF406E37E4ED4B /* Build configuration list for PBXNativeTarget "LiquidLoader-LiquidLoader" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 05D27894E33142C2EEAC6A6DA31494AE /* Debug */, + 22EB36569845D0E723C21F8253659D97 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 552D02D5BA751AC2E8790D2811D496CA /* Debug */, + 10DE1947DAC0ED28F6C0A9F9BD75D546 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 3E6A4F24C1F5FD422AE7F1050971467D /* Build configuration list for PBXNativeTarget "Pods-LiquidLoader_Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + BE4E1465BB9BBEE4748B532FEBA7AF68 /* Debug */, + 4539757536BAC889496731D508FC85AC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A97FAF5CB870A94068DC0FB0CF85762E /* Build configuration list for PBXNativeTarget "LiquidLoader" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + ED722486509A4DF02BE363AFCB20C815 /* Debug */, + 58BEE2680AF5E7D0D1A9F8094DB5618D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + FEBAA57D0FD60E60C32C726ECDB646D7 /* Build configuration list for PBXNativeTarget "Pods-LiquidLoader_Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1FEC0B34EB29F21BB8B1DEEBE6A64740 /* Debug */, + 861CBB536A316BE1B9AF5F69A1FD8E07 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; +} diff --git a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/LiquidLoader.xcscheme b/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/LiquidLoader.xcscheme new file mode 100644 index 0000000..4f9fcaa --- /dev/null +++ b/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/LiquidLoader.xcscheme @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example/Pods/Target Support Files/LiquidLoader/Info.plist b/Example/Pods/Target Support Files/LiquidLoader/Info.plist new file mode 100644 index 0000000..4ba5fa2 --- /dev/null +++ b/Example/Pods/Target Support Files/LiquidLoader/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + org.cocoapods.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 0.1.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Example/Pods/Target Support Files/LiquidLoader/LiquidLoader-Private.xcconfig b/Example/Pods/Target Support Files/LiquidLoader/LiquidLoader-Private.xcconfig new file mode 100644 index 0000000..2e5b610 --- /dev/null +++ b/Example/Pods/Target Support Files/LiquidLoader/LiquidLoader-Private.xcconfig @@ -0,0 +1,6 @@ +#include "LiquidLoader.xcconfig" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/LiquidLoader" "${PODS_ROOT}/Headers/Public" +OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +PODS_ROOT = ${SRCROOT} +SKIP_INSTALL = YES \ No newline at end of file diff --git a/Example/Pods/Target Support Files/LiquidLoader/LiquidLoader-dummy.m b/Example/Pods/Target Support Files/LiquidLoader/LiquidLoader-dummy.m new file mode 100644 index 0000000..59a05ed --- /dev/null +++ b/Example/Pods/Target Support Files/LiquidLoader/LiquidLoader-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_LiquidLoader : NSObject +@end +@implementation PodsDummy_LiquidLoader +@end diff --git a/Example/Pods/Target Support Files/LiquidLoader/LiquidLoader-prefix.pch b/Example/Pods/Target Support Files/LiquidLoader/LiquidLoader-prefix.pch new file mode 100644 index 0000000..aa992a4 --- /dev/null +++ b/Example/Pods/Target Support Files/LiquidLoader/LiquidLoader-prefix.pch @@ -0,0 +1,4 @@ +#ifdef __OBJC__ +#import +#endif + diff --git a/Example/Pods/Target Support Files/LiquidLoader/LiquidLoader-umbrella.h b/Example/Pods/Target Support Files/LiquidLoader/LiquidLoader-umbrella.h new file mode 100644 index 0000000..76f8ceb --- /dev/null +++ b/Example/Pods/Target Support Files/LiquidLoader/LiquidLoader-umbrella.h @@ -0,0 +1,6 @@ +#import + + +FOUNDATION_EXPORT double LiquidLoaderVersionNumber; +FOUNDATION_EXPORT const unsigned char LiquidLoaderVersionString[]; + diff --git a/Example/Pods/Target Support Files/LiquidLoader/LiquidLoader.modulemap b/Example/Pods/Target Support Files/LiquidLoader/LiquidLoader.modulemap new file mode 100644 index 0000000..9a56ab3 --- /dev/null +++ b/Example/Pods/Target Support Files/LiquidLoader/LiquidLoader.modulemap @@ -0,0 +1,6 @@ +framework module LiquidLoader { + umbrella header "LiquidLoader-umbrella.h" + + export * + module * { export * } +} diff --git a/Pod/Classes/ReplaceMe.swift b/Example/Pods/Target Support Files/LiquidLoader/LiquidLoader.xcconfig similarity index 100% rename from Pod/Classes/ReplaceMe.swift rename to Example/Pods/Target Support Files/LiquidLoader/LiquidLoader.xcconfig diff --git a/Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Info.plist b/Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Info.plist new file mode 100644 index 0000000..6974542 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + org.cocoapods.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example-acknowledgements.markdown new file mode 100644 index 0000000..a32f034 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example-acknowledgements.markdown @@ -0,0 +1,26 @@ +# Acknowledgements +This application makes use of the following third party libraries: + +## LiquidLoader + +Copyright (c) 2015 Takuma Yoshida + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Generated by CocoaPods - http://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example-acknowledgements.plist new file mode 100644 index 0000000..cddc8b6 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example-acknowledgements.plist @@ -0,0 +1,56 @@ + + + + + PreferenceSpecifiers + + + FooterText + This application makes use of the following third party libraries: + Title + Acknowledgements + Type + PSGroupSpecifier + + + FooterText + Copyright (c) 2015 Takuma Yoshida <yoa.jmpr.w@gmail.com> + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + Title + LiquidLoader + Type + PSGroupSpecifier + + + FooterText + Generated by CocoaPods - http://cocoapods.org + Title + + Type + PSGroupSpecifier + + + StringsTable + Acknowledgements + Title + Acknowledgements + + diff --git a/Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example-dummy.m b/Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example-dummy.m new file mode 100644 index 0000000..3b0666f --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_LiquidLoader_Example : NSObject +@end +@implementation PodsDummy_Pods_LiquidLoader_Example +@end diff --git a/Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example-frameworks.sh b/Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example-frameworks.sh new file mode 100755 index 0000000..7534636 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example-frameworks.sh @@ -0,0 +1,59 @@ +#!/bin/sh +set -e + +echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" +mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + +SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" + +install_framework() +{ + if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then + local source="${BUILT_PRODUCTS_DIR}/$1" + else + local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" + fi + + local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + + if [ -L "${source}" ]; then + echo "Symlinked..." + source="$(readlink "${source}")" + fi + + # use filter instead of exclude so missing patterns dont' throw errors + echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" + + # Resign the code if required by the build settings to avoid unstable apps + code_sign_if_enabled "${destination}/$(basename "$1")" + + # Embed linked Swift runtime libraries + local basename + basename="$(basename "$1" | sed -E s/\\..+// && exit ${PIPESTATUS[0]})" + local swift_runtime_libs + swift_runtime_libs=$(xcrun otool -LX "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/${basename}.framework/${basename}" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) + for lib in $swift_runtime_libs; do + echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" + rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" + code_sign_if_enabled "${destination}/${lib}" + done +} + +# Signs a framework with the provided identity +code_sign_if_enabled() { + if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then + # Use the current code_sign_identitiy + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" + echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\"" + /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" + fi +} + + +if [[ "$CONFIGURATION" == "Debug" ]]; then + install_framework 'Pods-LiquidLoader_Example/LiquidLoader.framework' +fi +if [[ "$CONFIGURATION" == "Release" ]]; then + install_framework 'Pods-LiquidLoader_Example/LiquidLoader.framework' +fi diff --git a/Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example-resources.sh b/Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example-resources.sh new file mode 100755 index 0000000..ea685a2 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example-resources.sh @@ -0,0 +1,95 @@ +#!/bin/sh +set -e + +mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + +RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt +> "$RESOURCES_TO_COPY" + +XCASSET_FILES=() + +realpath() { + DIRECTORY="$(cd "${1%/*}" && pwd)" + FILENAME="${1##*/}" + echo "$DIRECTORY/$FILENAME" +} + +install_resource() +{ + case $1 in + *.storyboard) + echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}" + ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" + ;; + *.xib) + echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}" + ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" + ;; + *.framework) + echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + ;; + *.xcdatamodel) + echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\"" + xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom" + ;; + *.xcdatamodeld) + echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\"" + xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd" + ;; + *.xcmappingmodel) + echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\"" + xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm" + ;; + *.xcassets) + ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1") + XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") + ;; + /*) + echo "$1" + echo "$1" >> "$RESOURCES_TO_COPY" + ;; + *) + echo "${PODS_ROOT}/$1" + echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" + ;; + esac +} + +mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +if [[ "${ACTION}" == "install" ]]; then + mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi +rm -f "$RESOURCES_TO_COPY" + +if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] +then + case "${TARGETED_DEVICE_FAMILY}" in + 1,2) + TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" + ;; + 1) + TARGET_DEVICE_ARGS="--target-device iphone" + ;; + 2) + TARGET_DEVICE_ARGS="--target-device ipad" + ;; + *) + TARGET_DEVICE_ARGS="--target-device mac" + ;; + esac + + # Find all other xcassets (this unfortunately includes those of path pods and other targets). + OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) + while read line; do + if [[ $line != "`realpath $PODS_ROOT`*" ]]; then + XCASSET_FILES+=("$line") + fi + done <<<"$OTHER_XCASSETS" + + printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi diff --git a/Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example-umbrella.h b/Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example-umbrella.h new file mode 100644 index 0000000..5b7a952 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example-umbrella.h @@ -0,0 +1,6 @@ +#import + + +FOUNDATION_EXPORT double Pods_LiquidLoader_ExampleVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_LiquidLoader_ExampleVersionString[]; + diff --git a/Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example.debug.xcconfig b/Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example.debug.xcconfig new file mode 100644 index 0000000..f076aba --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example.debug.xcconfig @@ -0,0 +1,7 @@ +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/LiquidLoader.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "LiquidLoader" +OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-LiquidLoader_Example +PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file diff --git a/Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example.modulemap b/Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example.modulemap new file mode 100644 index 0000000..57cd43f --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example.modulemap @@ -0,0 +1,6 @@ +framework module Pods_LiquidLoader_Example { + umbrella header "Pods-LiquidLoader_Example-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example.release.xcconfig b/Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example.release.xcconfig new file mode 100644 index 0000000..f076aba --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-LiquidLoader_Example/Pods-LiquidLoader_Example.release.xcconfig @@ -0,0 +1,7 @@ +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/LiquidLoader.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "LiquidLoader" +OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-LiquidLoader_Example +PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file diff --git a/Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Info.plist b/Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Info.plist new file mode 100644 index 0000000..6974542 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + org.cocoapods.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests-acknowledgements.markdown new file mode 100644 index 0000000..a32f034 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests-acknowledgements.markdown @@ -0,0 +1,26 @@ +# Acknowledgements +This application makes use of the following third party libraries: + +## LiquidLoader + +Copyright (c) 2015 Takuma Yoshida + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Generated by CocoaPods - http://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests-acknowledgements.plist new file mode 100644 index 0000000..cddc8b6 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests-acknowledgements.plist @@ -0,0 +1,56 @@ + + + + + PreferenceSpecifiers + + + FooterText + This application makes use of the following third party libraries: + Title + Acknowledgements + Type + PSGroupSpecifier + + + FooterText + Copyright (c) 2015 Takuma Yoshida <yoa.jmpr.w@gmail.com> + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + Title + LiquidLoader + Type + PSGroupSpecifier + + + FooterText + Generated by CocoaPods - http://cocoapods.org + Title + + Type + PSGroupSpecifier + + + StringsTable + Acknowledgements + Title + Acknowledgements + + diff --git a/Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests-dummy.m b/Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests-dummy.m new file mode 100644 index 0000000..6390446 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_LiquidLoader_Tests : NSObject +@end +@implementation PodsDummy_Pods_LiquidLoader_Tests +@end diff --git a/Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests-frameworks.sh b/Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests-frameworks.sh new file mode 100755 index 0000000..7ede880 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests-frameworks.sh @@ -0,0 +1,59 @@ +#!/bin/sh +set -e + +echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" +mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + +SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" + +install_framework() +{ + if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then + local source="${BUILT_PRODUCTS_DIR}/$1" + else + local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" + fi + + local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + + if [ -L "${source}" ]; then + echo "Symlinked..." + source="$(readlink "${source}")" + fi + + # use filter instead of exclude so missing patterns dont' throw errors + echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" + + # Resign the code if required by the build settings to avoid unstable apps + code_sign_if_enabled "${destination}/$(basename "$1")" + + # Embed linked Swift runtime libraries + local basename + basename="$(basename "$1" | sed -E s/\\..+// && exit ${PIPESTATUS[0]})" + local swift_runtime_libs + swift_runtime_libs=$(xcrun otool -LX "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/${basename}.framework/${basename}" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) + for lib in $swift_runtime_libs; do + echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" + rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" + code_sign_if_enabled "${destination}/${lib}" + done +} + +# Signs a framework with the provided identity +code_sign_if_enabled() { + if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then + # Use the current code_sign_identitiy + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" + echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\"" + /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" + fi +} + + +if [[ "$CONFIGURATION" == "Debug" ]]; then + install_framework 'Pods-LiquidLoader_Tests/LiquidLoader.framework' +fi +if [[ "$CONFIGURATION" == "Release" ]]; then + install_framework 'Pods-LiquidLoader_Tests/LiquidLoader.framework' +fi diff --git a/Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests-resources.sh b/Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests-resources.sh new file mode 100755 index 0000000..ea685a2 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests-resources.sh @@ -0,0 +1,95 @@ +#!/bin/sh +set -e + +mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + +RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt +> "$RESOURCES_TO_COPY" + +XCASSET_FILES=() + +realpath() { + DIRECTORY="$(cd "${1%/*}" && pwd)" + FILENAME="${1##*/}" + echo "$DIRECTORY/$FILENAME" +} + +install_resource() +{ + case $1 in + *.storyboard) + echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}" + ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" + ;; + *.xib) + echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}" + ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" + ;; + *.framework) + echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + ;; + *.xcdatamodel) + echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\"" + xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom" + ;; + *.xcdatamodeld) + echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\"" + xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd" + ;; + *.xcmappingmodel) + echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\"" + xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm" + ;; + *.xcassets) + ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1") + XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") + ;; + /*) + echo "$1" + echo "$1" >> "$RESOURCES_TO_COPY" + ;; + *) + echo "${PODS_ROOT}/$1" + echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" + ;; + esac +} + +mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +if [[ "${ACTION}" == "install" ]]; then + mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi +rm -f "$RESOURCES_TO_COPY" + +if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] +then + case "${TARGETED_DEVICE_FAMILY}" in + 1,2) + TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" + ;; + 1) + TARGET_DEVICE_ARGS="--target-device iphone" + ;; + 2) + TARGET_DEVICE_ARGS="--target-device ipad" + ;; + *) + TARGET_DEVICE_ARGS="--target-device mac" + ;; + esac + + # Find all other xcassets (this unfortunately includes those of path pods and other targets). + OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) + while read line; do + if [[ $line != "`realpath $PODS_ROOT`*" ]]; then + XCASSET_FILES+=("$line") + fi + done <<<"$OTHER_XCASSETS" + + printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi diff --git a/Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests-umbrella.h b/Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests-umbrella.h new file mode 100644 index 0000000..f88ec3c --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests-umbrella.h @@ -0,0 +1,6 @@ +#import + + +FOUNDATION_EXPORT double Pods_LiquidLoader_TestsVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_LiquidLoader_TestsVersionString[]; + diff --git a/Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests.debug.xcconfig b/Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests.debug.xcconfig new file mode 100644 index 0000000..4197f30 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests.debug.xcconfig @@ -0,0 +1,7 @@ +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/LiquidLoader.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "LiquidLoader" +OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-LiquidLoader_Tests +PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file diff --git a/Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests.modulemap b/Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests.modulemap new file mode 100644 index 0000000..62b8a97 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests.modulemap @@ -0,0 +1,6 @@ +framework module Pods_LiquidLoader_Tests { + umbrella header "Pods-LiquidLoader_Tests-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests.release.xcconfig b/Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests.release.xcconfig new file mode 100644 index 0000000..4197f30 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-LiquidLoader_Tests/Pods-LiquidLoader_Tests.release.xcconfig @@ -0,0 +1,7 @@ +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/LiquidLoader.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "LiquidLoader" +OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-LiquidLoader_Tests +PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file diff --git a/Pod/Classes/ArrayEx.swift b/Pod/Classes/ArrayEx.swift new file mode 100644 index 0000000..28f7759 --- /dev/null +++ b/Pod/Classes/ArrayEx.swift @@ -0,0 +1,106 @@ +// +// ArrayEx.swift +// Ampdot +// +// Created by Takuma Yoshida on 2015/06/02. +// Copyright (c) 2015年 Uniface, Inc. All rights reserved. +// + +import Foundation + +extension Array { + func take(n: Int) -> [Element] { + if self.count == 0 { + return [] + } + let size = self.count < n ? self.count : n + var result: [Element] = [] + for index in 0...size-1 { + result.append(self[index]) + } + return result + } + + func each(f: (Element) -> ()) { + for item in self { + f(item) + } + } + + func eachWithIndex(f: (Int, Element) -> ()) { + if self.count <= 0 { + return + } + for i in 0...self.count-1 { + f(i, self[i]) + } + } + + func zip(other: [U]) -> [(Element, U)] { + var result = [(Element, U)]() + for (p, q) in Swift.zip(self, other) { + result.append((p, q)) + } + return result + } + + func indexOf (item: U) -> Int? { + if item is Element { + return Swift.find(unsafeBitCast(self, [U].self), item) + } + + return nil + } + + func find (f: (Element) -> Bool) -> Element? { + for value in self { + if f(value) { + return value + } + } + return nil + } + + func mapWithIndex(f: (Int, Element) -> U) -> [U] { + if self.isEmpty { + return [] + } + var elements: [U] = [] + for i in 0...self.count-1 { + let item = self[i] + let newItem = f(i, item) + elements.append(newItem) + } + return elements + } + + func without(target: U) -> [U] { + var results: [U] = [] + for item in self { + if item as! U != target { + results.append(item as! U) + } + } + return results + } + + func at(index: Int) -> Element? { + if count > index { + return self[index] + } + return nil + } + + func flatten() -> [U] { + var res: [U] = [] + for array in self { + if let arr = array as? [U] { + for item in arr { + res.append(item) + } + } + } + return res + } + +} diff --git a/Pod/Classes/CGPointEx.swift b/Pod/Classes/CGPointEx.swift new file mode 100644 index 0000000..538e5be --- /dev/null +++ b/Pod/Classes/CGPointEx.swift @@ -0,0 +1,142 @@ +// +// CGPointEx.swift +// LiquidLoading +// +// Created by Takuma Yoshida on 2015/08/17. +// Copyright (c) 2015年 yoavlt. All rights reserved. +// + +import Foundation +import UIKit + +extension CGPoint { + + // 足し算 + func plus(point: CGPoint) -> CGPoint { + return CGPoint(x: self.x + point.x, y: self.y + point.y) + } + + func plusX(dx: CGFloat) -> CGPoint { + return CGPoint(x: self.x + dx, y: self.y) + } + + func plusY(dy: CGFloat) -> CGPoint { + return CGPoint(x: self.x, y: self.y + dy) + } + + // 引き算 + func minus(point: CGPoint) -> CGPoint { + return CGPoint(x: self.x - point.x, y: self.y - point.y) + } + + func minusX(dx: CGFloat) -> CGPoint { + return CGPoint(x: self.x - dx, y: self.y) + } + + func minusY(dy: CGFloat) -> CGPoint { + return CGPoint(x: self.x, y: self.y - dy) + } + + // 掛け算 + func mul(rhs: CGFloat) -> CGPoint { + return CGPoint(x: self.x * rhs, y: self.y * rhs) + } + + // 割り算 + func div(rhs: CGFloat) -> CGPoint { + return CGPoint(x: self.x / rhs, y: self.y / rhs) + } + + // 長さ + func length() -> CGFloat { + return sqrt(self.x * self.x + self.y * self.y) + } + + func rev() -> CGPoint { + return CGPoint(x: -self.x, y: -self.y) + } + + // 反転 + func revX() -> CGPoint { + return CGPoint(x: -self.x, y: self.y) + } + + // 反転 + func revY() -> CGPoint { + return CGPoint(x: self.x, y: -self.y) + } + + // リフレクション + func refX(target: CGPoint) -> CGPoint { + let distance = target.x - self.x + return CGPoint(x: self.x - distance, y: self.y) + } + + // リフレクション + func refY(target: CGPoint) -> CGPoint { + let distance = target.y - self.y + return CGPoint(x: self.x, y: self.y - distance) + } + + func ceilf() -> CGPoint { + return CGPoint(x: ceil(self.x), y: ceil(self.y)) + } + + // 正規化 + func normalized() -> CGPoint { + return self.div(self.length()) + } + + // 内積 + func dot(point: CGPoint) -> CGFloat { + return self.x * point.x + self.y * point.y + } + + // 外積 + func cross(point: CGPoint) -> CGFloat { + return self.x * point.y - self.y * point.x + } + + func split(point: CGPoint, ratio: CGFloat) -> CGPoint { + return self.mul(ratio).plus(point.mul(1.0 - ratio)) + } + + func mid(point: CGPoint) -> CGPoint { + return split(point, ratio: 0.5) + } + + func areaSize(point: CGPoint) -> CGSize { + return CGSize(width: abs(x - point.x), height: abs(y - point.y)) + } + + func area(point: CGPoint) -> CGFloat { + let size = areaSize(point) + return size.width * size.height + } + + func origin(point: CGPoint) -> CGPoint { + return CGPoint(x: min(x, point.x), y: min(y, point.y)) + } + + static func intersection(from: CGPoint, to: CGPoint, from2: CGPoint, to2: CGPoint) -> CGPoint? { + let ac = CGPoint(x: to.x - from.x, y: to.y - from.y) + let bd = CGPoint(x: to2.x - from2.x, y: to2.y - from2.y) + let ab = CGPoint(x: from2.x - from.x, y: from2.y - from.y) + let bc = CGPoint(x: to.x - from2.x, y: to.y - from2.y) + + let area = bd.cross(ab) + let area2 = bd.cross(bc) + + if abs(area + area2) >= 0.1 { + let ratio = area / (area + area2) + return CGPoint(x: from.x + ratio * ac.x, y: from.y + ratio * ac.y) + } + + return nil + } + + func toSize() -> CGSize { + return CGSize(width: self.x, height: self.y) + } + +} \ No newline at end of file diff --git a/Pod/Classes/CGRectEx.swift b/Pod/Classes/CGRectEx.swift new file mode 100644 index 0000000..11cd8f3 --- /dev/null +++ b/Pod/Classes/CGRectEx.swift @@ -0,0 +1,23 @@ +// +// CGRectEx.swift +// LiquidLoading +// +// Created by Takuma Yoshida on 2015/08/20. +// Copyright (c) 2015年 yoavlt. All rights reserved. +// + +import Foundation +import UIKit + +extension CGRect { + var rightBottom: CGPoint { + get { + return CGPoint(x: origin.x + width, y: origin.y + height) + } + } + var center: CGPoint { + get { + return origin.plus(rightBottom).mul(0.5) + } + } +} diff --git a/Pod/Classes/CircularGradientLayer.swift b/Pod/Classes/CircularGradientLayer.swift new file mode 100644 index 0000000..76e2041 --- /dev/null +++ b/Pod/Classes/CircularGradientLayer.swift @@ -0,0 +1,31 @@ +// +// CircularGradientLayer.swift +// LiquidLoading +// +// Created by Takuma Yoshida on 2015/08/21. +// Copyright (c) 2015年 yoavlt. All rights reserved. +// + +import Foundation +import UIKit + +class CircularGradientLayer : CALayer { + let colors: [UIColor] + init(colors: [UIColor]) { + self.colors = colors + super.init() + setNeedsDisplay() + } + + required init(coder aDecoder: NSCoder) { + fatalError("init(coder:) has not been implemented") + } + + override func drawInContext(ctx: CGContext!) { + var locations = CGMath.linSpace(0.0, to: 1.0, n: colors.count) + locations = locations.map { 1.0 - $0 * $0 }.reverse() + println(locations) + let gradients = CGGradientCreateWithColors(CGColorSpaceCreateDeviceRGB(), colors.map { $0.CGColor }, locations) + CGContextDrawRadialGradient(ctx, gradients, self.frame.center, CGFloat(0.0), self.frame.center, max(self.frame.width, self.frame.height), 10) + } +} diff --git a/Pod/Classes/LiquidCircleEffect.swift b/Pod/Classes/LiquidCircleEffect.swift new file mode 100644 index 0000000..938dd3e --- /dev/null +++ b/Pod/Classes/LiquidCircleEffect.swift @@ -0,0 +1,79 @@ +// +// LiquidCircleLoader.swift +// LiquidLoading +// +// Created by Takuma Yoshida on 2015/08/21. +// Copyright (c) 2015年 yoavlt. All rights reserved. +// + +import Foundation +import UIKit + +class LiquidCircleEffect : LiquidLoadEffect { + + var radius: CGFloat { + get { + return loader!.frame.width * 0.5 + } + } + let NumberOfCircles = 8 + + internal override init(loader: LiquidLoader, color: UIColor) { + super.init(loader: loader, color: color) + } + + override func setupShape() -> [LiquittableCircle] { + return Array(0.. CGPoint { + let frame = self.loader!.frame.center.minus(self.loader!.frame.origin) + return CGMath.circlePoint( + frame, + radius: self.radius, + rad: self.key * CGFloat(2 * M_PI) + ) + } + + override func update() { + switch key { + case 0.0...1.0: + key += 0.006 + default: + key = key - 1.0 + } + } + + override func willSetup() { + self.circleRadius = loader.frame.width * 0.1 + self.circleScale = 1.10 + self.engine = SimpleCircleLiquidEngine(radiusThresh: self.circleRadius * 0.85, angleThresh: 0.5) + let moveCircleRadius = circleRadius * moveScale + moveCircle = LiquittableCircle(center: movePosition(0.0), radius: moveCircleRadius, color: self.color) + } + + override func resize() { + let moveVec = moveCircle!.center.minus(loader.center.minus(loader.frame.origin)).normalized() + circles.map { circle in + return (circle, moveVec.dot(circle.center.minus(self.loader.center.minus(self.loader.frame.origin)).normalized())) + }.each { (let circle, let dot) in + if 0.75 < dot && dot <= 1.0 { + let normalized = (dot - 0.75) / 0.25 + let scale = normalized * normalized + circle.radius = self.circleRadius + (self.circleRadius * self.circleScale - self.circleRadius) * scale + } else { + circle.radius = self.circleRadius + } + } + } + +} \ No newline at end of file diff --git a/Pod/Classes/LiquidLineEffect.swift b/Pod/Classes/LiquidLineEffect.swift new file mode 100644 index 0000000..bd85714 --- /dev/null +++ b/Pod/Classes/LiquidLineEffect.swift @@ -0,0 +1,70 @@ +// +// LiquidLineLoader.swift +// LiquidLoading +// +// Created by Takuma Yoshida on 2015/08/21. +// Copyright (c) 2015年 yoavlt. All rights reserved. +// + +import Foundation +import UIKit + +class LiquidLineEffect : LiquidLoadEffect { + + let NumberOfCircles = 5 + var circleInter: CGFloat! + + override func setupShape() -> [LiquittableCircle] { + return Array(0.. CGPoint { + return CGPoint( + x: loader.frame.width * sineTransform(key), + y: loader.frame.height * 0.5 + ) + } + + func sineTransform(key: CGFloat) -> CGFloat { + return sin(key * CGFloat(M_PI)) * 0.5 + 0.5 + } + + override func update() { + switch key { + case 0.0...2.0: + key += 0.01 + default: + key = 0.0 + } + } + + override func willSetup() { + if circleRadius == nil { + circleRadius = loader.frame.width * 0.05 + } + self.circleInter = (loader.frame.width - 2 * circleRadius * 5) / 6 + self.engine = SimpleCircleLiquidEngine(radiusThresh: self.circleRadius, angleThresh: 0.2) + let moveCircleRadius = circleRadius * moveScale + self.moveCircle = LiquittableCircle(center: CGPoint(x: 0, y: loader.frame.height * 0.5), radius: moveCircleRadius, color: color) + } + + override func resize() { + circles.map { circle in + return (circle, circle.center.minus(self.moveCircle!.center).length()) + }.each { (let circle, let distance) in + let normalized = 1.0 - distance / (self.circleRadius + self.circleInter) + if normalized > 0.0 { + circle.radius = self.circleRadius + (self.circleRadius * self.circleScale - self.circleRadius) * normalized + } else { + circle.radius = self.circleRadius + } + } + } + +} \ No newline at end of file diff --git a/Pod/Classes/LiquidLoadEffect.swift b/Pod/Classes/LiquidLoadEffect.swift new file mode 100644 index 0000000..6123c9f --- /dev/null +++ b/Pod/Classes/LiquidLoadEffect.swift @@ -0,0 +1,119 @@ +// +// LiquidLoader.swift +// LiquidLoading +// +// Created by Takuma Yoshida on 2015/08/17. +// Copyright (c) 2015年 yoavlt. All rights reserved. +// + +import Foundation +import UIKit + +class LiquidLoadEffect : NSObject { + + var circleScale: CGFloat = 1.17 + var moveScale: CGFloat = 0.80 + var color = UIColor.whiteColor() + + var engine: SimpleCircleLiquidEngine? + var moveCircle: LiquittableCircle? + var shadowCircle: LiquittableCircle? + + weak var loader: LiquidLoader! + + var isGrow = false { + didSet { + grow(self.isGrow) + } + } + + /* the following properties is initialized when frame is assigned */ + var circles: [LiquittableCircle]! + var circleRadius: CGFloat! + + var key: CGFloat = 0.0 { + didSet { + updateKeyframe(self.key) + } + } + + init(loader: LiquidLoader, color: UIColor) { + self.circleRadius = loader.frame.width * 0.05 + self.loader = loader + self.color = color + super.init() + setup() + } + + func resize() { + // abstract + } + + func setup() { + willSetup() + + engine?.color = color + + self.circles = setupShape() + for circle in circles { + loader?.addSubview(circle) + } + if moveCircle != nil { + loader?.addSubview(moveCircle!) + } + resize() + + var timer = NSTimer.scheduledTimerWithTimeInterval(0.02, target: self, selector: Selector("update"), userInfo: nil, repeats: true) + } + + func updateKeyframe(key: CGFloat) { + self.engine?.clear() + let movePos = movePosition(key) + + // move subviews positions + moveCircle?.center = movePos + shadowCircle?.center = movePos + circles.each { circle in + if self.moveCircle != nil { + self.engine?.push(self.moveCircle!, other: circle) + } + } + + resize() + + // draw and show grow + if let parent = loader { + self.engine?.draw(parent) + } + if let shadow = shadowCircle { + loader?.bringSubviewToFront(shadow) + } + } + + func setupShape() -> [LiquittableCircle] { + return [] // abstract + } + + func movePosition(key: CGFloat) -> CGPoint { + return CGPointZero // abstract + } + + func update() { + // abstract + } + + func willSetup() { + // abstract + } + + func grow(isGrow: Bool) { + if isGrow { + shadowCircle = LiquittableCircle(center: self.moveCircle!.center, radius: self.moveCircle!.radius * 1.0, color: self.color) + shadowCircle?.isGrow = isGrow + loader?.addSubview(shadowCircle!) + } else { + shadowCircle?.removeFromSuperview() + } + } + +} \ No newline at end of file diff --git a/Pod/Classes/LiquidLoader.swift b/Pod/Classes/LiquidLoader.swift new file mode 100644 index 0000000..81abe90 --- /dev/null +++ b/Pod/Classes/LiquidLoader.swift @@ -0,0 +1,59 @@ +// +// LiquidLoader.swift +// LiquidLoading +// +// Created by Takuma Yoshida on 2015/08/24. +// Copyright (c) 2015年 yoavlt. All rights reserved. +// + +import Foundation +import UIKit + +public enum Effect { + case Line(UIColor) + case Circle(UIColor) + case GrowLine(UIColor) + case GrowCircle(UIColor) + + func setup(loader: LiquidLoader) -> LiquidLoadEffect { + switch self { + case .Line(let color): + return LiquidLineEffect(loader: loader, color: color) + case .Circle(let color): + return LiquidCircleEffect(loader: loader, color: color) + case .GrowLine(let color): + let line = LiquidLineEffect(loader: loader, color: color) + line.isGrow = true + return line + case .GrowCircle(let color): + let circle = LiquidCircleEffect(loader: loader, color: color) + circle.isGrow = true + return circle + } + } +} + +public class LiquidLoader : UIView { + private let effect: Effect + private var effectDelegate: LiquidLoadEffect? + + public init(frame: CGRect, effect: Effect) { + self.effect = effect + super.init(frame: frame) + self.effectDelegate = self.effect.setup(self) + } + + public required init(coder aDecoder: NSCoder) { + self.effect = .Circle(UIColor.whiteColor()) + super.init(coder: aDecoder) + self.effectDelegate = self.effect.setup(self) + } + + public func show() { + self.hidden = false + } + + public func hide() { + self.hidden = true + } +} \ No newline at end of file diff --git a/Pod/Classes/LiquidUtil.swift b/Pod/Classes/LiquidUtil.swift new file mode 100644 index 0000000..58baf4e --- /dev/null +++ b/Pod/Classes/LiquidUtil.swift @@ -0,0 +1,53 @@ +// +// LiquidUtil.swift +// LiquidLoading +// +// Created by Takuma Yoshida on 2015/08/17. +// Copyright (c) 2015年 yoavlt. All rights reserved. +// + +import Foundation +import UIKit + +func withBezier(f: (UIBezierPath) -> ()) -> UIBezierPath { + let bezierPath = UIBezierPath() + f(bezierPath) + bezierPath.closePath() + return bezierPath +} + +func withStroke(bezierPath: UIBezierPath, color: UIColor, f: () -> ()) { + color.setStroke() + f() + bezierPath.stroke() +} + +func withFill(bezierPath: UIBezierPath, color: UIColor, f: () -> ()) { + color.setFill() + f() + bezierPath.fill() +} + +class CGMath { + static func radToDeg(rad: CGFloat) -> CGFloat { + return rad * 180 / CGFloat(M_PI) + } + + static func degToRad(deg: CGFloat) -> CGFloat { + return deg * CGFloat(M_PI) / 180 + } + + static func circlePoint(center: CGPoint, radius: CGFloat, rad: CGFloat) -> CGPoint { + let x = center.x + radius * cos(rad) + let y = center.y + radius * sin(rad) + return CGPoint(x: x, y: y) + } + + static func linSpace(from: CGFloat, to: CGFloat, n: Int) -> [CGFloat] { + var values: [CGFloat] = [] + for i in 0.. CGPoint { + return CGMath.circlePoint(center, radius: radius, rad: rad) + } + +} \ No newline at end of file diff --git a/Pod/Classes/SimpleCircleLiquidEngine.swift b/Pod/Classes/SimpleCircleLiquidEngine.swift new file mode 100644 index 0000000..ce68b7a --- /dev/null +++ b/Pod/Classes/SimpleCircleLiquidEngine.swift @@ -0,0 +1,150 @@ +// +// SimpleCircleLiquidEngine.swift +// LiquidLoading +// +// Created by Takuma Yoshida on 2015/08/19. +// Copyright (c) 2015年 yoavlt. All rights reserved. +// + +import Foundation +import UIKit + +/** + * This class is so fast, but allowed only same color. + */ +class SimpleCircleLiquidEngine { + + let radiusThresh: CGFloat + private var layer: CALayer = CAShapeLayer() + + var color = UIColor.redColor() + + let ConnectThresh: CGFloat = 0.3 + var angleThresh: CGFloat = 0.5 + + init(radiusThresh: CGFloat, angleThresh: CGFloat) { + self.radiusThresh = radiusThresh + self.angleThresh = angleThresh + } + + func push(circle: LiquittableCircle, other: LiquittableCircle) -> [LiquittableCircle] { + if let paths = generateConnectedPath(circle, other: other) { + let layers = paths.map(self.constructLayer) + layers.each(layer.addSublayer) + return [circle, other] + } + return [] + } + + func draw(parent: UIView) { + parent.layer.addSublayer(layer) + } + + func clear() { + layer.removeFromSuperlayer() + layer.sublayers?.each{ $0.removeFromSuperlayer() } + layer = CAShapeLayer() + } + + func constructLayer(path: UIBezierPath) -> CALayer { + let pathBounds = CGPathGetBoundingBox(path.CGPath); + + let shape = CAShapeLayer() + shape.fillColor = self.color.CGColor + shape.path = path.CGPath + shape.frame = CGRect(x: 0, y: 0, width: pathBounds.width, height: pathBounds.height) + + return shape + } + + private func circleConnectedPoint(circle: LiquittableCircle, other: LiquittableCircle, angle: CGFloat) -> (CGPoint, CGPoint) { + let vec = other.center.minus(circle.center) + let radian = atan2(vec.y, vec.x) + let p1 = circle.circlePoint(radian + angle) + let p2 = circle.circlePoint(radian - angle) + return (p1, p2) + } + + private func circleConnectedPoint(circle: LiquittableCircle, other: LiquittableCircle) -> (CGPoint, CGPoint) { + var ratio = circleRatio(circle, other: other) + ratio = (ratio + ConnectThresh) / (1.0 + ConnectThresh) + let angle = CGFloat(M_PI_2) * ratio + return circleConnectedPoint(circle, other: other, angle: angle) + } + + private func generateConnectedPath(circle: LiquittableCircle, other: LiquittableCircle) -> [UIBezierPath]? { + if isConnected(circle, other: other) { + let ratio = circleRatio(circle, other: other) + switch ratio { + case angleThresh...1.0: + if let path = normalPath(circle, other: other) { + return [path] + } + return nil + case 0.0.. UIBezierPath? { + let (p1, p2) = circleConnectedPoint(circle, other: other) + let (p3, p4) = circleConnectedPoint(other, other: circle) + if let crossed = CGPoint.intersection(p1, to: p3, from2: p2, to2: p4) { + return withBezier { path in + let r = self.circleRatio(circle, other: other) + path.moveToPoint(p1) + let mul = p1.plus(p4).div(2).split(crossed, ratio: r * 1.25 - 0.25) + path.addQuadCurveToPoint(p4, controlPoint: mul) + path.addLineToPoint(p3) + let mul2 = p2.plus(p3).div(2).split(crossed, ratio: r * 1.25 - 0.25) + path.addQuadCurveToPoint(p2, controlPoint: mul2) + } + } + return nil + } + + private func splitPath(circle: LiquittableCircle, other: LiquittableCircle, ratio: CGFloat) -> [UIBezierPath] { + let (p1, p2) = circleConnectedPoint(circle, other: other, angle: CGMath.degToRad(40)) + let (p3, p4) = circleConnectedPoint(other, other: circle, angle: CGMath.degToRad(40)) + + if let crossed = CGPoint.intersection(p1, to: p3, from2: p2, to2: p4) { + let (d1, _d1) = self.circleConnectedPoint(circle, other: other, angle: 0) + let (d2, _d2) = self.circleConnectedPoint(other, other: circle, angle: 0) + let r = (ratio - ConnectThresh) / (angleThresh - ConnectThresh) + + let a1 = d1.split(crossed.mid(d2), ratio: 1 - r) + let part = withBezier { path in + path.moveToPoint(p1) + let cp1 = a1.split(p1, ratio: ratio) + let cp2 = a1.split(p2, ratio: ratio) + path.addQuadCurveToPoint(p2, controlPoint: a1) + } + let a2 = d2.split(crossed.mid(d1), ratio: 1 - r) + let part2 = withBezier { path in + path.moveToPoint(p3) + let cp1 = a2.split(p3, ratio: ratio) + let cp2 = a2.split(p4, ratio: ratio) + path.addQuadCurveToPoint(p4, controlPoint: a2) + } + return [part, part2] + } + return [] + } + + private func circleRatio(circle: LiquittableCircle, other: LiquittableCircle) -> CGFloat { + let distance = other.center.minus(circle.center).length() + let ratio = 1.0 - (distance - radiusThresh) / (circle.radius + other.radius + radiusThresh) + return min(max(ratio, 0.0), 1.0) + } + + func isConnected(circle: LiquittableCircle, other: LiquittableCircle) -> Bool { + let distance = circle.center.minus(other.center).length() + return distance - circle.radius - other.radius < radiusThresh + } + +} diff --git a/Pod/Classes/UIColorEx.swift b/Pod/Classes/UIColorEx.swift new file mode 100644 index 0000000..28c6bc4 --- /dev/null +++ b/Pod/Classes/UIColorEx.swift @@ -0,0 +1,48 @@ +// +// UIColorEx.swift +// LiquidLoading +// +// Created by Takuma Yoshida on 2015/08/21. +// Copyright (c) 2015年 yoavlt. All rights reserved. +// + +import Foundation +import UIKit + +extension UIColor { + + var red: CGFloat { + get { + let components = CGColorGetComponents(self.CGColor) + return components[0] + } + } + + var green: CGFloat { + get { + let components = CGColorGetComponents(self.CGColor) + return components[1] + } + } + + var blue: CGFloat { + get { + let components = CGColorGetComponents(self.CGColor) + return components[2] + } + } + + var alpha: CGFloat { + get { + return CGColorGetAlpha(self.CGColor) + } + } + + func alpha(alpha: CGFloat) -> UIColor { + return UIColor(red: self.red, green: self.green, blue: self.blue, alpha: alpha) + } + + func scale(scale: CGFloat) -> UIColor { + return UIColor(red: self.red * scale, green: self.green * scale, blue: self.blue * scale, alpha: self.alpha) + } +} \ No newline at end of file diff --git a/Pod/Classes/UIView+Grow.swift b/Pod/Classes/UIView+Grow.swift new file mode 100644 index 0000000..47ae08a --- /dev/null +++ b/Pod/Classes/UIView+Grow.swift @@ -0,0 +1,44 @@ +// +// UIView+Grow.swift +// LiquidLoading +// +// Created by Takuma Yoshida on 2015/08/24. +// Copyright (c) 2015年 yoavlt. All rights reserved. +// + +import Foundation +import UIKit + +extension UIView { + func grow(baseColor: UIColor, radius: CGFloat, shininess: CGFloat) { + let growColor = UIColor(red: 0 / 255.0, green: 1, blue: 1, alpha: 1.0) + growShadow(radius, growColor: growColor, shininess: shininess) + let circle = CAShapeLayer() + circle.path = UIBezierPath(ovalInRect: CGRect(x: 0, y: 0, width: radius * 2.0, height: radius * 2.0)).CGPath + let circleGradient = CircularGradientLayer(colors: [growColor, UIColor(white: 1.0, alpha: 0)]) + circleGradient.frame = CGRect(x: 0, y: 0, width: radius * 2.0, height: radius * 2.0) + circleGradient.opacity = 0.25 + for sub in layer.sublayers { + if let l = sub as? CAShapeLayer { + l.fillColor = UIColor.clearColor().CGColor + } + } + circleGradient.mask = circle + layer.addSublayer(circleGradient) + } + + func growShadow(radius: CGFloat, growColor: UIColor, shininess: CGFloat) { + let origin = self.center.minus(self.frame.origin).minus(CGPoint(x: radius * shininess, y: radius * shininess)) + println(origin) + let ovalRect = CGRect(origin: origin, size: CGSize(width: 2 * radius * shininess, height: 2 * radius * shininess)) + let shadowPath = UIBezierPath(ovalInRect: ovalRect) + self.layer.shadowColor = growColor.CGColor + self.layer.shadowRadius = radius + self.layer.shadowPath = shadowPath.CGPath + self.layer.shadowOpacity = 1.0 + self.layer.shouldRasterize = true + self.layer.shadowOffset = CGSizeZero + self.layer.masksToBounds = false + self.clipsToBounds = false + } +} \ No newline at end of file