├── .gitignore ├── .travis.yml ├── Assets ├── Color.gif ├── Progress.gif ├── ProgressText.gif ├── amplitude.gif └── theme.png ├── Example ├── HeartLoadingView.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── HeartLoadingView-Example.xcscheme ├── HeartLoadingView.xcworkspace │ └── contents.xcworkspacedata ├── HeartLoadingView │ ├── AppDelegate.swift │ ├── Base.lproj │ │ └── Main.storyboard │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ └── ViewController.swift ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── HeartLoadingView.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ ├── project.pbxproj │ │ ├── project.xcworkspace │ │ │ └── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ └── HeartLoadingView.xcscheme │ └── Target Support Files │ │ ├── HeartLoadingView │ │ ├── HeartLoadingView-dummy.m │ │ ├── HeartLoadingView-prefix.pch │ │ ├── HeartLoadingView-umbrella.h │ │ ├── HeartLoadingView.modulemap │ │ ├── HeartLoadingView.xcconfig │ │ └── Info.plist │ │ ├── Pods-HeartLoadingView_Example │ │ ├── Info.plist │ │ ├── Pods-HeartLoadingView_Example-acknowledgements.markdown │ │ ├── Pods-HeartLoadingView_Example-acknowledgements.plist │ │ ├── Pods-HeartLoadingView_Example-dummy.m │ │ ├── Pods-HeartLoadingView_Example-frameworks.sh │ │ ├── Pods-HeartLoadingView_Example-resources.sh │ │ ├── Pods-HeartLoadingView_Example-umbrella.h │ │ ├── Pods-HeartLoadingView_Example.debug.xcconfig │ │ ├── Pods-HeartLoadingView_Example.modulemap │ │ └── Pods-HeartLoadingView_Example.release.xcconfig │ │ └── Pods-HeartLoadingView_Tests │ │ ├── Info.plist │ │ ├── Pods-HeartLoadingView_Tests-acknowledgements.markdown │ │ ├── Pods-HeartLoadingView_Tests-acknowledgements.plist │ │ ├── Pods-HeartLoadingView_Tests-dummy.m │ │ ├── Pods-HeartLoadingView_Tests-frameworks.sh │ │ ├── Pods-HeartLoadingView_Tests-resources.sh │ │ ├── Pods-HeartLoadingView_Tests-umbrella.h │ │ ├── Pods-HeartLoadingView_Tests.debug.xcconfig │ │ ├── Pods-HeartLoadingView_Tests.modulemap │ │ └── Pods-HeartLoadingView_Tests.release.xcconfig └── Tests │ ├── Info.plist │ └── Tests.swift ├── HeartLoadingView.podspec ├── HeartLoadingView ├── Assets │ └── .gitkeep └── Classes │ ├── HeartLoadingView.swift │ ├── Int+Radians.swift │ └── UIBezierPath+Heart.swift ├── LICENSE ├── README.md └── _Pods.xcodeproj /.gitignore: -------------------------------------------------------------------------------- 1 | # OS X 2 | .DS_Store 3 | 4 | # Xcode 5 | build/ 6 | *.pbxuser 7 | !default.pbxuser 8 | *.mode1v3 9 | !default.mode1v3 10 | *.mode2v3 11 | !default.mode2v3 12 | *.perspectivev3 13 | !default.perspectivev3 14 | xcuserdata/ 15 | *.xccheckout 16 | profile 17 | *.moved-aside 18 | DerivedData 19 | *.hmap 20 | *.ipa 21 | 22 | # Bundler 23 | .bundle 24 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * http://www.objc.io/issue-6/travis-ci.html 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | osx_image: xcode7.3 6 | language: objective-c 7 | # cache: cocoapods 8 | # podfile: Example/Podfile 9 | # before_install: 10 | # - gem install cocoapods # Since Travis is not always on latest version 11 | # - pod install --project-directory=Example 12 | script: 13 | - set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/HeartLoadingView.xcworkspace -scheme HeartLoadingView-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /Assets/Color.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShvetsDima/HeartLoadingView/e16404c4e1a7c74ae5ba157b1807838e21e2f933/Assets/Color.gif -------------------------------------------------------------------------------- /Assets/Progress.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShvetsDima/HeartLoadingView/e16404c4e1a7c74ae5ba157b1807838e21e2f933/Assets/Progress.gif -------------------------------------------------------------------------------- /Assets/ProgressText.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShvetsDima/HeartLoadingView/e16404c4e1a7c74ae5ba157b1807838e21e2f933/Assets/ProgressText.gif -------------------------------------------------------------------------------- /Assets/amplitude.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShvetsDima/HeartLoadingView/e16404c4e1a7c74ae5ba157b1807838e21e2f933/Assets/amplitude.gif -------------------------------------------------------------------------------- /Assets/theme.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShvetsDima/HeartLoadingView/e16404c4e1a7c74ae5ba157b1807838e21e2f933/Assets/theme.png -------------------------------------------------------------------------------- /Example/HeartLoadingView.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 267100963E8EBF049A984DFF /* Pods_HeartLoadingView_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D3E3A2FF5C7B621A30E6C8CF /* Pods_HeartLoadingView_Example.framework */; }; 11 | 4B34A63FA9B63BE1B5394850 /* Pods_HeartLoadingView_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D6C8C68F63F8E7E424999C17 /* Pods_HeartLoadingView_Tests.framework */; }; 12 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 13 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 14 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 15 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 16 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 17 | /* End PBXBuildFile section */ 18 | 19 | /* Begin PBXContainerItemProxy section */ 20 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 21 | isa = PBXContainerItemProxy; 22 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 23 | proxyType = 1; 24 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 25 | remoteInfo = HeartLoadingView; 26 | }; 27 | /* End PBXContainerItemProxy section */ 28 | 29 | /* Begin PBXFileReference section */ 30 | 10444BC42E7932615932A528 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 31 | 525C32BF4E2F2D1A574E5FD8 /* Pods-HeartLoadingView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HeartLoadingView_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-HeartLoadingView_Tests/Pods-HeartLoadingView_Tests.debug.xcconfig"; sourceTree = ""; }; 32 | 553EE8DE6BBFCFBF5DDCE10F /* HeartLoadingView.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = HeartLoadingView.podspec; path = ../HeartLoadingView.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 33 | 607FACD01AFB9204008FA782 /* HeartLoadingView_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HeartLoadingView_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 34 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 35 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 36 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 37 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 38 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 39 | 607FACE51AFB9204008FA782 /* HeartLoadingView_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = HeartLoadingView_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 40 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 41 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 42 | 6A8A4A008128F4B98AECDFC6 /* Pods-HeartLoadingView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HeartLoadingView_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-HeartLoadingView_Example/Pods-HeartLoadingView_Example.debug.xcconfig"; sourceTree = ""; }; 43 | 6C9D560CDAD4809AB5C4AFF9 /* Pods-HeartLoadingView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HeartLoadingView_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-HeartLoadingView_Tests/Pods-HeartLoadingView_Tests.release.xcconfig"; sourceTree = ""; }; 44 | BFA18DD588753F15221E0F82 /* Pods-HeartLoadingView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HeartLoadingView_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-HeartLoadingView_Example/Pods-HeartLoadingView_Example.release.xcconfig"; sourceTree = ""; }; 45 | D3E3A2FF5C7B621A30E6C8CF /* Pods_HeartLoadingView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_HeartLoadingView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 46 | D6C8C68F63F8E7E424999C17 /* Pods_HeartLoadingView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_HeartLoadingView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 47 | E35566D871538E8B6D65D774 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 48 | /* End PBXFileReference section */ 49 | 50 | /* Begin PBXFrameworksBuildPhase section */ 51 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 52 | isa = PBXFrameworksBuildPhase; 53 | buildActionMask = 2147483647; 54 | files = ( 55 | 267100963E8EBF049A984DFF /* Pods_HeartLoadingView_Example.framework in Frameworks */, 56 | ); 57 | runOnlyForDeploymentPostprocessing = 0; 58 | }; 59 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 60 | isa = PBXFrameworksBuildPhase; 61 | buildActionMask = 2147483647; 62 | files = ( 63 | 4B34A63FA9B63BE1B5394850 /* Pods_HeartLoadingView_Tests.framework in Frameworks */, 64 | ); 65 | runOnlyForDeploymentPostprocessing = 0; 66 | }; 67 | /* End PBXFrameworksBuildPhase section */ 68 | 69 | /* Begin PBXGroup section */ 70 | 2B8E4C7612173E6AAED826FF /* Pods */ = { 71 | isa = PBXGroup; 72 | children = ( 73 | 6A8A4A008128F4B98AECDFC6 /* Pods-HeartLoadingView_Example.debug.xcconfig */, 74 | BFA18DD588753F15221E0F82 /* Pods-HeartLoadingView_Example.release.xcconfig */, 75 | 525C32BF4E2F2D1A574E5FD8 /* Pods-HeartLoadingView_Tests.debug.xcconfig */, 76 | 6C9D560CDAD4809AB5C4AFF9 /* Pods-HeartLoadingView_Tests.release.xcconfig */, 77 | ); 78 | name = Pods; 79 | sourceTree = ""; 80 | }; 81 | 607FACC71AFB9204008FA782 = { 82 | isa = PBXGroup; 83 | children = ( 84 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 85 | 607FACD21AFB9204008FA782 /* Example for HeartLoadingView */, 86 | 607FACE81AFB9204008FA782 /* Tests */, 87 | 607FACD11AFB9204008FA782 /* Products */, 88 | 2B8E4C7612173E6AAED826FF /* Pods */, 89 | D580105F95314C1B52502F23 /* Frameworks */, 90 | ); 91 | sourceTree = ""; 92 | }; 93 | 607FACD11AFB9204008FA782 /* Products */ = { 94 | isa = PBXGroup; 95 | children = ( 96 | 607FACD01AFB9204008FA782 /* HeartLoadingView_Example.app */, 97 | 607FACE51AFB9204008FA782 /* HeartLoadingView_Tests.xctest */, 98 | ); 99 | name = Products; 100 | sourceTree = ""; 101 | }; 102 | 607FACD21AFB9204008FA782 /* Example for HeartLoadingView */ = { 103 | isa = PBXGroup; 104 | children = ( 105 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 106 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 107 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 108 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 109 | 607FACD31AFB9204008FA782 /* Supporting Files */, 110 | ); 111 | name = "Example for HeartLoadingView"; 112 | path = HeartLoadingView; 113 | sourceTree = ""; 114 | }; 115 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 116 | isa = PBXGroup; 117 | children = ( 118 | 607FACD41AFB9204008FA782 /* Info.plist */, 119 | ); 120 | name = "Supporting Files"; 121 | sourceTree = ""; 122 | }; 123 | 607FACE81AFB9204008FA782 /* Tests */ = { 124 | isa = PBXGroup; 125 | children = ( 126 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 127 | 607FACE91AFB9204008FA782 /* Supporting Files */, 128 | ); 129 | path = Tests; 130 | sourceTree = ""; 131 | }; 132 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 133 | isa = PBXGroup; 134 | children = ( 135 | 607FACEA1AFB9204008FA782 /* Info.plist */, 136 | ); 137 | name = "Supporting Files"; 138 | sourceTree = ""; 139 | }; 140 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 141 | isa = PBXGroup; 142 | children = ( 143 | 553EE8DE6BBFCFBF5DDCE10F /* HeartLoadingView.podspec */, 144 | 10444BC42E7932615932A528 /* README.md */, 145 | E35566D871538E8B6D65D774 /* LICENSE */, 146 | ); 147 | name = "Podspec Metadata"; 148 | sourceTree = ""; 149 | }; 150 | D580105F95314C1B52502F23 /* Frameworks */ = { 151 | isa = PBXGroup; 152 | children = ( 153 | D3E3A2FF5C7B621A30E6C8CF /* Pods_HeartLoadingView_Example.framework */, 154 | D6C8C68F63F8E7E424999C17 /* Pods_HeartLoadingView_Tests.framework */, 155 | ); 156 | name = Frameworks; 157 | sourceTree = ""; 158 | }; 159 | /* End PBXGroup section */ 160 | 161 | /* Begin PBXNativeTarget section */ 162 | 607FACCF1AFB9204008FA782 /* HeartLoadingView_Example */ = { 163 | isa = PBXNativeTarget; 164 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "HeartLoadingView_Example" */; 165 | buildPhases = ( 166 | 0B2733F0498ECEDB63A9DA7A /* [CP] Check Pods Manifest.lock */, 167 | 607FACCC1AFB9204008FA782 /* Sources */, 168 | 607FACCD1AFB9204008FA782 /* Frameworks */, 169 | 607FACCE1AFB9204008FA782 /* Resources */, 170 | 7EF73424C1FA3EC5B927AE8C /* [CP] Embed Pods Frameworks */, 171 | 0C300EDAC338D1D0CFD99427 /* [CP] Copy Pods Resources */, 172 | ); 173 | buildRules = ( 174 | ); 175 | dependencies = ( 176 | ); 177 | name = HeartLoadingView_Example; 178 | productName = HeartLoadingView; 179 | productReference = 607FACD01AFB9204008FA782 /* HeartLoadingView_Example.app */; 180 | productType = "com.apple.product-type.application"; 181 | }; 182 | 607FACE41AFB9204008FA782 /* HeartLoadingView_Tests */ = { 183 | isa = PBXNativeTarget; 184 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "HeartLoadingView_Tests" */; 185 | buildPhases = ( 186 | 763C64E7D0BCAD9A45E9ACB1 /* [CP] Check Pods Manifest.lock */, 187 | 607FACE11AFB9204008FA782 /* Sources */, 188 | 607FACE21AFB9204008FA782 /* Frameworks */, 189 | 607FACE31AFB9204008FA782 /* Resources */, 190 | 898C1C21AB7C29B43EC49202 /* [CP] Embed Pods Frameworks */, 191 | 534D8C1290FE150A60D8487F /* [CP] Copy Pods Resources */, 192 | ); 193 | buildRules = ( 194 | ); 195 | dependencies = ( 196 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 197 | ); 198 | name = HeartLoadingView_Tests; 199 | productName = Tests; 200 | productReference = 607FACE51AFB9204008FA782 /* HeartLoadingView_Tests.xctest */; 201 | productType = "com.apple.product-type.bundle.unit-test"; 202 | }; 203 | /* End PBXNativeTarget section */ 204 | 205 | /* Begin PBXProject section */ 206 | 607FACC81AFB9204008FA782 /* Project object */ = { 207 | isa = PBXProject; 208 | attributes = { 209 | LastSwiftUpdateCheck = 0830; 210 | LastUpgradeCheck = 0830; 211 | ORGANIZATIONNAME = CocoaPods; 212 | TargetAttributes = { 213 | 607FACCF1AFB9204008FA782 = { 214 | CreatedOnToolsVersion = 6.3.1; 215 | DevelopmentTeam = WP76D762Y9; 216 | LastSwiftMigration = 0900; 217 | }; 218 | 607FACE41AFB9204008FA782 = { 219 | CreatedOnToolsVersion = 6.3.1; 220 | DevelopmentTeam = WP76D762Y9; 221 | LastSwiftMigration = 0900; 222 | TestTargetID = 607FACCF1AFB9204008FA782; 223 | }; 224 | }; 225 | }; 226 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "HeartLoadingView" */; 227 | compatibilityVersion = "Xcode 3.2"; 228 | developmentRegion = English; 229 | hasScannedForEncodings = 0; 230 | knownRegions = ( 231 | en, 232 | Base, 233 | ); 234 | mainGroup = 607FACC71AFB9204008FA782; 235 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 236 | projectDirPath = ""; 237 | projectRoot = ""; 238 | targets = ( 239 | 607FACCF1AFB9204008FA782 /* HeartLoadingView_Example */, 240 | 607FACE41AFB9204008FA782 /* HeartLoadingView_Tests */, 241 | ); 242 | }; 243 | /* End PBXProject section */ 244 | 245 | /* Begin PBXResourcesBuildPhase section */ 246 | 607FACCE1AFB9204008FA782 /* Resources */ = { 247 | isa = PBXResourcesBuildPhase; 248 | buildActionMask = 2147483647; 249 | files = ( 250 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 251 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 252 | ); 253 | runOnlyForDeploymentPostprocessing = 0; 254 | }; 255 | 607FACE31AFB9204008FA782 /* Resources */ = { 256 | isa = PBXResourcesBuildPhase; 257 | buildActionMask = 2147483647; 258 | files = ( 259 | ); 260 | runOnlyForDeploymentPostprocessing = 0; 261 | }; 262 | /* End PBXResourcesBuildPhase section */ 263 | 264 | /* Begin PBXShellScriptBuildPhase section */ 265 | 0B2733F0498ECEDB63A9DA7A /* [CP] Check Pods Manifest.lock */ = { 266 | isa = PBXShellScriptBuildPhase; 267 | buildActionMask = 2147483647; 268 | files = ( 269 | ); 270 | inputPaths = ( 271 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 272 | "${PODS_ROOT}/Manifest.lock", 273 | ); 274 | name = "[CP] Check Pods Manifest.lock"; 275 | outputPaths = ( 276 | "$(DERIVED_FILE_DIR)/Pods-HeartLoadingView_Example-checkManifestLockResult.txt", 277 | ); 278 | runOnlyForDeploymentPostprocessing = 0; 279 | shellPath = /bin/sh; 280 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/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# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 281 | showEnvVarsInLog = 0; 282 | }; 283 | 0C300EDAC338D1D0CFD99427 /* [CP] Copy Pods Resources */ = { 284 | isa = PBXShellScriptBuildPhase; 285 | buildActionMask = 2147483647; 286 | files = ( 287 | ); 288 | inputPaths = ( 289 | ); 290 | name = "[CP] Copy Pods Resources"; 291 | outputPaths = ( 292 | ); 293 | runOnlyForDeploymentPostprocessing = 0; 294 | shellPath = /bin/sh; 295 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-HeartLoadingView_Example/Pods-HeartLoadingView_Example-resources.sh\"\n"; 296 | showEnvVarsInLog = 0; 297 | }; 298 | 534D8C1290FE150A60D8487F /* [CP] Copy Pods Resources */ = { 299 | isa = PBXShellScriptBuildPhase; 300 | buildActionMask = 2147483647; 301 | files = ( 302 | ); 303 | inputPaths = ( 304 | ); 305 | name = "[CP] Copy Pods Resources"; 306 | outputPaths = ( 307 | ); 308 | runOnlyForDeploymentPostprocessing = 0; 309 | shellPath = /bin/sh; 310 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-HeartLoadingView_Tests/Pods-HeartLoadingView_Tests-resources.sh\"\n"; 311 | showEnvVarsInLog = 0; 312 | }; 313 | 763C64E7D0BCAD9A45E9ACB1 /* [CP] Check Pods Manifest.lock */ = { 314 | isa = PBXShellScriptBuildPhase; 315 | buildActionMask = 2147483647; 316 | files = ( 317 | ); 318 | inputPaths = ( 319 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 320 | "${PODS_ROOT}/Manifest.lock", 321 | ); 322 | name = "[CP] Check Pods Manifest.lock"; 323 | outputPaths = ( 324 | "$(DERIVED_FILE_DIR)/Pods-HeartLoadingView_Tests-checkManifestLockResult.txt", 325 | ); 326 | runOnlyForDeploymentPostprocessing = 0; 327 | shellPath = /bin/sh; 328 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/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# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 329 | showEnvVarsInLog = 0; 330 | }; 331 | 7EF73424C1FA3EC5B927AE8C /* [CP] Embed Pods Frameworks */ = { 332 | isa = PBXShellScriptBuildPhase; 333 | buildActionMask = 2147483647; 334 | files = ( 335 | ); 336 | inputPaths = ( 337 | "${SRCROOT}/Pods/Target Support Files/Pods-HeartLoadingView_Example/Pods-HeartLoadingView_Example-frameworks.sh", 338 | "${BUILT_PRODUCTS_DIR}/HeartLoadingView/HeartLoadingView.framework", 339 | ); 340 | name = "[CP] Embed Pods Frameworks"; 341 | outputPaths = ( 342 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/HeartLoadingView.framework", 343 | ); 344 | runOnlyForDeploymentPostprocessing = 0; 345 | shellPath = /bin/sh; 346 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-HeartLoadingView_Example/Pods-HeartLoadingView_Example-frameworks.sh\"\n"; 347 | showEnvVarsInLog = 0; 348 | }; 349 | 898C1C21AB7C29B43EC49202 /* [CP] Embed Pods Frameworks */ = { 350 | isa = PBXShellScriptBuildPhase; 351 | buildActionMask = 2147483647; 352 | files = ( 353 | ); 354 | inputPaths = ( 355 | ); 356 | name = "[CP] Embed Pods Frameworks"; 357 | outputPaths = ( 358 | ); 359 | runOnlyForDeploymentPostprocessing = 0; 360 | shellPath = /bin/sh; 361 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-HeartLoadingView_Tests/Pods-HeartLoadingView_Tests-frameworks.sh\"\n"; 362 | showEnvVarsInLog = 0; 363 | }; 364 | /* End PBXShellScriptBuildPhase section */ 365 | 366 | /* Begin PBXSourcesBuildPhase section */ 367 | 607FACCC1AFB9204008FA782 /* Sources */ = { 368 | isa = PBXSourcesBuildPhase; 369 | buildActionMask = 2147483647; 370 | files = ( 371 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 372 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 373 | ); 374 | runOnlyForDeploymentPostprocessing = 0; 375 | }; 376 | 607FACE11AFB9204008FA782 /* Sources */ = { 377 | isa = PBXSourcesBuildPhase; 378 | buildActionMask = 2147483647; 379 | files = ( 380 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 381 | ); 382 | runOnlyForDeploymentPostprocessing = 0; 383 | }; 384 | /* End PBXSourcesBuildPhase section */ 385 | 386 | /* Begin PBXTargetDependency section */ 387 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 388 | isa = PBXTargetDependency; 389 | target = 607FACCF1AFB9204008FA782 /* HeartLoadingView_Example */; 390 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 391 | }; 392 | /* End PBXTargetDependency section */ 393 | 394 | /* Begin PBXVariantGroup section */ 395 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 396 | isa = PBXVariantGroup; 397 | children = ( 398 | 607FACDA1AFB9204008FA782 /* Base */, 399 | ); 400 | name = Main.storyboard; 401 | sourceTree = ""; 402 | }; 403 | /* End PBXVariantGroup section */ 404 | 405 | /* Begin XCBuildConfiguration section */ 406 | 607FACED1AFB9204008FA782 /* Debug */ = { 407 | isa = XCBuildConfiguration; 408 | buildSettings = { 409 | ALWAYS_SEARCH_USER_PATHS = NO; 410 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 411 | CLANG_CXX_LIBRARY = "libc++"; 412 | CLANG_ENABLE_MODULES = YES; 413 | CLANG_ENABLE_OBJC_ARC = YES; 414 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 415 | CLANG_WARN_BOOL_CONVERSION = YES; 416 | CLANG_WARN_COMMA = YES; 417 | CLANG_WARN_CONSTANT_CONVERSION = YES; 418 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 419 | CLANG_WARN_EMPTY_BODY = YES; 420 | CLANG_WARN_ENUM_CONVERSION = YES; 421 | CLANG_WARN_INFINITE_RECURSION = YES; 422 | CLANG_WARN_INT_CONVERSION = YES; 423 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 424 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 425 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 426 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 427 | CLANG_WARN_STRICT_PROTOTYPES = YES; 428 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 429 | CLANG_WARN_UNREACHABLE_CODE = YES; 430 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 431 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 432 | COPY_PHASE_STRIP = NO; 433 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 434 | ENABLE_STRICT_OBJC_MSGSEND = YES; 435 | ENABLE_TESTABILITY = YES; 436 | GCC_C_LANGUAGE_STANDARD = gnu99; 437 | GCC_DYNAMIC_NO_PIC = NO; 438 | GCC_NO_COMMON_BLOCKS = YES; 439 | GCC_OPTIMIZATION_LEVEL = 0; 440 | GCC_PREPROCESSOR_DEFINITIONS = ( 441 | "DEBUG=1", 442 | "$(inherited)", 443 | ); 444 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 445 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 446 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 447 | GCC_WARN_UNDECLARED_SELECTOR = YES; 448 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 449 | GCC_WARN_UNUSED_FUNCTION = YES; 450 | GCC_WARN_UNUSED_VARIABLE = YES; 451 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 452 | MTL_ENABLE_DEBUG_INFO = YES; 453 | ONLY_ACTIVE_ARCH = YES; 454 | SDKROOT = iphoneos; 455 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 456 | }; 457 | name = Debug; 458 | }; 459 | 607FACEE1AFB9204008FA782 /* Release */ = { 460 | isa = XCBuildConfiguration; 461 | buildSettings = { 462 | ALWAYS_SEARCH_USER_PATHS = NO; 463 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 464 | CLANG_CXX_LIBRARY = "libc++"; 465 | CLANG_ENABLE_MODULES = YES; 466 | CLANG_ENABLE_OBJC_ARC = YES; 467 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 468 | CLANG_WARN_BOOL_CONVERSION = YES; 469 | CLANG_WARN_COMMA = YES; 470 | CLANG_WARN_CONSTANT_CONVERSION = YES; 471 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 472 | CLANG_WARN_EMPTY_BODY = YES; 473 | CLANG_WARN_ENUM_CONVERSION = YES; 474 | CLANG_WARN_INFINITE_RECURSION = YES; 475 | CLANG_WARN_INT_CONVERSION = YES; 476 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 477 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 478 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 479 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 480 | CLANG_WARN_STRICT_PROTOTYPES = YES; 481 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 482 | CLANG_WARN_UNREACHABLE_CODE = YES; 483 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 484 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 485 | COPY_PHASE_STRIP = NO; 486 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 487 | ENABLE_NS_ASSERTIONS = NO; 488 | ENABLE_STRICT_OBJC_MSGSEND = YES; 489 | GCC_C_LANGUAGE_STANDARD = gnu99; 490 | GCC_NO_COMMON_BLOCKS = YES; 491 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 492 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 493 | GCC_WARN_UNDECLARED_SELECTOR = YES; 494 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 495 | GCC_WARN_UNUSED_FUNCTION = YES; 496 | GCC_WARN_UNUSED_VARIABLE = YES; 497 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 498 | MTL_ENABLE_DEBUG_INFO = NO; 499 | SDKROOT = iphoneos; 500 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 501 | VALIDATE_PRODUCT = YES; 502 | }; 503 | name = Release; 504 | }; 505 | 607FACF01AFB9204008FA782 /* Debug */ = { 506 | isa = XCBuildConfiguration; 507 | baseConfigurationReference = 6A8A4A008128F4B98AECDFC6 /* Pods-HeartLoadingView_Example.debug.xcconfig */; 508 | buildSettings = { 509 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 510 | DEVELOPMENT_TEAM = WP76D762Y9; 511 | INFOPLIST_FILE = HeartLoadingView/Info.plist; 512 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 513 | MODULE_NAME = ExampleApp; 514 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 515 | PRODUCT_NAME = "$(TARGET_NAME)"; 516 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 517 | SWIFT_VERSION = 4.0; 518 | }; 519 | name = Debug; 520 | }; 521 | 607FACF11AFB9204008FA782 /* Release */ = { 522 | isa = XCBuildConfiguration; 523 | baseConfigurationReference = BFA18DD588753F15221E0F82 /* Pods-HeartLoadingView_Example.release.xcconfig */; 524 | buildSettings = { 525 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 526 | DEVELOPMENT_TEAM = WP76D762Y9; 527 | INFOPLIST_FILE = HeartLoadingView/Info.plist; 528 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 529 | MODULE_NAME = ExampleApp; 530 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 531 | PRODUCT_NAME = "$(TARGET_NAME)"; 532 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 533 | SWIFT_VERSION = 4.0; 534 | }; 535 | name = Release; 536 | }; 537 | 607FACF31AFB9204008FA782 /* Debug */ = { 538 | isa = XCBuildConfiguration; 539 | baseConfigurationReference = 525C32BF4E2F2D1A574E5FD8 /* Pods-HeartLoadingView_Tests.debug.xcconfig */; 540 | buildSettings = { 541 | DEVELOPMENT_TEAM = WP76D762Y9; 542 | FRAMEWORK_SEARCH_PATHS = ( 543 | "$(SDKROOT)/Developer/Library/Frameworks", 544 | "$(inherited)", 545 | ); 546 | GCC_PREPROCESSOR_DEFINITIONS = ( 547 | "DEBUG=1", 548 | "$(inherited)", 549 | ); 550 | INFOPLIST_FILE = Tests/Info.plist; 551 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 552 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 553 | PRODUCT_NAME = "$(TARGET_NAME)"; 554 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 555 | SWIFT_VERSION = 4.0; 556 | }; 557 | name = Debug; 558 | }; 559 | 607FACF41AFB9204008FA782 /* Release */ = { 560 | isa = XCBuildConfiguration; 561 | baseConfigurationReference = 6C9D560CDAD4809AB5C4AFF9 /* Pods-HeartLoadingView_Tests.release.xcconfig */; 562 | buildSettings = { 563 | DEVELOPMENT_TEAM = WP76D762Y9; 564 | FRAMEWORK_SEARCH_PATHS = ( 565 | "$(SDKROOT)/Developer/Library/Frameworks", 566 | "$(inherited)", 567 | ); 568 | INFOPLIST_FILE = Tests/Info.plist; 569 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 570 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 571 | PRODUCT_NAME = "$(TARGET_NAME)"; 572 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 573 | SWIFT_VERSION = 4.0; 574 | }; 575 | name = Release; 576 | }; 577 | /* End XCBuildConfiguration section */ 578 | 579 | /* Begin XCConfigurationList section */ 580 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "HeartLoadingView" */ = { 581 | isa = XCConfigurationList; 582 | buildConfigurations = ( 583 | 607FACED1AFB9204008FA782 /* Debug */, 584 | 607FACEE1AFB9204008FA782 /* Release */, 585 | ); 586 | defaultConfigurationIsVisible = 0; 587 | defaultConfigurationName = Release; 588 | }; 589 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "HeartLoadingView_Example" */ = { 590 | isa = XCConfigurationList; 591 | buildConfigurations = ( 592 | 607FACF01AFB9204008FA782 /* Debug */, 593 | 607FACF11AFB9204008FA782 /* Release */, 594 | ); 595 | defaultConfigurationIsVisible = 0; 596 | defaultConfigurationName = Release; 597 | }; 598 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "HeartLoadingView_Tests" */ = { 599 | isa = XCConfigurationList; 600 | buildConfigurations = ( 601 | 607FACF31AFB9204008FA782 /* Debug */, 602 | 607FACF41AFB9204008FA782 /* Release */, 603 | ); 604 | defaultConfigurationIsVisible = 0; 605 | defaultConfigurationName = Release; 606 | }; 607 | /* End XCConfigurationList section */ 608 | }; 609 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 610 | } 611 | -------------------------------------------------------------------------------- /Example/HeartLoadingView.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/HeartLoadingView.xcodeproj/xcshareddata/xcschemes/HeartLoadingView-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 45 | 46 | 48 | 54 | 55 | 56 | 57 | 58 | 64 | 65 | 66 | 67 | 68 | 69 | 80 | 82 | 88 | 89 | 90 | 91 | 92 | 93 | 99 | 101 | 107 | 108 | 109 | 110 | 112 | 113 | 116 | 117 | 118 | -------------------------------------------------------------------------------- /Example/HeartLoadingView.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/HeartLoadingView/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // HeartLoadingView 4 | // 5 | // Created by Dima Shvets on 02/25/2018. 6 | // Copyright (c) 2018 Dima Shvets. 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/HeartLoadingView/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 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 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 | 68 | 69 | 70 | 71 | 77 | 83 | 89 | 90 | 91 | 92 | 93 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | -------------------------------------------------------------------------------- /Example/HeartLoadingView/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 | "idiom" : "ios-marketing", 45 | "size" : "1024x1024", 46 | "scale" : "1x" 47 | } 48 | ], 49 | "info" : { 50 | "version" : 1, 51 | "author" : "xcode" 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /Example/HeartLoadingView/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 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /Example/HeartLoadingView/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // HeartLoadingView 4 | // 5 | // Created by Dima Shvets on 02/25/2018. 6 | // Copyright (c) 2018 Dima Shvets. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import HeartLoadingView 11 | 12 | class ViewController: UIViewController { 13 | 14 | @IBOutlet weak var loadingView: HeartLoadingView! 15 | 16 | override func viewDidLoad() { 17 | super.viewDidLoad() 18 | } 19 | 20 | func getRandomColor() -> UIColor { 21 | let red = CGFloat(drand48()) 22 | let green = CGFloat(drand48()) 23 | let blue = CGFloat(drand48()) 24 | return UIColor(red:red, green: green, blue: blue, alpha: 1.0) 25 | } 26 | 27 | } 28 | 29 | extension ViewController { 30 | 31 | @IBAction func didChangeProgress(_ sender: UISlider) { 32 | loadingView.progress = Double(sender.value) 33 | } 34 | 35 | @IBAction func didChangeAmplitude(_ sender: UISlider) { 36 | loadingView.heartAmplitude = Double(sender.value) 37 | } 38 | 39 | @IBAction func didShowProgressText(_ sender: UISwitch) { 40 | loadingView.isShowProgressText = sender.isOn 41 | } 42 | 43 | @IBAction func changeColor(_ sender: UIButton) { 44 | let randomColor = self.getRandomColor() 45 | loadingView.heavyHeartColor = randomColor 46 | loadingView.lightHeartColor = randomColor.withAlphaComponent(0.5) 47 | loadingView.fillHeartColor = randomColor.withAlphaComponent(0.2) 48 | 49 | } 50 | 51 | } 52 | 53 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'HeartLoadingView_Example' do 4 | pod 'HeartLoadingView', :path => '../' 5 | 6 | target 'HeartLoadingView_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - HeartLoadingView (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - HeartLoadingView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | HeartLoadingView: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | HeartLoadingView: 83f48ff81fdf61909aa3443a39307c48b1313cb6 13 | 14 | PODFILE CHECKSUM: 593999bc3f31ccca1f3aec6298849e286c1791d6 15 | 16 | COCOAPODS: 1.4.0 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/HeartLoadingView.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "HeartLoadingView", 3 | "version": "0.1.0", 4 | "summary": "A short description of HeartLoadingView.", 5 | "description": "TODO: Add long description of the pod here.", 6 | "homepage": "https://github.com/Dima Shvets/HeartLoadingView", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "Dima Shvets": "aoedima@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/Dima Shvets/HeartLoadingView.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "8.0" 20 | }, 21 | "source_files": "HeartLoadingView/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - HeartLoadingView (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - HeartLoadingView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | HeartLoadingView: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | HeartLoadingView: 83f48ff81fdf61909aa3443a39307c48b1313cb6 13 | 14 | PODFILE CHECKSUM: 593999bc3f31ccca1f3aec6298849e286c1791d6 15 | 16 | COCOAPODS: 1.4.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 | 2912B47220432C52007E99DD /* HeartLoadingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2912B47120432C52007E99DD /* HeartLoadingView.swift */; }; 11 | 2917A89220488F07004A8E1A /* UIBezierPath+Heart.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2917A89120488F07004A8E1A /* UIBezierPath+Heart.swift */; }; 12 | 2917A89420488F46004A8E1A /* Int+Radians.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2917A89320488F46004A8E1A /* Int+Radians.swift */; }; 13 | 2965B6D3ACB77F96DA7A9FA084BE2409 /* HeartLoadingView-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 857B8B0045C9DC75A43DD0F79C23C20E /* HeartLoadingView-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 14 | 2F3D83181DF7AEE36F46B4B9DECA382C /* Pods-HeartLoadingView_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 81AA61FD21E16D73C4E9A9E739902A8E /* Pods-HeartLoadingView_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 15 | 364473B036088D07BBC8ECDF255EDC5D /* HeartLoadingView-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 9F3EEAAD72347191CF501A773EE5560A /* HeartLoadingView-dummy.m */; }; 16 | 5820199D64C7F90A62A982546417947F /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 17 | 68D058A299DE152C24FE734D23F9FA9A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 18 | 8C7F740731321228ECB8358705E0E085 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 19 | 9E38DC440C61508F4DEF96FB9A9DCB6E /* Pods-HeartLoadingView_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 011132E5595A0CAD8A4D667E10051D0B /* Pods-HeartLoadingView_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 20 | A97442824D2CC5E11A8C2F97D2948D7E /* Pods-HeartLoadingView_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 59F3BB9C28188F738FDBBB5C2C6DFD13 /* Pods-HeartLoadingView_Example-dummy.m */; }; 21 | AD95208719AAE36D18662A5CB63BA037 /* Pods-HeartLoadingView_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 1EA5D0B55A67753A68B20B445F357EA6 /* Pods-HeartLoadingView_Tests-dummy.m */; }; 22 | /* End PBXBuildFile section */ 23 | 24 | /* Begin PBXContainerItemProxy section */ 25 | 28DDEB7A66FC9AF2C4DE7771CD2ACD1D /* PBXContainerItemProxy */ = { 26 | isa = PBXContainerItemProxy; 27 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 28 | proxyType = 1; 29 | remoteGlobalIDString = 500818D063EF9FA100C0BA27111444B1; 30 | remoteInfo = HeartLoadingView; 31 | }; 32 | /* End PBXContainerItemProxy section */ 33 | 34 | /* Begin PBXFileReference section */ 35 | 011132E5595A0CAD8A4D667E10051D0B /* Pods-HeartLoadingView_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-HeartLoadingView_Example-umbrella.h"; sourceTree = ""; }; 36 | 0A9D3CB7D19CD42400F4C3DA93D0F81F /* HeartLoadingView.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; path = HeartLoadingView.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 37 | 1112E922395DDF422C0496C5B8550EE2 /* Pods-HeartLoadingView_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-HeartLoadingView_Example.modulemap"; sourceTree = ""; }; 38 | 1E959CEEBF4C6FCFBB5CF5617744EE48 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; 39 | 1EA5D0B55A67753A68B20B445F357EA6 /* Pods-HeartLoadingView_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-HeartLoadingView_Tests-dummy.m"; sourceTree = ""; }; 40 | 260E87F1AE7190229FD578AA70FA3E1F /* Pods-HeartLoadingView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-HeartLoadingView_Tests.debug.xcconfig"; sourceTree = ""; }; 41 | 2912B47120432C52007E99DD /* HeartLoadingView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HeartLoadingView.swift; sourceTree = ""; }; 42 | 2917A89120488F07004A8E1A /* UIBezierPath+Heart.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UIBezierPath+Heart.swift"; sourceTree = ""; }; 43 | 2917A89320488F46004A8E1A /* Int+Radians.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Int+Radians.swift"; sourceTree = ""; }; 44 | 335C6062CEE41C9D5C8C6621FDD467AC /* Pods_HeartLoadingView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_HeartLoadingView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 45 | 4195C25C1638A0B634A192D8B6A7747A /* Pods-HeartLoadingView_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-HeartLoadingView_Example-resources.sh"; sourceTree = ""; }; 46 | 4F0D14D20D1460B272FCDE37EC445AC9 /* HeartLoadingView.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = HeartLoadingView.xcconfig; sourceTree = ""; }; 47 | 5034B63D8B9999ABAD85482EB719B83B /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 48 | 514625DA8BD3A0BE7E22D4DE7CA1C18A /* Pods-HeartLoadingView_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-HeartLoadingView_Example-acknowledgements.plist"; sourceTree = ""; }; 49 | 54315B478F50B19DFD0C725E6FCFFBF9 /* Pods-HeartLoadingView_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-HeartLoadingView_Example-frameworks.sh"; sourceTree = ""; }; 50 | 59F3BB9C28188F738FDBBB5C2C6DFD13 /* Pods-HeartLoadingView_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-HeartLoadingView_Example-dummy.m"; sourceTree = ""; }; 51 | 621245B67F03C92B1FC974E037665564 /* HeartLoadingView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = HeartLoadingView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 52 | 6403B5B35D40B9E352CB34AA0C32B1BD /* Pods-HeartLoadingView_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-HeartLoadingView_Tests.modulemap"; sourceTree = ""; }; 53 | 64DCF8F4A31D9D79B0516318D2A3DE95 /* Pods-HeartLoadingView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-HeartLoadingView_Tests.release.xcconfig"; sourceTree = ""; }; 54 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 55 | 69D112848CA9F29945DA6898EBDB9DB4 /* Pods-HeartLoadingView_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-HeartLoadingView_Tests-acknowledgements.plist"; sourceTree = ""; }; 56 | 6C60B0D8D73411D8AD70DE140744289F /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 57 | 6FD05065C74229E2BA6FA4E7E8402AD4 /* Pods-HeartLoadingView_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-HeartLoadingView_Tests-frameworks.sh"; sourceTree = ""; }; 58 | 7040EA122F1E3AF0DB866869A605DE8A /* Pods-HeartLoadingView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-HeartLoadingView_Example.debug.xcconfig"; sourceTree = ""; }; 59 | 73A8FA90C1CF81354B5470E43833DDC5 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 60 | 7645514F30CA4431FAA27615AAF907C1 /* HeartLoadingView.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = HeartLoadingView.modulemap; sourceTree = ""; }; 61 | 81AA61FD21E16D73C4E9A9E739902A8E /* Pods-HeartLoadingView_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-HeartLoadingView_Tests-umbrella.h"; sourceTree = ""; }; 62 | 857B8B0045C9DC75A43DD0F79C23C20E /* HeartLoadingView-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "HeartLoadingView-umbrella.h"; sourceTree = ""; }; 63 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 64 | 969B2A539AAE0FB27C106E7F65C88745 /* Pods_HeartLoadingView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_HeartLoadingView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 65 | 9F3EEAAD72347191CF501A773EE5560A /* HeartLoadingView-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "HeartLoadingView-dummy.m"; sourceTree = ""; }; 66 | A28893DD16AF91364BF8DA39D21937D8 /* Pods-HeartLoadingView_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-HeartLoadingView_Example-acknowledgements.markdown"; sourceTree = ""; }; 67 | AB8252F316CFDF7D9CFBB5D449EEB35F /* Pods-HeartLoadingView_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-HeartLoadingView_Tests-resources.sh"; sourceTree = ""; }; 68 | B4643DDC64A5249D0088442B3D62DDDC /* Pods-HeartLoadingView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-HeartLoadingView_Example.release.xcconfig"; sourceTree = ""; }; 69 | BF81B92417ABA73982EB8A2BA1CF5AB3 /* Pods-HeartLoadingView_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-HeartLoadingView_Tests-acknowledgements.markdown"; sourceTree = ""; }; 70 | C34218E0CCB0E104F2F03354399AABCD /* HeartLoadingView-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "HeartLoadingView-prefix.pch"; sourceTree = ""; }; 71 | C909B19A65E1431D8FFB5FEC1B4FEA3A /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; 72 | /* End PBXFileReference section */ 73 | 74 | /* Begin PBXFrameworksBuildPhase section */ 75 | 12788FC6960A65AFADD22A04104EF3F8 /* Frameworks */ = { 76 | isa = PBXFrameworksBuildPhase; 77 | buildActionMask = 2147483647; 78 | files = ( 79 | 8C7F740731321228ECB8358705E0E085 /* Foundation.framework in Frameworks */, 80 | ); 81 | runOnlyForDeploymentPostprocessing = 0; 82 | }; 83 | B911A80F39A52C24452F9CBD3A5A4B9D /* Frameworks */ = { 84 | isa = PBXFrameworksBuildPhase; 85 | buildActionMask = 2147483647; 86 | files = ( 87 | 5820199D64C7F90A62A982546417947F /* Foundation.framework in Frameworks */, 88 | ); 89 | runOnlyForDeploymentPostprocessing = 0; 90 | }; 91 | FBDBFF445A72C4955AC79DC49A011452 /* Frameworks */ = { 92 | isa = PBXFrameworksBuildPhase; 93 | buildActionMask = 2147483647; 94 | files = ( 95 | 68D058A299DE152C24FE734D23F9FA9A /* Foundation.framework in Frameworks */, 96 | ); 97 | runOnlyForDeploymentPostprocessing = 0; 98 | }; 99 | /* End PBXFrameworksBuildPhase section */ 100 | 101 | /* Begin PBXGroup section */ 102 | 2912B46F20432C25007E99DD /* Classes */ = { 103 | isa = PBXGroup; 104 | children = ( 105 | 2912B47120432C52007E99DD /* HeartLoadingView.swift */, 106 | 2917A89320488F46004A8E1A /* Int+Radians.swift */, 107 | 2917A89120488F07004A8E1A /* UIBezierPath+Heart.swift */, 108 | ); 109 | name = Classes; 110 | path = HeartLoadingView/Classes; 111 | sourceTree = ""; 112 | }; 113 | 361C2439C3AF014D154ECA5565D18F38 /* Development Pods */ = { 114 | isa = PBXGroup; 115 | children = ( 116 | B5D0C8AD79C0C3663A70FDFB9B9E55F8 /* HeartLoadingView */, 117 | ); 118 | name = "Development Pods"; 119 | sourceTree = ""; 120 | }; 121 | 4149D2E37D37D89DB0F557846673479B /* Pod */ = { 122 | isa = PBXGroup; 123 | children = ( 124 | 2912B46F20432C25007E99DD /* Classes */, 125 | 0A9D3CB7D19CD42400F4C3DA93D0F81F /* HeartLoadingView.podspec */, 126 | C909B19A65E1431D8FFB5FEC1B4FEA3A /* LICENSE */, 127 | 1E959CEEBF4C6FCFBB5CF5617744EE48 /* README.md */, 128 | ); 129 | name = Pod; 130 | sourceTree = ""; 131 | }; 132 | 4FDBA368FCED96FEB367BEC104DE8098 /* Targets Support Files */ = { 133 | isa = PBXGroup; 134 | children = ( 135 | 8C0A2670CAC24F99AB4417B1752E4063 /* Pods-HeartLoadingView_Example */, 136 | 5DA599F381635B196F459B8DD73844CD /* Pods-HeartLoadingView_Tests */, 137 | ); 138 | name = "Targets Support Files"; 139 | sourceTree = ""; 140 | }; 141 | 5DA599F381635B196F459B8DD73844CD /* Pods-HeartLoadingView_Tests */ = { 142 | isa = PBXGroup; 143 | children = ( 144 | 5034B63D8B9999ABAD85482EB719B83B /* Info.plist */, 145 | 6403B5B35D40B9E352CB34AA0C32B1BD /* Pods-HeartLoadingView_Tests.modulemap */, 146 | BF81B92417ABA73982EB8A2BA1CF5AB3 /* Pods-HeartLoadingView_Tests-acknowledgements.markdown */, 147 | 69D112848CA9F29945DA6898EBDB9DB4 /* Pods-HeartLoadingView_Tests-acknowledgements.plist */, 148 | 1EA5D0B55A67753A68B20B445F357EA6 /* Pods-HeartLoadingView_Tests-dummy.m */, 149 | 6FD05065C74229E2BA6FA4E7E8402AD4 /* Pods-HeartLoadingView_Tests-frameworks.sh */, 150 | AB8252F316CFDF7D9CFBB5D449EEB35F /* Pods-HeartLoadingView_Tests-resources.sh */, 151 | 81AA61FD21E16D73C4E9A9E739902A8E /* Pods-HeartLoadingView_Tests-umbrella.h */, 152 | 260E87F1AE7190229FD578AA70FA3E1F /* Pods-HeartLoadingView_Tests.debug.xcconfig */, 153 | 64DCF8F4A31D9D79B0516318D2A3DE95 /* Pods-HeartLoadingView_Tests.release.xcconfig */, 154 | ); 155 | name = "Pods-HeartLoadingView_Tests"; 156 | path = "Target Support Files/Pods-HeartLoadingView_Tests"; 157 | sourceTree = ""; 158 | }; 159 | 62CA61C6F2644B859C7EBA021BA1EF5C /* Products */ = { 160 | isa = PBXGroup; 161 | children = ( 162 | 621245B67F03C92B1FC974E037665564 /* HeartLoadingView.framework */, 163 | 335C6062CEE41C9D5C8C6621FDD467AC /* Pods_HeartLoadingView_Example.framework */, 164 | 969B2A539AAE0FB27C106E7F65C88745 /* Pods_HeartLoadingView_Tests.framework */, 165 | ); 166 | name = Products; 167 | sourceTree = ""; 168 | }; 169 | 7DB346D0F39D3F0E887471402A8071AB = { 170 | isa = PBXGroup; 171 | children = ( 172 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 173 | 361C2439C3AF014D154ECA5565D18F38 /* Development Pods */, 174 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 175 | 62CA61C6F2644B859C7EBA021BA1EF5C /* Products */, 176 | 4FDBA368FCED96FEB367BEC104DE8098 /* Targets Support Files */, 177 | ); 178 | sourceTree = ""; 179 | }; 180 | 8C0A2670CAC24F99AB4417B1752E4063 /* Pods-HeartLoadingView_Example */ = { 181 | isa = PBXGroup; 182 | children = ( 183 | 6C60B0D8D73411D8AD70DE140744289F /* Info.plist */, 184 | 1112E922395DDF422C0496C5B8550EE2 /* Pods-HeartLoadingView_Example.modulemap */, 185 | A28893DD16AF91364BF8DA39D21937D8 /* Pods-HeartLoadingView_Example-acknowledgements.markdown */, 186 | 514625DA8BD3A0BE7E22D4DE7CA1C18A /* Pods-HeartLoadingView_Example-acknowledgements.plist */, 187 | 59F3BB9C28188F738FDBBB5C2C6DFD13 /* Pods-HeartLoadingView_Example-dummy.m */, 188 | 54315B478F50B19DFD0C725E6FCFFBF9 /* Pods-HeartLoadingView_Example-frameworks.sh */, 189 | 4195C25C1638A0B634A192D8B6A7747A /* Pods-HeartLoadingView_Example-resources.sh */, 190 | 011132E5595A0CAD8A4D667E10051D0B /* Pods-HeartLoadingView_Example-umbrella.h */, 191 | 7040EA122F1E3AF0DB866869A605DE8A /* Pods-HeartLoadingView_Example.debug.xcconfig */, 192 | B4643DDC64A5249D0088442B3D62DDDC /* Pods-HeartLoadingView_Example.release.xcconfig */, 193 | ); 194 | name = "Pods-HeartLoadingView_Example"; 195 | path = "Target Support Files/Pods-HeartLoadingView_Example"; 196 | sourceTree = ""; 197 | }; 198 | 9E846B8BAFDD2EEBC45C98662DC4087B /* Support Files */ = { 199 | isa = PBXGroup; 200 | children = ( 201 | 7645514F30CA4431FAA27615AAF907C1 /* HeartLoadingView.modulemap */, 202 | 4F0D14D20D1460B272FCDE37EC445AC9 /* HeartLoadingView.xcconfig */, 203 | 9F3EEAAD72347191CF501A773EE5560A /* HeartLoadingView-dummy.m */, 204 | C34218E0CCB0E104F2F03354399AABCD /* HeartLoadingView-prefix.pch */, 205 | 857B8B0045C9DC75A43DD0F79C23C20E /* HeartLoadingView-umbrella.h */, 206 | 73A8FA90C1CF81354B5470E43833DDC5 /* Info.plist */, 207 | ); 208 | name = "Support Files"; 209 | path = "Example/Pods/Target Support Files/HeartLoadingView"; 210 | sourceTree = ""; 211 | }; 212 | B5D0C8AD79C0C3663A70FDFB9B9E55F8 /* HeartLoadingView */ = { 213 | isa = PBXGroup; 214 | children = ( 215 | 4149D2E37D37D89DB0F557846673479B /* Pod */, 216 | 9E846B8BAFDD2EEBC45C98662DC4087B /* Support Files */, 217 | ); 218 | name = HeartLoadingView; 219 | path = ../..; 220 | sourceTree = ""; 221 | }; 222 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 223 | isa = PBXGroup; 224 | children = ( 225 | D35AF013A5F0BAD4F32504907A52519E /* iOS */, 226 | ); 227 | name = Frameworks; 228 | sourceTree = ""; 229 | }; 230 | D35AF013A5F0BAD4F32504907A52519E /* iOS */ = { 231 | isa = PBXGroup; 232 | children = ( 233 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */, 234 | ); 235 | name = iOS; 236 | sourceTree = ""; 237 | }; 238 | /* End PBXGroup section */ 239 | 240 | /* Begin PBXHeadersBuildPhase section */ 241 | 2A3992BF13E64D1E960CBE354C476090 /* Headers */ = { 242 | isa = PBXHeadersBuildPhase; 243 | buildActionMask = 2147483647; 244 | files = ( 245 | 9E38DC440C61508F4DEF96FB9A9DCB6E /* Pods-HeartLoadingView_Example-umbrella.h in Headers */, 246 | ); 247 | runOnlyForDeploymentPostprocessing = 0; 248 | }; 249 | 497D309DF6A8A10B6F2D8DF01A55F6DD /* Headers */ = { 250 | isa = PBXHeadersBuildPhase; 251 | buildActionMask = 2147483647; 252 | files = ( 253 | 2965B6D3ACB77F96DA7A9FA084BE2409 /* HeartLoadingView-umbrella.h in Headers */, 254 | ); 255 | runOnlyForDeploymentPostprocessing = 0; 256 | }; 257 | 50CFADFDC2553F6DC8D69A2D4255671A /* Headers */ = { 258 | isa = PBXHeadersBuildPhase; 259 | buildActionMask = 2147483647; 260 | files = ( 261 | 2F3D83181DF7AEE36F46B4B9DECA382C /* Pods-HeartLoadingView_Tests-umbrella.h in Headers */, 262 | ); 263 | runOnlyForDeploymentPostprocessing = 0; 264 | }; 265 | /* End PBXHeadersBuildPhase section */ 266 | 267 | /* Begin PBXNativeTarget section */ 268 | 10528C9770B09735274614BA2F6C6015 /* Pods-HeartLoadingView_Example */ = { 269 | isa = PBXNativeTarget; 270 | buildConfigurationList = DCAF2D30D0E9367C847ADA4A4177E51E /* Build configuration list for PBXNativeTarget "Pods-HeartLoadingView_Example" */; 271 | buildPhases = ( 272 | 273773F318292483D154264362107CB4 /* Sources */, 273 | 12788FC6960A65AFADD22A04104EF3F8 /* Frameworks */, 274 | 2A3992BF13E64D1E960CBE354C476090 /* Headers */, 275 | ); 276 | buildRules = ( 277 | ); 278 | dependencies = ( 279 | DEAC1AD57B586A4EE764BCBA5F20C15F /* PBXTargetDependency */, 280 | ); 281 | name = "Pods-HeartLoadingView_Example"; 282 | productName = "Pods-HeartLoadingView_Example"; 283 | productReference = 335C6062CEE41C9D5C8C6621FDD467AC /* Pods_HeartLoadingView_Example.framework */; 284 | productType = "com.apple.product-type.framework"; 285 | }; 286 | 467361709ADEA6CEE948190AFB4B0EB9 /* Pods-HeartLoadingView_Tests */ = { 287 | isa = PBXNativeTarget; 288 | buildConfigurationList = 94278B0D66CD8A706FA5493336203D46 /* Build configuration list for PBXNativeTarget "Pods-HeartLoadingView_Tests" */; 289 | buildPhases = ( 290 | 596CDEF996ED0C9BCF67CF26C048C6A6 /* Sources */, 291 | FBDBFF445A72C4955AC79DC49A011452 /* Frameworks */, 292 | 50CFADFDC2553F6DC8D69A2D4255671A /* Headers */, 293 | ); 294 | buildRules = ( 295 | ); 296 | dependencies = ( 297 | ); 298 | name = "Pods-HeartLoadingView_Tests"; 299 | productName = "Pods-HeartLoadingView_Tests"; 300 | productReference = 969B2A539AAE0FB27C106E7F65C88745 /* Pods_HeartLoadingView_Tests.framework */; 301 | productType = "com.apple.product-type.framework"; 302 | }; 303 | 500818D063EF9FA100C0BA27111444B1 /* HeartLoadingView */ = { 304 | isa = PBXNativeTarget; 305 | buildConfigurationList = 806B9A6F788E05F12F083D20308D7BE0 /* Build configuration list for PBXNativeTarget "HeartLoadingView" */; 306 | buildPhases = ( 307 | EE918C4467DA0CD7F162D9424CAAA89D /* Sources */, 308 | B911A80F39A52C24452F9CBD3A5A4B9D /* Frameworks */, 309 | 497D309DF6A8A10B6F2D8DF01A55F6DD /* Headers */, 310 | ); 311 | buildRules = ( 312 | ); 313 | dependencies = ( 314 | ); 315 | name = HeartLoadingView; 316 | productName = HeartLoadingView; 317 | productReference = 621245B67F03C92B1FC974E037665564 /* HeartLoadingView.framework */; 318 | productType = "com.apple.product-type.framework"; 319 | }; 320 | /* End PBXNativeTarget section */ 321 | 322 | /* Begin PBXProject section */ 323 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 324 | isa = PBXProject; 325 | attributes = { 326 | LastSwiftUpdateCheck = 0830; 327 | LastUpgradeCheck = 0920; 328 | TargetAttributes = { 329 | 500818D063EF9FA100C0BA27111444B1 = { 330 | LastSwiftMigration = 0920; 331 | }; 332 | }; 333 | }; 334 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 335 | compatibilityVersion = "Xcode 3.2"; 336 | developmentRegion = English; 337 | hasScannedForEncodings = 0; 338 | knownRegions = ( 339 | en, 340 | ); 341 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 342 | productRefGroup = 62CA61C6F2644B859C7EBA021BA1EF5C /* Products */; 343 | projectDirPath = ""; 344 | projectRoot = ""; 345 | targets = ( 346 | 500818D063EF9FA100C0BA27111444B1 /* HeartLoadingView */, 347 | 10528C9770B09735274614BA2F6C6015 /* Pods-HeartLoadingView_Example */, 348 | 467361709ADEA6CEE948190AFB4B0EB9 /* Pods-HeartLoadingView_Tests */, 349 | ); 350 | }; 351 | /* End PBXProject section */ 352 | 353 | /* Begin PBXSourcesBuildPhase section */ 354 | 273773F318292483D154264362107CB4 /* Sources */ = { 355 | isa = PBXSourcesBuildPhase; 356 | buildActionMask = 2147483647; 357 | files = ( 358 | A97442824D2CC5E11A8C2F97D2948D7E /* Pods-HeartLoadingView_Example-dummy.m in Sources */, 359 | ); 360 | runOnlyForDeploymentPostprocessing = 0; 361 | }; 362 | 596CDEF996ED0C9BCF67CF26C048C6A6 /* Sources */ = { 363 | isa = PBXSourcesBuildPhase; 364 | buildActionMask = 2147483647; 365 | files = ( 366 | AD95208719AAE36D18662A5CB63BA037 /* Pods-HeartLoadingView_Tests-dummy.m in Sources */, 367 | ); 368 | runOnlyForDeploymentPostprocessing = 0; 369 | }; 370 | EE918C4467DA0CD7F162D9424CAAA89D /* Sources */ = { 371 | isa = PBXSourcesBuildPhase; 372 | buildActionMask = 2147483647; 373 | files = ( 374 | 2917A89420488F46004A8E1A /* Int+Radians.swift in Sources */, 375 | 2912B47220432C52007E99DD /* HeartLoadingView.swift in Sources */, 376 | 364473B036088D07BBC8ECDF255EDC5D /* HeartLoadingView-dummy.m in Sources */, 377 | 2917A89220488F07004A8E1A /* UIBezierPath+Heart.swift in Sources */, 378 | ); 379 | runOnlyForDeploymentPostprocessing = 0; 380 | }; 381 | /* End PBXSourcesBuildPhase section */ 382 | 383 | /* Begin PBXTargetDependency section */ 384 | DEAC1AD57B586A4EE764BCBA5F20C15F /* PBXTargetDependency */ = { 385 | isa = PBXTargetDependency; 386 | name = HeartLoadingView; 387 | target = 500818D063EF9FA100C0BA27111444B1 /* HeartLoadingView */; 388 | targetProxy = 28DDEB7A66FC9AF2C4DE7771CD2ACD1D /* PBXContainerItemProxy */; 389 | }; 390 | /* End PBXTargetDependency section */ 391 | 392 | /* Begin XCBuildConfiguration section */ 393 | 33DA7F43A1D2FA3C74A8C8FC246E1FA6 /* Debug */ = { 394 | isa = XCBuildConfiguration; 395 | buildSettings = { 396 | ALWAYS_SEARCH_USER_PATHS = NO; 397 | CLANG_ANALYZER_NONNULL = YES; 398 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 399 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 400 | CLANG_CXX_LIBRARY = "libc++"; 401 | CLANG_ENABLE_MODULES = YES; 402 | CLANG_ENABLE_OBJC_ARC = YES; 403 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 404 | CLANG_WARN_BOOL_CONVERSION = YES; 405 | CLANG_WARN_COMMA = YES; 406 | CLANG_WARN_CONSTANT_CONVERSION = YES; 407 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 408 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 409 | CLANG_WARN_EMPTY_BODY = YES; 410 | CLANG_WARN_ENUM_CONVERSION = YES; 411 | CLANG_WARN_INFINITE_RECURSION = YES; 412 | CLANG_WARN_INT_CONVERSION = YES; 413 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 414 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 415 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 416 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 417 | CLANG_WARN_STRICT_PROTOTYPES = YES; 418 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 419 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 420 | CLANG_WARN_UNREACHABLE_CODE = YES; 421 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 422 | CODE_SIGNING_REQUIRED = NO; 423 | COPY_PHASE_STRIP = NO; 424 | DEBUG_INFORMATION_FORMAT = dwarf; 425 | ENABLE_STRICT_OBJC_MSGSEND = YES; 426 | ENABLE_TESTABILITY = YES; 427 | GCC_C_LANGUAGE_STANDARD = gnu11; 428 | GCC_DYNAMIC_NO_PIC = NO; 429 | GCC_NO_COMMON_BLOCKS = YES; 430 | GCC_OPTIMIZATION_LEVEL = 0; 431 | GCC_PREPROCESSOR_DEFINITIONS = ( 432 | "POD_CONFIGURATION_DEBUG=1", 433 | "DEBUG=1", 434 | "$(inherited)", 435 | ); 436 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 437 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 438 | GCC_WARN_UNDECLARED_SELECTOR = YES; 439 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 440 | GCC_WARN_UNUSED_FUNCTION = YES; 441 | GCC_WARN_UNUSED_VARIABLE = YES; 442 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 443 | MTL_ENABLE_DEBUG_INFO = YES; 444 | ONLY_ACTIVE_ARCH = YES; 445 | PRODUCT_NAME = "$(TARGET_NAME)"; 446 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 447 | STRIP_INSTALLED_PRODUCT = NO; 448 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 449 | SYMROOT = "${SRCROOT}/../build"; 450 | }; 451 | name = Debug; 452 | }; 453 | 39087F09D881BE9773ACB2D30F9C7CD1 /* Release */ = { 454 | isa = XCBuildConfiguration; 455 | baseConfigurationReference = B4643DDC64A5249D0088442B3D62DDDC /* Pods-HeartLoadingView_Example.release.xcconfig */; 456 | buildSettings = { 457 | CODE_SIGN_IDENTITY = ""; 458 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 459 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 460 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 461 | CURRENT_PROJECT_VERSION = 1; 462 | DEFINES_MODULE = YES; 463 | DYLIB_COMPATIBILITY_VERSION = 1; 464 | DYLIB_CURRENT_VERSION = 1; 465 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 466 | INFOPLIST_FILE = "Target Support Files/Pods-HeartLoadingView_Example/Info.plist"; 467 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 468 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 469 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 470 | MACH_O_TYPE = staticlib; 471 | MODULEMAP_FILE = "Target Support Files/Pods-HeartLoadingView_Example/Pods-HeartLoadingView_Example.modulemap"; 472 | OTHER_LDFLAGS = ""; 473 | OTHER_LIBTOOLFLAGS = ""; 474 | PODS_ROOT = "$(SRCROOT)"; 475 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 476 | PRODUCT_NAME = Pods_HeartLoadingView_Example; 477 | SDKROOT = iphoneos; 478 | SKIP_INSTALL = YES; 479 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 480 | TARGETED_DEVICE_FAMILY = "1,2"; 481 | VALIDATE_PRODUCT = YES; 482 | VERSIONING_SYSTEM = "apple-generic"; 483 | VERSION_INFO_PREFIX = ""; 484 | }; 485 | name = Release; 486 | }; 487 | 53059714EE4C0FDDD06894BFD3F4D4A7 /* Debug */ = { 488 | isa = XCBuildConfiguration; 489 | baseConfigurationReference = 260E87F1AE7190229FD578AA70FA3E1F /* Pods-HeartLoadingView_Tests.debug.xcconfig */; 490 | buildSettings = { 491 | CODE_SIGN_IDENTITY = ""; 492 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 493 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 494 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 495 | CURRENT_PROJECT_VERSION = 1; 496 | DEFINES_MODULE = YES; 497 | DYLIB_COMPATIBILITY_VERSION = 1; 498 | DYLIB_CURRENT_VERSION = 1; 499 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 500 | INFOPLIST_FILE = "Target Support Files/Pods-HeartLoadingView_Tests/Info.plist"; 501 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 502 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 503 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 504 | MACH_O_TYPE = staticlib; 505 | MODULEMAP_FILE = "Target Support Files/Pods-HeartLoadingView_Tests/Pods-HeartLoadingView_Tests.modulemap"; 506 | OTHER_LDFLAGS = ""; 507 | OTHER_LIBTOOLFLAGS = ""; 508 | PODS_ROOT = "$(SRCROOT)"; 509 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 510 | PRODUCT_NAME = Pods_HeartLoadingView_Tests; 511 | SDKROOT = iphoneos; 512 | SKIP_INSTALL = YES; 513 | TARGETED_DEVICE_FAMILY = "1,2"; 514 | VERSIONING_SYSTEM = "apple-generic"; 515 | VERSION_INFO_PREFIX = ""; 516 | }; 517 | name = Debug; 518 | }; 519 | 5E42D09317B3886CD0C32984CE40D077 /* Release */ = { 520 | isa = XCBuildConfiguration; 521 | baseConfigurationReference = 64DCF8F4A31D9D79B0516318D2A3DE95 /* Pods-HeartLoadingView_Tests.release.xcconfig */; 522 | buildSettings = { 523 | CODE_SIGN_IDENTITY = ""; 524 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 525 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 526 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 527 | CURRENT_PROJECT_VERSION = 1; 528 | DEFINES_MODULE = YES; 529 | DYLIB_COMPATIBILITY_VERSION = 1; 530 | DYLIB_CURRENT_VERSION = 1; 531 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 532 | INFOPLIST_FILE = "Target Support Files/Pods-HeartLoadingView_Tests/Info.plist"; 533 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 534 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 535 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 536 | MACH_O_TYPE = staticlib; 537 | MODULEMAP_FILE = "Target Support Files/Pods-HeartLoadingView_Tests/Pods-HeartLoadingView_Tests.modulemap"; 538 | OTHER_LDFLAGS = ""; 539 | OTHER_LIBTOOLFLAGS = ""; 540 | PODS_ROOT = "$(SRCROOT)"; 541 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 542 | PRODUCT_NAME = Pods_HeartLoadingView_Tests; 543 | SDKROOT = iphoneos; 544 | SKIP_INSTALL = YES; 545 | TARGETED_DEVICE_FAMILY = "1,2"; 546 | VALIDATE_PRODUCT = YES; 547 | VERSIONING_SYSTEM = "apple-generic"; 548 | VERSION_INFO_PREFIX = ""; 549 | }; 550 | name = Release; 551 | }; 552 | 731DC216E1A58545B559F6E0A2418060 /* Release */ = { 553 | isa = XCBuildConfiguration; 554 | buildSettings = { 555 | ALWAYS_SEARCH_USER_PATHS = NO; 556 | CLANG_ANALYZER_NONNULL = YES; 557 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 558 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 559 | CLANG_CXX_LIBRARY = "libc++"; 560 | CLANG_ENABLE_MODULES = YES; 561 | CLANG_ENABLE_OBJC_ARC = YES; 562 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 563 | CLANG_WARN_BOOL_CONVERSION = YES; 564 | CLANG_WARN_COMMA = YES; 565 | CLANG_WARN_CONSTANT_CONVERSION = YES; 566 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 567 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 568 | CLANG_WARN_EMPTY_BODY = YES; 569 | CLANG_WARN_ENUM_CONVERSION = YES; 570 | CLANG_WARN_INFINITE_RECURSION = YES; 571 | CLANG_WARN_INT_CONVERSION = YES; 572 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 573 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 574 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 575 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 576 | CLANG_WARN_STRICT_PROTOTYPES = YES; 577 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 578 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 579 | CLANG_WARN_UNREACHABLE_CODE = YES; 580 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 581 | CODE_SIGNING_REQUIRED = NO; 582 | COPY_PHASE_STRIP = NO; 583 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 584 | ENABLE_NS_ASSERTIONS = NO; 585 | ENABLE_STRICT_OBJC_MSGSEND = YES; 586 | GCC_C_LANGUAGE_STANDARD = gnu11; 587 | GCC_NO_COMMON_BLOCKS = YES; 588 | GCC_PREPROCESSOR_DEFINITIONS = ( 589 | "POD_CONFIGURATION_RELEASE=1", 590 | "$(inherited)", 591 | ); 592 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 593 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 594 | GCC_WARN_UNDECLARED_SELECTOR = YES; 595 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 596 | GCC_WARN_UNUSED_FUNCTION = YES; 597 | GCC_WARN_UNUSED_VARIABLE = YES; 598 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 599 | MTL_ENABLE_DEBUG_INFO = NO; 600 | PRODUCT_NAME = "$(TARGET_NAME)"; 601 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 602 | STRIP_INSTALLED_PRODUCT = NO; 603 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 604 | SYMROOT = "${SRCROOT}/../build"; 605 | }; 606 | name = Release; 607 | }; 608 | 7C8177DD23341009A51FB9F02C8FB06C /* Debug */ = { 609 | isa = XCBuildConfiguration; 610 | baseConfigurationReference = 7040EA122F1E3AF0DB866869A605DE8A /* Pods-HeartLoadingView_Example.debug.xcconfig */; 611 | buildSettings = { 612 | CODE_SIGN_IDENTITY = ""; 613 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 614 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 615 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 616 | CURRENT_PROJECT_VERSION = 1; 617 | DEFINES_MODULE = YES; 618 | DYLIB_COMPATIBILITY_VERSION = 1; 619 | DYLIB_CURRENT_VERSION = 1; 620 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 621 | INFOPLIST_FILE = "Target Support Files/Pods-HeartLoadingView_Example/Info.plist"; 622 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 623 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 624 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 625 | MACH_O_TYPE = staticlib; 626 | MODULEMAP_FILE = "Target Support Files/Pods-HeartLoadingView_Example/Pods-HeartLoadingView_Example.modulemap"; 627 | OTHER_LDFLAGS = ""; 628 | OTHER_LIBTOOLFLAGS = ""; 629 | PODS_ROOT = "$(SRCROOT)"; 630 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 631 | PRODUCT_NAME = Pods_HeartLoadingView_Example; 632 | SDKROOT = iphoneos; 633 | SKIP_INSTALL = YES; 634 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 635 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 636 | TARGETED_DEVICE_FAMILY = "1,2"; 637 | VERSIONING_SYSTEM = "apple-generic"; 638 | VERSION_INFO_PREFIX = ""; 639 | }; 640 | name = Debug; 641 | }; 642 | D8C5FC49B469D3AC8AABC7E958772D7F /* Release */ = { 643 | isa = XCBuildConfiguration; 644 | baseConfigurationReference = 4F0D14D20D1460B272FCDE37EC445AC9 /* HeartLoadingView.xcconfig */; 645 | buildSettings = { 646 | CLANG_ENABLE_MODULES = YES; 647 | CODE_SIGN_IDENTITY = ""; 648 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 649 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 650 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 651 | CURRENT_PROJECT_VERSION = 1; 652 | DEFINES_MODULE = YES; 653 | DYLIB_COMPATIBILITY_VERSION = 1; 654 | DYLIB_CURRENT_VERSION = 1; 655 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 656 | GCC_PREFIX_HEADER = "Target Support Files/HeartLoadingView/HeartLoadingView-prefix.pch"; 657 | INFOPLIST_FILE = "Target Support Files/HeartLoadingView/Info.plist"; 658 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 659 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 660 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 661 | MODULEMAP_FILE = "Target Support Files/HeartLoadingView/HeartLoadingView.modulemap"; 662 | PRODUCT_NAME = HeartLoadingView; 663 | SDKROOT = iphoneos; 664 | SKIP_INSTALL = YES; 665 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 666 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 667 | SWIFT_VERSION = 4.0; 668 | TARGETED_DEVICE_FAMILY = "1,2"; 669 | VALIDATE_PRODUCT = YES; 670 | VERSIONING_SYSTEM = "apple-generic"; 671 | VERSION_INFO_PREFIX = ""; 672 | }; 673 | name = Release; 674 | }; 675 | E3CF7151A682CE93C1E18B81548E1717 /* Debug */ = { 676 | isa = XCBuildConfiguration; 677 | baseConfigurationReference = 4F0D14D20D1460B272FCDE37EC445AC9 /* HeartLoadingView.xcconfig */; 678 | buildSettings = { 679 | CLANG_ENABLE_MODULES = YES; 680 | CODE_SIGN_IDENTITY = ""; 681 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 682 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 683 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 684 | CURRENT_PROJECT_VERSION = 1; 685 | DEFINES_MODULE = YES; 686 | DYLIB_COMPATIBILITY_VERSION = 1; 687 | DYLIB_CURRENT_VERSION = 1; 688 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 689 | GCC_PREFIX_HEADER = "Target Support Files/HeartLoadingView/HeartLoadingView-prefix.pch"; 690 | INFOPLIST_FILE = "Target Support Files/HeartLoadingView/Info.plist"; 691 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 692 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 693 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 694 | MODULEMAP_FILE = "Target Support Files/HeartLoadingView/HeartLoadingView.modulemap"; 695 | PRODUCT_NAME = HeartLoadingView; 696 | SDKROOT = iphoneos; 697 | SKIP_INSTALL = YES; 698 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 699 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 700 | SWIFT_VERSION = 4.0; 701 | TARGETED_DEVICE_FAMILY = "1,2"; 702 | VERSIONING_SYSTEM = "apple-generic"; 703 | VERSION_INFO_PREFIX = ""; 704 | }; 705 | name = Debug; 706 | }; 707 | /* End XCBuildConfiguration section */ 708 | 709 | /* Begin XCConfigurationList section */ 710 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 711 | isa = XCConfigurationList; 712 | buildConfigurations = ( 713 | 33DA7F43A1D2FA3C74A8C8FC246E1FA6 /* Debug */, 714 | 731DC216E1A58545B559F6E0A2418060 /* Release */, 715 | ); 716 | defaultConfigurationIsVisible = 0; 717 | defaultConfigurationName = Release; 718 | }; 719 | 806B9A6F788E05F12F083D20308D7BE0 /* Build configuration list for PBXNativeTarget "HeartLoadingView" */ = { 720 | isa = XCConfigurationList; 721 | buildConfigurations = ( 722 | E3CF7151A682CE93C1E18B81548E1717 /* Debug */, 723 | D8C5FC49B469D3AC8AABC7E958772D7F /* Release */, 724 | ); 725 | defaultConfigurationIsVisible = 0; 726 | defaultConfigurationName = Release; 727 | }; 728 | 94278B0D66CD8A706FA5493336203D46 /* Build configuration list for PBXNativeTarget "Pods-HeartLoadingView_Tests" */ = { 729 | isa = XCConfigurationList; 730 | buildConfigurations = ( 731 | 53059714EE4C0FDDD06894BFD3F4D4A7 /* Debug */, 732 | 5E42D09317B3886CD0C32984CE40D077 /* Release */, 733 | ); 734 | defaultConfigurationIsVisible = 0; 735 | defaultConfigurationName = Release; 736 | }; 737 | DCAF2D30D0E9367C847ADA4A4177E51E /* Build configuration list for PBXNativeTarget "Pods-HeartLoadingView_Example" */ = { 738 | isa = XCConfigurationList; 739 | buildConfigurations = ( 740 | 7C8177DD23341009A51FB9F02C8FB06C /* Debug */, 741 | 39087F09D881BE9773ACB2D30F9C7CD1 /* Release */, 742 | ); 743 | defaultConfigurationIsVisible = 0; 744 | defaultConfigurationName = Release; 745 | }; 746 | /* End XCConfigurationList section */ 747 | }; 748 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 749 | } 750 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/HeartLoadingView.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 31 | 32 | 33 | 34 | 35 | 36 | 47 | 48 | 54 | 55 | 56 | 57 | 58 | 59 | 65 | 66 | 68 | 69 | 72 | 73 | 74 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/HeartLoadingView/HeartLoadingView-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_HeartLoadingView : NSObject 3 | @end 4 | @implementation PodsDummy_HeartLoadingView 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/HeartLoadingView/HeartLoadingView-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/HeartLoadingView/HeartLoadingView-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 HeartLoadingViewVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char HeartLoadingViewVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/HeartLoadingView/HeartLoadingView.modulemap: -------------------------------------------------------------------------------- 1 | framework module HeartLoadingView { 2 | umbrella header "HeartLoadingView-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/HeartLoadingView/HeartLoadingView.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/HeartLoadingView 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/HeartLoadingView/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.2.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-HeartLoadingView_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-HeartLoadingView_Example/Pods-HeartLoadingView_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## HeartLoadingView 5 | 6 | Copyright (c) 2018 Dima Shvets 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-HeartLoadingView_Example/Pods-HeartLoadingView_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) 2018 Dima Shvets <aoedima@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 | HeartLoadingView 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-HeartLoadingView_Example/Pods-HeartLoadingView_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_HeartLoadingView_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_HeartLoadingView_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-HeartLoadingView_Example/Pods-HeartLoadingView_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 | # Used as a return value for each invocation of `strip_invalid_archs` function. 10 | STRIP_BINARY_RETVAL=0 11 | 12 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 13 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 14 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 15 | 16 | # Copies and strips a vendored framework 17 | install_framework() 18 | { 19 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 20 | local source="${BUILT_PRODUCTS_DIR}/$1" 21 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 22 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 23 | elif [ -r "$1" ]; then 24 | local source="$1" 25 | fi 26 | 27 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 28 | 29 | if [ -L "${source}" ]; then 30 | echo "Symlinked..." 31 | source="$(readlink "${source}")" 32 | fi 33 | 34 | # Use filter instead of exclude so missing patterns don't throw errors. 35 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 36 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 37 | 38 | local basename 39 | basename="$(basename -s .framework "$1")" 40 | binary="${destination}/${basename}.framework/${basename}" 41 | if ! [ -r "$binary" ]; then 42 | binary="${destination}/${basename}" 43 | fi 44 | 45 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 46 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 47 | strip_invalid_archs "$binary" 48 | fi 49 | 50 | # Resign the code if required by the build settings to avoid unstable apps 51 | code_sign_if_enabled "${destination}/$(basename "$1")" 52 | 53 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 54 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 55 | local swift_runtime_libs 56 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 57 | for lib in $swift_runtime_libs; do 58 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 59 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 60 | code_sign_if_enabled "${destination}/${lib}" 61 | done 62 | fi 63 | } 64 | 65 | # Copies and strips a vendored dSYM 66 | install_dsym() { 67 | local source="$1" 68 | if [ -r "$source" ]; then 69 | # Copy the dSYM into a the targets temp dir. 70 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" 71 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" 72 | 73 | local basename 74 | basename="$(basename -s .framework.dSYM "$source")" 75 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 76 | 77 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 78 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 79 | strip_invalid_archs "$binary" 80 | fi 81 | 82 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 83 | # Move the stripped file into its final destination. 84 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 85 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 86 | else 87 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. 88 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 89 | fi 90 | fi 91 | } 92 | 93 | # Signs a framework with the provided identity 94 | code_sign_if_enabled() { 95 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 96 | # Use the current code_sign_identitiy 97 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 98 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 99 | 100 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 101 | code_sign_cmd="$code_sign_cmd &" 102 | fi 103 | echo "$code_sign_cmd" 104 | eval "$code_sign_cmd" 105 | fi 106 | } 107 | 108 | # Strip invalid architectures 109 | strip_invalid_archs() { 110 | binary="$1" 111 | # Get architectures for current target binary 112 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 113 | # Intersect them with the architectures we are building for 114 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 115 | # If there are no archs supported by this binary then warn the user 116 | if [[ -z "$intersected_archs" ]]; then 117 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 118 | STRIP_BINARY_RETVAL=0 119 | return 120 | fi 121 | stripped="" 122 | for arch in $binary_archs; do 123 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 124 | # Strip non-valid architectures in-place 125 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 126 | stripped="$stripped $arch" 127 | fi 128 | done 129 | if [[ "$stripped" ]]; then 130 | echo "Stripped $binary of architectures:$stripped" 131 | fi 132 | STRIP_BINARY_RETVAL=1 133 | } 134 | 135 | 136 | if [[ "$CONFIGURATION" == "Debug" ]]; then 137 | install_framework "${BUILT_PRODUCTS_DIR}/HeartLoadingView/HeartLoadingView.framework" 138 | fi 139 | if [[ "$CONFIGURATION" == "Release" ]]; then 140 | install_framework "${BUILT_PRODUCTS_DIR}/HeartLoadingView/HeartLoadingView.framework" 141 | fi 142 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 143 | wait 144 | fi 145 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-HeartLoadingView_Example/Pods-HeartLoadingView_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 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 12 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 13 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 14 | 15 | case "${TARGETED_DEVICE_FAMILY}" in 16 | 1,2) 17 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 18 | ;; 19 | 1) 20 | TARGET_DEVICE_ARGS="--target-device iphone" 21 | ;; 22 | 2) 23 | TARGET_DEVICE_ARGS="--target-device ipad" 24 | ;; 25 | 3) 26 | TARGET_DEVICE_ARGS="--target-device tv" 27 | ;; 28 | 4) 29 | TARGET_DEVICE_ARGS="--target-device watch" 30 | ;; 31 | *) 32 | TARGET_DEVICE_ARGS="--target-device mac" 33 | ;; 34 | esac 35 | 36 | install_resource() 37 | { 38 | if [[ "$1" = /* ]] ; then 39 | RESOURCE_PATH="$1" 40 | else 41 | RESOURCE_PATH="${PODS_ROOT}/$1" 42 | fi 43 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 44 | cat << EOM 45 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 46 | EOM 47 | exit 1 48 | fi 49 | case $RESOURCE_PATH in 50 | *.storyboard) 51 | 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}" || true 52 | 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} 53 | ;; 54 | *.xib) 55 | 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}" || true 56 | 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} 57 | ;; 58 | *.framework) 59 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 60 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 61 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 62 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 63 | ;; 64 | *.xcdatamodel) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 67 | ;; 68 | *.xcdatamodeld) 69 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 70 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 71 | ;; 72 | *.xcmappingmodel) 73 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 74 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 75 | ;; 76 | *.xcassets) 77 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 78 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 79 | ;; 80 | *) 81 | echo "$RESOURCE_PATH" || true 82 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 83 | ;; 84 | esac 85 | } 86 | 87 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 89 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 90 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 91 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 92 | fi 93 | rm -f "$RESOURCES_TO_COPY" 94 | 95 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 96 | then 97 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 98 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 99 | while read line; do 100 | if [[ $line != "${PODS_ROOT}*" ]]; then 101 | XCASSET_FILES+=("$line") 102 | fi 103 | done <<<"$OTHER_XCASSETS" 104 | 105 | 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}" 106 | fi 107 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-HeartLoadingView_Example/Pods-HeartLoadingView_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_HeartLoadingView_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_HeartLoadingView_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-HeartLoadingView_Example/Pods-HeartLoadingView_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/HeartLoadingView" 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}/HeartLoadingView/HeartLoadingView.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "HeartLoadingView" 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_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-HeartLoadingView_Example/Pods-HeartLoadingView_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_HeartLoadingView_Example { 2 | umbrella header "Pods-HeartLoadingView_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-HeartLoadingView_Example/Pods-HeartLoadingView_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/HeartLoadingView" 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}/HeartLoadingView/HeartLoadingView.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "HeartLoadingView" 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_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-HeartLoadingView_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-HeartLoadingView_Tests/Pods-HeartLoadingView_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-HeartLoadingView_Tests/Pods-HeartLoadingView_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-HeartLoadingView_Tests/Pods-HeartLoadingView_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_HeartLoadingView_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_HeartLoadingView_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-HeartLoadingView_Tests/Pods-HeartLoadingView_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 | # Used as a return value for each invocation of `strip_invalid_archs` function. 10 | STRIP_BINARY_RETVAL=0 11 | 12 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 13 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 14 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 15 | 16 | # Copies and strips a vendored framework 17 | install_framework() 18 | { 19 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 20 | local source="${BUILT_PRODUCTS_DIR}/$1" 21 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 22 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 23 | elif [ -r "$1" ]; then 24 | local source="$1" 25 | fi 26 | 27 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 28 | 29 | if [ -L "${source}" ]; then 30 | echo "Symlinked..." 31 | source="$(readlink "${source}")" 32 | fi 33 | 34 | # Use filter instead of exclude so missing patterns don't throw errors. 35 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 36 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 37 | 38 | local basename 39 | basename="$(basename -s .framework "$1")" 40 | binary="${destination}/${basename}.framework/${basename}" 41 | if ! [ -r "$binary" ]; then 42 | binary="${destination}/${basename}" 43 | fi 44 | 45 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 46 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 47 | strip_invalid_archs "$binary" 48 | fi 49 | 50 | # Resign the code if required by the build settings to avoid unstable apps 51 | code_sign_if_enabled "${destination}/$(basename "$1")" 52 | 53 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 54 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 55 | local swift_runtime_libs 56 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 57 | for lib in $swift_runtime_libs; do 58 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 59 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 60 | code_sign_if_enabled "${destination}/${lib}" 61 | done 62 | fi 63 | } 64 | 65 | # Copies and strips a vendored dSYM 66 | install_dsym() { 67 | local source="$1" 68 | if [ -r "$source" ]; then 69 | # Copy the dSYM into a the targets temp dir. 70 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" 71 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" 72 | 73 | local basename 74 | basename="$(basename -s .framework.dSYM "$source")" 75 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 76 | 77 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 78 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 79 | strip_invalid_archs "$binary" 80 | fi 81 | 82 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 83 | # Move the stripped file into its final destination. 84 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 85 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 86 | else 87 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. 88 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 89 | fi 90 | fi 91 | } 92 | 93 | # Signs a framework with the provided identity 94 | code_sign_if_enabled() { 95 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 96 | # Use the current code_sign_identitiy 97 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 98 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 99 | 100 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 101 | code_sign_cmd="$code_sign_cmd &" 102 | fi 103 | echo "$code_sign_cmd" 104 | eval "$code_sign_cmd" 105 | fi 106 | } 107 | 108 | # Strip invalid architectures 109 | strip_invalid_archs() { 110 | binary="$1" 111 | # Get architectures for current target binary 112 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 113 | # Intersect them with the architectures we are building for 114 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 115 | # If there are no archs supported by this binary then warn the user 116 | if [[ -z "$intersected_archs" ]]; then 117 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 118 | STRIP_BINARY_RETVAL=0 119 | return 120 | fi 121 | stripped="" 122 | for arch in $binary_archs; do 123 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 124 | # Strip non-valid architectures in-place 125 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 126 | stripped="$stripped $arch" 127 | fi 128 | done 129 | if [[ "$stripped" ]]; then 130 | echo "Stripped $binary of architectures:$stripped" 131 | fi 132 | STRIP_BINARY_RETVAL=1 133 | } 134 | 135 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 136 | wait 137 | fi 138 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-HeartLoadingView_Tests/Pods-HeartLoadingView_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 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 12 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 13 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 14 | 15 | case "${TARGETED_DEVICE_FAMILY}" in 16 | 1,2) 17 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 18 | ;; 19 | 1) 20 | TARGET_DEVICE_ARGS="--target-device iphone" 21 | ;; 22 | 2) 23 | TARGET_DEVICE_ARGS="--target-device ipad" 24 | ;; 25 | 3) 26 | TARGET_DEVICE_ARGS="--target-device tv" 27 | ;; 28 | 4) 29 | TARGET_DEVICE_ARGS="--target-device watch" 30 | ;; 31 | *) 32 | TARGET_DEVICE_ARGS="--target-device mac" 33 | ;; 34 | esac 35 | 36 | install_resource() 37 | { 38 | if [[ "$1" = /* ]] ; then 39 | RESOURCE_PATH="$1" 40 | else 41 | RESOURCE_PATH="${PODS_ROOT}/$1" 42 | fi 43 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 44 | cat << EOM 45 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 46 | EOM 47 | exit 1 48 | fi 49 | case $RESOURCE_PATH in 50 | *.storyboard) 51 | 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}" || true 52 | 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} 53 | ;; 54 | *.xib) 55 | 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}" || true 56 | 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} 57 | ;; 58 | *.framework) 59 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 60 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 61 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 62 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 63 | ;; 64 | *.xcdatamodel) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 67 | ;; 68 | *.xcdatamodeld) 69 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 70 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 71 | ;; 72 | *.xcmappingmodel) 73 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 74 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 75 | ;; 76 | *.xcassets) 77 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 78 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 79 | ;; 80 | *) 81 | echo "$RESOURCE_PATH" || true 82 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 83 | ;; 84 | esac 85 | } 86 | 87 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 89 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 90 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 91 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 92 | fi 93 | rm -f "$RESOURCES_TO_COPY" 94 | 95 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 96 | then 97 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 98 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 99 | while read line; do 100 | if [[ $line != "${PODS_ROOT}*" ]]; then 101 | XCASSET_FILES+=("$line") 102 | fi 103 | done <<<"$OTHER_XCASSETS" 104 | 105 | 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}" 106 | fi 107 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-HeartLoadingView_Tests/Pods-HeartLoadingView_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_HeartLoadingView_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_HeartLoadingView_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-HeartLoadingView_Tests/Pods-HeartLoadingView_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/HeartLoadingView" 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}/HeartLoadingView/HeartLoadingView.framework/Headers" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-HeartLoadingView_Tests/Pods-HeartLoadingView_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_HeartLoadingView_Tests { 2 | umbrella header "Pods-HeartLoadingView_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-HeartLoadingView_Tests/Pods-HeartLoadingView_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/HeartLoadingView" 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}/HeartLoadingView/HeartLoadingView.framework/Headers" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /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 HeartLoadingView 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 | -------------------------------------------------------------------------------- /HeartLoadingView.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint HeartLoadingView.podspec' to ensure this is a 3 | # valid spec before submitting. 4 | # 5 | # Any lines starting with a # are optional, but their use is encouraged 6 | # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | s.name = 'HeartLoadingView' 11 | s.version = '0.2.0' 12 | s.summary = 'HeartLoadingView - heart framed progress indicator' 13 | s.pod_target_xcconfig = { 'SWIFT_VERSION' => '4.0' } 14 | s.swift_version = '4.0' 15 | 16 | # This description is used to generate tags and improve search results. 17 | # * Think: What does it do? Why did you write it? What is the focus? 18 | # * Try to keep it short, snappy and to the point. 19 | # * Write the description between the DESC delimiters below. 20 | # * Finally, don't worry about the indent, CocoaPods strips it! 21 | 22 | # s.description = <<-DESC 23 | #TODO: Add long description of the pod here. 24 | # DESC 25 | 26 | s.homepage = 'https://github.com/ShvetsDima/HeartLoadingView' 27 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 28 | s.license = { :type => 'MIT', :file => 'LICENSE' } 29 | s.author = { 'Dima Shvets' => 'aoedima@gmail.com' } 30 | s.source = { :git => 'https://github.com/ShvetsDima/HeartLoadingView.git', :tag => s.version.to_s } 31 | # s.social_media_url = 'https://twitter.com/' 32 | 33 | s.ios.deployment_target = '8.0' 34 | 35 | s.source_files = 'HeartLoadingView/Classes/**/*' 36 | 37 | # s.resource_bundles = { 38 | # 'HeartLoadingView' => ['HeartLoadingView/Assets/*.png'] 39 | # } 40 | 41 | # s.public_header_files = 'Pod/Classes/**/*.h' 42 | # s.frameworks = 'UIKit', 'MapKit' 43 | # s.dependency 'AFNetworking', '~> 2.3' 44 | end 45 | -------------------------------------------------------------------------------- /HeartLoadingView/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShvetsDima/HeartLoadingView/e16404c4e1a7c74ae5ba157b1807838e21e2f933/HeartLoadingView/Assets/.gitkeep -------------------------------------------------------------------------------- /HeartLoadingView/Classes/HeartLoadingView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // HeartLoadingView.swift 3 | // HeartLoadingView 4 | // 5 | // Created by Dima Shvets on 25.02.2018. 6 | // 7 | 8 | import UIKit 9 | 10 | public class HeartLoadingView: UIView { 11 | 12 | private var originX = 0.0 13 | private let cycle = 1.0 14 | private var term = 60.0 15 | private var phasePosition = 0.0 16 | private var amplitude = 29.0 17 | private var position = 40.0 18 | private let animationMoveSpan = 5.0 19 | private let animationUnitTime = 0.08 20 | 21 | public var heavyHeartColor = UIColor(red: 254/255.0, green: 102/255.0, blue: 131/255.0, alpha: 1.0) 22 | public var lightHeartColor = UIColor(red: 254/255.0, green: 168/255.0, blue: 194/255.0, alpha: 1.0) 23 | public var fillHeartColor = UIColor(red: 248/255.0, green: 242/255.0, blue: 242/255.0, alpha: 1.0) 24 | 25 | public let progressTextFont: UIFont = UIFont.systemFont(ofSize: 15.0) 26 | public var isShowProgressText = true 27 | 28 | public var isAnimated: Bool = true 29 | 30 | public var progress: Double = 0.5 { 31 | didSet { self.setNeedsDisplay() } 32 | } 33 | 34 | public var heartAmplitude: Double { 35 | get { return amplitude } 36 | set { 37 | amplitude = newValue 38 | self.setNeedsDisplay() 39 | } 40 | } 41 | 42 | override public func awakeFromNib() { 43 | animationHeart() 44 | self.backgroundColor = UIColor.clear 45 | } 46 | 47 | override public init(frame: CGRect) { 48 | super.init(frame: frame) 49 | animationHeart() 50 | self.backgroundColor = UIColor.clear 51 | } 52 | 53 | required public init?(coder aDecoder: NSCoder) { 54 | super.init(coder: aDecoder) 55 | } 56 | 57 | override public func draw(_ rect: CGRect) { 58 | position = (1 - progress) * Double(rect.height) 59 | 60 | clipWithHeart() 61 | 62 | drawHeartWave(originX: originX - term / 5, fillColor: lightHeartColor) 63 | drawHeartWave(originX: originX, fillColor: heavyHeartColor) 64 | 65 | if isShowProgressText { 66 | drawProgressText() 67 | } 68 | } 69 | 70 | override public func layoutSubviews() { 71 | super.layoutSubviews() 72 | term = Double(self.bounds.size.width) / cycle 73 | } 74 | 75 | override public func removeFromSuperview() { 76 | super.removeFromSuperview() 77 | isAnimated = false 78 | } 79 | 80 | func clipWithHeart() { 81 | let heartRectWidth = min(self.bounds.size.width, self.bounds.size.height) 82 | let heartRectOriginX = (self.bounds.size.width - heartRectWidth) / 2 83 | let heartRectOriginY = (self.bounds.size.height - heartRectWidth) / 2 84 | let heartRect = CGRect(x: heartRectOriginX, y: heartRectOriginY, width: heartRectWidth, height: heartRectWidth) 85 | 86 | let clipPath = UIBezierPath(heartIn: heartRect) 87 | 88 | fillHeartColor.setFill() 89 | clipPath.fill() 90 | clipPath.addClip() 91 | } 92 | 93 | 94 | func drawHeartWave(originX: Double, fillColor: UIColor) { 95 | let curvePath = UIBezierPath() 96 | curvePath.move(to: CGPoint(x: originX, y: position)) 97 | 98 | var tempPoint = originX 99 | for _ in 1...rounding(value: 4 * cycle) { 100 | curvePath.addQuadCurve(to: keyPoint(x: tempPoint + term / 2, originX: originX), 101 | controlPoint: keyPoint(x: tempPoint + term / 4, originX: originX)) 102 | tempPoint += term / 2 103 | } 104 | 105 | curvePath.addLine(to: CGPoint(x: curvePath.currentPoint.x, y: self.bounds.size.height)) 106 | curvePath.addLine(to: CGPoint(x: CGFloat(originX), y: self.bounds.size.height)) 107 | curvePath.close() 108 | 109 | fillColor.setFill() 110 | curvePath.lineWidth = 10 111 | curvePath.fill() 112 | } 113 | 114 | 115 | func drawProgressText() { 116 | var validProgress = progress * 100 117 | validProgress = validProgress < 1 ? 0 : validProgress 118 | 119 | let progressText = (NSString(format: "%.0f", validProgress) as String) + "%" 120 | 121 | var attributes: [NSAttributedStringKey : Any] = [.font: progressTextFont] 122 | if progress > 0.45 { 123 | attributes.updateValue(UIColor.white, forKey: .foregroundColor) 124 | } else { 125 | attributes.updateValue(heavyHeartColor, forKey: .foregroundColor) 126 | } 127 | 128 | let textSize = progressText.size(withAttributes: attributes) 129 | let textRect = CGRect(x: self.bounds.width/2 - textSize.width/2, 130 | y: self.bounds.height/2 - textSize.height/2, width:textSize.width, height:textSize.height) 131 | 132 | progressText.draw(in: textRect, withAttributes: attributes) 133 | } 134 | 135 | 136 | func animationHeart() { 137 | DispatchQueue.global(qos: .default).async { [weak self]() -> Void in 138 | if self != nil { 139 | let tempOriginX = self!.originX 140 | while self != nil && self!.isAnimated { 141 | if self!.originX <= tempOriginX - self!.term { 142 | self!.originX = tempOriginX - self!.animationMoveSpan 143 | } else { 144 | self!.originX -= self!.animationMoveSpan 145 | } 146 | DispatchQueue.main.async(execute: { () -> Void in 147 | self!.setNeedsDisplay() 148 | }) 149 | Thread.sleep(forTimeInterval: self!.animationUnitTime) 150 | } 151 | } 152 | } 153 | } 154 | 155 | 156 | func keyPoint(x: Double, originX: Double) -> CGPoint { 157 | return CGPoint(x: x, y: columnYPoint(x: x - originX)) 158 | } 159 | 160 | func columnYPoint(x: Double) -> Double { 161 | let result = amplitude * sin((2 * Double.pi / term) * x + phasePosition) 162 | return result + position 163 | } 164 | 165 | func rounding(value: Double) -> Int { 166 | let tempInt = Int(value) 167 | let tempDouble = Double(tempInt) + 0.5 168 | if value > tempDouble { 169 | return tempInt + 1 170 | } else { 171 | return tempInt 172 | } 173 | } 174 | } 175 | -------------------------------------------------------------------------------- /HeartLoadingView/Classes/Int+Radians.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Int+Radians.swift 3 | // HeartLoadingView 4 | // 5 | // Created by Dima Shvets on 01.03.2018. 6 | // 7 | 8 | import UIKit 9 | 10 | extension Int { 11 | var degreesToRadians: CGFloat { return CGFloat(self) * .pi / 180 } 12 | } 13 | -------------------------------------------------------------------------------- /HeartLoadingView/Classes/UIBezierPath+Heart.swift: -------------------------------------------------------------------------------- 1 | // 2 | // UIBezierPath+Heart.swift 3 | // HeartLoadingView 4 | // 5 | // Created by Dima Shvets on 01.03.2018. 6 | // 7 | 8 | import UIKit 9 | 10 | extension UIBezierPath { 11 | 12 | convenience init(heartIn rect: CGRect) { 13 | self.init() 14 | 15 | //Calculate Radius of Arcs 16 | let sideOne = rect.width * 0.4 17 | let sideTwo = rect.height * 0.3 18 | let arcRadius = sqrt(sideOne*sideOne + sideTwo*sideTwo)/2 19 | 20 | //Left Hand Curve 21 | self.addArc(withCenter: CGPoint(x: rect.width * 0.3, y: rect.height * 0.35), radius: arcRadius, startAngle: 135.degreesToRadians, endAngle: 315.degreesToRadians, clockwise: true) 22 | 23 | //Top Centre Dip 24 | self.addLine(to: CGPoint(x: rect.width/2, y: rect.height * 0.2)) 25 | 26 | //Right Hand Curve 27 | self.addArc(withCenter: CGPoint(x: rect.width * 0.7, y: rect.height * 0.35), radius: arcRadius, startAngle: 225.degreesToRadians, endAngle: 45.degreesToRadians, clockwise: true) 28 | 29 | //Right Bottom Line 30 | self.addLine(to: CGPoint(x: rect.width * 0.5, y: rect.height * 0.95)) 31 | 32 | //Left Bottom Line 33 | self.close() 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2018 Dima Shvets 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 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # HeartLoadingView 2 | 3 | # ![./HeartLoadingView](https://github.com/ShvetsDima/HeartLoadingView/blob/master/Assets/theme.png) 4 | [![Version](https://img.shields.io/cocoapods/v/HeartLoadingView.svg?style=flat)](http://cocoapods.org/pods/HeartLoadingView) 5 | [![Language](https://img.shields.io/badge/language-Swift-orange.svg?style=flat)]() 6 | [![Supports](https://img.shields.io/badge/supports-CocoaPods%20%7C%20Carthage-green.svg?style=flat)]() 7 | [![License](https://img.shields.io/cocoapods/l/HeartLoadingView.svg?style=flat)](http://cocoapods.org/pods/HeartLoadingView) 8 | [![Platform](https://img.shields.io/cocoapods/p/HeartLoadingView.svg?style=flat)](http://cocoapods.org/pods/HeartLoadingView) 9 |
10 | 11 | [![Twitter: @GhazouaniHamza](https://img.shields.io/badge/contact-@Bear_Tooth-blue.svg?style=flat)](https://twitter.com/Bear_Tooth) 12 | 13 | ## Example 14 | 15 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 16 | 17 | Progress | Amplitude 18 | :-------------------------:|:-------------------------: 19 | ![](/Assets/Progress.gif) | ![](/Assets/amplitude.gif) 20 | 21 | Color | Progress Text 22 | :-------------------------:|:-------------------------: 23 | ![](/Assets/Color.gif) | ![](/Assets/ProgressText.gif) 24 | 25 | ## Requirements 26 | - iOS 8.0+ 27 | - Xcode 9.2 28 | 29 | ## Usage 30 | 31 | 1. Change the class of a view from UIView to HeartLoadingView 32 | 2. Programmatically: 33 | 34 | ``` 35 | let heartLoadingView = HeartLoadingView(frame: yourFrame) 36 | ``` 37 | 38 | ## Customization 39 | 40 | 1. Progress level (0..<1) 41 | 42 | ``` 43 | heartLoadingView.progress = 0.5 44 | ``` 45 | 46 | 2. Amplitude 47 | 48 | ``` 49 | heartLoadingView.amplitude = 50.0 50 | ``` 51 | 52 | 3. Progress Text 53 | 54 | ``` 55 | heartLoadingView.isShowProgressText = true 56 | ``` 57 | 58 | 4. Progress Text Font 59 | 60 | ``` 61 | heartLoadingView.progressTextFont = UIFont.systemFont(ofSize: 15.0) 62 | ``` 63 | 64 | 5. Colors 65 | 66 | ``` 67 | heartLoadingView.heavyHeartColor = randomColor 68 | heartLoadingView.lightHeartColor = randomColor.withAlphaComponent(0.5) 69 | heartLoadingView.fillHeartColor = randomColor.withAlphaComponent(0.2) 70 | ``` 71 | 72 | 6. Animation 73 | 74 | ``` 75 | heartLoadingView.isAnimated = true 76 | ``` 77 | 78 | ## Installation 79 | 80 | HeartLoadingView is available through [CocoaPods](http://cocoapods.org). To install 81 | it, simply add the following line to your Podfile: 82 | 83 | ```ruby 84 | pod 'HeartLoadingView' 85 | ``` 86 | 87 | HeartLoadingView is also available through [Carthage](https://github.com/Carthage/Carthage). To install 88 | it, simply add the following line to your Cartfile: 89 | 90 | 91 | ``` ruby 92 | github "ShvetsDima/HeartLoadingView" 93 | ``` 94 | 95 | ## Author 96 | 97 | Dima Shvets, aoedima@gmail.com 98 | 99 | ## License 100 | 101 | HeartLoadingView is available under the MIT license. See the LICENSE file for more info. 102 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj --------------------------------------------------------------------------------