├── .gitignore ├── .swift-version ├── .travis.yml ├── Example ├── LikeAnimation.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── LikeAnimation-Example.xcscheme ├── LikeAnimation.xcworkspace │ └── contents.xcworkspacedata ├── LikeAnimation │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ ├── Background.imageset │ │ │ ├── Contents.json │ │ │ ├── background-1.jpg │ │ │ ├── background-2.jpg │ │ │ └── background.jpg │ │ └── Contents.json │ ├── Info.plist │ └── ViewController.swift ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── LikeAnimation.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── project.pbxproj │ └── Target Support Files │ │ ├── LikeAnimation │ │ ├── Info.plist │ │ ├── LikeAnimation-dummy.m │ │ ├── LikeAnimation-prefix.pch │ │ ├── LikeAnimation-umbrella.h │ │ ├── LikeAnimation.modulemap │ │ └── LikeAnimation.xcconfig │ │ ├── Pods-LikeAnimation_Example │ │ ├── Info.plist │ │ ├── Pods-LikeAnimation_Example-acknowledgements.markdown │ │ ├── Pods-LikeAnimation_Example-acknowledgements.plist │ │ ├── Pods-LikeAnimation_Example-dummy.m │ │ ├── Pods-LikeAnimation_Example-frameworks.sh │ │ ├── Pods-LikeAnimation_Example-resources.sh │ │ ├── Pods-LikeAnimation_Example-umbrella.h │ │ ├── Pods-LikeAnimation_Example.debug.xcconfig │ │ ├── Pods-LikeAnimation_Example.modulemap │ │ └── Pods-LikeAnimation_Example.release.xcconfig │ │ └── Pods-LikeAnimation_Tests │ │ ├── Info.plist │ │ ├── Pods-LikeAnimation_Tests-acknowledgements.markdown │ │ ├── Pods-LikeAnimation_Tests-acknowledgements.plist │ │ ├── Pods-LikeAnimation_Tests-dummy.m │ │ ├── Pods-LikeAnimation_Tests-frameworks.sh │ │ ├── Pods-LikeAnimation_Tests-resources.sh │ │ ├── Pods-LikeAnimation_Tests-umbrella.h │ │ ├── Pods-LikeAnimation_Tests.debug.xcconfig │ │ ├── Pods-LikeAnimation_Tests.modulemap │ │ └── Pods-LikeAnimation_Tests.release.xcconfig └── Tests │ ├── Info.plist │ └── Tests.swift ├── LICENSE ├── LikeAnimation.podspec ├── LikeAnimation ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ ├── AnimationsHelper.swift │ └── LikeAnimation.swift ├── README.md └── _Pods.xcodeproj /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 4 | 5 | ## Build generated 6 | build/ 7 | DerivedData/ 8 | 9 | ## Various settings 10 | *.pbxuser 11 | !default.pbxuser 12 | *.mode1v3 13 | !default.mode1v3 14 | *.mode2v3 15 | !default.mode2v3 16 | *.perspectivev3 17 | !default.perspectivev3 18 | xcuserdata/ 19 | 20 | ## Other 21 | *.moved-aside 22 | *.xcuserstate 23 | 24 | ## Obj-C/Swift specific 25 | *.hmap 26 | *.ipa 27 | *.dSYM.zip 28 | *.dSYM 29 | 30 | ## Playgrounds 31 | timeline.xctimeline 32 | playground.xcworkspace 33 | 34 | # Swift Package Manager 35 | # 36 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. 37 | # Packages/ 38 | .build/ 39 | 40 | # CocoaPods 41 | # 42 | # We recommend against adding the Pods directory to your .gitignore. However 43 | # you should judge for yourself, the pros and cons are mentioned at: 44 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 45 | # 46 | # Pods/ 47 | 48 | # Carthage 49 | # 50 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 51 | # Carthage/Checkouts 52 | 53 | Carthage/Build 54 | 55 | # fastlane 56 | # 57 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 58 | # screenshots whenever they are needed. 59 | # For more information about the recommended setup visit: 60 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md 61 | 62 | fastlane/report.xml 63 | fastlane/Preview.html 64 | fastlane/screenshots 65 | fastlane/test_output 66 | -------------------------------------------------------------------------------- /.swift-version: -------------------------------------------------------------------------------- 1 | 3.0 -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * http://www.objc.io/issue-6/travis-ci.html 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | language: objective-c 6 | osx_image: xcode8 7 | 8 | env: 9 | - DESTINATION='platform=iOS Simulator,name=iPad Retina' 10 | - DESTINATION='platform=iOS Simulator,name=iPhone 5' 11 | - DESTINATION='platform=iOS Simulator,name=iPhone 6' 12 | - DESTINATION='platform=iOS Simulator,name=iPhone 7' 13 | 14 | script: 15 | - set -o pipefail && xcodebuild -workspace Example/LikeAnimation.xcworkspace -scheme LikeAnimation-Example -destination "$DESTINATION" ONLY_ACTIVE_ARCH=NO | xcpretty 16 | -------------------------------------------------------------------------------- /Example/LikeAnimation.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 11 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 12 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 13 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 14 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 15 | A91C4D522377CE39FBB4900B /* Pods_LikeAnimation_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 264D193A7D501D85B55E1F42 /* Pods_LikeAnimation_Example.framework */; }; 16 | /* End PBXBuildFile section */ 17 | 18 | /* Begin PBXFileReference section */ 19 | 146AAC1EFF4B803C5106751F /* LikeAnimation.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LikeAnimation.podspec; path = ../LikeAnimation.podspec; sourceTree = ""; }; 20 | 264D193A7D501D85B55E1F42 /* Pods_LikeAnimation_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_LikeAnimation_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 21 | 45993BA8F357A48A8E2E591A /* Pods_LikeAnimation_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_LikeAnimation_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 22 | 4B6CECF6395C327DC3A73433 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 23 | 5312391BA7E3D5428829BE21 /* Pods-LikeAnimation_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-LikeAnimation_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-LikeAnimation_Tests/Pods-LikeAnimation_Tests.release.xcconfig"; sourceTree = ""; }; 24 | 607FACD01AFB9204008FA782 /* LikeAnimation_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = LikeAnimation_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 25 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 26 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 27 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 28 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 29 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 30 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 31 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 32 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 33 | 7C6C65E8F985423310AE02E6 /* Pods-LikeAnimation_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-LikeAnimation_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-LikeAnimation_Example/Pods-LikeAnimation_Example.release.xcconfig"; sourceTree = ""; }; 34 | 88967CE76F6618174A33EE3A /* Pods-LikeAnimation_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-LikeAnimation_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-LikeAnimation_Example/Pods-LikeAnimation_Example.debug.xcconfig"; sourceTree = ""; }; 35 | A02E279F4B12A0B5FC1035DB /* Pods-LikeAnimation_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-LikeAnimation_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-LikeAnimation_Tests/Pods-LikeAnimation_Tests.debug.xcconfig"; sourceTree = ""; }; 36 | EC21BFA7E1D6104B0D10880E /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 37 | /* End PBXFileReference section */ 38 | 39 | /* Begin PBXFrameworksBuildPhase section */ 40 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 41 | isa = PBXFrameworksBuildPhase; 42 | buildActionMask = 2147483647; 43 | files = ( 44 | A91C4D522377CE39FBB4900B /* Pods_LikeAnimation_Example.framework in Frameworks */, 45 | ); 46 | runOnlyForDeploymentPostprocessing = 0; 47 | }; 48 | /* End PBXFrameworksBuildPhase section */ 49 | 50 | /* Begin PBXGroup section */ 51 | 607FACC71AFB9204008FA782 = { 52 | isa = PBXGroup; 53 | children = ( 54 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 55 | 607FACD21AFB9204008FA782 /* Example for LikeAnimation */, 56 | 607FACE81AFB9204008FA782 /* Tests */, 57 | 607FACD11AFB9204008FA782 /* Products */, 58 | 660F269855DD16F5BA42DD45 /* Pods */, 59 | 871EAD565FBE38F88B8BE4EE /* Frameworks */, 60 | ); 61 | sourceTree = ""; 62 | }; 63 | 607FACD11AFB9204008FA782 /* Products */ = { 64 | isa = PBXGroup; 65 | children = ( 66 | 607FACD01AFB9204008FA782 /* LikeAnimation_Example.app */, 67 | ); 68 | name = Products; 69 | sourceTree = ""; 70 | }; 71 | 607FACD21AFB9204008FA782 /* Example for LikeAnimation */ = { 72 | isa = PBXGroup; 73 | children = ( 74 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 75 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 76 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 77 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 78 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 79 | 607FACD31AFB9204008FA782 /* Supporting Files */, 80 | ); 81 | name = "Example for LikeAnimation"; 82 | path = LikeAnimation; 83 | sourceTree = ""; 84 | }; 85 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 86 | isa = PBXGroup; 87 | children = ( 88 | 607FACD41AFB9204008FA782 /* Info.plist */, 89 | ); 90 | name = "Supporting Files"; 91 | sourceTree = ""; 92 | }; 93 | 607FACE81AFB9204008FA782 /* Tests */ = { 94 | isa = PBXGroup; 95 | children = ( 96 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 97 | 607FACE91AFB9204008FA782 /* Supporting Files */, 98 | ); 99 | path = Tests; 100 | sourceTree = ""; 101 | }; 102 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 103 | isa = PBXGroup; 104 | children = ( 105 | 607FACEA1AFB9204008FA782 /* Info.plist */, 106 | ); 107 | name = "Supporting Files"; 108 | sourceTree = ""; 109 | }; 110 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 111 | isa = PBXGroup; 112 | children = ( 113 | 146AAC1EFF4B803C5106751F /* LikeAnimation.podspec */, 114 | EC21BFA7E1D6104B0D10880E /* README.md */, 115 | 4B6CECF6395C327DC3A73433 /* LICENSE */, 116 | ); 117 | name = "Podspec Metadata"; 118 | sourceTree = ""; 119 | }; 120 | 660F269855DD16F5BA42DD45 /* Pods */ = { 121 | isa = PBXGroup; 122 | children = ( 123 | 88967CE76F6618174A33EE3A /* Pods-LikeAnimation_Example.debug.xcconfig */, 124 | 7C6C65E8F985423310AE02E6 /* Pods-LikeAnimation_Example.release.xcconfig */, 125 | A02E279F4B12A0B5FC1035DB /* Pods-LikeAnimation_Tests.debug.xcconfig */, 126 | 5312391BA7E3D5428829BE21 /* Pods-LikeAnimation_Tests.release.xcconfig */, 127 | ); 128 | name = Pods; 129 | sourceTree = ""; 130 | }; 131 | 871EAD565FBE38F88B8BE4EE /* Frameworks */ = { 132 | isa = PBXGroup; 133 | children = ( 134 | 264D193A7D501D85B55E1F42 /* Pods_LikeAnimation_Example.framework */, 135 | 45993BA8F357A48A8E2E591A /* Pods_LikeAnimation_Tests.framework */, 136 | ); 137 | name = Frameworks; 138 | sourceTree = ""; 139 | }; 140 | /* End PBXGroup section */ 141 | 142 | /* Begin PBXNativeTarget section */ 143 | 607FACCF1AFB9204008FA782 /* LikeAnimation_Example */ = { 144 | isa = PBXNativeTarget; 145 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "LikeAnimation_Example" */; 146 | buildPhases = ( 147 | BD53B337F131A3CEE53DD31E /* [CP] Check Pods Manifest.lock */, 148 | 607FACCC1AFB9204008FA782 /* Sources */, 149 | 607FACCD1AFB9204008FA782 /* Frameworks */, 150 | 607FACCE1AFB9204008FA782 /* Resources */, 151 | 5A6AD744ADD34DA991C88126 /* [CP] Embed Pods Frameworks */, 152 | 71C6953D38DBB32AC64E83F1 /* [CP] Copy Pods Resources */, 153 | ); 154 | buildRules = ( 155 | ); 156 | dependencies = ( 157 | ); 158 | name = LikeAnimation_Example; 159 | productName = LikeAnimation; 160 | productReference = 607FACD01AFB9204008FA782 /* LikeAnimation_Example.app */; 161 | productType = "com.apple.product-type.application"; 162 | }; 163 | /* End PBXNativeTarget section */ 164 | 165 | /* Begin PBXProject section */ 166 | 607FACC81AFB9204008FA782 /* Project object */ = { 167 | isa = PBXProject; 168 | attributes = { 169 | LastSwiftUpdateCheck = 0720; 170 | LastUpgradeCheck = 0820; 171 | ORGANIZATIONNAME = CocoaPods; 172 | TargetAttributes = { 173 | 607FACCF1AFB9204008FA782 = { 174 | CreatedOnToolsVersion = 6.3.1; 175 | LastSwiftMigration = 0820; 176 | }; 177 | }; 178 | }; 179 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "LikeAnimation" */; 180 | compatibilityVersion = "Xcode 3.2"; 181 | developmentRegion = English; 182 | hasScannedForEncodings = 0; 183 | knownRegions = ( 184 | en, 185 | Base, 186 | ); 187 | mainGroup = 607FACC71AFB9204008FA782; 188 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 189 | projectDirPath = ""; 190 | projectRoot = ""; 191 | targets = ( 192 | 607FACCF1AFB9204008FA782 /* LikeAnimation_Example */, 193 | ); 194 | }; 195 | /* End PBXProject section */ 196 | 197 | /* Begin PBXResourcesBuildPhase section */ 198 | 607FACCE1AFB9204008FA782 /* Resources */ = { 199 | isa = PBXResourcesBuildPhase; 200 | buildActionMask = 2147483647; 201 | files = ( 202 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 203 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 204 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 205 | ); 206 | runOnlyForDeploymentPostprocessing = 0; 207 | }; 208 | /* End PBXResourcesBuildPhase section */ 209 | 210 | /* Begin PBXShellScriptBuildPhase section */ 211 | 5A6AD744ADD34DA991C88126 /* [CP] Embed Pods Frameworks */ = { 212 | isa = PBXShellScriptBuildPhase; 213 | buildActionMask = 2147483647; 214 | files = ( 215 | ); 216 | inputPaths = ( 217 | ); 218 | name = "[CP] Embed Pods Frameworks"; 219 | outputPaths = ( 220 | ); 221 | runOnlyForDeploymentPostprocessing = 0; 222 | shellPath = /bin/sh; 223 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-LikeAnimation_Example/Pods-LikeAnimation_Example-frameworks.sh\"\n"; 224 | showEnvVarsInLog = 0; 225 | }; 226 | 71C6953D38DBB32AC64E83F1 /* [CP] Copy Pods Resources */ = { 227 | isa = PBXShellScriptBuildPhase; 228 | buildActionMask = 2147483647; 229 | files = ( 230 | ); 231 | inputPaths = ( 232 | ); 233 | name = "[CP] Copy Pods Resources"; 234 | outputPaths = ( 235 | ); 236 | runOnlyForDeploymentPostprocessing = 0; 237 | shellPath = /bin/sh; 238 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-LikeAnimation_Example/Pods-LikeAnimation_Example-resources.sh\"\n"; 239 | showEnvVarsInLog = 0; 240 | }; 241 | BD53B337F131A3CEE53DD31E /* [CP] Check Pods Manifest.lock */ = { 242 | isa = PBXShellScriptBuildPhase; 243 | buildActionMask = 2147483647; 244 | files = ( 245 | ); 246 | inputPaths = ( 247 | ); 248 | name = "[CP] Check Pods Manifest.lock"; 249 | outputPaths = ( 250 | ); 251 | runOnlyForDeploymentPostprocessing = 0; 252 | shellPath = /bin/sh; 253 | shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n"; 254 | showEnvVarsInLog = 0; 255 | }; 256 | /* End PBXShellScriptBuildPhase section */ 257 | 258 | /* Begin PBXSourcesBuildPhase section */ 259 | 607FACCC1AFB9204008FA782 /* Sources */ = { 260 | isa = PBXSourcesBuildPhase; 261 | buildActionMask = 2147483647; 262 | files = ( 263 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 264 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 265 | ); 266 | runOnlyForDeploymentPostprocessing = 0; 267 | }; 268 | /* End PBXSourcesBuildPhase section */ 269 | 270 | /* Begin PBXVariantGroup section */ 271 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 272 | isa = PBXVariantGroup; 273 | children = ( 274 | 607FACDA1AFB9204008FA782 /* Base */, 275 | ); 276 | name = Main.storyboard; 277 | sourceTree = ""; 278 | }; 279 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 280 | isa = PBXVariantGroup; 281 | children = ( 282 | 607FACDF1AFB9204008FA782 /* Base */, 283 | ); 284 | name = LaunchScreen.xib; 285 | sourceTree = ""; 286 | }; 287 | /* End PBXVariantGroup section */ 288 | 289 | /* Begin XCBuildConfiguration section */ 290 | 607FACED1AFB9204008FA782 /* Debug */ = { 291 | isa = XCBuildConfiguration; 292 | buildSettings = { 293 | ALWAYS_SEARCH_USER_PATHS = NO; 294 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 295 | CLANG_CXX_LIBRARY = "libc++"; 296 | CLANG_ENABLE_MODULES = YES; 297 | CLANG_ENABLE_OBJC_ARC = YES; 298 | CLANG_WARN_BOOL_CONVERSION = YES; 299 | CLANG_WARN_CONSTANT_CONVERSION = YES; 300 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 301 | CLANG_WARN_EMPTY_BODY = YES; 302 | CLANG_WARN_ENUM_CONVERSION = YES; 303 | CLANG_WARN_INFINITE_RECURSION = YES; 304 | CLANG_WARN_INT_CONVERSION = YES; 305 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 306 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 307 | CLANG_WARN_UNREACHABLE_CODE = YES; 308 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 309 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 310 | COPY_PHASE_STRIP = NO; 311 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 312 | ENABLE_STRICT_OBJC_MSGSEND = YES; 313 | ENABLE_TESTABILITY = YES; 314 | GCC_C_LANGUAGE_STANDARD = gnu99; 315 | GCC_DYNAMIC_NO_PIC = NO; 316 | GCC_NO_COMMON_BLOCKS = YES; 317 | GCC_OPTIMIZATION_LEVEL = 0; 318 | GCC_PREPROCESSOR_DEFINITIONS = ( 319 | "DEBUG=1", 320 | "$(inherited)", 321 | ); 322 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 323 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 324 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 325 | GCC_WARN_UNDECLARED_SELECTOR = YES; 326 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 327 | GCC_WARN_UNUSED_FUNCTION = YES; 328 | GCC_WARN_UNUSED_VARIABLE = YES; 329 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 330 | MTL_ENABLE_DEBUG_INFO = YES; 331 | ONLY_ACTIVE_ARCH = YES; 332 | SDKROOT = iphoneos; 333 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 334 | }; 335 | name = Debug; 336 | }; 337 | 607FACEE1AFB9204008FA782 /* Release */ = { 338 | isa = XCBuildConfiguration; 339 | buildSettings = { 340 | ALWAYS_SEARCH_USER_PATHS = NO; 341 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 342 | CLANG_CXX_LIBRARY = "libc++"; 343 | CLANG_ENABLE_MODULES = YES; 344 | CLANG_ENABLE_OBJC_ARC = YES; 345 | CLANG_WARN_BOOL_CONVERSION = YES; 346 | CLANG_WARN_CONSTANT_CONVERSION = YES; 347 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 348 | CLANG_WARN_EMPTY_BODY = YES; 349 | CLANG_WARN_ENUM_CONVERSION = YES; 350 | CLANG_WARN_INFINITE_RECURSION = YES; 351 | CLANG_WARN_INT_CONVERSION = YES; 352 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 353 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 354 | CLANG_WARN_UNREACHABLE_CODE = YES; 355 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 356 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 357 | COPY_PHASE_STRIP = NO; 358 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 359 | ENABLE_NS_ASSERTIONS = NO; 360 | ENABLE_STRICT_OBJC_MSGSEND = YES; 361 | GCC_C_LANGUAGE_STANDARD = gnu99; 362 | GCC_NO_COMMON_BLOCKS = YES; 363 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 364 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 365 | GCC_WARN_UNDECLARED_SELECTOR = YES; 366 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 367 | GCC_WARN_UNUSED_FUNCTION = YES; 368 | GCC_WARN_UNUSED_VARIABLE = YES; 369 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 370 | MTL_ENABLE_DEBUG_INFO = NO; 371 | SDKROOT = iphoneos; 372 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 373 | VALIDATE_PRODUCT = YES; 374 | }; 375 | name = Release; 376 | }; 377 | 607FACF01AFB9204008FA782 /* Debug */ = { 378 | isa = XCBuildConfiguration; 379 | baseConfigurationReference = 88967CE76F6618174A33EE3A /* Pods-LikeAnimation_Example.debug.xcconfig */; 380 | buildSettings = { 381 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 382 | INFOPLIST_FILE = LikeAnimation/Info.plist; 383 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 384 | MODULE_NAME = ExampleApp; 385 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 386 | PRODUCT_NAME = "$(TARGET_NAME)"; 387 | SWIFT_VERSION = 3.0; 388 | }; 389 | name = Debug; 390 | }; 391 | 607FACF11AFB9204008FA782 /* Release */ = { 392 | isa = XCBuildConfiguration; 393 | baseConfigurationReference = 7C6C65E8F985423310AE02E6 /* Pods-LikeAnimation_Example.release.xcconfig */; 394 | buildSettings = { 395 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 396 | INFOPLIST_FILE = LikeAnimation/Info.plist; 397 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 398 | MODULE_NAME = ExampleApp; 399 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 400 | PRODUCT_NAME = "$(TARGET_NAME)"; 401 | SWIFT_VERSION = 3.0; 402 | }; 403 | name = Release; 404 | }; 405 | /* End XCBuildConfiguration section */ 406 | 407 | /* Begin XCConfigurationList section */ 408 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "LikeAnimation" */ = { 409 | isa = XCConfigurationList; 410 | buildConfigurations = ( 411 | 607FACED1AFB9204008FA782 /* Debug */, 412 | 607FACEE1AFB9204008FA782 /* Release */, 413 | ); 414 | defaultConfigurationIsVisible = 0; 415 | defaultConfigurationName = Release; 416 | }; 417 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "LikeAnimation_Example" */ = { 418 | isa = XCConfigurationList; 419 | buildConfigurations = ( 420 | 607FACF01AFB9204008FA782 /* Debug */, 421 | 607FACF11AFB9204008FA782 /* Release */, 422 | ); 423 | defaultConfigurationIsVisible = 0; 424 | defaultConfigurationName = Release; 425 | }; 426 | /* End XCConfigurationList section */ 427 | }; 428 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 429 | } 430 | -------------------------------------------------------------------------------- /Example/LikeAnimation.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/LikeAnimation.xcodeproj/xcshareddata/xcschemes/LikeAnimation-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 67 | 68 | 78 | 80 | 86 | 87 | 88 | 89 | 90 | 91 | 97 | 99 | 105 | 106 | 107 | 108 | 110 | 111 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /Example/LikeAnimation.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/LikeAnimation/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // LikeAnimation 4 | // 5 | // Created by Anatoliy Voropay on 03/15/2017. 6 | // Copyright (c) 2017 Anatoliy Voropay. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(_ application: UIApplication) { 23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 24 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 25 | } 26 | 27 | func applicationDidEnterBackground(_ application: UIApplication) { 28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 30 | } 31 | 32 | func applicationWillEnterForeground(_ application: UIApplication) { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | func applicationDidBecomeActive(_ application: UIApplication) { 37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 38 | } 39 | 40 | func applicationWillTerminate(_ application: UIApplication) { 41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 42 | } 43 | 44 | 45 | } 46 | 47 | -------------------------------------------------------------------------------- /Example/LikeAnimation/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /Example/LikeAnimation/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 76 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 103 | 112 | 121 | 130 | 139 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | -------------------------------------------------------------------------------- /Example/LikeAnimation/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | } 43 | ], 44 | "info" : { 45 | "version" : 1, 46 | "author" : "xcode" 47 | } 48 | } -------------------------------------------------------------------------------- /Example/LikeAnimation/Images.xcassets/Background.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "background-2.jpg", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "background-1.jpg", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "background.jpg", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /Example/LikeAnimation/Images.xcassets/Background.imageset/background-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anatoliyv/LikeAnimation/80a9a6cb44c56e7d2d70013aae9aa7e08b49a24c/Example/LikeAnimation/Images.xcassets/Background.imageset/background-1.jpg -------------------------------------------------------------------------------- /Example/LikeAnimation/Images.xcassets/Background.imageset/background-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anatoliyv/LikeAnimation/80a9a6cb44c56e7d2d70013aae9aa7e08b49a24c/Example/LikeAnimation/Images.xcassets/Background.imageset/background-2.jpg -------------------------------------------------------------------------------- /Example/LikeAnimation/Images.xcassets/Background.imageset/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anatoliyv/LikeAnimation/80a9a6cb44c56e7d2d70013aae9aa7e08b49a24c/Example/LikeAnimation/Images.xcassets/Background.imageset/background.jpg -------------------------------------------------------------------------------- /Example/LikeAnimation/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/LikeAnimation/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UIStatusBarHidden 34 | 35 | UIStatusBarStyle 36 | UIStatusBarStyleLightContent 37 | UISupportedInterfaceOrientations 38 | 39 | UIInterfaceOrientationPortrait 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /Example/LikeAnimation/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // LikeAnimation 4 | // 5 | // Created by Anatoliy Voropay on 03/15/2017. 6 | // Copyright (c) 2017 Anatoliy Voropay. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import LikeAnimation 11 | 12 | class ViewController: UIViewController { 13 | 14 | @IBOutlet var durationSlider: UISlider! 15 | @IBOutlet var mainParticlesSlider: UISlider! 16 | @IBOutlet var smallParticlesSlider: UISlider! 17 | @IBOutlet var circlesSlider: UISlider! 18 | 19 | @IBOutlet var durationLabel: UILabel! 20 | @IBOutlet var mainParticlesLabel: UILabel! 21 | @IBOutlet var smallParticlesLabel: UILabel! 22 | @IBOutlet var circlesLabel: UILabel! 23 | 24 | @IBOutlet var placeholderView: UIView! 25 | 26 | override func viewDidLoad() { 27 | super.viewDidLoad() 28 | 29 | durationSlider.minimumValue = Float(LikeAnimation.Constants.DurationMin) 30 | durationSlider.maximumValue = Float(LikeAnimation.Constants.DurationMax) 31 | 32 | mainParticlesSlider.minimumValue = Float(LikeAnimation.Constants.MainParticlesMin) 33 | mainParticlesSlider.maximumValue = Float(LikeAnimation.Constants.MainParticlesMax) 34 | 35 | smallParticlesSlider.minimumValue = Float(LikeAnimation.Constants.SmallParticlesMin) 36 | smallParticlesSlider.maximumValue = Float(LikeAnimation.Constants.SmallParticlesMax) 37 | 38 | circlesSlider.minimumValue = Float(LikeAnimation.Constants.CirclesMin) 39 | circlesSlider.maximumValue = Float(LikeAnimation.Constants.CirclesMax) 40 | 41 | setDefaultValues() 42 | sliderValueChanged(slider: durationSlider) 43 | } 44 | 45 | private func setDefaultValues() { 46 | let likeAnimation = LikeAnimation() 47 | durationSlider.value = Float(likeAnimation.duration) 48 | mainParticlesSlider.value = Float(likeAnimation.particlesCounter.main) 49 | smallParticlesSlider.value = Float(likeAnimation.particlesCounter.small) 50 | circlesSlider.value = Float(likeAnimation.circlesCounter) 51 | } 52 | 53 | @IBAction func sliderValueChanged(slider: UISlider) { 54 | durationLabel.text = String(format: "%0.2f", durationSlider.value) 55 | mainParticlesLabel.text = String(Int(mainParticlesSlider.value)) 56 | smallParticlesLabel.text = String(Int(smallParticlesSlider.value)) 57 | circlesLabel.text = String(Int(circlesSlider.value)) 58 | } 59 | 60 | @IBAction func runPressed(button: UIButton) { 61 | let likeAnimation = LikeAnimation(frame: CGRect(origin: CGPoint.zero, size: CGSize(width: 100, height: 100))) 62 | likeAnimation.center = placeholderView.center 63 | likeAnimation.duration = TimeInterval(durationSlider.value) 64 | likeAnimation.circlesCounter = Int(circlesSlider.value) 65 | likeAnimation.particlesCounter.main = Int(mainParticlesSlider.value) 66 | likeAnimation.particlesCounter.small = Int(smallParticlesSlider.value) 67 | likeAnimation.delegate = self 68 | 69 | // Set custom colors here 70 | // likeAnimation.heartColors.initial = .white 71 | // likeAnimation.heartColors.animated = .orange 72 | // likeAnimation.particlesColor = .orange 73 | 74 | placeholderView.addSubview(likeAnimation) 75 | likeAnimation.run() 76 | 77 | } 78 | 79 | override var preferredStatusBarStyle: UIStatusBarStyle { 80 | return .lightContent 81 | } 82 | } 83 | 84 | extension ViewController: LikeAnimationDelegate { 85 | 86 | func likeAnimationWillBegin(view: LikeAnimation) { 87 | print("Like animation will start") 88 | } 89 | 90 | func likeAnimationDidEnd(view: LikeAnimation) { 91 | print("Like animation ended") 92 | } 93 | } 94 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'LikeAnimation_Example' do 4 | pod 'LikeAnimation', :path => '../' 5 | 6 | target 'LikeAnimation_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - LikeAnimation (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - LikeAnimation (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | LikeAnimation: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | LikeAnimation: 1ef797a435b211b7741620d03d26d59c43d73e9c 13 | 14 | PODFILE CHECKSUM: e1bc3c9985995b99b858bcceb5db1ac9b2776f78 15 | 16 | COCOAPODS: 1.2.0 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/LikeAnimation.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "LikeAnimation", 3 | "version": "0.1.0", 4 | "summary": "A short description of LikeAnimation.", 5 | "description": "TODO: Add long description of the pod here.", 6 | "homepage": "https://github.com/Anatoliy Voropay/LikeAnimation", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "Anatoliy Voropay": "anatoliy.voropay@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/Anatoliy Voropay/LikeAnimation.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "8.0" 20 | }, 21 | "source_files": "LikeAnimation/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - LikeAnimation (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - LikeAnimation (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | LikeAnimation: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | LikeAnimation: 1ef797a435b211b7741620d03d26d59c43d73e9c 13 | 14 | PODFILE CHECKSUM: e1bc3c9985995b99b858bcceb5db1ac9b2776f78 15 | 16 | COCOAPODS: 1.2.0 17 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1C71152F1E7978A800E3ADB5 /* AnimationsHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1C71152E1E7978A800E3ADB5 /* AnimationsHelper.swift */; }; 11 | 219F1FF3722EF10364D94D65BBEF2123 /* LikeAnimation-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 21CA4BF9459F9C87AA4B902C94D173EF /* LikeAnimation-dummy.m */; }; 12 | 585E9631BB32BD20A8E5DD7B84BC3628 /* Pods-LikeAnimation_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = B57CD5FDD45B674BBB5EF7119AD6301F /* Pods-LikeAnimation_Example-dummy.m */; }; 13 | 68C1F2985329ECF059E6F4972C354DE3 /* Pods-LikeAnimation_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 2BDA2D2E9D8D211A15A206ED93AB7C22 /* Pods-LikeAnimation_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 14 | 7A1D85FEF4C7D9E52CF87CE8DFC68B69 /* Pods-LikeAnimation_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = F45B82989BB33806223B1E3A5D0B63E4 /* Pods-LikeAnimation_Tests-dummy.m */; }; 15 | 7E1162907B57943130F36764EC943E2B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; 16 | CB1CB418F5C2409D8B05EA72534E22EF /* Pods-LikeAnimation_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 54D4B578F68A3C150B62607C5C76C015 /* Pods-LikeAnimation_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 17 | DABB325ED5D3448B4DAD9CC8E0047979 /* LikeAnimation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 17777F45A09B59C13880F23A3DB64DA2 /* LikeAnimation.swift */; }; 18 | DF454757D85B734C9498E54626E034E6 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; 19 | E913B29F531FDF1A8228451842112C76 /* LikeAnimation-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 83F16BEB3C20DAF3682076B2F52C5D69 /* LikeAnimation-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 20 | F7EA6070A42CFF2F0AB2DD90A39C8678 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; 21 | /* End PBXBuildFile section */ 22 | 23 | /* Begin PBXContainerItemProxy section */ 24 | B6E8E302995DE3236157A9708469BCE9 /* PBXContainerItemProxy */ = { 25 | isa = PBXContainerItemProxy; 26 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 27 | proxyType = 1; 28 | remoteGlobalIDString = AB9B3F8042EE50826C509597724EC247; 29 | remoteInfo = LikeAnimation; 30 | }; 31 | /* End PBXContainerItemProxy section */ 32 | 33 | /* Begin PBXFileReference section */ 34 | 0666734F68550D742989E70289BFE8C7 /* LikeAnimation-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "LikeAnimation-prefix.pch"; sourceTree = ""; }; 35 | 1160894AEAE1B79DF0A8F4FF0DF34BDC /* Pods-LikeAnimation_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-LikeAnimation_Tests.modulemap"; sourceTree = ""; }; 36 | 17777F45A09B59C13880F23A3DB64DA2 /* LikeAnimation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = LikeAnimation.swift; sourceTree = ""; }; 37 | 1C71152E1E7978A800E3ADB5 /* AnimationsHelper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AnimationsHelper.swift; sourceTree = ""; }; 38 | 1F706E2C33153118AD3B780ACBDDCDB7 /* Pods-LikeAnimation_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-LikeAnimation_Tests-acknowledgements.plist"; sourceTree = ""; }; 39 | 21CA4BF9459F9C87AA4B902C94D173EF /* LikeAnimation-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "LikeAnimation-dummy.m"; sourceTree = ""; }; 40 | 2BDA2D2E9D8D211A15A206ED93AB7C22 /* Pods-LikeAnimation_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-LikeAnimation_Example-umbrella.h"; sourceTree = ""; }; 41 | 2F08D630F83ECFC7933F4BD5E527C491 /* Pods-LikeAnimation_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-LikeAnimation_Example.release.xcconfig"; sourceTree = ""; }; 42 | 54D4B578F68A3C150B62607C5C76C015 /* Pods-LikeAnimation_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-LikeAnimation_Tests-umbrella.h"; sourceTree = ""; }; 43 | 5BDBEAB825D556FA2ADAB5B921D6B46E /* LikeAnimation.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = LikeAnimation.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 44 | 61983D9E52D7C6D413F253C4C83CB2E7 /* LikeAnimation.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = LikeAnimation.xcconfig; sourceTree = ""; }; 45 | 6F55266FF36E7A5F14C4FEE4C9AB86FF /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 46 | 778B1CE71A6084875A7DC6966F0595C3 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 47 | 83A4E14325C3F1BBA656A6FB8E9A787C /* Pods-LikeAnimation_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-LikeAnimation_Example.modulemap"; sourceTree = ""; }; 48 | 83F16BEB3C20DAF3682076B2F52C5D69 /* LikeAnimation-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "LikeAnimation-umbrella.h"; sourceTree = ""; }; 49 | 8D1E7C12D4639AEF9E3AA9EAF22A47FD /* Pods-LikeAnimation_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-LikeAnimation_Example-acknowledgements.plist"; sourceTree = ""; }; 50 | 9143C69DD0967BF6E409B7E99E721E06 /* Pods-LikeAnimation_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-LikeAnimation_Example-acknowledgements.markdown"; sourceTree = ""; }; 51 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 52 | 97511B8C450ADC1ED64D9A5D93310690 /* Pods-LikeAnimation_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-LikeAnimation_Example.debug.xcconfig"; sourceTree = ""; }; 53 | 977D136CF9264179809BCC4F4475C8F0 /* Pods_LikeAnimation_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_LikeAnimation_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 54 | 9AD2DF560D731609BEE1E4DB9FB5C344 /* Pods-LikeAnimation_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-LikeAnimation_Example-resources.sh"; sourceTree = ""; }; 55 | B57CD5FDD45B674BBB5EF7119AD6301F /* Pods-LikeAnimation_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-LikeAnimation_Example-dummy.m"; sourceTree = ""; }; 56 | BC559F7E958001C705BFA353CF531ACF /* Pods-LikeAnimation_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-LikeAnimation_Tests.release.xcconfig"; sourceTree = ""; }; 57 | BD744063C9DE520EF44297F6F7C4368B /* Pods_LikeAnimation_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_LikeAnimation_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 58 | C571B7F45BB90E12D1DFF238500541E5 /* LikeAnimation.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = LikeAnimation.modulemap; sourceTree = ""; }; 59 | C93DDF054885D1D64BB0C265D6AE2B66 /* Pods-LikeAnimation_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-LikeAnimation_Example-frameworks.sh"; sourceTree = ""; }; 60 | CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 61 | E60D5A8E5AF913450D69F17AD7EA0A0C /* Pods-LikeAnimation_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-LikeAnimation_Tests-resources.sh"; sourceTree = ""; }; 62 | E776D92853C4C4583C3B9DDD95B61C50 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 63 | F286D90531027855B14C0669DD1D649C /* Pods-LikeAnimation_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-LikeAnimation_Tests.debug.xcconfig"; sourceTree = ""; }; 64 | F3E2B860441FE145F1752304632E3DB1 /* Pods-LikeAnimation_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-LikeAnimation_Tests-acknowledgements.markdown"; sourceTree = ""; }; 65 | F45B82989BB33806223B1E3A5D0B63E4 /* Pods-LikeAnimation_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-LikeAnimation_Tests-dummy.m"; sourceTree = ""; }; 66 | FD747ED4DA36B629374C9DBA85143D6B /* Pods-LikeAnimation_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-LikeAnimation_Tests-frameworks.sh"; sourceTree = ""; }; 67 | /* End PBXFileReference section */ 68 | 69 | /* Begin PBXFrameworksBuildPhase section */ 70 | 20382B601BD2BEE3052DCCBD19F07AD4 /* Frameworks */ = { 71 | isa = PBXFrameworksBuildPhase; 72 | buildActionMask = 2147483647; 73 | files = ( 74 | DF454757D85B734C9498E54626E034E6 /* Foundation.framework in Frameworks */, 75 | ); 76 | runOnlyForDeploymentPostprocessing = 0; 77 | }; 78 | 3B13EC25A734BD0A99F0688B6E22441E /* Frameworks */ = { 79 | isa = PBXFrameworksBuildPhase; 80 | buildActionMask = 2147483647; 81 | files = ( 82 | F7EA6070A42CFF2F0AB2DD90A39C8678 /* Foundation.framework in Frameworks */, 83 | ); 84 | runOnlyForDeploymentPostprocessing = 0; 85 | }; 86 | 40729524D8D451BE1072F4EC3FCCAE28 /* Frameworks */ = { 87 | isa = PBXFrameworksBuildPhase; 88 | buildActionMask = 2147483647; 89 | files = ( 90 | 7E1162907B57943130F36764EC943E2B /* Foundation.framework in Frameworks */, 91 | ); 92 | runOnlyForDeploymentPostprocessing = 0; 93 | }; 94 | /* End PBXFrameworksBuildPhase section */ 95 | 96 | /* Begin PBXGroup section */ 97 | 0DC1174201333B37FE243E8BCDCA6D5F /* Pods-LikeAnimation_Tests */ = { 98 | isa = PBXGroup; 99 | children = ( 100 | E776D92853C4C4583C3B9DDD95B61C50 /* Info.plist */, 101 | 1160894AEAE1B79DF0A8F4FF0DF34BDC /* Pods-LikeAnimation_Tests.modulemap */, 102 | F3E2B860441FE145F1752304632E3DB1 /* Pods-LikeAnimation_Tests-acknowledgements.markdown */, 103 | 1F706E2C33153118AD3B780ACBDDCDB7 /* Pods-LikeAnimation_Tests-acknowledgements.plist */, 104 | F45B82989BB33806223B1E3A5D0B63E4 /* Pods-LikeAnimation_Tests-dummy.m */, 105 | FD747ED4DA36B629374C9DBA85143D6B /* Pods-LikeAnimation_Tests-frameworks.sh */, 106 | E60D5A8E5AF913450D69F17AD7EA0A0C /* Pods-LikeAnimation_Tests-resources.sh */, 107 | 54D4B578F68A3C150B62607C5C76C015 /* Pods-LikeAnimation_Tests-umbrella.h */, 108 | F286D90531027855B14C0669DD1D649C /* Pods-LikeAnimation_Tests.debug.xcconfig */, 109 | BC559F7E958001C705BFA353CF531ACF /* Pods-LikeAnimation_Tests.release.xcconfig */, 110 | ); 111 | name = "Pods-LikeAnimation_Tests"; 112 | path = "Target Support Files/Pods-LikeAnimation_Tests"; 113 | sourceTree = ""; 114 | }; 115 | 6E64692E45D1034959EFF81F47F57BDD /* Support Files */ = { 116 | isa = PBXGroup; 117 | children = ( 118 | 6F55266FF36E7A5F14C4FEE4C9AB86FF /* Info.plist */, 119 | C571B7F45BB90E12D1DFF238500541E5 /* LikeAnimation.modulemap */, 120 | 61983D9E52D7C6D413F253C4C83CB2E7 /* LikeAnimation.xcconfig */, 121 | 21CA4BF9459F9C87AA4B902C94D173EF /* LikeAnimation-dummy.m */, 122 | 0666734F68550D742989E70289BFE8C7 /* LikeAnimation-prefix.pch */, 123 | 83F16BEB3C20DAF3682076B2F52C5D69 /* LikeAnimation-umbrella.h */, 124 | ); 125 | name = "Support Files"; 126 | path = "Example/Pods/Target Support Files/LikeAnimation"; 127 | sourceTree = ""; 128 | }; 129 | 700A1737814332A43A1A61C785511405 /* LikeAnimation */ = { 130 | isa = PBXGroup; 131 | children = ( 132 | 74112DE859E0D3DF641EB93438F21F35 /* LikeAnimation */, 133 | 6E64692E45D1034959EFF81F47F57BDD /* Support Files */, 134 | ); 135 | name = LikeAnimation; 136 | path = ../..; 137 | sourceTree = ""; 138 | }; 139 | 70B18DE5A92FD45267C54FABCAC0B6F7 /* Products */ = { 140 | isa = PBXGroup; 141 | children = ( 142 | 5BDBEAB825D556FA2ADAB5B921D6B46E /* LikeAnimation.framework */, 143 | BD744063C9DE520EF44297F6F7C4368B /* Pods_LikeAnimation_Example.framework */, 144 | 977D136CF9264179809BCC4F4475C8F0 /* Pods_LikeAnimation_Tests.framework */, 145 | ); 146 | name = Products; 147 | sourceTree = ""; 148 | }; 149 | 74112DE859E0D3DF641EB93438F21F35 /* LikeAnimation */ = { 150 | isa = PBXGroup; 151 | children = ( 152 | DBAE7827204FBD63F2E2EF48FC1C22F2 /* Classes */, 153 | ); 154 | path = LikeAnimation; 155 | sourceTree = ""; 156 | }; 157 | 7531C8F8DE19F1AA3C8A7AC97A91DC29 /* iOS */ = { 158 | isa = PBXGroup; 159 | children = ( 160 | CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */, 161 | ); 162 | name = iOS; 163 | sourceTree = ""; 164 | }; 165 | 7DB346D0F39D3F0E887471402A8071AB = { 166 | isa = PBXGroup; 167 | children = ( 168 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 169 | 98E86666ABECAF60787179D638E96EE9 /* Development Pods */, 170 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 171 | 70B18DE5A92FD45267C54FABCAC0B6F7 /* Products */, 172 | C4A88A66DA2B5223A22546A805023E0C /* Targets Support Files */, 173 | ); 174 | sourceTree = ""; 175 | }; 176 | 98E86666ABECAF60787179D638E96EE9 /* Development Pods */ = { 177 | isa = PBXGroup; 178 | children = ( 179 | 700A1737814332A43A1A61C785511405 /* LikeAnimation */, 180 | ); 181 | name = "Development Pods"; 182 | sourceTree = ""; 183 | }; 184 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 185 | isa = PBXGroup; 186 | children = ( 187 | 7531C8F8DE19F1AA3C8A7AC97A91DC29 /* iOS */, 188 | ); 189 | name = Frameworks; 190 | sourceTree = ""; 191 | }; 192 | C4A88A66DA2B5223A22546A805023E0C /* Targets Support Files */ = { 193 | isa = PBXGroup; 194 | children = ( 195 | C809D3103A5DB3B3528E93B30CA96696 /* Pods-LikeAnimation_Example */, 196 | 0DC1174201333B37FE243E8BCDCA6D5F /* Pods-LikeAnimation_Tests */, 197 | ); 198 | name = "Targets Support Files"; 199 | sourceTree = ""; 200 | }; 201 | C809D3103A5DB3B3528E93B30CA96696 /* Pods-LikeAnimation_Example */ = { 202 | isa = PBXGroup; 203 | children = ( 204 | 778B1CE71A6084875A7DC6966F0595C3 /* Info.plist */, 205 | 83A4E14325C3F1BBA656A6FB8E9A787C /* Pods-LikeAnimation_Example.modulemap */, 206 | 9143C69DD0967BF6E409B7E99E721E06 /* Pods-LikeAnimation_Example-acknowledgements.markdown */, 207 | 8D1E7C12D4639AEF9E3AA9EAF22A47FD /* Pods-LikeAnimation_Example-acknowledgements.plist */, 208 | B57CD5FDD45B674BBB5EF7119AD6301F /* Pods-LikeAnimation_Example-dummy.m */, 209 | C93DDF054885D1D64BB0C265D6AE2B66 /* Pods-LikeAnimation_Example-frameworks.sh */, 210 | 9AD2DF560D731609BEE1E4DB9FB5C344 /* Pods-LikeAnimation_Example-resources.sh */, 211 | 2BDA2D2E9D8D211A15A206ED93AB7C22 /* Pods-LikeAnimation_Example-umbrella.h */, 212 | 97511B8C450ADC1ED64D9A5D93310690 /* Pods-LikeAnimation_Example.debug.xcconfig */, 213 | 2F08D630F83ECFC7933F4BD5E527C491 /* Pods-LikeAnimation_Example.release.xcconfig */, 214 | ); 215 | name = "Pods-LikeAnimation_Example"; 216 | path = "Target Support Files/Pods-LikeAnimation_Example"; 217 | sourceTree = ""; 218 | }; 219 | DBAE7827204FBD63F2E2EF48FC1C22F2 /* Classes */ = { 220 | isa = PBXGroup; 221 | children = ( 222 | 17777F45A09B59C13880F23A3DB64DA2 /* LikeAnimation.swift */, 223 | 1C71152E1E7978A800E3ADB5 /* AnimationsHelper.swift */, 224 | ); 225 | path = Classes; 226 | sourceTree = ""; 227 | }; 228 | /* End PBXGroup section */ 229 | 230 | /* Begin PBXHeadersBuildPhase section */ 231 | 3067AB3A0F47D6FA0D7D35BE8065FC4B /* Headers */ = { 232 | isa = PBXHeadersBuildPhase; 233 | buildActionMask = 2147483647; 234 | files = ( 235 | E913B29F531FDF1A8228451842112C76 /* LikeAnimation-umbrella.h in Headers */, 236 | ); 237 | runOnlyForDeploymentPostprocessing = 0; 238 | }; 239 | 369ACCAC6B1E4057C29AE031409ECA5F /* Headers */ = { 240 | isa = PBXHeadersBuildPhase; 241 | buildActionMask = 2147483647; 242 | files = ( 243 | 68C1F2985329ECF059E6F4972C354DE3 /* Pods-LikeAnimation_Example-umbrella.h in Headers */, 244 | ); 245 | runOnlyForDeploymentPostprocessing = 0; 246 | }; 247 | F423D183339B0BDD89FBDE5156C34838 /* Headers */ = { 248 | isa = PBXHeadersBuildPhase; 249 | buildActionMask = 2147483647; 250 | files = ( 251 | CB1CB418F5C2409D8B05EA72534E22EF /* Pods-LikeAnimation_Tests-umbrella.h in Headers */, 252 | ); 253 | runOnlyForDeploymentPostprocessing = 0; 254 | }; 255 | /* End PBXHeadersBuildPhase section */ 256 | 257 | /* Begin PBXNativeTarget section */ 258 | 11E2BF1A3484D6854800DCB19605787D /* Pods-LikeAnimation_Example */ = { 259 | isa = PBXNativeTarget; 260 | buildConfigurationList = FCB5580C119A74DCA72C3B7BD4B706E4 /* Build configuration list for PBXNativeTarget "Pods-LikeAnimation_Example" */; 261 | buildPhases = ( 262 | B771EBDF2B6DE326FF767315F6D48F57 /* Sources */, 263 | 40729524D8D451BE1072F4EC3FCCAE28 /* Frameworks */, 264 | 369ACCAC6B1E4057C29AE031409ECA5F /* Headers */, 265 | ); 266 | buildRules = ( 267 | ); 268 | dependencies = ( 269 | 926D3AA549EE517964B64CF3E4D82C79 /* PBXTargetDependency */, 270 | ); 271 | name = "Pods-LikeAnimation_Example"; 272 | productName = "Pods-LikeAnimation_Example"; 273 | productReference = BD744063C9DE520EF44297F6F7C4368B /* Pods_LikeAnimation_Example.framework */; 274 | productType = "com.apple.product-type.framework"; 275 | }; 276 | AB9B3F8042EE50826C509597724EC247 /* LikeAnimation */ = { 277 | isa = PBXNativeTarget; 278 | buildConfigurationList = 49FF1B039534A2EA7E37E1D61A14771D /* Build configuration list for PBXNativeTarget "LikeAnimation" */; 279 | buildPhases = ( 280 | D9A527EE3CB1DFC55A93A81693BC29F3 /* Sources */, 281 | 20382B601BD2BEE3052DCCBD19F07AD4 /* Frameworks */, 282 | 3067AB3A0F47D6FA0D7D35BE8065FC4B /* Headers */, 283 | ); 284 | buildRules = ( 285 | ); 286 | dependencies = ( 287 | ); 288 | name = LikeAnimation; 289 | productName = LikeAnimation; 290 | productReference = 5BDBEAB825D556FA2ADAB5B921D6B46E /* LikeAnimation.framework */; 291 | productType = "com.apple.product-type.framework"; 292 | }; 293 | EDDBBDAA69FC3AB5224E31EB2A7C5C5F /* Pods-LikeAnimation_Tests */ = { 294 | isa = PBXNativeTarget; 295 | buildConfigurationList = B1E505C930A9F5E0751FD5076ABE3C0A /* Build configuration list for PBXNativeTarget "Pods-LikeAnimation_Tests" */; 296 | buildPhases = ( 297 | A97AAE7322024A49907D6D0ADEB3C3B9 /* Sources */, 298 | 3B13EC25A734BD0A99F0688B6E22441E /* Frameworks */, 299 | F423D183339B0BDD89FBDE5156C34838 /* Headers */, 300 | ); 301 | buildRules = ( 302 | ); 303 | dependencies = ( 304 | ); 305 | name = "Pods-LikeAnimation_Tests"; 306 | productName = "Pods-LikeAnimation_Tests"; 307 | productReference = 977D136CF9264179809BCC4F4475C8F0 /* Pods_LikeAnimation_Tests.framework */; 308 | productType = "com.apple.product-type.framework"; 309 | }; 310 | /* End PBXNativeTarget section */ 311 | 312 | /* Begin PBXProject section */ 313 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 314 | isa = PBXProject; 315 | attributes = { 316 | LastSwiftUpdateCheck = 0730; 317 | LastUpgradeCheck = 0700; 318 | }; 319 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 320 | compatibilityVersion = "Xcode 3.2"; 321 | developmentRegion = English; 322 | hasScannedForEncodings = 0; 323 | knownRegions = ( 324 | en, 325 | ); 326 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 327 | productRefGroup = 70B18DE5A92FD45267C54FABCAC0B6F7 /* Products */; 328 | projectDirPath = ""; 329 | projectRoot = ""; 330 | targets = ( 331 | AB9B3F8042EE50826C509597724EC247 /* LikeAnimation */, 332 | 11E2BF1A3484D6854800DCB19605787D /* Pods-LikeAnimation_Example */, 333 | EDDBBDAA69FC3AB5224E31EB2A7C5C5F /* Pods-LikeAnimation_Tests */, 334 | ); 335 | }; 336 | /* End PBXProject section */ 337 | 338 | /* Begin PBXSourcesBuildPhase section */ 339 | A97AAE7322024A49907D6D0ADEB3C3B9 /* Sources */ = { 340 | isa = PBXSourcesBuildPhase; 341 | buildActionMask = 2147483647; 342 | files = ( 343 | 7A1D85FEF4C7D9E52CF87CE8DFC68B69 /* Pods-LikeAnimation_Tests-dummy.m in Sources */, 344 | ); 345 | runOnlyForDeploymentPostprocessing = 0; 346 | }; 347 | B771EBDF2B6DE326FF767315F6D48F57 /* Sources */ = { 348 | isa = PBXSourcesBuildPhase; 349 | buildActionMask = 2147483647; 350 | files = ( 351 | 585E9631BB32BD20A8E5DD7B84BC3628 /* Pods-LikeAnimation_Example-dummy.m in Sources */, 352 | ); 353 | runOnlyForDeploymentPostprocessing = 0; 354 | }; 355 | D9A527EE3CB1DFC55A93A81693BC29F3 /* Sources */ = { 356 | isa = PBXSourcesBuildPhase; 357 | buildActionMask = 2147483647; 358 | files = ( 359 | 1C71152F1E7978A800E3ADB5 /* AnimationsHelper.swift in Sources */, 360 | 219F1FF3722EF10364D94D65BBEF2123 /* LikeAnimation-dummy.m in Sources */, 361 | DABB325ED5D3448B4DAD9CC8E0047979 /* LikeAnimation.swift in Sources */, 362 | ); 363 | runOnlyForDeploymentPostprocessing = 0; 364 | }; 365 | /* End PBXSourcesBuildPhase section */ 366 | 367 | /* Begin PBXTargetDependency section */ 368 | 926D3AA549EE517964B64CF3E4D82C79 /* PBXTargetDependency */ = { 369 | isa = PBXTargetDependency; 370 | name = LikeAnimation; 371 | target = AB9B3F8042EE50826C509597724EC247 /* LikeAnimation */; 372 | targetProxy = B6E8E302995DE3236157A9708469BCE9 /* PBXContainerItemProxy */; 373 | }; 374 | /* End PBXTargetDependency section */ 375 | 376 | /* Begin XCBuildConfiguration section */ 377 | 13BEEBBA53BCFDFF4AB0DA0C2E64DA45 /* Release */ = { 378 | isa = XCBuildConfiguration; 379 | baseConfigurationReference = BC559F7E958001C705BFA353CF531ACF /* Pods-LikeAnimation_Tests.release.xcconfig */; 380 | buildSettings = { 381 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 382 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 383 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 384 | CURRENT_PROJECT_VERSION = 1; 385 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 386 | DEFINES_MODULE = YES; 387 | DYLIB_COMPATIBILITY_VERSION = 1; 388 | DYLIB_CURRENT_VERSION = 1; 389 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 390 | ENABLE_STRICT_OBJC_MSGSEND = YES; 391 | GCC_NO_COMMON_BLOCKS = YES; 392 | INFOPLIST_FILE = "Target Support Files/Pods-LikeAnimation_Tests/Info.plist"; 393 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 394 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 395 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 396 | MACH_O_TYPE = staticlib; 397 | MODULEMAP_FILE = "Target Support Files/Pods-LikeAnimation_Tests/Pods-LikeAnimation_Tests.modulemap"; 398 | MTL_ENABLE_DEBUG_INFO = NO; 399 | OTHER_LDFLAGS = ""; 400 | OTHER_LIBTOOLFLAGS = ""; 401 | PODS_ROOT = "$(SRCROOT)"; 402 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 403 | PRODUCT_NAME = Pods_LikeAnimation_Tests; 404 | SDKROOT = iphoneos; 405 | SKIP_INSTALL = YES; 406 | TARGETED_DEVICE_FAMILY = "1,2"; 407 | VERSIONING_SYSTEM = "apple-generic"; 408 | VERSION_INFO_PREFIX = ""; 409 | }; 410 | name = Release; 411 | }; 412 | 3F98D753BB7D8A2829517B012286F01F /* Debug */ = { 413 | isa = XCBuildConfiguration; 414 | baseConfigurationReference = F286D90531027855B14C0669DD1D649C /* Pods-LikeAnimation_Tests.debug.xcconfig */; 415 | buildSettings = { 416 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 417 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 418 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 419 | CURRENT_PROJECT_VERSION = 1; 420 | DEBUG_INFORMATION_FORMAT = dwarf; 421 | DEFINES_MODULE = YES; 422 | DYLIB_COMPATIBILITY_VERSION = 1; 423 | DYLIB_CURRENT_VERSION = 1; 424 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 425 | ENABLE_STRICT_OBJC_MSGSEND = YES; 426 | GCC_NO_COMMON_BLOCKS = YES; 427 | INFOPLIST_FILE = "Target Support Files/Pods-LikeAnimation_Tests/Info.plist"; 428 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 429 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 430 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 431 | MACH_O_TYPE = staticlib; 432 | MODULEMAP_FILE = "Target Support Files/Pods-LikeAnimation_Tests/Pods-LikeAnimation_Tests.modulemap"; 433 | MTL_ENABLE_DEBUG_INFO = YES; 434 | OTHER_LDFLAGS = ""; 435 | OTHER_LIBTOOLFLAGS = ""; 436 | PODS_ROOT = "$(SRCROOT)"; 437 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 438 | PRODUCT_NAME = Pods_LikeAnimation_Tests; 439 | SDKROOT = iphoneos; 440 | SKIP_INSTALL = YES; 441 | TARGETED_DEVICE_FAMILY = "1,2"; 442 | VERSIONING_SYSTEM = "apple-generic"; 443 | VERSION_INFO_PREFIX = ""; 444 | }; 445 | name = Debug; 446 | }; 447 | 80D96FBF76BF9EB4811BCF04380B0DA4 /* Debug */ = { 448 | isa = XCBuildConfiguration; 449 | baseConfigurationReference = 61983D9E52D7C6D413F253C4C83CB2E7 /* LikeAnimation.xcconfig */; 450 | buildSettings = { 451 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 452 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 453 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 454 | CURRENT_PROJECT_VERSION = 1; 455 | DEBUG_INFORMATION_FORMAT = dwarf; 456 | DEFINES_MODULE = YES; 457 | DYLIB_COMPATIBILITY_VERSION = 1; 458 | DYLIB_CURRENT_VERSION = 1; 459 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 460 | ENABLE_STRICT_OBJC_MSGSEND = YES; 461 | GCC_NO_COMMON_BLOCKS = YES; 462 | GCC_PREFIX_HEADER = "Target Support Files/LikeAnimation/LikeAnimation-prefix.pch"; 463 | INFOPLIST_FILE = "Target Support Files/LikeAnimation/Info.plist"; 464 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 465 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 466 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 467 | MODULEMAP_FILE = "Target Support Files/LikeAnimation/LikeAnimation.modulemap"; 468 | MTL_ENABLE_DEBUG_INFO = YES; 469 | PRODUCT_NAME = LikeAnimation; 470 | SDKROOT = iphoneos; 471 | SKIP_INSTALL = YES; 472 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 473 | SWIFT_VERSION = 3.0; 474 | TARGETED_DEVICE_FAMILY = "1,2"; 475 | VERSIONING_SYSTEM = "apple-generic"; 476 | VERSION_INFO_PREFIX = ""; 477 | }; 478 | name = Debug; 479 | }; 480 | 8DED8AD26D381A6ACFF202E5217EC498 /* Release */ = { 481 | isa = XCBuildConfiguration; 482 | buildSettings = { 483 | ALWAYS_SEARCH_USER_PATHS = NO; 484 | CLANG_ANALYZER_NONNULL = YES; 485 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 486 | CLANG_CXX_LIBRARY = "libc++"; 487 | CLANG_ENABLE_MODULES = YES; 488 | CLANG_ENABLE_OBJC_ARC = YES; 489 | CLANG_WARN_BOOL_CONVERSION = YES; 490 | CLANG_WARN_CONSTANT_CONVERSION = YES; 491 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 492 | CLANG_WARN_EMPTY_BODY = YES; 493 | CLANG_WARN_ENUM_CONVERSION = YES; 494 | CLANG_WARN_INT_CONVERSION = YES; 495 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 496 | CLANG_WARN_UNREACHABLE_CODE = YES; 497 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 498 | CODE_SIGNING_REQUIRED = NO; 499 | COPY_PHASE_STRIP = YES; 500 | ENABLE_NS_ASSERTIONS = NO; 501 | GCC_C_LANGUAGE_STANDARD = gnu99; 502 | GCC_PREPROCESSOR_DEFINITIONS = ( 503 | "POD_CONFIGURATION_RELEASE=1", 504 | "$(inherited)", 505 | ); 506 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 507 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 508 | GCC_WARN_UNDECLARED_SELECTOR = YES; 509 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 510 | GCC_WARN_UNUSED_FUNCTION = YES; 511 | GCC_WARN_UNUSED_VARIABLE = YES; 512 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 513 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 514 | STRIP_INSTALLED_PRODUCT = NO; 515 | SYMROOT = "${SRCROOT}/../build"; 516 | VALIDATE_PRODUCT = YES; 517 | }; 518 | name = Release; 519 | }; 520 | 9E1E4E48AF2EAB23169E611BF694090A /* Debug */ = { 521 | isa = XCBuildConfiguration; 522 | buildSettings = { 523 | ALWAYS_SEARCH_USER_PATHS = NO; 524 | CLANG_ANALYZER_NONNULL = YES; 525 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 526 | CLANG_CXX_LIBRARY = "libc++"; 527 | CLANG_ENABLE_MODULES = YES; 528 | CLANG_ENABLE_OBJC_ARC = YES; 529 | CLANG_WARN_BOOL_CONVERSION = YES; 530 | CLANG_WARN_CONSTANT_CONVERSION = YES; 531 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 532 | CLANG_WARN_EMPTY_BODY = YES; 533 | CLANG_WARN_ENUM_CONVERSION = YES; 534 | CLANG_WARN_INT_CONVERSION = YES; 535 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 536 | CLANG_WARN_UNREACHABLE_CODE = YES; 537 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 538 | CODE_SIGNING_REQUIRED = NO; 539 | COPY_PHASE_STRIP = NO; 540 | ENABLE_TESTABILITY = YES; 541 | GCC_C_LANGUAGE_STANDARD = gnu99; 542 | GCC_DYNAMIC_NO_PIC = NO; 543 | GCC_OPTIMIZATION_LEVEL = 0; 544 | GCC_PREPROCESSOR_DEFINITIONS = ( 545 | "POD_CONFIGURATION_DEBUG=1", 546 | "DEBUG=1", 547 | "$(inherited)", 548 | ); 549 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 550 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 551 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 552 | GCC_WARN_UNDECLARED_SELECTOR = YES; 553 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 554 | GCC_WARN_UNUSED_FUNCTION = YES; 555 | GCC_WARN_UNUSED_VARIABLE = YES; 556 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 557 | ONLY_ACTIVE_ARCH = YES; 558 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 559 | STRIP_INSTALLED_PRODUCT = NO; 560 | SYMROOT = "${SRCROOT}/../build"; 561 | }; 562 | name = Debug; 563 | }; 564 | DC48F3F459EC54ADCA3BB4DFC8C04403 /* Release */ = { 565 | isa = XCBuildConfiguration; 566 | baseConfigurationReference = 2F08D630F83ECFC7933F4BD5E527C491 /* Pods-LikeAnimation_Example.release.xcconfig */; 567 | buildSettings = { 568 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 569 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 570 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 571 | CURRENT_PROJECT_VERSION = 1; 572 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 573 | DEFINES_MODULE = YES; 574 | DYLIB_COMPATIBILITY_VERSION = 1; 575 | DYLIB_CURRENT_VERSION = 1; 576 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 577 | ENABLE_STRICT_OBJC_MSGSEND = YES; 578 | GCC_NO_COMMON_BLOCKS = YES; 579 | INFOPLIST_FILE = "Target Support Files/Pods-LikeAnimation_Example/Info.plist"; 580 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 581 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 582 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 583 | MACH_O_TYPE = staticlib; 584 | MODULEMAP_FILE = "Target Support Files/Pods-LikeAnimation_Example/Pods-LikeAnimation_Example.modulemap"; 585 | MTL_ENABLE_DEBUG_INFO = NO; 586 | OTHER_LDFLAGS = ""; 587 | OTHER_LIBTOOLFLAGS = ""; 588 | PODS_ROOT = "$(SRCROOT)"; 589 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 590 | PRODUCT_NAME = Pods_LikeAnimation_Example; 591 | SDKROOT = iphoneos; 592 | SKIP_INSTALL = YES; 593 | TARGETED_DEVICE_FAMILY = "1,2"; 594 | VERSIONING_SYSTEM = "apple-generic"; 595 | VERSION_INFO_PREFIX = ""; 596 | }; 597 | name = Release; 598 | }; 599 | DFFE3F6A9F5C130FE3A79A497FC87C9B /* Debug */ = { 600 | isa = XCBuildConfiguration; 601 | baseConfigurationReference = 97511B8C450ADC1ED64D9A5D93310690 /* Pods-LikeAnimation_Example.debug.xcconfig */; 602 | buildSettings = { 603 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 604 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 605 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 606 | CURRENT_PROJECT_VERSION = 1; 607 | DEBUG_INFORMATION_FORMAT = dwarf; 608 | DEFINES_MODULE = YES; 609 | DYLIB_COMPATIBILITY_VERSION = 1; 610 | DYLIB_CURRENT_VERSION = 1; 611 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 612 | ENABLE_STRICT_OBJC_MSGSEND = YES; 613 | GCC_NO_COMMON_BLOCKS = YES; 614 | INFOPLIST_FILE = "Target Support Files/Pods-LikeAnimation_Example/Info.plist"; 615 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 616 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 617 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 618 | MACH_O_TYPE = staticlib; 619 | MODULEMAP_FILE = "Target Support Files/Pods-LikeAnimation_Example/Pods-LikeAnimation_Example.modulemap"; 620 | MTL_ENABLE_DEBUG_INFO = YES; 621 | OTHER_LDFLAGS = ""; 622 | OTHER_LIBTOOLFLAGS = ""; 623 | PODS_ROOT = "$(SRCROOT)"; 624 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 625 | PRODUCT_NAME = Pods_LikeAnimation_Example; 626 | SDKROOT = iphoneos; 627 | SKIP_INSTALL = YES; 628 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 629 | TARGETED_DEVICE_FAMILY = "1,2"; 630 | VERSIONING_SYSTEM = "apple-generic"; 631 | VERSION_INFO_PREFIX = ""; 632 | }; 633 | name = Debug; 634 | }; 635 | E0E48DBA068783669B223784C43174F0 /* Release */ = { 636 | isa = XCBuildConfiguration; 637 | baseConfigurationReference = 61983D9E52D7C6D413F253C4C83CB2E7 /* LikeAnimation.xcconfig */; 638 | buildSettings = { 639 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 640 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 641 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 642 | CURRENT_PROJECT_VERSION = 1; 643 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 644 | DEFINES_MODULE = YES; 645 | DYLIB_COMPATIBILITY_VERSION = 1; 646 | DYLIB_CURRENT_VERSION = 1; 647 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 648 | ENABLE_STRICT_OBJC_MSGSEND = YES; 649 | GCC_NO_COMMON_BLOCKS = YES; 650 | GCC_PREFIX_HEADER = "Target Support Files/LikeAnimation/LikeAnimation-prefix.pch"; 651 | INFOPLIST_FILE = "Target Support Files/LikeAnimation/Info.plist"; 652 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 653 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 654 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 655 | MODULEMAP_FILE = "Target Support Files/LikeAnimation/LikeAnimation.modulemap"; 656 | MTL_ENABLE_DEBUG_INFO = NO; 657 | PRODUCT_NAME = LikeAnimation; 658 | SDKROOT = iphoneos; 659 | SKIP_INSTALL = YES; 660 | SWIFT_VERSION = 3.0; 661 | TARGETED_DEVICE_FAMILY = "1,2"; 662 | VERSIONING_SYSTEM = "apple-generic"; 663 | VERSION_INFO_PREFIX = ""; 664 | }; 665 | name = Release; 666 | }; 667 | /* End XCBuildConfiguration section */ 668 | 669 | /* Begin XCConfigurationList section */ 670 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 671 | isa = XCConfigurationList; 672 | buildConfigurations = ( 673 | 9E1E4E48AF2EAB23169E611BF694090A /* Debug */, 674 | 8DED8AD26D381A6ACFF202E5217EC498 /* Release */, 675 | ); 676 | defaultConfigurationIsVisible = 0; 677 | defaultConfigurationName = Release; 678 | }; 679 | 49FF1B039534A2EA7E37E1D61A14771D /* Build configuration list for PBXNativeTarget "LikeAnimation" */ = { 680 | isa = XCConfigurationList; 681 | buildConfigurations = ( 682 | 80D96FBF76BF9EB4811BCF04380B0DA4 /* Debug */, 683 | E0E48DBA068783669B223784C43174F0 /* Release */, 684 | ); 685 | defaultConfigurationIsVisible = 0; 686 | defaultConfigurationName = Release; 687 | }; 688 | B1E505C930A9F5E0751FD5076ABE3C0A /* Build configuration list for PBXNativeTarget "Pods-LikeAnimation_Tests" */ = { 689 | isa = XCConfigurationList; 690 | buildConfigurations = ( 691 | 3F98D753BB7D8A2829517B012286F01F /* Debug */, 692 | 13BEEBBA53BCFDFF4AB0DA0C2E64DA45 /* Release */, 693 | ); 694 | defaultConfigurationIsVisible = 0; 695 | defaultConfigurationName = Release; 696 | }; 697 | FCB5580C119A74DCA72C3B7BD4B706E4 /* Build configuration list for PBXNativeTarget "Pods-LikeAnimation_Example" */ = { 698 | isa = XCConfigurationList; 699 | buildConfigurations = ( 700 | DFFE3F6A9F5C130FE3A79A497FC87C9B /* Debug */, 701 | DC48F3F459EC54ADCA3BB4DFC8C04403 /* Release */, 702 | ); 703 | defaultConfigurationIsVisible = 0; 704 | defaultConfigurationName = Release; 705 | }; 706 | /* End XCConfigurationList section */ 707 | }; 708 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 709 | } 710 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/LikeAnimation/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/LikeAnimation/LikeAnimation-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_LikeAnimation : NSObject 3 | @end 4 | @implementation PodsDummy_LikeAnimation 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/LikeAnimation/LikeAnimation-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/LikeAnimation/LikeAnimation-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double LikeAnimationVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char LikeAnimationVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/LikeAnimation/LikeAnimation.modulemap: -------------------------------------------------------------------------------- 1 | framework module LikeAnimation { 2 | umbrella header "LikeAnimation-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/LikeAnimation/LikeAnimation.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/LikeAnimation 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LikeAnimation_Example/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LikeAnimation_Example/Pods-LikeAnimation_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## LikeAnimation 5 | 6 | Copyright (c) 2017 Anatoliy Voropay 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - https://cocoapods.org 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LikeAnimation_Example/Pods-LikeAnimation_Example-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2017 Anatoliy Voropay <anatoliy.voropay@gmail.com> 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | License 38 | MIT 39 | Title 40 | LikeAnimation 41 | Type 42 | PSGroupSpecifier 43 | 44 | 45 | FooterText 46 | Generated by CocoaPods - https://cocoapods.org 47 | Title 48 | 49 | Type 50 | PSGroupSpecifier 51 | 52 | 53 | StringsTable 54 | Acknowledgements 55 | Title 56 | Acknowledgements 57 | 58 | 59 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LikeAnimation_Example/Pods-LikeAnimation_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_LikeAnimation_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_LikeAnimation_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LikeAnimation_Example/Pods-LikeAnimation_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 63 | 64 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 65 | code_sign_cmd="$code_sign_cmd &" 66 | fi 67 | echo "$code_sign_cmd" 68 | eval "$code_sign_cmd" 69 | fi 70 | } 71 | 72 | # Strip invalid architectures 73 | strip_invalid_archs() { 74 | binary="$1" 75 | # Get architectures for current file 76 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 77 | stripped="" 78 | for arch in $archs; do 79 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 80 | # Strip non-valid architectures in-place 81 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 82 | stripped="$stripped $arch" 83 | fi 84 | done 85 | if [[ "$stripped" ]]; then 86 | echo "Stripped $binary of architectures:$stripped" 87 | fi 88 | } 89 | 90 | 91 | if [[ "$CONFIGURATION" == "Debug" ]]; then 92 | install_framework "$BUILT_PRODUCTS_DIR/LikeAnimation/LikeAnimation.framework" 93 | fi 94 | if [[ "$CONFIGURATION" == "Release" ]]; then 95 | install_framework "$BUILT_PRODUCTS_DIR/LikeAnimation/LikeAnimation.framework" 96 | fi 97 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 98 | wait 99 | fi 100 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LikeAnimation_Example/Pods-LikeAnimation_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | 3) 22 | TARGET_DEVICE_ARGS="--target-device tv" 23 | ;; 24 | *) 25 | TARGET_DEVICE_ARGS="--target-device mac" 26 | ;; 27 | esac 28 | 29 | install_resource() 30 | { 31 | if [[ "$1" = /* ]] ; then 32 | RESOURCE_PATH="$1" 33 | else 34 | RESOURCE_PATH="${PODS_ROOT}/$1" 35 | fi 36 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 37 | cat << EOM 38 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 39 | EOM 40 | exit 1 41 | fi 42 | case $RESOURCE_PATH in 43 | *.storyboard) 44 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 45 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 46 | ;; 47 | *.xib) 48 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 49 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 50 | ;; 51 | *.framework) 52 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 53 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 54 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 55 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | ;; 57 | *.xcdatamodel) 58 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 59 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 60 | ;; 61 | *.xcdatamodeld) 62 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 63 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 64 | ;; 65 | *.xcmappingmodel) 66 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 67 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 68 | ;; 69 | *.xcassets) 70 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 71 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 72 | ;; 73 | *) 74 | echo "$RESOURCE_PATH" 75 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 76 | ;; 77 | esac 78 | } 79 | 80 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 81 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 82 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 83 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | fi 86 | rm -f "$RESOURCES_TO_COPY" 87 | 88 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 89 | then 90 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 91 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 92 | while read line; do 93 | if [[ $line != "${PODS_ROOT}*" ]]; then 94 | XCASSET_FILES+=("$line") 95 | fi 96 | done <<<"$OTHER_XCASSETS" 97 | 98 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 99 | fi 100 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LikeAnimation_Example/Pods-LikeAnimation_Example-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_LikeAnimation_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_LikeAnimation_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LikeAnimation_Example/Pods-LikeAnimation_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/LikeAnimation" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/LikeAnimation/LikeAnimation.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "LikeAnimation" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = $BUILD_DIR 9 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_ROOT = ${SRCROOT}/Pods 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LikeAnimation_Example/Pods-LikeAnimation_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_LikeAnimation_Example { 2 | umbrella header "Pods-LikeAnimation_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LikeAnimation_Example/Pods-LikeAnimation_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/LikeAnimation" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/LikeAnimation/LikeAnimation.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "LikeAnimation" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = $BUILD_DIR 9 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_ROOT = ${SRCROOT}/Pods 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LikeAnimation_Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LikeAnimation_Tests/Pods-LikeAnimation_Tests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | Generated by CocoaPods - https://cocoapods.org 4 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LikeAnimation_Tests/Pods-LikeAnimation_Tests-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Generated by CocoaPods - https://cocoapods.org 18 | Title 19 | 20 | Type 21 | PSGroupSpecifier 22 | 23 | 24 | StringsTable 25 | Acknowledgements 26 | Title 27 | Acknowledgements 28 | 29 | 30 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LikeAnimation_Tests/Pods-LikeAnimation_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_LikeAnimation_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_LikeAnimation_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LikeAnimation_Tests/Pods-LikeAnimation_Tests-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 63 | 64 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 65 | code_sign_cmd="$code_sign_cmd &" 66 | fi 67 | echo "$code_sign_cmd" 68 | eval "$code_sign_cmd" 69 | fi 70 | } 71 | 72 | # Strip invalid architectures 73 | strip_invalid_archs() { 74 | binary="$1" 75 | # Get architectures for current file 76 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 77 | stripped="" 78 | for arch in $archs; do 79 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 80 | # Strip non-valid architectures in-place 81 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 82 | stripped="$stripped $arch" 83 | fi 84 | done 85 | if [[ "$stripped" ]]; then 86 | echo "Stripped $binary of architectures:$stripped" 87 | fi 88 | } 89 | 90 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 91 | wait 92 | fi 93 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LikeAnimation_Tests/Pods-LikeAnimation_Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | 3) 22 | TARGET_DEVICE_ARGS="--target-device tv" 23 | ;; 24 | *) 25 | TARGET_DEVICE_ARGS="--target-device mac" 26 | ;; 27 | esac 28 | 29 | install_resource() 30 | { 31 | if [[ "$1" = /* ]] ; then 32 | RESOURCE_PATH="$1" 33 | else 34 | RESOURCE_PATH="${PODS_ROOT}/$1" 35 | fi 36 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 37 | cat << EOM 38 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 39 | EOM 40 | exit 1 41 | fi 42 | case $RESOURCE_PATH in 43 | *.storyboard) 44 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 45 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 46 | ;; 47 | *.xib) 48 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 49 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 50 | ;; 51 | *.framework) 52 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 53 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 54 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 55 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | ;; 57 | *.xcdatamodel) 58 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 59 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 60 | ;; 61 | *.xcdatamodeld) 62 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 63 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 64 | ;; 65 | *.xcmappingmodel) 66 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 67 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 68 | ;; 69 | *.xcassets) 70 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 71 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 72 | ;; 73 | *) 74 | echo "$RESOURCE_PATH" 75 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 76 | ;; 77 | esac 78 | } 79 | 80 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 81 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 82 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 83 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | fi 86 | rm -f "$RESOURCES_TO_COPY" 87 | 88 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 89 | then 90 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 91 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 92 | while read line; do 93 | if [[ $line != "${PODS_ROOT}*" ]]; then 94 | XCASSET_FILES+=("$line") 95 | fi 96 | done <<<"$OTHER_XCASSETS" 97 | 98 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 99 | fi 100 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LikeAnimation_Tests/Pods-LikeAnimation_Tests-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_LikeAnimation_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_LikeAnimation_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LikeAnimation_Tests/Pods-LikeAnimation_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/LikeAnimation" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/LikeAnimation/LikeAnimation.framework/Headers" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT}/Pods 8 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LikeAnimation_Tests/Pods-LikeAnimation_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_LikeAnimation_Tests { 2 | umbrella header "Pods-LikeAnimation_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LikeAnimation_Tests/Pods-LikeAnimation_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/LikeAnimation" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/LikeAnimation/LikeAnimation.framework/Headers" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT}/Pods 8 | -------------------------------------------------------------------------------- /Example/Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Tests/Tests.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import XCTest 3 | import LikeAnimation 4 | 5 | class Tests: XCTestCase { 6 | 7 | override func setUp() { 8 | super.setUp() 9 | // Put setup code here. This method is called before the invocation of each test method in the class. 10 | } 11 | 12 | override func tearDown() { 13 | // Put teardown code here. This method is called after the invocation of each test method in the class. 14 | super.tearDown() 15 | } 16 | 17 | func testExample() { 18 | // This is an example of a functional test case. 19 | XCTAssert(true, "Pass") 20 | } 21 | 22 | func testPerformanceExample() { 23 | // This is an example of a performance test case. 24 | self.measure() { 25 | // Put the code you want to measure the time of here. 26 | } 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017 Anatoliy Voropay 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /LikeAnimation.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'LikeAnimation' 3 | s.version = '0.2.0' 4 | s.summary = 'Beautifule heart beating animation for iOS written in Swift' 5 | 6 | # This description is used to generate tags and improve search results. 7 | # * Think: What does it do? Why did you write it? What is the focus? 8 | # * Try to keep it short, snappy and to the point. 9 | # * Write the description between the DESC delimiters below. 10 | # * Finally, don't worry about the indent, CocoaPods strips it! 11 | 12 | s.description = <<-DESC 13 | Customizable like animation aka heart beating written in Swift. 14 | DESC 15 | 16 | s.homepage = 'https://github.com/anatoliyv/LikeAnimation' 17 | s.license = { :type => 'MIT', :file => 'LICENSE' } 18 | s.author = { 'Anatoliy Voropay' => 'anatoliy.voropay@gmail.com' } 19 | s.source = { :git => 'https://github.com/anatoliyv/LikeAnimation.git', :tag => s.version.to_s } 20 | s.social_media_url = 'https://twitter.com/anatoliy_v' 21 | 22 | s.frameworks = 'UIKit' 23 | s.ios.deployment_target = '9.0' 24 | s.source_files = 'LikeAnimation/Classes/**/*' 25 | end 26 | -------------------------------------------------------------------------------- /LikeAnimation/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anatoliyv/LikeAnimation/80a9a6cb44c56e7d2d70013aae9aa7e08b49a24c/LikeAnimation/Assets/.gitkeep -------------------------------------------------------------------------------- /LikeAnimation/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anatoliyv/LikeAnimation/80a9a6cb44c56e7d2d70013aae9aa7e08b49a24c/LikeAnimation/Classes/.gitkeep -------------------------------------------------------------------------------- /LikeAnimation/Classes/AnimationsHelper.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AnimationsHelper.swift 3 | // Pods 4 | // 5 | // Created by Anatoliy Voropay on 3/15/17. 6 | // 7 | // 8 | 9 | import Foundation 10 | 11 | /// Protocol for custom animation 12 | protocol AnimationProtocol { 13 | func runAnimationOnLayer(_ layer: CAShapeLayer) 14 | } 15 | 16 | /// Custom animation with extended functionality 17 | class Animation: AnimationProtocol { 18 | 19 | fileprivate var animation: CAAnimation? 20 | fileprivate var beforeAction: (() -> Void)? 21 | fileprivate var afterAction: (() -> Void)? 22 | 23 | init(animation: CAAnimation?, 24 | beforeAction before: (() -> Void)?, 25 | afterAction after: (() -> Void)?) 26 | { 27 | self.animation = animation 28 | self.beforeAction = before 29 | self.afterAction = after 30 | } 31 | 32 | init(animation: CAAnimation?) { 33 | self.animation = animation 34 | } 35 | 36 | convenience init( 37 | animationForKeyPath path: String, 38 | fromValue: Any, 39 | toValue: Any, 40 | duration: CFTimeInterval, 41 | beforeAction before: (() -> Void)?, 42 | afterAction after: (() -> Void)?) 43 | { 44 | let animation = CABasicAnimation(keyPath: path) 45 | animation.fromValue = fromValue 46 | animation.toValue = toValue 47 | animation.duration = duration 48 | animation.isRemovedOnCompletion = false 49 | animation.fillMode = kCAFillModeForwards 50 | 51 | self.init(animation: animation, beforeAction: before, afterAction: after) 52 | } 53 | 54 | convenience init( 55 | p: String, 56 | f: Any, 57 | t: Any, 58 | d: CFTimeInterval, 59 | b: (() -> Void)?, 60 | a: (() -> Void)?) 61 | { 62 | self.init(animationForKeyPath: p, fromValue: f, toValue: 63 | t, duration: d, beforeAction: b, afterAction: a) 64 | } 65 | 66 | convenience init(animation: CAAnimation?, beforeAction before: (() -> Void)?) { 67 | self.init(animation: animation, beforeAction: before, afterAction: nil) 68 | } 69 | 70 | convenience init(animation: CAAnimation?, afterAction after: (() -> Void)?) { 71 | self.init(animation: animation, beforeAction: nil, afterAction: after) 72 | } 73 | 74 | internal func runAnimationOnLayer(_ layer: CAShapeLayer) { 75 | beforeAction?() 76 | layer.add(animation!, forKey: nil) 77 | } 78 | } 79 | 80 | /// Group of animations appearing in the same time 81 | class AnimationGroup: Animation { 82 | 83 | fileprivate var animations: [Animation] = [] 84 | 85 | init(duration: CFTimeInterval, animations: Animation...) { 86 | let animationSequence = CAAnimationGroup() 87 | animationSequence.animations = [] 88 | animationSequence.duration = duration 89 | animationSequence.isRemovedOnCompletion = false 90 | animationSequence.fillMode = kCAFillModeForwards 91 | 92 | for animation in animations { 93 | animationSequence.animations?.append(animation.animation!) 94 | } 95 | 96 | self.animations = animations 97 | super.init(animation: animationSequence) 98 | self.animation = animationSequence 99 | } 100 | 101 | override func runAnimationOnLayer(_ layer: CAShapeLayer) { 102 | for animation in animations { 103 | animation.beforeAction?() 104 | } 105 | 106 | super.runAnimationOnLayer(layer) 107 | } 108 | } 109 | 110 | /// Sequence of animation appearing one after another 111 | class AnimationSequence: CAAnimation { 112 | 113 | fileprivate var animations: [Animation] = [] 114 | fileprivate var layer: CAShapeLayer? 115 | fileprivate var index: Int = 0 116 | 117 | // MARK: Add animations 118 | 119 | func addDelay(duration: CFTimeInterval) { 120 | let animation = CABasicAnimation(keyPath: nil) 121 | animation.duration = duration 122 | animation.delegate = self 123 | animations.append(Animation(animation: animation)) 124 | } 125 | 126 | func addDelay( 127 | duration: CFTimeInterval, 128 | beforeAction before: (() -> Void)?, 129 | afterAction after: (() -> Void)?) 130 | { 131 | let caAnimation = CABasicAnimation(keyPath: nil) 132 | caAnimation.duration = duration 133 | caAnimation.fillMode = kCAFillModeForwards 134 | caAnimation.delegate = self 135 | 136 | let animation = Animation(animation: caAnimation) 137 | animation.beforeAction = before 138 | animation.afterAction = after 139 | animations.append(animation) 140 | } 141 | 142 | func add(caAnimation: CAAnimation) { 143 | caAnimation.delegate = self 144 | caAnimation.fillMode = kCAFillModeForwards 145 | animations.append(Animation(animation: caAnimation)) 146 | } 147 | 148 | func add(animation: Animation) { 149 | animation.animation?.delegate = self 150 | animations.append(animation) 151 | } 152 | 153 | // MARK: Perform animation 154 | 155 | func runAnimationsOnLayer(_ layer: CAShapeLayer) { 156 | guard let animation = animations.first else { return } 157 | 158 | self.index = 0 159 | self.layer = layer 160 | 161 | animation.runAnimationOnLayer(layer) 162 | } 163 | } 164 | 165 | /// `CAAnimationDelegate` protocol implementation 166 | extension AnimationSequence: CAAnimationDelegate { 167 | 168 | public func animationDidStart(_ anim: CAAnimation) { } 169 | 170 | public func animationDidStop(_ anim: CAAnimation, finished flag: Bool) { 171 | guard flag else { return } 172 | 173 | animations[index].afterAction?() 174 | index += 1 175 | 176 | guard index < animations.count else { 177 | return 178 | } 179 | 180 | let animation = animations[index] 181 | animation.beforeAction?() 182 | 183 | guard let caAnimation = animation.animation else { return } 184 | self.layer?.add(caAnimation, forKey: nil) 185 | } 186 | } 187 | -------------------------------------------------------------------------------- /LikeAnimation/Classes/LikeAnimation.swift: -------------------------------------------------------------------------------- 1 | // 2 | // LikeAnimation.swift 3 | // Pods 4 | // 5 | // Created by Anatoliy Voropay on 3/15/17. 6 | // 7 | // 8 | 9 | import UIKit 10 | 11 | /// Handle view events 12 | public protocol LikeAnimationDelegate : class { 13 | 14 | /// Animation will begin event 15 | func likeAnimationWillBegin(view: LikeAnimation) 16 | 17 | /// Animation did end event 18 | func likeAnimationDidEnd(view: LikeAnimation) 19 | } 20 | 21 | /// LikeAnimation 22 | public class LikeAnimation: UIView { 23 | 24 | // MARK: Constatns 25 | 26 | public struct Constants { 27 | 28 | /// Duration min and max time intervals 29 | public static let DurationMin = TimeInterval(0.5) 30 | public static let DurationMax = TimeInterval(3) 31 | 32 | /// Circles min and max count 33 | public static let CirclesMin = 0 34 | public static let CirclesMax = 3 35 | 36 | /// Main particles min and max count 37 | public static let MainParticlesMin = 3 38 | public static let MainParticlesMax = 13 39 | 40 | /// Small particles min and max count 41 | public static let SmallParticlesMin = 0 42 | public static let SmallParticlesMax = 13 43 | } 44 | 45 | // MARK: Customization 46 | 47 | /// Animation duration time 48 | public var duration: TimeInterval = TimeInterval(1.5) 49 | 50 | /// Color of a heart 51 | public var heartColors: (initial: UIColor, animated: UIColor) = (.white, .white) 52 | 53 | /// Number of circles in animation 54 | public var circlesCounter: Int = 1 55 | 56 | /// Color of the particles 57 | public var particlesColor: UIColor = .white 58 | 59 | public var delegate: LikeAnimationDelegate? 60 | 61 | /// Particles counter. 62 | /// 63 | /// * main: 64 | /// Big particles count. They are placed on equal angel between each other. 65 | /// I.e. if number of main particles is 7 there will be 360 / 8 = 45 degrees betwen every 66 | /// particle. 67 | /// 68 | /// * small: 69 | /// Number of smaller particles between two main particles. 70 | public var particlesCounter: (main: Int, small: Int) = (6, 7) 71 | 72 | /// Show animation 73 | public func run() { 74 | guard checkProperties() else { return } 75 | 76 | layer.addSublayer(circleLayer) 77 | layer.addSublayer(heartLayer) 78 | layer.addSublayer(particlesLayer) 79 | 80 | delegate?.likeAnimationWillBegin(view: self) 81 | 82 | runCircleAnimations() 83 | runHeartAnimations() 84 | runParticleAnimations() 85 | 86 | perform(#selector(animationComplete), with: nil, afterDelay: duration * 2) 87 | } 88 | 89 | @objc private func animationComplete() { 90 | delegate?.likeAnimationDidEnd(view: self) 91 | } 92 | 93 | // MARK: Private 94 | 95 | private lazy var circleLayer: CAShapeLayer = { 96 | let layer = CAShapeLayer() 97 | layer.strokeColor = self.particlesColor.cgColor 98 | layer.fillColor = UIColor.clear.cgColor 99 | layer.frame = self.bounds 100 | layer.fillMode = kCAFillModeBoth 101 | layer.lineWidth = 0.5 102 | layer.shadowColor = UIColor.black.cgColor 103 | layer.shadowRadius = 3.0 104 | layer.shadowOpacity = 0.4 105 | layer.shadowOffset = CGSize(width: 0, height: 0) 106 | return layer 107 | }() 108 | 109 | private lazy var heartLayer: CAShapeLayer = { 110 | let layer = CAShapeLayer() 111 | layer.fillColor = self.heartColors.0.cgColor 112 | layer.fillMode = kCAFillModeForwards 113 | layer.frame = self.bounds 114 | layer.shadowColor = UIColor.black.cgColor 115 | layer.shadowRadius = 7.0 116 | layer.shadowOpacity = 0.4 117 | layer.shadowOffset = CGSize(width: 0, height: 0) 118 | return layer 119 | }() 120 | 121 | private lazy var particlesLayer: CAShapeLayer = { 122 | let layer = CAShapeLayer() 123 | layer.fillColor = self.particlesColor.cgColor 124 | layer.fillMode = kCAFillModeForwards 125 | layer.frame = self.bounds 126 | layer.shadowColor = UIColor.black.cgColor 127 | layer.shadowRadius = 3.0 128 | layer.shadowOpacity = 0.4 129 | layer.shadowOffset = CGSize(width: 0, height: 0) 130 | return layer 131 | }() 132 | 133 | // MARK: Circle 134 | 135 | fileprivate func runCircleAnimations() { 136 | let sequence = AnimationSequence() 137 | 138 | sequence.addDelay( 139 | duration: duration / 5 + duration / 20, 140 | beforeAction: { 141 | self.circleLayer.opacity = 0 142 | }, afterAction: { 143 | self.circleLayer.opacity = 1 144 | }) 145 | 146 | sequence.add( 147 | animation: AnimationGroup( 148 | duration: duration / 2, 149 | animations: 150 | Animation(p: "path", f: circlePath(radius: 0).cgPath, 151 | t: circlePath(radius: frame.height / 2).cgPath, 152 | d: duration / 3, b: nil, a: nil), 153 | Animation(p: "lineWidth", f: bounds.height / 3, t: 0.5, 154 | d: duration / 3, b: nil, a: nil) 155 | )) 156 | 157 | sequence.add( 158 | animation: Animation(p: "opacity", f: 1, t: 0, d: duration / 5, b: nil, a: nil)) 159 | 160 | circleLayer.path = circlePath(radius: frame.height / 2).cgPath 161 | sequence.runAnimationsOnLayer(circleLayer) 162 | } 163 | 164 | private func circlePath(radius: CGFloat) -> UIBezierPath { 165 | guard circlesCounter > 0 else { return UIBezierPath() } 166 | 167 | let path = UIBezierPath() 168 | for i in 0.. UIBezierPath { 237 | let path = UIBezierPath() 238 | let factor = CGFloat(6) 239 | let topSpace = self.bounds.height / 20 240 | let bounds = CGRect(x: self.bounds.width / factor, 241 | y: topSpace + self.bounds.height / factor, 242 | width: self.bounds.width - 2 * ( self.bounds.width / factor ), 243 | height: self.bounds.height - 2 * (self.bounds.height / factor )) 244 | // Bottom center 245 | 246 | path.move(to: CGPoint(x: bounds.origin.x + bounds.size.width / 2, 247 | y: bounds.origin.y + bounds.size.height)) 248 | 249 | let to11 = CGPoint(x: bounds.origin.x, 250 | y: bounds.origin.y + (bounds.size.height / 4)) 251 | let cp11 = CGPoint(x: bounds.origin.x + (bounds.size.width / 2), 252 | y: bounds.origin.y + bounds.size.height) 253 | let cp12 = CGPoint(x: bounds.origin.x, 254 | y: bounds.origin.y + (bounds.size.height / 2)) 255 | path.addCurve(to: to11, controlPoint1: cp11, controlPoint2: cp12) 256 | 257 | let c21 = CGPoint(x: bounds.origin.x + (bounds.size.width / 4), 258 | y: bounds.origin.y + (bounds.size.height / 4)) 259 | path.addArc(withCenter: c21, 260 | radius: bounds.size.width / 4, 261 | startAngle: CGFloat(M_PI), 262 | endAngle: 0, 263 | clockwise: true) 264 | 265 | let c32 = CGPoint(x: bounds.origin.x + bounds.size.width * 3 / 4, 266 | y: bounds.origin.y + bounds.size.height / 4) 267 | path.addArc(withCenter: c32, 268 | radius: bounds.size.width / 4, 269 | startAngle: CGFloat(M_PI), 270 | endAngle: 0, 271 | clockwise: true) 272 | 273 | let to41 = CGPoint(x: bounds.origin.x + bounds.size.width / 2, 274 | y: bounds.origin.y + bounds.size.height) 275 | let cp41 = CGPoint(x: bounds.origin.x + bounds.size.width, 276 | y: bounds.origin.y + (bounds.size.height / 2)) 277 | let cp42 = CGPoint(x: bounds.origin.x + (bounds.size.width / 2), 278 | y: bounds.origin.y + bounds.size.height) 279 | path.addCurve(to: to41, controlPoint1: cp41, controlPoint2: cp42) 280 | 281 | path.close() 282 | return path 283 | } 284 | 285 | // MARK: Particles 286 | 287 | private func runParticleAnimations() { 288 | let sequence = AnimationSequence() 289 | sequence.addDelay(duration: duration / 5 + duration / 20 + duration / 3 * 0.85) 290 | sequence.add( 291 | animation: AnimationGroup( 292 | duration: duration / 5, 293 | animations: 294 | Animation( 295 | p: "opacity", f: 0, t: 1, d: duration / 5, 296 | b: { 297 | self.particlesLayer.path = self.particlesPath(scale: 0, reverse: false).cgPath 298 | }, a: { 299 | 300 | }), 301 | Animation( 302 | p: "path", f: particlesPath(scale: 0, reverse: false).cgPath, 303 | t: particlesPath(scale: 0.5, reverse: false).cgPath, 304 | d: duration / 5, 305 | b: nil, 306 | a: nil) 307 | )) 308 | sequence.add( 309 | animation: AnimationGroup( 310 | duration: duration / 3, 311 | animations: 312 | Animation( 313 | p: "path", f: particlesPath(scale: 0.5, reverse: false).cgPath, 314 | t: particlesPath(scale: 1, reverse: true).cgPath, 315 | d: duration / 3, 316 | b: nil, a: { 317 | self.particlesLayer.opacity = 0 318 | }) 319 | )) 320 | 321 | sequence.runAnimationsOnLayer(particlesLayer) 322 | } 323 | 324 | private func particlesPath(scale: CGFloat, reverse: Bool) -> UIBezierPath { 325 | let path = UIBezierPath() 326 | let center = CGPoint(x: frame.width / 2, y: frame.height / 2) 327 | let mainAngel = M_PI * 2 / Double(particlesCounter.main) 328 | let mainSubangel = mainAngel / Double((particlesCounter.small + 1)) 329 | 330 | func quadratic(_ i: CGFloat) -> CGFloat { 331 | if i >= 0.1 && i < 0.2 { return 0.1 } 332 | else if i >= 0.2 && i < 0.3 { return 0.3 } 333 | else if i >= 0.3 && i < 0.4 { return 0.6 } 334 | else if i >= 0.4 && i < 0.5 { return 0.85 } 335 | else if i >= 0.5 && i < 0.6 { return 0.1 } 336 | else if i >= 0.6 && i < 0.7 { return 0.85 } 337 | else if i >= 0.7 && i < 0.8 { return 0.6 } 338 | else if i >= 0.8 && i < 0.9 { return 0.3 } 339 | else { return 0 } 340 | } 341 | 342 | for i in 0.. Bool { 383 | guard superview != nil else { 384 | assertionFailure("LikeAnimation should be added to any view") 385 | return false 386 | } 387 | 388 | guard circlesCounter >= Constants.CirclesMin && circlesCounter <= Constants.CirclesMax else { 389 | assertionFailure("Aninmation circles counter should be in range \(Constants.CirclesMin)...\(Constants.CirclesMax)") 390 | return false 391 | } 392 | 393 | guard particlesCounter.main >= Constants.MainParticlesMin && particlesCounter.main <= Constants.MainParticlesMax else { 394 | assertionFailure("Main particles counter should be in range \(Constants.MainParticlesMin)...\(Constants.MainParticlesMax)") 395 | return false 396 | } 397 | 398 | guard particlesCounter.small >= Constants.SmallParticlesMin && particlesCounter.main <= Constants.SmallParticlesMax else { 399 | assertionFailure("Small particles counter should be in range \(Constants.SmallParticlesMin)...\(Constants.SmallParticlesMax)") 400 | return false 401 | } 402 | 403 | guard duration >= Constants.DurationMin && duration <= Constants.DurationMax else { 404 | assertionFailure("Duration should be in range \(Constants.DurationMin)...\(Constants.DurationMax)") 405 | return false 406 | } 407 | 408 | return true 409 | } 410 | } 411 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Like Animation for iOS 2 | 3 | ![LikeAnimation](https://cloud.githubusercontent.com/assets/1595032/24006198/c4096c5a-0a73-11e7-890b-e5f0266e95b4.gif) 4 | 5 | [![CI Status](http://img.shields.io/travis/anatoliyv/LikeAnimation.svg?style=flat)](https://travis-ci.org/anatoliyv/LikeAnimation) 6 | [![Version](https://img.shields.io/cocoapods/v/LikeAnimation.svg?style=flat)](http://cocoapods.org/pods/LikeAnimation) 7 | [![License](https://img.shields.io/cocoapods/l/LikeAnimation.svg?style=flat)](http://cocoapods.org/pods/LikeAnimation) 8 | [![Platform](https://img.shields.io/cocoapods/p/LikeAnimation.svg?style=flat)](http://cocoapods.org/pods/LikeAnimation) 9 | 10 | Like animation (heart beating): 11 | 12 | - [x] Easy to add to your project 13 | - [x] Customizable colors 14 | - [x] Customizable particles 15 | - [x] Has delegation to handle `willBegin` and `didEnd` events 16 | 17 | ## Example 18 | 19 | To run the example project, clone the repo, and run `pod install` from the Example directory first to select best 20 | properties suitable for your project. 21 | 22 | ## Requirements 23 | 24 | Swift 3 and iOS 9.0 25 | 26 | ## Installation 27 | 28 | LikeAnimation is available through [CocoaPods](http://cocoapods.org). To install 29 | it, simply add the following line to your Podfile: 30 | 31 | ```ruby 32 | pod "LikeAnimation" 33 | ``` 34 | 35 | ## Usage 36 | 37 | Create an animation. 38 | 39 | ``` 40 | let likeAnimation = LikeAnimation(frame: CGRect(origin: yourPlaceholderView.center, size: CGSize(width: 100, height: 100))) 41 | yourPlaceholderView.addSubview(likeAnimation) 42 | ``` 43 | 44 | Customize duration to 1.5 seconds. 45 | 46 | ``` 47 | likeAnimation.duration = 1.5 48 | ``` 49 | 50 | Customize particles counters. 51 | 52 | ``` 53 | likeAnimation.circlesCounter = 1 // One cirlce 54 | likeAnimation.particlesCounter.main = 6 // 6 big particles 55 | likeAnimation.particlesCounter.small = 7 // 7 particles between big particles 56 | ``` 57 | 58 | Customize colors if required. Default fill color is white for all elements. 59 | 60 | ``` 61 | likeAnimation.heartColors.initial = .white 62 | likeAnimation.heartColors.animated = .orange 63 | likeAnimation.particlesColor = .orange 64 | ``` 65 | 66 | Set delegate methods: 67 | 68 | ``` 69 | likeAnimation.delegate = self 70 | ``` 71 | 72 | in your delegate implementation 73 | 74 | ``` 75 | func likeAnimationWillBegin(view: LikeAnimation) { 76 | print("Like animation will start") 77 | } 78 | 79 | func likeAnimationDidEnd(view: LikeAnimation) { 80 | print("Like animation ended") 81 | } 82 | ``` 83 | 84 | Run 85 | 86 | ``` 87 | likeAnimation.run() 88 | ``` 89 | 90 | ## Project using LikeAnimation 91 | 92 | Using LikeAnimation in you project? Make a pull request to add your app to this list. 93 | 94 | - [FlyFlasher](https://itunes.apple.com/us/app/flyflasher-a-worldwide-fly-tying-community/id828509959) 95 | 96 | ## Author 97 | 98 | - anatoliy.voropay@gmail.com 99 | - [@anatoliyv](https://twitter.com/anatoliyv) 100 | - [LinkedIn](https://www.linkedin.com/in/anatoliyvoropay) 101 | 102 | ## License 103 | 104 | LikeAnimation is available under the MIT license. See the LICENSE file for more info. 105 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj --------------------------------------------------------------------------------