├── .gitignore ├── .travis.yml ├── Example ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── Progressor.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── project.pbxproj │ └── Target Support Files │ │ ├── Pods-Progressor_Example │ │ ├── Pods-Progressor_Example-Info.plist │ │ ├── Pods-Progressor_Example-acknowledgements.markdown │ │ ├── Pods-Progressor_Example-acknowledgements.plist │ │ ├── Pods-Progressor_Example-dummy.m │ │ ├── Pods-Progressor_Example-frameworks.sh │ │ ├── Pods-Progressor_Example-umbrella.h │ │ ├── Pods-Progressor_Example.debug.xcconfig │ │ ├── Pods-Progressor_Example.modulemap │ │ └── Pods-Progressor_Example.release.xcconfig │ │ ├── Pods-Progressor_Tests │ │ ├── Pods-Progressor_Tests-Info.plist │ │ ├── Pods-Progressor_Tests-acknowledgements.markdown │ │ ├── Pods-Progressor_Tests-acknowledgements.plist │ │ ├── Pods-Progressor_Tests-dummy.m │ │ ├── Pods-Progressor_Tests-umbrella.h │ │ ├── Pods-Progressor_Tests.debug.xcconfig │ │ ├── Pods-Progressor_Tests.modulemap │ │ └── Pods-Progressor_Tests.release.xcconfig │ │ └── Progressor │ │ ├── Progressor-Info.plist │ │ ├── Progressor-dummy.m │ │ ├── Progressor-prefix.pch │ │ ├── Progressor-umbrella.h │ │ ├── Progressor.modulemap │ │ ├── Progressor.xcconfig │ │ └── ResourceBundle-Progressor-Progressor-Info.plist ├── Progressor.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── Progressor-Example.xcscheme ├── Progressor.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── Progressor │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ └── ProgressViewController.swift └── Tests │ ├── Info.plist │ └── Tests.swift ├── Gemfile ├── LICENSE ├── Progressor.podspec ├── Progressor ├── Assets │ ├── .gitkeep │ └── Icon.xcassets │ │ ├── Contents.json │ │ ├── closeIcon.imageset │ │ ├── Contents.json │ │ ├── iconfinder_close16_216470 (3).png │ │ ├── iconfinder_close16_216470 (4).png │ │ └── iconfinder_close16_216470 (6).png │ │ ├── closeIcon2.imageset │ │ ├── Contents.json │ │ ├── iconfinder_icon-close-round_211651 (1).png │ │ ├── iconfinder_icon-close-round_211651 (2).png │ │ └── iconfinder_icon-close-round_211651.png │ │ └── pauseIcon.imageset │ │ ├── Contents.json │ │ ├── iconfinder_icon-pause_211871 (1).png │ │ ├── iconfinder_icon-pause_211871 (2).png │ │ └── iconfinder_icon-pause_211871.png └── Classes │ ├── .gitkeep │ └── ProgressorView.swift ├── Progressor_GIPHY.gif ├── README.md ├── _Pods.xcodeproj └── fastlane ├── Appfile └── Fastfile /.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 | 25 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 26 | # Carthage/Checkouts 27 | 28 | Carthage/Build 29 | 30 | # We recommend against adding the Pods directory to your .gitignore. However 31 | # you should judge for yourself, the pros and cons are mentioned at: 32 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 33 | # 34 | # Note: if you ignore the Pods directory, make sure to uncomment 35 | # `pod install` in .travis.yml 36 | # 37 | # Pods/ 38 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * https://www.objc.io/issues/6-build-tools/travis-ci/ 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/Progressor.xcworkspace -scheme Progressor-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'Progressor_Example' do 4 | pod 'Progressor', :path => '../' 5 | 6 | target 'Progressor_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Progressor (1.0) 3 | 4 | DEPENDENCIES: 5 | - Progressor (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | Progressor: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | Progressor: 866b0629815ca1e887b31d1fd6ab8dac95ed2c64 13 | 14 | PODFILE CHECKSUM: d793f69a4899dc6653ad29c72074872d27889b37 15 | 16 | COCOAPODS: 1.6.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/Progressor.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Progressor", 3 | "version": "1.0", 4 | "summary": "To Show Progess Bar", 5 | "description": "To show progress bar in user friendly way", 6 | "homepage": "https://github.com/sathishvgs/Progressor", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "sathishvgs": "vgsathish1995@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/sathishvgs/Progressor.git", 16 | "tag": "1.0" 17 | }, 18 | "platforms": { 19 | "ios": "9.0" 20 | }, 21 | "source_files": "Progressor/Classes/**/*", 22 | "resource_bundles": { 23 | "Progressor": [ 24 | "Progressor/Assets/**/*.{xcassets}" 25 | ] 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Progressor (1.0) 3 | 4 | DEPENDENCIES: 5 | - Progressor (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | Progressor: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | Progressor: 866b0629815ca1e887b31d1fd6ab8dac95ed2c64 13 | 14 | PODFILE CHECKSUM: d793f69a4899dc6653ad29c72074872d27889b37 15 | 16 | COCOAPODS: 1.6.1 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 | 1F3514E355E34036ACE0BC2C00D1FAF1 /* Pods-Progressor_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 78E0244AA96C002172F2DEABA26E8929 /* Pods-Progressor_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 11 | 20863D1878392AD2151455E8D1E493EB /* Pods-Progressor_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 97B54D8DE543CFBD6521A8E4A28A3DC5 /* Pods-Progressor_Tests-dummy.m */; }; 12 | 36F22BB04EDDB1AB78DDFD0D39DC4E3A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */; }; 13 | 3CD82DE8168C27B7E5FDA634A91DC0D2 /* ProgressorView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3D5BC22ABC0AB9F37039975FB54D3866 /* ProgressorView.swift */; }; 14 | 4DD4393DE978685DD0A30536746F70FB /* Icon.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 181DB1FB7A5F6691FAA194EC4412244C /* Icon.xcassets */; }; 15 | 5D1FAE4339B81A2F6ABEAD41E32DD341 /* Pods-Progressor_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 1F532CFFFA2798D8D3F03216F3D25E53 /* Pods-Progressor_Example-dummy.m */; }; 16 | 5E82C942DA1E3F50DE3B7149F75F296D /* Progressor.bundle in Resources */ = {isa = PBXBuildFile; fileRef = D36A6C5C713BAB9396296D382F8D03DD /* Progressor.bundle */; }; 17 | 659F8D275BB8FBCC88D761FB2BACED3C /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */; }; 18 | 79B2B1EDA9059B5610DFD9563F90AC4C /* Pods-Progressor_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 7E635A4FDFD98FDA6A188487524B0768 /* Pods-Progressor_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 19 | C1ED9576860D0DF843BD0E0D9BDFB0B6 /* Progressor-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 7BEC806650148593018BFE90DA4BB608 /* Progressor-dummy.m */; }; 20 | EB04733D9155B2C256D12B3AB770509D /* Progressor-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 1E623734276D6B680FCF1828BAD7950B /* Progressor-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 21 | EE1CD198BB96E53A19703CB7C49AC107 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */; }; 22 | /* End PBXBuildFile section */ 23 | 24 | /* Begin PBXContainerItemProxy section */ 25 | 054FFB41C331F7200EE4D0FB6549B71B /* PBXContainerItemProxy */ = { 26 | isa = PBXContainerItemProxy; 27 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 28 | proxyType = 1; 29 | remoteGlobalIDString = FF91B99046AD36A6FC9FD80ABBD215E1; 30 | remoteInfo = Progressor; 31 | }; 32 | 256C3727830BF5FE7AD15C3E25419D2B /* PBXContainerItemProxy */ = { 33 | isa = PBXContainerItemProxy; 34 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 35 | proxyType = 1; 36 | remoteGlobalIDString = 6A5576D899FC3103F084DE1EC850405E; 37 | remoteInfo = "Progressor-Progressor"; 38 | }; 39 | 433A0CC9B6079FF42E1CE1AFA76186A7 /* PBXContainerItemProxy */ = { 40 | isa = PBXContainerItemProxy; 41 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 42 | proxyType = 1; 43 | remoteGlobalIDString = 99402BE8B1F6F4489E4FDFF3389526B1; 44 | remoteInfo = "Pods-Progressor_Example"; 45 | }; 46 | /* End PBXContainerItemProxy section */ 47 | 48 | /* Begin PBXFileReference section */ 49 | 00D42FA8F9AC6DB12EA8D36F91F115F3 /* Pods-Progressor_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Progressor_Example-acknowledgements.plist"; sourceTree = ""; }; 50 | 022369BE524CB71BBF574F4B8625125E /* Progressor-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Progressor-Info.plist"; sourceTree = ""; }; 51 | 08204EDD2AFA5E3BEB89E597302B6306 /* Pods-Progressor_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-Progressor_Example.modulemap"; sourceTree = ""; }; 52 | 181DB1FB7A5F6691FAA194EC4412244C /* Icon.xcassets */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = folder.assetcatalog; name = Icon.xcassets; path = Progressor/Assets/Icon.xcassets; sourceTree = ""; }; 53 | 1E623734276D6B680FCF1828BAD7950B /* Progressor-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Progressor-umbrella.h"; sourceTree = ""; }; 54 | 1F532CFFFA2798D8D3F03216F3D25E53 /* Pods-Progressor_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-Progressor_Example-dummy.m"; sourceTree = ""; }; 55 | 2554A3C6E89C39ED879AB92D2B351336 /* Pods-Progressor_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Progressor_Tests.debug.xcconfig"; sourceTree = ""; }; 56 | 2BE751553E367681BCC3153398222187 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = ""; }; 57 | 3D5BC22ABC0AB9F37039975FB54D3866 /* ProgressorView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ProgressorView.swift; path = Progressor/Classes/ProgressorView.swift; sourceTree = ""; }; 58 | 43528B00F04EC0BC6B66A5FBF9D7787E /* Progressor.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = Progressor.modulemap; sourceTree = ""; }; 59 | 4BE2F2C9493B0E2C7AC6E90490D60449 /* Pods-Progressor_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Progressor_Example-frameworks.sh"; sourceTree = ""; }; 60 | 5E314545D29B65E91C9B93F7C650F4E8 /* Progressor.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; path = Progressor.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 61 | 734399127EAF3FCEFE310B0C4453B2B1 /* Pods-Progressor_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Progressor_Example.release.xcconfig"; sourceTree = ""; }; 62 | 78E0244AA96C002172F2DEABA26E8929 /* Pods-Progressor_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-Progressor_Tests-umbrella.h"; sourceTree = ""; }; 63 | 7AA619BB87C0A6C30840295E004505EA /* Pods_Progressor_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_Progressor_Tests.framework; path = "Pods-Progressor_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 64 | 7BEC806650148593018BFE90DA4BB608 /* Progressor-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Progressor-dummy.m"; sourceTree = ""; }; 65 | 7DAA751050E5E77C1FD92CF7FC4C008C /* Pods_Progressor_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_Progressor_Example.framework; path = "Pods-Progressor_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 66 | 7E635A4FDFD98FDA6A188487524B0768 /* Pods-Progressor_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-Progressor_Example-umbrella.h"; sourceTree = ""; }; 67 | 83EA7CEBCC9025F4419FEDD15809E6DC /* Pods-Progressor_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-Progressor_Tests.modulemap"; sourceTree = ""; }; 68 | 8C93A42842BF61E88BA5CFFFE994D711 /* Progressor.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Progressor.framework; path = Progressor.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 69 | 97B54D8DE543CFBD6521A8E4A28A3DC5 /* Pods-Progressor_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-Progressor_Tests-dummy.m"; sourceTree = ""; }; 70 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 71 | 9E2190EEFB9F60D0269A6CE4BED2701D /* Pods-Progressor_Tests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Progressor_Tests-Info.plist"; sourceTree = ""; }; 72 | A4DCB48A295C99531055CA6A1B15B6F6 /* Pods-Progressor_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-Progressor_Tests-acknowledgements.markdown"; sourceTree = ""; }; 73 | A7164EF525EB99563014880DA6960E9E /* ResourceBundle-Progressor-Progressor-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "ResourceBundle-Progressor-Progressor-Info.plist"; sourceTree = ""; }; 74 | A7E9CC556E0E6F7D218994A0DF65D44C /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = ""; }; 75 | B1906B3DA250C4DE6C24C9FE83D525B3 /* Pods-Progressor_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-Progressor_Example-acknowledgements.markdown"; sourceTree = ""; }; 76 | C59FC6ED074CD6395AB523308E24727D /* Pods-Progressor_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Progressor_Tests-acknowledgements.plist"; sourceTree = ""; }; 77 | C85FEC0B6E77E6A25F6C02830B919DFA /* Pods-Progressor_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Progressor_Example.debug.xcconfig"; sourceTree = ""; }; 78 | CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 79 | D36A6C5C713BAB9396296D382F8D03DD /* Progressor.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; name = Progressor.bundle; path = "Progressor-Progressor.bundle"; sourceTree = BUILT_PRODUCTS_DIR; }; 80 | DAFA41876152A01E835EA9102F8A0424 /* Progressor-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Progressor-prefix.pch"; sourceTree = ""; }; 81 | E41BCE7AE025DCF60ACBECD5ABFF0C10 /* Pods-Progressor_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Progressor_Tests.release.xcconfig"; sourceTree = ""; }; 82 | EFF15E31F312FF870F548DD13CF903E3 /* Progressor.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Progressor.xcconfig; sourceTree = ""; }; 83 | F4871F4DF580D91C28A9759322D1D942 /* Pods-Progressor_Example-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Progressor_Example-Info.plist"; sourceTree = ""; }; 84 | /* End PBXFileReference section */ 85 | 86 | /* Begin PBXFrameworksBuildPhase section */ 87 | 118EE544002E1B943F5BA3926C56024A /* Frameworks */ = { 88 | isa = PBXFrameworksBuildPhase; 89 | buildActionMask = 2147483647; 90 | files = ( 91 | ); 92 | runOnlyForDeploymentPostprocessing = 0; 93 | }; 94 | 81F3339C5ED2159C54738297BE65BCE5 /* Frameworks */ = { 95 | isa = PBXFrameworksBuildPhase; 96 | buildActionMask = 2147483647; 97 | files = ( 98 | 659F8D275BB8FBCC88D761FB2BACED3C /* Foundation.framework in Frameworks */, 99 | ); 100 | runOnlyForDeploymentPostprocessing = 0; 101 | }; 102 | CAD84D249DF41FBFBA45A607B75B61B1 /* Frameworks */ = { 103 | isa = PBXFrameworksBuildPhase; 104 | buildActionMask = 2147483647; 105 | files = ( 106 | EE1CD198BB96E53A19703CB7C49AC107 /* Foundation.framework in Frameworks */, 107 | ); 108 | runOnlyForDeploymentPostprocessing = 0; 109 | }; 110 | D183C106819B1F3BB6FA6277A0026D7F /* Frameworks */ = { 111 | isa = PBXFrameworksBuildPhase; 112 | buildActionMask = 2147483647; 113 | files = ( 114 | 36F22BB04EDDB1AB78DDFD0D39DC4E3A /* Foundation.framework in Frameworks */, 115 | ); 116 | runOnlyForDeploymentPostprocessing = 0; 117 | }; 118 | /* End PBXFrameworksBuildPhase section */ 119 | 120 | /* Begin PBXGroup section */ 121 | 18705BB96E600C21AFCB256C3D6CCAB6 /* Development Pods */ = { 122 | isa = PBXGroup; 123 | children = ( 124 | 4349BDD6BE0E9A41DDA254472A4BE5B4 /* Progressor */, 125 | ); 126 | name = "Development Pods"; 127 | sourceTree = ""; 128 | }; 129 | 4349BDD6BE0E9A41DDA254472A4BE5B4 /* Progressor */ = { 130 | isa = PBXGroup; 131 | children = ( 132 | 3D5BC22ABC0AB9F37039975FB54D3866 /* ProgressorView.swift */, 133 | F6A89241218645C793B09DF00B745FFC /* Pod */, 134 | 8523AEB466E3FD55AFE40BD1014B3E8B /* Resources */, 135 | 468D331E2657CD5CC5348689E2F71A92 /* Support Files */, 136 | ); 137 | name = Progressor; 138 | path = ../..; 139 | sourceTree = ""; 140 | }; 141 | 468D331E2657CD5CC5348689E2F71A92 /* Support Files */ = { 142 | isa = PBXGroup; 143 | children = ( 144 | 43528B00F04EC0BC6B66A5FBF9D7787E /* Progressor.modulemap */, 145 | EFF15E31F312FF870F548DD13CF903E3 /* Progressor.xcconfig */, 146 | 7BEC806650148593018BFE90DA4BB608 /* Progressor-dummy.m */, 147 | 022369BE524CB71BBF574F4B8625125E /* Progressor-Info.plist */, 148 | DAFA41876152A01E835EA9102F8A0424 /* Progressor-prefix.pch */, 149 | 1E623734276D6B680FCF1828BAD7950B /* Progressor-umbrella.h */, 150 | A7164EF525EB99563014880DA6960E9E /* ResourceBundle-Progressor-Progressor-Info.plist */, 151 | ); 152 | name = "Support Files"; 153 | path = "Example/Pods/Target Support Files/Progressor"; 154 | sourceTree = ""; 155 | }; 156 | 583F34186E7AEA4C9B871D7AE14EAF40 /* Products */ = { 157 | isa = PBXGroup; 158 | children = ( 159 | 7DAA751050E5E77C1FD92CF7FC4C008C /* Pods_Progressor_Example.framework */, 160 | 7AA619BB87C0A6C30840295E004505EA /* Pods_Progressor_Tests.framework */, 161 | D36A6C5C713BAB9396296D382F8D03DD /* Progressor.bundle */, 162 | 8C93A42842BF61E88BA5CFFFE994D711 /* Progressor.framework */, 163 | ); 164 | name = Products; 165 | sourceTree = ""; 166 | }; 167 | 8523AEB466E3FD55AFE40BD1014B3E8B /* Resources */ = { 168 | isa = PBXGroup; 169 | children = ( 170 | 181DB1FB7A5F6691FAA194EC4412244C /* Icon.xcassets */, 171 | ); 172 | name = Resources; 173 | sourceTree = ""; 174 | }; 175 | 9B055D0CFEA43187E72B03DED11F5662 /* iOS */ = { 176 | isa = PBXGroup; 177 | children = ( 178 | CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */, 179 | ); 180 | name = iOS; 181 | sourceTree = ""; 182 | }; 183 | 9C6927BE3BE811D12659533AEA493E81 /* Targets Support Files */ = { 184 | isa = PBXGroup; 185 | children = ( 186 | DAD630732F2C66E6280CD4EAC0B11603 /* Pods-Progressor_Example */, 187 | B997A99F0F8B9569523EF261194F911A /* Pods-Progressor_Tests */, 188 | ); 189 | name = "Targets Support Files"; 190 | sourceTree = ""; 191 | }; 192 | B997A99F0F8B9569523EF261194F911A /* Pods-Progressor_Tests */ = { 193 | isa = PBXGroup; 194 | children = ( 195 | 83EA7CEBCC9025F4419FEDD15809E6DC /* Pods-Progressor_Tests.modulemap */, 196 | A4DCB48A295C99531055CA6A1B15B6F6 /* Pods-Progressor_Tests-acknowledgements.markdown */, 197 | C59FC6ED074CD6395AB523308E24727D /* Pods-Progressor_Tests-acknowledgements.plist */, 198 | 97B54D8DE543CFBD6521A8E4A28A3DC5 /* Pods-Progressor_Tests-dummy.m */, 199 | 9E2190EEFB9F60D0269A6CE4BED2701D /* Pods-Progressor_Tests-Info.plist */, 200 | 78E0244AA96C002172F2DEABA26E8929 /* Pods-Progressor_Tests-umbrella.h */, 201 | 2554A3C6E89C39ED879AB92D2B351336 /* Pods-Progressor_Tests.debug.xcconfig */, 202 | E41BCE7AE025DCF60ACBECD5ABFF0C10 /* Pods-Progressor_Tests.release.xcconfig */, 203 | ); 204 | name = "Pods-Progressor_Tests"; 205 | path = "Target Support Files/Pods-Progressor_Tests"; 206 | sourceTree = ""; 207 | }; 208 | CF1408CF629C7361332E53B88F7BD30C = { 209 | isa = PBXGroup; 210 | children = ( 211 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, 212 | 18705BB96E600C21AFCB256C3D6CCAB6 /* Development Pods */, 213 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */, 214 | 583F34186E7AEA4C9B871D7AE14EAF40 /* Products */, 215 | 9C6927BE3BE811D12659533AEA493E81 /* Targets Support Files */, 216 | ); 217 | sourceTree = ""; 218 | }; 219 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */ = { 220 | isa = PBXGroup; 221 | children = ( 222 | 9B055D0CFEA43187E72B03DED11F5662 /* iOS */, 223 | ); 224 | name = Frameworks; 225 | sourceTree = ""; 226 | }; 227 | DAD630732F2C66E6280CD4EAC0B11603 /* Pods-Progressor_Example */ = { 228 | isa = PBXGroup; 229 | children = ( 230 | 08204EDD2AFA5E3BEB89E597302B6306 /* Pods-Progressor_Example.modulemap */, 231 | B1906B3DA250C4DE6C24C9FE83D525B3 /* Pods-Progressor_Example-acknowledgements.markdown */, 232 | 00D42FA8F9AC6DB12EA8D36F91F115F3 /* Pods-Progressor_Example-acknowledgements.plist */, 233 | 1F532CFFFA2798D8D3F03216F3D25E53 /* Pods-Progressor_Example-dummy.m */, 234 | 4BE2F2C9493B0E2C7AC6E90490D60449 /* Pods-Progressor_Example-frameworks.sh */, 235 | F4871F4DF580D91C28A9759322D1D942 /* Pods-Progressor_Example-Info.plist */, 236 | 7E635A4FDFD98FDA6A188487524B0768 /* Pods-Progressor_Example-umbrella.h */, 237 | C85FEC0B6E77E6A25F6C02830B919DFA /* Pods-Progressor_Example.debug.xcconfig */, 238 | 734399127EAF3FCEFE310B0C4453B2B1 /* Pods-Progressor_Example.release.xcconfig */, 239 | ); 240 | name = "Pods-Progressor_Example"; 241 | path = "Target Support Files/Pods-Progressor_Example"; 242 | sourceTree = ""; 243 | }; 244 | F6A89241218645C793B09DF00B745FFC /* Pod */ = { 245 | isa = PBXGroup; 246 | children = ( 247 | A7E9CC556E0E6F7D218994A0DF65D44C /* LICENSE */, 248 | 5E314545D29B65E91C9B93F7C650F4E8 /* Progressor.podspec */, 249 | 2BE751553E367681BCC3153398222187 /* README.md */, 250 | ); 251 | name = Pod; 252 | sourceTree = ""; 253 | }; 254 | /* End PBXGroup section */ 255 | 256 | /* Begin PBXHeadersBuildPhase section */ 257 | 0E34538DBDB28C4C3B1B55C4C694D6DA /* Headers */ = { 258 | isa = PBXHeadersBuildPhase; 259 | buildActionMask = 2147483647; 260 | files = ( 261 | 1F3514E355E34036ACE0BC2C00D1FAF1 /* Pods-Progressor_Tests-umbrella.h in Headers */, 262 | ); 263 | runOnlyForDeploymentPostprocessing = 0; 264 | }; 265 | 42535766B95639EA4B3C3EBA57F982FA /* Headers */ = { 266 | isa = PBXHeadersBuildPhase; 267 | buildActionMask = 2147483647; 268 | files = ( 269 | EB04733D9155B2C256D12B3AB770509D /* Progressor-umbrella.h in Headers */, 270 | ); 271 | runOnlyForDeploymentPostprocessing = 0; 272 | }; 273 | 45B8E2AED5166E81C4A54ED4C3517C06 /* Headers */ = { 274 | isa = PBXHeadersBuildPhase; 275 | buildActionMask = 2147483647; 276 | files = ( 277 | 79B2B1EDA9059B5610DFD9563F90AC4C /* Pods-Progressor_Example-umbrella.h in Headers */, 278 | ); 279 | runOnlyForDeploymentPostprocessing = 0; 280 | }; 281 | /* End PBXHeadersBuildPhase section */ 282 | 283 | /* Begin PBXNativeTarget section */ 284 | 6A5576D899FC3103F084DE1EC850405E /* Progressor-Progressor */ = { 285 | isa = PBXNativeTarget; 286 | buildConfigurationList = E1581CB4666AC9EFC6AB7A118ADD7D5D /* Build configuration list for PBXNativeTarget "Progressor-Progressor" */; 287 | buildPhases = ( 288 | EFAF33A56E1D70B2C8452F3145D7B463 /* Sources */, 289 | 118EE544002E1B943F5BA3926C56024A /* Frameworks */, 290 | C8446AB624B224B34F72A706295562B1 /* Resources */, 291 | ); 292 | buildRules = ( 293 | ); 294 | dependencies = ( 295 | ); 296 | name = "Progressor-Progressor"; 297 | productName = "Progressor-Progressor"; 298 | productReference = D36A6C5C713BAB9396296D382F8D03DD /* Progressor.bundle */; 299 | productType = "com.apple.product-type.bundle"; 300 | }; 301 | 7820A2F48A5422AE7654F5EE561F8173 /* Pods-Progressor_Tests */ = { 302 | isa = PBXNativeTarget; 303 | buildConfigurationList = 74777E5351AB09AAB0DCE23A69154CE6 /* Build configuration list for PBXNativeTarget "Pods-Progressor_Tests" */; 304 | buildPhases = ( 305 | 0E34538DBDB28C4C3B1B55C4C694D6DA /* Headers */, 306 | 54B6206A11731544567B9CFEDEF4A4CE /* Sources */, 307 | CAD84D249DF41FBFBA45A607B75B61B1 /* Frameworks */, 308 | 943D0DB6B1F3637110616A4B2172DECF /* Resources */, 309 | ); 310 | buildRules = ( 311 | ); 312 | dependencies = ( 313 | 7FEB0059C05648D4C24D03F26B2F812F /* PBXTargetDependency */, 314 | ); 315 | name = "Pods-Progressor_Tests"; 316 | productName = "Pods-Progressor_Tests"; 317 | productReference = 7AA619BB87C0A6C30840295E004505EA /* Pods_Progressor_Tests.framework */; 318 | productType = "com.apple.product-type.framework"; 319 | }; 320 | 99402BE8B1F6F4489E4FDFF3389526B1 /* Pods-Progressor_Example */ = { 321 | isa = PBXNativeTarget; 322 | buildConfigurationList = 3EF2FD62E311AC1907C0FD16E060C046 /* Build configuration list for PBXNativeTarget "Pods-Progressor_Example" */; 323 | buildPhases = ( 324 | 45B8E2AED5166E81C4A54ED4C3517C06 /* Headers */, 325 | DC7450CD906AC6E934FFB81972EAE90C /* Sources */, 326 | 81F3339C5ED2159C54738297BE65BCE5 /* Frameworks */, 327 | A6FA0721BB7A88A56051F23B136A8C2A /* Resources */, 328 | ); 329 | buildRules = ( 330 | ); 331 | dependencies = ( 332 | FE38C8F61557309993B9B8702A7DCF0F /* PBXTargetDependency */, 333 | ); 334 | name = "Pods-Progressor_Example"; 335 | productName = "Pods-Progressor_Example"; 336 | productReference = 7DAA751050E5E77C1FD92CF7FC4C008C /* Pods_Progressor_Example.framework */; 337 | productType = "com.apple.product-type.framework"; 338 | }; 339 | FF91B99046AD36A6FC9FD80ABBD215E1 /* Progressor */ = { 340 | isa = PBXNativeTarget; 341 | buildConfigurationList = 4D1CC65B091BE77ED7BEC65E3DE1513E /* Build configuration list for PBXNativeTarget "Progressor" */; 342 | buildPhases = ( 343 | 42535766B95639EA4B3C3EBA57F982FA /* Headers */, 344 | 3EDE67BFD97BA3C21D1A70AE0A7E1DD7 /* Sources */, 345 | D183C106819B1F3BB6FA6277A0026D7F /* Frameworks */, 346 | 1C1947630CC9A22A071FBC3067B6808D /* Resources */, 347 | ); 348 | buildRules = ( 349 | ); 350 | dependencies = ( 351 | 0533961BF30776974C3CF150264422D1 /* PBXTargetDependency */, 352 | ); 353 | name = Progressor; 354 | productName = Progressor; 355 | productReference = 8C93A42842BF61E88BA5CFFFE994D711 /* Progressor.framework */; 356 | productType = "com.apple.product-type.framework"; 357 | }; 358 | /* End PBXNativeTarget section */ 359 | 360 | /* Begin PBXProject section */ 361 | BFDFE7DC352907FC980B868725387E98 /* Project object */ = { 362 | isa = PBXProject; 363 | attributes = { 364 | LastSwiftUpdateCheck = 0930; 365 | LastUpgradeCheck = 0930; 366 | }; 367 | buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; 368 | compatibilityVersion = "Xcode 3.2"; 369 | developmentRegion = English; 370 | hasScannedForEncodings = 0; 371 | knownRegions = ( 372 | en, 373 | ); 374 | mainGroup = CF1408CF629C7361332E53B88F7BD30C; 375 | productRefGroup = 583F34186E7AEA4C9B871D7AE14EAF40 /* Products */; 376 | projectDirPath = ""; 377 | projectRoot = ""; 378 | targets = ( 379 | 99402BE8B1F6F4489E4FDFF3389526B1 /* Pods-Progressor_Example */, 380 | 7820A2F48A5422AE7654F5EE561F8173 /* Pods-Progressor_Tests */, 381 | FF91B99046AD36A6FC9FD80ABBD215E1 /* Progressor */, 382 | 6A5576D899FC3103F084DE1EC850405E /* Progressor-Progressor */, 383 | ); 384 | }; 385 | /* End PBXProject section */ 386 | 387 | /* Begin PBXResourcesBuildPhase section */ 388 | 1C1947630CC9A22A071FBC3067B6808D /* Resources */ = { 389 | isa = PBXResourcesBuildPhase; 390 | buildActionMask = 2147483647; 391 | files = ( 392 | 5E82C942DA1E3F50DE3B7149F75F296D /* Progressor.bundle in Resources */, 393 | ); 394 | runOnlyForDeploymentPostprocessing = 0; 395 | }; 396 | 943D0DB6B1F3637110616A4B2172DECF /* Resources */ = { 397 | isa = PBXResourcesBuildPhase; 398 | buildActionMask = 2147483647; 399 | files = ( 400 | ); 401 | runOnlyForDeploymentPostprocessing = 0; 402 | }; 403 | A6FA0721BB7A88A56051F23B136A8C2A /* Resources */ = { 404 | isa = PBXResourcesBuildPhase; 405 | buildActionMask = 2147483647; 406 | files = ( 407 | ); 408 | runOnlyForDeploymentPostprocessing = 0; 409 | }; 410 | C8446AB624B224B34F72A706295562B1 /* Resources */ = { 411 | isa = PBXResourcesBuildPhase; 412 | buildActionMask = 2147483647; 413 | files = ( 414 | 4DD4393DE978685DD0A30536746F70FB /* Icon.xcassets in Resources */, 415 | ); 416 | runOnlyForDeploymentPostprocessing = 0; 417 | }; 418 | /* End PBXResourcesBuildPhase section */ 419 | 420 | /* Begin PBXSourcesBuildPhase section */ 421 | 3EDE67BFD97BA3C21D1A70AE0A7E1DD7 /* Sources */ = { 422 | isa = PBXSourcesBuildPhase; 423 | buildActionMask = 2147483647; 424 | files = ( 425 | C1ED9576860D0DF843BD0E0D9BDFB0B6 /* Progressor-dummy.m in Sources */, 426 | 3CD82DE8168C27B7E5FDA634A91DC0D2 /* ProgressorView.swift in Sources */, 427 | ); 428 | runOnlyForDeploymentPostprocessing = 0; 429 | }; 430 | 54B6206A11731544567B9CFEDEF4A4CE /* Sources */ = { 431 | isa = PBXSourcesBuildPhase; 432 | buildActionMask = 2147483647; 433 | files = ( 434 | 20863D1878392AD2151455E8D1E493EB /* Pods-Progressor_Tests-dummy.m in Sources */, 435 | ); 436 | runOnlyForDeploymentPostprocessing = 0; 437 | }; 438 | DC7450CD906AC6E934FFB81972EAE90C /* Sources */ = { 439 | isa = PBXSourcesBuildPhase; 440 | buildActionMask = 2147483647; 441 | files = ( 442 | 5D1FAE4339B81A2F6ABEAD41E32DD341 /* Pods-Progressor_Example-dummy.m in Sources */, 443 | ); 444 | runOnlyForDeploymentPostprocessing = 0; 445 | }; 446 | EFAF33A56E1D70B2C8452F3145D7B463 /* Sources */ = { 447 | isa = PBXSourcesBuildPhase; 448 | buildActionMask = 2147483647; 449 | files = ( 450 | ); 451 | runOnlyForDeploymentPostprocessing = 0; 452 | }; 453 | /* End PBXSourcesBuildPhase section */ 454 | 455 | /* Begin PBXTargetDependency section */ 456 | 0533961BF30776974C3CF150264422D1 /* PBXTargetDependency */ = { 457 | isa = PBXTargetDependency; 458 | name = "Progressor-Progressor"; 459 | target = 6A5576D899FC3103F084DE1EC850405E /* Progressor-Progressor */; 460 | targetProxy = 256C3727830BF5FE7AD15C3E25419D2B /* PBXContainerItemProxy */; 461 | }; 462 | 7FEB0059C05648D4C24D03F26B2F812F /* PBXTargetDependency */ = { 463 | isa = PBXTargetDependency; 464 | name = "Pods-Progressor_Example"; 465 | target = 99402BE8B1F6F4489E4FDFF3389526B1 /* Pods-Progressor_Example */; 466 | targetProxy = 433A0CC9B6079FF42E1CE1AFA76186A7 /* PBXContainerItemProxy */; 467 | }; 468 | FE38C8F61557309993B9B8702A7DCF0F /* PBXTargetDependency */ = { 469 | isa = PBXTargetDependency; 470 | name = Progressor; 471 | target = FF91B99046AD36A6FC9FD80ABBD215E1 /* Progressor */; 472 | targetProxy = 054FFB41C331F7200EE4D0FB6549B71B /* PBXContainerItemProxy */; 473 | }; 474 | /* End PBXTargetDependency section */ 475 | 476 | /* Begin XCBuildConfiguration section */ 477 | 14446681C75045A538A50F80F501FE54 /* Release */ = { 478 | isa = XCBuildConfiguration; 479 | baseConfigurationReference = E41BCE7AE025DCF60ACBECD5ABFF0C10 /* Pods-Progressor_Tests.release.xcconfig */; 480 | buildSettings = { 481 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 482 | ARCHS = "$(ARCHS_STANDARD_64_BIT)"; 483 | CLANG_ENABLE_OBJC_WEAK = NO; 484 | CODE_SIGN_IDENTITY = ""; 485 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 486 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 487 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 488 | CURRENT_PROJECT_VERSION = 1; 489 | DEFINES_MODULE = YES; 490 | DYLIB_COMPATIBILITY_VERSION = 1; 491 | DYLIB_CURRENT_VERSION = 1; 492 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 493 | INFOPLIST_FILE = "Target Support Files/Pods-Progressor_Tests/Pods-Progressor_Tests-Info.plist"; 494 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 495 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 496 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 497 | MACH_O_TYPE = staticlib; 498 | MODULEMAP_FILE = "Target Support Files/Pods-Progressor_Tests/Pods-Progressor_Tests.modulemap"; 499 | OTHER_LDFLAGS = ""; 500 | OTHER_LIBTOOLFLAGS = ""; 501 | PODS_ROOT = "$(SRCROOT)"; 502 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 503 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 504 | SDKROOT = iphoneos; 505 | SKIP_INSTALL = YES; 506 | TARGETED_DEVICE_FAMILY = "1,2"; 507 | VALIDATE_PRODUCT = YES; 508 | VERSIONING_SYSTEM = "apple-generic"; 509 | VERSION_INFO_PREFIX = ""; 510 | }; 511 | name = Release; 512 | }; 513 | 43A3F41B9666252048FEB16FEEE86378 /* Release */ = { 514 | isa = XCBuildConfiguration; 515 | baseConfigurationReference = 734399127EAF3FCEFE310B0C4453B2B1 /* Pods-Progressor_Example.release.xcconfig */; 516 | buildSettings = { 517 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 518 | ARCHS = "$(ARCHS_STANDARD_64_BIT)"; 519 | CLANG_ENABLE_OBJC_WEAK = NO; 520 | CODE_SIGN_IDENTITY = ""; 521 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 522 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 523 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 524 | CURRENT_PROJECT_VERSION = 1; 525 | DEFINES_MODULE = YES; 526 | DYLIB_COMPATIBILITY_VERSION = 1; 527 | DYLIB_CURRENT_VERSION = 1; 528 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 529 | INFOPLIST_FILE = "Target Support Files/Pods-Progressor_Example/Pods-Progressor_Example-Info.plist"; 530 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 531 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 532 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 533 | MACH_O_TYPE = staticlib; 534 | MODULEMAP_FILE = "Target Support Files/Pods-Progressor_Example/Pods-Progressor_Example.modulemap"; 535 | OTHER_LDFLAGS = ""; 536 | OTHER_LIBTOOLFLAGS = ""; 537 | PODS_ROOT = "$(SRCROOT)"; 538 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 539 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 540 | SDKROOT = iphoneos; 541 | SKIP_INSTALL = YES; 542 | TARGETED_DEVICE_FAMILY = "1,2"; 543 | VALIDATE_PRODUCT = YES; 544 | VERSIONING_SYSTEM = "apple-generic"; 545 | VERSION_INFO_PREFIX = ""; 546 | }; 547 | name = Release; 548 | }; 549 | 43E66B62AA6258F9B917306027C65A52 /* Release */ = { 550 | isa = XCBuildConfiguration; 551 | baseConfigurationReference = EFF15E31F312FF870F548DD13CF903E3 /* Progressor.xcconfig */; 552 | buildSettings = { 553 | CODE_SIGN_IDENTITY = "iPhone Developer"; 554 | CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Progressor"; 555 | INFOPLIST_FILE = "Target Support Files/Progressor/ResourceBundle-Progressor-Progressor-Info.plist"; 556 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 557 | PRODUCT_NAME = Progressor; 558 | SDKROOT = iphoneos; 559 | SKIP_INSTALL = YES; 560 | TARGETED_DEVICE_FAMILY = "1,2"; 561 | WRAPPER_EXTENSION = bundle; 562 | }; 563 | name = Release; 564 | }; 565 | 4CE281642D6EE9FAB113046B4B6328A0 /* Release */ = { 566 | isa = XCBuildConfiguration; 567 | buildSettings = { 568 | ALWAYS_SEARCH_USER_PATHS = NO; 569 | CLANG_ANALYZER_NONNULL = YES; 570 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 571 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 572 | CLANG_CXX_LIBRARY = "libc++"; 573 | CLANG_ENABLE_MODULES = YES; 574 | CLANG_ENABLE_OBJC_ARC = YES; 575 | CLANG_ENABLE_OBJC_WEAK = YES; 576 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 577 | CLANG_WARN_BOOL_CONVERSION = YES; 578 | CLANG_WARN_COMMA = YES; 579 | CLANG_WARN_CONSTANT_CONVERSION = YES; 580 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 581 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 582 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 583 | CLANG_WARN_EMPTY_BODY = YES; 584 | CLANG_WARN_ENUM_CONVERSION = YES; 585 | CLANG_WARN_INFINITE_RECURSION = YES; 586 | CLANG_WARN_INT_CONVERSION = YES; 587 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 588 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 589 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 590 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 591 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 592 | CLANG_WARN_STRICT_PROTOTYPES = YES; 593 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 594 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 595 | CLANG_WARN_UNREACHABLE_CODE = YES; 596 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 597 | COPY_PHASE_STRIP = NO; 598 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 599 | ENABLE_NS_ASSERTIONS = NO; 600 | ENABLE_STRICT_OBJC_MSGSEND = YES; 601 | GCC_C_LANGUAGE_STANDARD = gnu11; 602 | GCC_NO_COMMON_BLOCKS = YES; 603 | GCC_PREPROCESSOR_DEFINITIONS = ( 604 | "POD_CONFIGURATION_RELEASE=1", 605 | "$(inherited)", 606 | ); 607 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 608 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 609 | GCC_WARN_UNDECLARED_SELECTOR = YES; 610 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 611 | GCC_WARN_UNUSED_FUNCTION = YES; 612 | GCC_WARN_UNUSED_VARIABLE = YES; 613 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 614 | MTL_ENABLE_DEBUG_INFO = NO; 615 | MTL_FAST_MATH = YES; 616 | PRODUCT_NAME = "$(TARGET_NAME)"; 617 | STRIP_INSTALLED_PRODUCT = NO; 618 | SWIFT_COMPILATION_MODE = wholemodule; 619 | SWIFT_OPTIMIZATION_LEVEL = "-O"; 620 | SWIFT_VERSION = 4.2; 621 | SYMROOT = "${SRCROOT}/../build"; 622 | }; 623 | name = Release; 624 | }; 625 | 6DFA1578582149B7E24AD55CBA30F07A /* Debug */ = { 626 | isa = XCBuildConfiguration; 627 | buildSettings = { 628 | ALWAYS_SEARCH_USER_PATHS = NO; 629 | CLANG_ANALYZER_NONNULL = YES; 630 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 631 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 632 | CLANG_CXX_LIBRARY = "libc++"; 633 | CLANG_ENABLE_MODULES = YES; 634 | CLANG_ENABLE_OBJC_ARC = YES; 635 | CLANG_ENABLE_OBJC_WEAK = YES; 636 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 637 | CLANG_WARN_BOOL_CONVERSION = YES; 638 | CLANG_WARN_COMMA = YES; 639 | CLANG_WARN_CONSTANT_CONVERSION = YES; 640 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 641 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 642 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 643 | CLANG_WARN_EMPTY_BODY = YES; 644 | CLANG_WARN_ENUM_CONVERSION = YES; 645 | CLANG_WARN_INFINITE_RECURSION = YES; 646 | CLANG_WARN_INT_CONVERSION = YES; 647 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 648 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 649 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 650 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 651 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 652 | CLANG_WARN_STRICT_PROTOTYPES = YES; 653 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 654 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 655 | CLANG_WARN_UNREACHABLE_CODE = YES; 656 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 657 | COPY_PHASE_STRIP = NO; 658 | DEBUG_INFORMATION_FORMAT = dwarf; 659 | ENABLE_STRICT_OBJC_MSGSEND = YES; 660 | ENABLE_TESTABILITY = YES; 661 | GCC_C_LANGUAGE_STANDARD = gnu11; 662 | GCC_DYNAMIC_NO_PIC = NO; 663 | GCC_NO_COMMON_BLOCKS = YES; 664 | GCC_OPTIMIZATION_LEVEL = 0; 665 | GCC_PREPROCESSOR_DEFINITIONS = ( 666 | "POD_CONFIGURATION_DEBUG=1", 667 | "DEBUG=1", 668 | "$(inherited)", 669 | ); 670 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 671 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 672 | GCC_WARN_UNDECLARED_SELECTOR = YES; 673 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 674 | GCC_WARN_UNUSED_FUNCTION = YES; 675 | GCC_WARN_UNUSED_VARIABLE = YES; 676 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 677 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 678 | MTL_FAST_MATH = YES; 679 | ONLY_ACTIVE_ARCH = YES; 680 | PRODUCT_NAME = "$(TARGET_NAME)"; 681 | STRIP_INSTALLED_PRODUCT = NO; 682 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 683 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 684 | SWIFT_VERSION = 4.2; 685 | SYMROOT = "${SRCROOT}/../build"; 686 | }; 687 | name = Debug; 688 | }; 689 | 764C003E7E16CFBB0774B293F87256ED /* Debug */ = { 690 | isa = XCBuildConfiguration; 691 | baseConfigurationReference = EFF15E31F312FF870F548DD13CF903E3 /* Progressor.xcconfig */; 692 | buildSettings = { 693 | CODE_SIGN_IDENTITY = "iPhone Developer"; 694 | CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Progressor"; 695 | INFOPLIST_FILE = "Target Support Files/Progressor/ResourceBundle-Progressor-Progressor-Info.plist"; 696 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 697 | PRODUCT_NAME = Progressor; 698 | SDKROOT = iphoneos; 699 | SKIP_INSTALL = YES; 700 | TARGETED_DEVICE_FAMILY = "1,2"; 701 | WRAPPER_EXTENSION = bundle; 702 | }; 703 | name = Debug; 704 | }; 705 | 8BD3D2C5364EEF575E399D3ADE34150F /* Debug */ = { 706 | isa = XCBuildConfiguration; 707 | baseConfigurationReference = 2554A3C6E89C39ED879AB92D2B351336 /* Pods-Progressor_Tests.debug.xcconfig */; 708 | buildSettings = { 709 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 710 | ARCHS = "$(ARCHS_STANDARD_64_BIT)"; 711 | CLANG_ENABLE_OBJC_WEAK = NO; 712 | CODE_SIGN_IDENTITY = ""; 713 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 714 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 715 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 716 | CURRENT_PROJECT_VERSION = 1; 717 | DEFINES_MODULE = YES; 718 | DYLIB_COMPATIBILITY_VERSION = 1; 719 | DYLIB_CURRENT_VERSION = 1; 720 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 721 | INFOPLIST_FILE = "Target Support Files/Pods-Progressor_Tests/Pods-Progressor_Tests-Info.plist"; 722 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 723 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 724 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 725 | MACH_O_TYPE = staticlib; 726 | MODULEMAP_FILE = "Target Support Files/Pods-Progressor_Tests/Pods-Progressor_Tests.modulemap"; 727 | OTHER_LDFLAGS = ""; 728 | OTHER_LIBTOOLFLAGS = ""; 729 | PODS_ROOT = "$(SRCROOT)"; 730 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 731 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 732 | SDKROOT = iphoneos; 733 | SKIP_INSTALL = YES; 734 | TARGETED_DEVICE_FAMILY = "1,2"; 735 | VERSIONING_SYSTEM = "apple-generic"; 736 | VERSION_INFO_PREFIX = ""; 737 | }; 738 | name = Debug; 739 | }; 740 | 91A012ED04FABBB7CF522FD13AD9B7DD /* Debug */ = { 741 | isa = XCBuildConfiguration; 742 | baseConfigurationReference = C85FEC0B6E77E6A25F6C02830B919DFA /* Pods-Progressor_Example.debug.xcconfig */; 743 | buildSettings = { 744 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 745 | ARCHS = "$(ARCHS_STANDARD_64_BIT)"; 746 | CLANG_ENABLE_OBJC_WEAK = NO; 747 | CODE_SIGN_IDENTITY = ""; 748 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 749 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 750 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 751 | CURRENT_PROJECT_VERSION = 1; 752 | DEFINES_MODULE = YES; 753 | DYLIB_COMPATIBILITY_VERSION = 1; 754 | DYLIB_CURRENT_VERSION = 1; 755 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 756 | INFOPLIST_FILE = "Target Support Files/Pods-Progressor_Example/Pods-Progressor_Example-Info.plist"; 757 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 758 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 759 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 760 | MACH_O_TYPE = staticlib; 761 | MODULEMAP_FILE = "Target Support Files/Pods-Progressor_Example/Pods-Progressor_Example.modulemap"; 762 | OTHER_LDFLAGS = ""; 763 | OTHER_LIBTOOLFLAGS = ""; 764 | PODS_ROOT = "$(SRCROOT)"; 765 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 766 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 767 | SDKROOT = iphoneos; 768 | SKIP_INSTALL = YES; 769 | TARGETED_DEVICE_FAMILY = "1,2"; 770 | VERSIONING_SYSTEM = "apple-generic"; 771 | VERSION_INFO_PREFIX = ""; 772 | }; 773 | name = Debug; 774 | }; 775 | B11462A6B536C85651F8BB9BBCE223DB /* Debug */ = { 776 | isa = XCBuildConfiguration; 777 | baseConfigurationReference = EFF15E31F312FF870F548DD13CF903E3 /* Progressor.xcconfig */; 778 | buildSettings = { 779 | ARCHS = "$(ARCHS_STANDARD_64_BIT)"; 780 | CODE_SIGN_IDENTITY = ""; 781 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 782 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 783 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 784 | CURRENT_PROJECT_VERSION = 1; 785 | DEFINES_MODULE = YES; 786 | DYLIB_COMPATIBILITY_VERSION = 1; 787 | DYLIB_CURRENT_VERSION = 1; 788 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 789 | GCC_PREFIX_HEADER = "Target Support Files/Progressor/Progressor-prefix.pch"; 790 | INFOPLIST_FILE = "Target Support Files/Progressor/Progressor-Info.plist"; 791 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 792 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 793 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 794 | MODULEMAP_FILE = "Target Support Files/Progressor/Progressor.modulemap"; 795 | PRODUCT_MODULE_NAME = Progressor; 796 | PRODUCT_NAME = Progressor; 797 | SDKROOT = iphoneos; 798 | SKIP_INSTALL = YES; 799 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 800 | SWIFT_VERSION = 4.0; 801 | TARGETED_DEVICE_FAMILY = "1,2"; 802 | VERSIONING_SYSTEM = "apple-generic"; 803 | VERSION_INFO_PREFIX = ""; 804 | }; 805 | name = Debug; 806 | }; 807 | CE1913818918278F73E85E9223D006A0 /* Release */ = { 808 | isa = XCBuildConfiguration; 809 | baseConfigurationReference = EFF15E31F312FF870F548DD13CF903E3 /* Progressor.xcconfig */; 810 | buildSettings = { 811 | ARCHS = "$(ARCHS_STANDARD_64_BIT)"; 812 | CODE_SIGN_IDENTITY = ""; 813 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 814 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 815 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 816 | CURRENT_PROJECT_VERSION = 1; 817 | DEFINES_MODULE = YES; 818 | DYLIB_COMPATIBILITY_VERSION = 1; 819 | DYLIB_CURRENT_VERSION = 1; 820 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 821 | GCC_PREFIX_HEADER = "Target Support Files/Progressor/Progressor-prefix.pch"; 822 | INFOPLIST_FILE = "Target Support Files/Progressor/Progressor-Info.plist"; 823 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 824 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 825 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 826 | MODULEMAP_FILE = "Target Support Files/Progressor/Progressor.modulemap"; 827 | PRODUCT_MODULE_NAME = Progressor; 828 | PRODUCT_NAME = Progressor; 829 | SDKROOT = iphoneos; 830 | SKIP_INSTALL = YES; 831 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 832 | SWIFT_VERSION = 4.0; 833 | TARGETED_DEVICE_FAMILY = "1,2"; 834 | VALIDATE_PRODUCT = YES; 835 | VERSIONING_SYSTEM = "apple-generic"; 836 | VERSION_INFO_PREFIX = ""; 837 | }; 838 | name = Release; 839 | }; 840 | /* End XCBuildConfiguration section */ 841 | 842 | /* Begin XCConfigurationList section */ 843 | 3EF2FD62E311AC1907C0FD16E060C046 /* Build configuration list for PBXNativeTarget "Pods-Progressor_Example" */ = { 844 | isa = XCConfigurationList; 845 | buildConfigurations = ( 846 | 91A012ED04FABBB7CF522FD13AD9B7DD /* Debug */, 847 | 43A3F41B9666252048FEB16FEEE86378 /* Release */, 848 | ); 849 | defaultConfigurationIsVisible = 0; 850 | defaultConfigurationName = Release; 851 | }; 852 | 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { 853 | isa = XCConfigurationList; 854 | buildConfigurations = ( 855 | 6DFA1578582149B7E24AD55CBA30F07A /* Debug */, 856 | 4CE281642D6EE9FAB113046B4B6328A0 /* Release */, 857 | ); 858 | defaultConfigurationIsVisible = 0; 859 | defaultConfigurationName = Release; 860 | }; 861 | 4D1CC65B091BE77ED7BEC65E3DE1513E /* Build configuration list for PBXNativeTarget "Progressor" */ = { 862 | isa = XCConfigurationList; 863 | buildConfigurations = ( 864 | B11462A6B536C85651F8BB9BBCE223DB /* Debug */, 865 | CE1913818918278F73E85E9223D006A0 /* Release */, 866 | ); 867 | defaultConfigurationIsVisible = 0; 868 | defaultConfigurationName = Release; 869 | }; 870 | 74777E5351AB09AAB0DCE23A69154CE6 /* Build configuration list for PBXNativeTarget "Pods-Progressor_Tests" */ = { 871 | isa = XCConfigurationList; 872 | buildConfigurations = ( 873 | 8BD3D2C5364EEF575E399D3ADE34150F /* Debug */, 874 | 14446681C75045A538A50F80F501FE54 /* Release */, 875 | ); 876 | defaultConfigurationIsVisible = 0; 877 | defaultConfigurationName = Release; 878 | }; 879 | E1581CB4666AC9EFC6AB7A118ADD7D5D /* Build configuration list for PBXNativeTarget "Progressor-Progressor" */ = { 880 | isa = XCConfigurationList; 881 | buildConfigurations = ( 882 | 764C003E7E16CFBB0774B293F87256ED /* Debug */, 883 | 43E66B62AA6258F9B917306027C65A52 /* Release */, 884 | ); 885 | defaultConfigurationIsVisible = 0; 886 | defaultConfigurationName = Release; 887 | }; 888 | /* End XCConfigurationList section */ 889 | }; 890 | rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; 891 | } 892 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Progressor_Example/Pods-Progressor_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-Progressor_Example/Pods-Progressor_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## Progressor 5 | 6 | Copyright (c) 2019 sathishvgs 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-Progressor_Example/Pods-Progressor_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) 2019 sathishvgs <vgsathish1995@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 | Progressor 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-Progressor_Example/Pods-Progressor_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_Progressor_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_Progressor_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Progressor_Example/Pods-Progressor_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | function on_error { 7 | echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" 8 | } 9 | trap 'on_error $LINENO' ERR 10 | 11 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then 12 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy 13 | # frameworks to, so exit 0 (signalling the script phase was successful). 14 | exit 0 15 | fi 16 | 17 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 18 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 19 | 20 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" 21 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 22 | 23 | # Used as a return value for each invocation of `strip_invalid_archs` function. 24 | STRIP_BINARY_RETVAL=0 25 | 26 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 27 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 28 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 29 | 30 | # Copies and strips a vendored framework 31 | install_framework() 32 | { 33 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 34 | local source="${BUILT_PRODUCTS_DIR}/$1" 35 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 36 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 37 | elif [ -r "$1" ]; then 38 | local source="$1" 39 | fi 40 | 41 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 42 | 43 | if [ -L "${source}" ]; then 44 | echo "Symlinked..." 45 | source="$(readlink "${source}")" 46 | fi 47 | 48 | # Use filter instead of exclude so missing patterns don't throw errors. 49 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 50 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 51 | 52 | local basename 53 | basename="$(basename -s .framework "$1")" 54 | binary="${destination}/${basename}.framework/${basename}" 55 | 56 | if ! [ -r "$binary" ]; then 57 | binary="${destination}/${basename}" 58 | elif [ -L "${binary}" ]; then 59 | echo "Destination binary is symlinked..." 60 | dirname="$(dirname "${binary}")" 61 | binary="${dirname}/$(readlink "${binary}")" 62 | fi 63 | 64 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 65 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 66 | strip_invalid_archs "$binary" 67 | fi 68 | 69 | # Resign the code if required by the build settings to avoid unstable apps 70 | code_sign_if_enabled "${destination}/$(basename "$1")" 71 | 72 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 73 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 74 | local swift_runtime_libs 75 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u) 76 | for lib in $swift_runtime_libs; do 77 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 78 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 79 | code_sign_if_enabled "${destination}/${lib}" 80 | done 81 | fi 82 | } 83 | 84 | # Copies and strips a vendored dSYM 85 | install_dsym() { 86 | local source="$1" 87 | if [ -r "$source" ]; then 88 | # Copy the dSYM into a the targets temp dir. 89 | 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}\"" 90 | 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}" 91 | 92 | local basename 93 | basename="$(basename -s .framework.dSYM "$source")" 94 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 95 | 96 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 97 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 98 | strip_invalid_archs "$binary" 99 | fi 100 | 101 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 102 | # Move the stripped file into its final destination. 103 | 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}\"" 104 | 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}" 105 | else 106 | # 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. 107 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 108 | fi 109 | fi 110 | } 111 | 112 | # Signs a framework with the provided identity 113 | code_sign_if_enabled() { 114 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 115 | # Use the current code_sign_identity 116 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 117 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 118 | 119 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 120 | code_sign_cmd="$code_sign_cmd &" 121 | fi 122 | echo "$code_sign_cmd" 123 | eval "$code_sign_cmd" 124 | fi 125 | } 126 | 127 | # Strip invalid architectures 128 | strip_invalid_archs() { 129 | binary="$1" 130 | # Get architectures for current target binary 131 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 132 | # Intersect them with the architectures we are building for 133 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 134 | # If there are no archs supported by this binary then warn the user 135 | if [[ -z "$intersected_archs" ]]; then 136 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 137 | STRIP_BINARY_RETVAL=0 138 | return 139 | fi 140 | stripped="" 141 | for arch in $binary_archs; do 142 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 143 | # Strip non-valid architectures in-place 144 | lipo -remove "$arch" -output "$binary" "$binary" 145 | stripped="$stripped $arch" 146 | fi 147 | done 148 | if [[ "$stripped" ]]; then 149 | echo "Stripped $binary of architectures:$stripped" 150 | fi 151 | STRIP_BINARY_RETVAL=1 152 | } 153 | 154 | 155 | if [[ "$CONFIGURATION" == "Debug" ]]; then 156 | install_framework "${BUILT_PRODUCTS_DIR}/Progressor/Progressor.framework" 157 | fi 158 | if [[ "$CONFIGURATION" == "Release" ]]; then 159 | install_framework "${BUILT_PRODUCTS_DIR}/Progressor/Progressor.framework" 160 | fi 161 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 162 | wait 163 | fi 164 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Progressor_Example/Pods-Progressor_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_Progressor_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_Progressor_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Progressor_Example/Pods-Progressor_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Progressor" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Progressor/Progressor.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "Progressor" 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-Progressor_Example/Pods-Progressor_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_Progressor_Example { 2 | umbrella header "Pods-Progressor_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Progressor_Example/Pods-Progressor_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Progressor" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Progressor/Progressor.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "Progressor" 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-Progressor_Tests/Pods-Progressor_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-Progressor_Tests/Pods-Progressor_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-Progressor_Tests/Pods-Progressor_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-Progressor_Tests/Pods-Progressor_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_Progressor_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_Progressor_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Progressor_Tests/Pods-Progressor_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_Progressor_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_Progressor_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Progressor_Tests/Pods-Progressor_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Progressor" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Progressor/Progressor.framework/Headers" 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_LDFLAGS = $(inherited) -framework "Progressor" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Progressor_Tests/Pods-Progressor_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_Progressor_Tests { 2 | umbrella header "Pods-Progressor_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Progressor_Tests/Pods-Progressor_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Progressor" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Progressor/Progressor.framework/Headers" 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_LDFLAGS = $(inherited) -framework "Progressor" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Progressor/Progressor-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/Progressor/Progressor-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Progressor : NSObject 3 | @end 4 | @implementation PodsDummy_Progressor 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Progressor/Progressor-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/Progressor/Progressor-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 ProgressorVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char ProgressorVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Progressor/Progressor.modulemap: -------------------------------------------------------------------------------- 1 | framework module Progressor { 2 | umbrella header "Progressor-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Progressor/Progressor.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Progressor 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Progressor/ResourceBundle-Progressor-Progressor-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleIdentifier 8 | ${PRODUCT_BUNDLE_IDENTIFIER} 9 | CFBundleInfoDictionaryVersion 10 | 6.0 11 | CFBundleName 12 | ${PRODUCT_NAME} 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | NSPrincipalClass 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Progressor.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 089E7F8DA2A9F3D651AB1701 /* Pods_Progressor_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 14589AA123281BF96A722909 /* Pods_Progressor_Example.framework */; }; 11 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 12 | 607FACD81AFB9204008FA782 /* ProgressViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ProgressViewController.swift */; }; 13 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 14 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 15 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 16 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 17 | F642AA2E472B8FA7A69DFE3C /* Pods_Progressor_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DD7B878A60E97F215F2C4BB1 /* Pods_Progressor_Tests.framework */; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXContainerItemProxy section */ 21 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 22 | isa = PBXContainerItemProxy; 23 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 24 | proxyType = 1; 25 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 26 | remoteInfo = Progressor; 27 | }; 28 | /* End PBXContainerItemProxy section */ 29 | 30 | /* Begin PBXFileReference section */ 31 | 14589AA123281BF96A722909 /* Pods_Progressor_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Progressor_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 32 | 1913A1766E94858A7724C668 /* Pods-Progressor_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Progressor_Tests.debug.xcconfig"; path = "Target Support Files/Pods-Progressor_Tests/Pods-Progressor_Tests.debug.xcconfig"; sourceTree = ""; }; 33 | 1BC38E136AA5E0DB278144B0 /* Pods-Progressor_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Progressor_Tests.release.xcconfig"; path = "Target Support Files/Pods-Progressor_Tests/Pods-Progressor_Tests.release.xcconfig"; sourceTree = ""; }; 34 | 47648C53B812D1F5C1A8D0CE /* Pods-Progressor_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Progressor_Example.debug.xcconfig"; path = "Target Support Files/Pods-Progressor_Example/Pods-Progressor_Example.debug.xcconfig"; sourceTree = ""; }; 35 | 5D111E4CE27BD726A3D46C90 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 36 | 607FACD01AFB9204008FA782 /* Progressor_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Progressor_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 37 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 38 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 39 | 607FACD71AFB9204008FA782 /* ProgressViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ProgressViewController.swift; sourceTree = ""; }; 40 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 41 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 42 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 43 | 607FACE51AFB9204008FA782 /* Progressor_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Progressor_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 44 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 45 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 46 | 7C459ACE36C744851B17A3E7 /* Progressor.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Progressor.podspec; path = ../Progressor.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 47 | 7F17AB232852DBBE39185DD1 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 48 | DD7B878A60E97F215F2C4BB1 /* Pods_Progressor_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Progressor_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 49 | FBD34230D2165FA0EE2F0077 /* Pods-Progressor_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Progressor_Example.release.xcconfig"; path = "Target Support Files/Pods-Progressor_Example/Pods-Progressor_Example.release.xcconfig"; sourceTree = ""; }; 50 | /* End PBXFileReference section */ 51 | 52 | /* Begin PBXFrameworksBuildPhase section */ 53 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 54 | isa = PBXFrameworksBuildPhase; 55 | buildActionMask = 2147483647; 56 | files = ( 57 | 089E7F8DA2A9F3D651AB1701 /* Pods_Progressor_Example.framework in Frameworks */, 58 | ); 59 | runOnlyForDeploymentPostprocessing = 0; 60 | }; 61 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 62 | isa = PBXFrameworksBuildPhase; 63 | buildActionMask = 2147483647; 64 | files = ( 65 | F642AA2E472B8FA7A69DFE3C /* Pods_Progressor_Tests.framework in Frameworks */, 66 | ); 67 | runOnlyForDeploymentPostprocessing = 0; 68 | }; 69 | /* End PBXFrameworksBuildPhase section */ 70 | 71 | /* Begin PBXGroup section */ 72 | 607FACC71AFB9204008FA782 = { 73 | isa = PBXGroup; 74 | children = ( 75 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 76 | 607FACD21AFB9204008FA782 /* Example for Progressor */, 77 | 607FACE81AFB9204008FA782 /* Tests */, 78 | 607FACD11AFB9204008FA782 /* Products */, 79 | E708A44686981D027CDBF5F0 /* Pods */, 80 | DA0E1994D4FF30DD5F1C9BA0 /* Frameworks */, 81 | ); 82 | sourceTree = ""; 83 | }; 84 | 607FACD11AFB9204008FA782 /* Products */ = { 85 | isa = PBXGroup; 86 | children = ( 87 | 607FACD01AFB9204008FA782 /* Progressor_Example.app */, 88 | 607FACE51AFB9204008FA782 /* Progressor_Tests.xctest */, 89 | ); 90 | name = Products; 91 | sourceTree = ""; 92 | }; 93 | 607FACD21AFB9204008FA782 /* Example for Progressor */ = { 94 | isa = PBXGroup; 95 | children = ( 96 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 97 | 607FACD71AFB9204008FA782 /* ProgressViewController.swift */, 98 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 99 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 100 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 101 | 607FACD31AFB9204008FA782 /* Supporting Files */, 102 | ); 103 | name = "Example for Progressor"; 104 | path = Progressor; 105 | sourceTree = ""; 106 | }; 107 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 108 | isa = PBXGroup; 109 | children = ( 110 | 607FACD41AFB9204008FA782 /* Info.plist */, 111 | ); 112 | name = "Supporting Files"; 113 | sourceTree = ""; 114 | }; 115 | 607FACE81AFB9204008FA782 /* Tests */ = { 116 | isa = PBXGroup; 117 | children = ( 118 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 119 | 607FACE91AFB9204008FA782 /* Supporting Files */, 120 | ); 121 | path = Tests; 122 | sourceTree = ""; 123 | }; 124 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 125 | isa = PBXGroup; 126 | children = ( 127 | 607FACEA1AFB9204008FA782 /* Info.plist */, 128 | ); 129 | name = "Supporting Files"; 130 | sourceTree = ""; 131 | }; 132 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 133 | isa = PBXGroup; 134 | children = ( 135 | 7C459ACE36C744851B17A3E7 /* Progressor.podspec */, 136 | 5D111E4CE27BD726A3D46C90 /* README.md */, 137 | 7F17AB232852DBBE39185DD1 /* LICENSE */, 138 | ); 139 | name = "Podspec Metadata"; 140 | sourceTree = ""; 141 | }; 142 | DA0E1994D4FF30DD5F1C9BA0 /* Frameworks */ = { 143 | isa = PBXGroup; 144 | children = ( 145 | 14589AA123281BF96A722909 /* Pods_Progressor_Example.framework */, 146 | DD7B878A60E97F215F2C4BB1 /* Pods_Progressor_Tests.framework */, 147 | ); 148 | name = Frameworks; 149 | sourceTree = ""; 150 | }; 151 | E708A44686981D027CDBF5F0 /* Pods */ = { 152 | isa = PBXGroup; 153 | children = ( 154 | 47648C53B812D1F5C1A8D0CE /* Pods-Progressor_Example.debug.xcconfig */, 155 | FBD34230D2165FA0EE2F0077 /* Pods-Progressor_Example.release.xcconfig */, 156 | 1913A1766E94858A7724C668 /* Pods-Progressor_Tests.debug.xcconfig */, 157 | 1BC38E136AA5E0DB278144B0 /* Pods-Progressor_Tests.release.xcconfig */, 158 | ); 159 | path = Pods; 160 | sourceTree = ""; 161 | }; 162 | /* End PBXGroup section */ 163 | 164 | /* Begin PBXNativeTarget section */ 165 | 607FACCF1AFB9204008FA782 /* Progressor_Example */ = { 166 | isa = PBXNativeTarget; 167 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "Progressor_Example" */; 168 | buildPhases = ( 169 | B60F95CACC6DC150BB9A2A84 /* [CP] Check Pods Manifest.lock */, 170 | 607FACCC1AFB9204008FA782 /* Sources */, 171 | 607FACCD1AFB9204008FA782 /* Frameworks */, 172 | 607FACCE1AFB9204008FA782 /* Resources */, 173 | 41AC1959AC237C6E6196B926 /* [CP] Embed Pods Frameworks */, 174 | ); 175 | buildRules = ( 176 | ); 177 | dependencies = ( 178 | ); 179 | name = Progressor_Example; 180 | productName = Progressor; 181 | productReference = 607FACD01AFB9204008FA782 /* Progressor_Example.app */; 182 | productType = "com.apple.product-type.application"; 183 | }; 184 | 607FACE41AFB9204008FA782 /* Progressor_Tests */ = { 185 | isa = PBXNativeTarget; 186 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "Progressor_Tests" */; 187 | buildPhases = ( 188 | D0AD39A402B497BE6DCB58C5 /* [CP] Check Pods Manifest.lock */, 189 | 607FACE11AFB9204008FA782 /* Sources */, 190 | 607FACE21AFB9204008FA782 /* Frameworks */, 191 | 607FACE31AFB9204008FA782 /* Resources */, 192 | ); 193 | buildRules = ( 194 | ); 195 | dependencies = ( 196 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 197 | ); 198 | name = Progressor_Tests; 199 | productName = Tests; 200 | productReference = 607FACE51AFB9204008FA782 /* Progressor_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 | LastSwiftMigration = 0900; 216 | }; 217 | 607FACE41AFB9204008FA782 = { 218 | CreatedOnToolsVersion = 6.3.1; 219 | LastSwiftMigration = 0900; 220 | TestTargetID = 607FACCF1AFB9204008FA782; 221 | }; 222 | }; 223 | }; 224 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "Progressor" */; 225 | compatibilityVersion = "Xcode 3.2"; 226 | developmentRegion = English; 227 | hasScannedForEncodings = 0; 228 | knownRegions = ( 229 | en, 230 | Base, 231 | ); 232 | mainGroup = 607FACC71AFB9204008FA782; 233 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 234 | projectDirPath = ""; 235 | projectRoot = ""; 236 | targets = ( 237 | 607FACCF1AFB9204008FA782 /* Progressor_Example */, 238 | 607FACE41AFB9204008FA782 /* Progressor_Tests */, 239 | ); 240 | }; 241 | /* End PBXProject section */ 242 | 243 | /* Begin PBXResourcesBuildPhase section */ 244 | 607FACCE1AFB9204008FA782 /* Resources */ = { 245 | isa = PBXResourcesBuildPhase; 246 | buildActionMask = 2147483647; 247 | files = ( 248 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 249 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 250 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 251 | ); 252 | runOnlyForDeploymentPostprocessing = 0; 253 | }; 254 | 607FACE31AFB9204008FA782 /* Resources */ = { 255 | isa = PBXResourcesBuildPhase; 256 | buildActionMask = 2147483647; 257 | files = ( 258 | ); 259 | runOnlyForDeploymentPostprocessing = 0; 260 | }; 261 | /* End PBXResourcesBuildPhase section */ 262 | 263 | /* Begin PBXShellScriptBuildPhase section */ 264 | 41AC1959AC237C6E6196B926 /* [CP] Embed Pods Frameworks */ = { 265 | isa = PBXShellScriptBuildPhase; 266 | buildActionMask = 2147483647; 267 | files = ( 268 | ); 269 | inputFileListPaths = ( 270 | ); 271 | inputPaths = ( 272 | "${PODS_ROOT}/Target Support Files/Pods-Progressor_Example/Pods-Progressor_Example-frameworks.sh", 273 | "${BUILT_PRODUCTS_DIR}/Progressor/Progressor.framework", 274 | ); 275 | name = "[CP] Embed Pods Frameworks"; 276 | outputFileListPaths = ( 277 | ); 278 | outputPaths = ( 279 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Progressor.framework", 280 | ); 281 | runOnlyForDeploymentPostprocessing = 0; 282 | shellPath = /bin/sh; 283 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Progressor_Example/Pods-Progressor_Example-frameworks.sh\"\n"; 284 | showEnvVarsInLog = 0; 285 | }; 286 | B60F95CACC6DC150BB9A2A84 /* [CP] Check Pods Manifest.lock */ = { 287 | isa = PBXShellScriptBuildPhase; 288 | buildActionMask = 2147483647; 289 | files = ( 290 | ); 291 | inputFileListPaths = ( 292 | ); 293 | inputPaths = ( 294 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 295 | "${PODS_ROOT}/Manifest.lock", 296 | ); 297 | name = "[CP] Check Pods Manifest.lock"; 298 | outputFileListPaths = ( 299 | ); 300 | outputPaths = ( 301 | "$(DERIVED_FILE_DIR)/Pods-Progressor_Example-checkManifestLockResult.txt", 302 | ); 303 | runOnlyForDeploymentPostprocessing = 0; 304 | shellPath = /bin/sh; 305 | 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"; 306 | showEnvVarsInLog = 0; 307 | }; 308 | D0AD39A402B497BE6DCB58C5 /* [CP] Check Pods Manifest.lock */ = { 309 | isa = PBXShellScriptBuildPhase; 310 | buildActionMask = 2147483647; 311 | files = ( 312 | ); 313 | inputFileListPaths = ( 314 | ); 315 | inputPaths = ( 316 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 317 | "${PODS_ROOT}/Manifest.lock", 318 | ); 319 | name = "[CP] Check Pods Manifest.lock"; 320 | outputFileListPaths = ( 321 | ); 322 | outputPaths = ( 323 | "$(DERIVED_FILE_DIR)/Pods-Progressor_Tests-checkManifestLockResult.txt", 324 | ); 325 | runOnlyForDeploymentPostprocessing = 0; 326 | shellPath = /bin/sh; 327 | 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"; 328 | showEnvVarsInLog = 0; 329 | }; 330 | /* End PBXShellScriptBuildPhase section */ 331 | 332 | /* Begin PBXSourcesBuildPhase section */ 333 | 607FACCC1AFB9204008FA782 /* Sources */ = { 334 | isa = PBXSourcesBuildPhase; 335 | buildActionMask = 2147483647; 336 | files = ( 337 | 607FACD81AFB9204008FA782 /* ProgressViewController.swift in Sources */, 338 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 339 | ); 340 | runOnlyForDeploymentPostprocessing = 0; 341 | }; 342 | 607FACE11AFB9204008FA782 /* Sources */ = { 343 | isa = PBXSourcesBuildPhase; 344 | buildActionMask = 2147483647; 345 | files = ( 346 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 347 | ); 348 | runOnlyForDeploymentPostprocessing = 0; 349 | }; 350 | /* End PBXSourcesBuildPhase section */ 351 | 352 | /* Begin PBXTargetDependency section */ 353 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 354 | isa = PBXTargetDependency; 355 | target = 607FACCF1AFB9204008FA782 /* Progressor_Example */; 356 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 357 | }; 358 | /* End PBXTargetDependency section */ 359 | 360 | /* Begin PBXVariantGroup section */ 361 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 362 | isa = PBXVariantGroup; 363 | children = ( 364 | 607FACDA1AFB9204008FA782 /* Base */, 365 | ); 366 | name = Main.storyboard; 367 | sourceTree = ""; 368 | }; 369 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 370 | isa = PBXVariantGroup; 371 | children = ( 372 | 607FACDF1AFB9204008FA782 /* Base */, 373 | ); 374 | name = LaunchScreen.xib; 375 | sourceTree = ""; 376 | }; 377 | /* End PBXVariantGroup section */ 378 | 379 | /* Begin XCBuildConfiguration section */ 380 | 607FACED1AFB9204008FA782 /* Debug */ = { 381 | isa = XCBuildConfiguration; 382 | buildSettings = { 383 | ALWAYS_SEARCH_USER_PATHS = NO; 384 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 385 | CLANG_CXX_LIBRARY = "libc++"; 386 | CLANG_ENABLE_MODULES = YES; 387 | CLANG_ENABLE_OBJC_ARC = YES; 388 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 389 | CLANG_WARN_BOOL_CONVERSION = YES; 390 | CLANG_WARN_COMMA = YES; 391 | CLANG_WARN_CONSTANT_CONVERSION = YES; 392 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 393 | CLANG_WARN_EMPTY_BODY = YES; 394 | CLANG_WARN_ENUM_CONVERSION = YES; 395 | CLANG_WARN_INFINITE_RECURSION = YES; 396 | CLANG_WARN_INT_CONVERSION = YES; 397 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 398 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 399 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 400 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 401 | CLANG_WARN_STRICT_PROTOTYPES = YES; 402 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 403 | CLANG_WARN_UNREACHABLE_CODE = YES; 404 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 405 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 406 | COPY_PHASE_STRIP = NO; 407 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 408 | ENABLE_STRICT_OBJC_MSGSEND = YES; 409 | ENABLE_TESTABILITY = YES; 410 | GCC_C_LANGUAGE_STANDARD = gnu99; 411 | GCC_DYNAMIC_NO_PIC = NO; 412 | GCC_NO_COMMON_BLOCKS = YES; 413 | GCC_OPTIMIZATION_LEVEL = 0; 414 | GCC_PREPROCESSOR_DEFINITIONS = ( 415 | "DEBUG=1", 416 | "$(inherited)", 417 | ); 418 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 419 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 420 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 421 | GCC_WARN_UNDECLARED_SELECTOR = YES; 422 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 423 | GCC_WARN_UNUSED_FUNCTION = YES; 424 | GCC_WARN_UNUSED_VARIABLE = YES; 425 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 426 | MTL_ENABLE_DEBUG_INFO = YES; 427 | ONLY_ACTIVE_ARCH = YES; 428 | SDKROOT = iphoneos; 429 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 430 | }; 431 | name = Debug; 432 | }; 433 | 607FACEE1AFB9204008FA782 /* Release */ = { 434 | isa = XCBuildConfiguration; 435 | buildSettings = { 436 | ALWAYS_SEARCH_USER_PATHS = NO; 437 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 438 | CLANG_CXX_LIBRARY = "libc++"; 439 | CLANG_ENABLE_MODULES = YES; 440 | CLANG_ENABLE_OBJC_ARC = YES; 441 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 442 | CLANG_WARN_BOOL_CONVERSION = YES; 443 | CLANG_WARN_COMMA = YES; 444 | CLANG_WARN_CONSTANT_CONVERSION = YES; 445 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 446 | CLANG_WARN_EMPTY_BODY = YES; 447 | CLANG_WARN_ENUM_CONVERSION = YES; 448 | CLANG_WARN_INFINITE_RECURSION = YES; 449 | CLANG_WARN_INT_CONVERSION = YES; 450 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 451 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 452 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 453 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 454 | CLANG_WARN_STRICT_PROTOTYPES = YES; 455 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 456 | CLANG_WARN_UNREACHABLE_CODE = YES; 457 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 458 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 459 | COPY_PHASE_STRIP = NO; 460 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 461 | ENABLE_NS_ASSERTIONS = NO; 462 | ENABLE_STRICT_OBJC_MSGSEND = YES; 463 | GCC_C_LANGUAGE_STANDARD = gnu99; 464 | GCC_NO_COMMON_BLOCKS = YES; 465 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 466 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 467 | GCC_WARN_UNDECLARED_SELECTOR = YES; 468 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 469 | GCC_WARN_UNUSED_FUNCTION = YES; 470 | GCC_WARN_UNUSED_VARIABLE = YES; 471 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 472 | MTL_ENABLE_DEBUG_INFO = NO; 473 | SDKROOT = iphoneos; 474 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 475 | VALIDATE_PRODUCT = YES; 476 | }; 477 | name = Release; 478 | }; 479 | 607FACF01AFB9204008FA782 /* Debug */ = { 480 | isa = XCBuildConfiguration; 481 | baseConfigurationReference = 47648C53B812D1F5C1A8D0CE /* Pods-Progressor_Example.debug.xcconfig */; 482 | buildSettings = { 483 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 484 | INFOPLIST_FILE = Progressor/Info.plist; 485 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 486 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 487 | MODULE_NAME = ExampleApp; 488 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 489 | PRODUCT_NAME = "$(TARGET_NAME)"; 490 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 491 | SWIFT_VERSION = 4.0; 492 | }; 493 | name = Debug; 494 | }; 495 | 607FACF11AFB9204008FA782 /* Release */ = { 496 | isa = XCBuildConfiguration; 497 | baseConfigurationReference = FBD34230D2165FA0EE2F0077 /* Pods-Progressor_Example.release.xcconfig */; 498 | buildSettings = { 499 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 500 | INFOPLIST_FILE = Progressor/Info.plist; 501 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 502 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 503 | MODULE_NAME = ExampleApp; 504 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 505 | PRODUCT_NAME = "$(TARGET_NAME)"; 506 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 507 | SWIFT_VERSION = 4.0; 508 | }; 509 | name = Release; 510 | }; 511 | 607FACF31AFB9204008FA782 /* Debug */ = { 512 | isa = XCBuildConfiguration; 513 | baseConfigurationReference = 1913A1766E94858A7724C668 /* Pods-Progressor_Tests.debug.xcconfig */; 514 | buildSettings = { 515 | FRAMEWORK_SEARCH_PATHS = ( 516 | "$(SDKROOT)/Developer/Library/Frameworks", 517 | "$(inherited)", 518 | ); 519 | GCC_PREPROCESSOR_DEFINITIONS = ( 520 | "DEBUG=1", 521 | "$(inherited)", 522 | ); 523 | INFOPLIST_FILE = Tests/Info.plist; 524 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 525 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 526 | PRODUCT_NAME = "$(TARGET_NAME)"; 527 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 528 | SWIFT_VERSION = 4.0; 529 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Progressor_Example.app/Progressor_Example"; 530 | }; 531 | name = Debug; 532 | }; 533 | 607FACF41AFB9204008FA782 /* Release */ = { 534 | isa = XCBuildConfiguration; 535 | baseConfigurationReference = 1BC38E136AA5E0DB278144B0 /* Pods-Progressor_Tests.release.xcconfig */; 536 | buildSettings = { 537 | FRAMEWORK_SEARCH_PATHS = ( 538 | "$(SDKROOT)/Developer/Library/Frameworks", 539 | "$(inherited)", 540 | ); 541 | INFOPLIST_FILE = Tests/Info.plist; 542 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 543 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 544 | PRODUCT_NAME = "$(TARGET_NAME)"; 545 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 546 | SWIFT_VERSION = 4.0; 547 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Progressor_Example.app/Progressor_Example"; 548 | }; 549 | name = Release; 550 | }; 551 | /* End XCBuildConfiguration section */ 552 | 553 | /* Begin XCConfigurationList section */ 554 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "Progressor" */ = { 555 | isa = XCConfigurationList; 556 | buildConfigurations = ( 557 | 607FACED1AFB9204008FA782 /* Debug */, 558 | 607FACEE1AFB9204008FA782 /* Release */, 559 | ); 560 | defaultConfigurationIsVisible = 0; 561 | defaultConfigurationName = Release; 562 | }; 563 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "Progressor_Example" */ = { 564 | isa = XCConfigurationList; 565 | buildConfigurations = ( 566 | 607FACF01AFB9204008FA782 /* Debug */, 567 | 607FACF11AFB9204008FA782 /* Release */, 568 | ); 569 | defaultConfigurationIsVisible = 0; 570 | defaultConfigurationName = Release; 571 | }; 572 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "Progressor_Tests" */ = { 573 | isa = XCConfigurationList; 574 | buildConfigurations = ( 575 | 607FACF31AFB9204008FA782 /* Debug */, 576 | 607FACF41AFB9204008FA782 /* Release */, 577 | ); 578 | defaultConfigurationIsVisible = 0; 579 | defaultConfigurationName = Release; 580 | }; 581 | /* End XCConfigurationList section */ 582 | }; 583 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 584 | } 585 | -------------------------------------------------------------------------------- /Example/Progressor.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Progressor.xcodeproj/xcshareddata/xcschemes/Progressor-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/Progressor.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/Progressor.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/Progressor/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // Progressor 4 | // 5 | // Created by sathishvgs on 03/10/2019. 6 | // Copyright (c) 2019 sathishvgs. 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/Progressor/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 25 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /Example/Progressor/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 | -------------------------------------------------------------------------------- /Example/Progressor/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/Progressor/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/Progressor/ProgressViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // Progressor 4 | // 5 | // Created by sathishvgs on 03/10/2019. 6 | // Copyright (c) 2019 sathishvgs. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import Progressor 11 | 12 | class ProgressViewController: UIViewController, DidTapButtonAction { 13 | 14 | var timer: Timer? 15 | 16 | override func viewDidLoad() { 17 | super.viewDidLoad() 18 | self.view.backgroundColor = UIColor.gray 19 | 20 | 21 | let x = (self.view.frame.width / 2) - (300 / 2) 22 | let y = (self.view.frame.height / 2) - (100 / 2) 23 | let frame = CGRect(x: x, y: y, width: 300, height: 120) 24 | 25 | let progressContainerView = ProgressorView(frame: frame) 26 | progressContainerView.cornerRadius = 8.0 27 | progressContainerView.progressValue = 0.00 28 | progressContainerView.uploadingFiles = "Uploading 34 files" 29 | progressContainerView.totalSecs = 60 30 | progressContainerView.delegate = self 31 | 32 | self.view.addSubview(progressContainerView) 33 | 34 | var progressValue: Double = 0.0 { 35 | didSet { 36 | if progressValue > 1.0 { 37 | self.timer?.invalidate() 38 | self.timer = nil 39 | } 40 | } 41 | } 42 | 43 | self.timer = Timer.scheduledTimer(withTimeInterval: 0.2, repeats: true, block: { (_) in 44 | progressValue = progressValue + 0.01 45 | progressContainerView.progressValue = progressValue 46 | }) 47 | } 48 | 49 | 50 | func closeButtonTapped(_ sender: UIButton) { 51 | print("CLOSE *** Button Tapped") 52 | } 53 | 54 | func pauseButtonTapped(_ sender: UIButton) { 55 | print("PAUSE *** Button Tapped") 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /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 XCTest 2 | import Progressor 3 | 4 | class Tests: XCTestCase { 5 | 6 | override func setUp() { 7 | super.setUp() 8 | // Put setup code here. This method is called before the invocation of each test method in the class. 9 | } 10 | 11 | override func tearDown() { 12 | // Put teardown code here. This method is called after the invocation of each test method in the class. 13 | super.tearDown() 14 | } 15 | 16 | func testExample() { 17 | // This is an example of a functional test case. 18 | XCTAssert(true, "Pass") 19 | } 20 | 21 | func testPerformanceExample() { 22 | // This is an example of a performance test case. 23 | self.measure() { 24 | // Put the code you want to measure the time of here. 25 | } 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source "https://rubygems.org" 2 | 3 | gem "fastlane" 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2019 sathishvgs 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 | -------------------------------------------------------------------------------- /Progressor.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint Progressor.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 https://guides.cocoapods.org/syntax/podspec.html 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | s.name = 'Progressor' 11 | s.version = '1.0' 12 | s.summary = 'To Show Progess Bar' 13 | 14 | s.description = "To show progress bar in user friendly way" 15 | 16 | s.homepage = 'https://github.com/sathishvgs/Progressor' 17 | 18 | s.license = { :type => 'MIT', :file => 'LICENSE' } 19 | s.author = { 'sathishvgs' => 'vgsathish1995@gmail.com' } 20 | s.source = { :git => 'https://github.com/sathishvgs/Progressor.git', :tag => s.version.to_s } 21 | 22 | s.ios.deployment_target = '9.0' 23 | 24 | s.source_files = 'Progressor/Classes/**/*' 25 | 26 | s.resource_bundles = { 27 | 'Progressor' => ['Progressor/Assets/**/*.{xcassets}'] 28 | } 29 | 30 | end 31 | -------------------------------------------------------------------------------- /Progressor/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sathishvgs/Progressor/8c79e0a2e984b780aed123c9208f651ffa5c8dc6/Progressor/Assets/.gitkeep -------------------------------------------------------------------------------- /Progressor/Assets/Icon.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Progressor/Assets/Icon.xcassets/closeIcon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "iconfinder_close16_216470 (4).png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "iconfinder_close16_216470 (3).png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "iconfinder_close16_216470 (6).png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /Progressor/Assets/Icon.xcassets/closeIcon.imageset/iconfinder_close16_216470 (3).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sathishvgs/Progressor/8c79e0a2e984b780aed123c9208f651ffa5c8dc6/Progressor/Assets/Icon.xcassets/closeIcon.imageset/iconfinder_close16_216470 (3).png -------------------------------------------------------------------------------- /Progressor/Assets/Icon.xcassets/closeIcon.imageset/iconfinder_close16_216470 (4).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sathishvgs/Progressor/8c79e0a2e984b780aed123c9208f651ffa5c8dc6/Progressor/Assets/Icon.xcassets/closeIcon.imageset/iconfinder_close16_216470 (4).png -------------------------------------------------------------------------------- /Progressor/Assets/Icon.xcassets/closeIcon.imageset/iconfinder_close16_216470 (6).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sathishvgs/Progressor/8c79e0a2e984b780aed123c9208f651ffa5c8dc6/Progressor/Assets/Icon.xcassets/closeIcon.imageset/iconfinder_close16_216470 (6).png -------------------------------------------------------------------------------- /Progressor/Assets/Icon.xcassets/closeIcon2.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "iconfinder_icon-close-round_211651 (2).png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "iconfinder_icon-close-round_211651 (1).png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "iconfinder_icon-close-round_211651.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /Progressor/Assets/Icon.xcassets/closeIcon2.imageset/iconfinder_icon-close-round_211651 (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sathishvgs/Progressor/8c79e0a2e984b780aed123c9208f651ffa5c8dc6/Progressor/Assets/Icon.xcassets/closeIcon2.imageset/iconfinder_icon-close-round_211651 (1).png -------------------------------------------------------------------------------- /Progressor/Assets/Icon.xcassets/closeIcon2.imageset/iconfinder_icon-close-round_211651 (2).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sathishvgs/Progressor/8c79e0a2e984b780aed123c9208f651ffa5c8dc6/Progressor/Assets/Icon.xcassets/closeIcon2.imageset/iconfinder_icon-close-round_211651 (2).png -------------------------------------------------------------------------------- /Progressor/Assets/Icon.xcassets/closeIcon2.imageset/iconfinder_icon-close-round_211651.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sathishvgs/Progressor/8c79e0a2e984b780aed123c9208f651ffa5c8dc6/Progressor/Assets/Icon.xcassets/closeIcon2.imageset/iconfinder_icon-close-round_211651.png -------------------------------------------------------------------------------- /Progressor/Assets/Icon.xcassets/pauseIcon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "iconfinder_icon-pause_211871 (2).png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "iconfinder_icon-pause_211871 (1).png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "iconfinder_icon-pause_211871.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /Progressor/Assets/Icon.xcassets/pauseIcon.imageset/iconfinder_icon-pause_211871 (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sathishvgs/Progressor/8c79e0a2e984b780aed123c9208f651ffa5c8dc6/Progressor/Assets/Icon.xcassets/pauseIcon.imageset/iconfinder_icon-pause_211871 (1).png -------------------------------------------------------------------------------- /Progressor/Assets/Icon.xcassets/pauseIcon.imageset/iconfinder_icon-pause_211871 (2).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sathishvgs/Progressor/8c79e0a2e984b780aed123c9208f651ffa5c8dc6/Progressor/Assets/Icon.xcassets/pauseIcon.imageset/iconfinder_icon-pause_211871 (2).png -------------------------------------------------------------------------------- /Progressor/Assets/Icon.xcassets/pauseIcon.imageset/iconfinder_icon-pause_211871.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sathishvgs/Progressor/8c79e0a2e984b780aed123c9208f651ffa5c8dc6/Progressor/Assets/Icon.xcassets/pauseIcon.imageset/iconfinder_icon-pause_211871.png -------------------------------------------------------------------------------- /Progressor/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sathishvgs/Progressor/8c79e0a2e984b780aed123c9208f651ffa5c8dc6/Progressor/Classes/.gitkeep -------------------------------------------------------------------------------- /Progressor/Classes/ProgressorView.swift: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2019 sathishvgs 3 | 4 | Permission is hereby granted, free of charge, to any person obtaining a copy 5 | of this software and associated documentation files (the "Software"), to deal 6 | in the Software without restriction, including without limitation the rights 7 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the Software is 9 | furnished to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in 12 | all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 20 | THE SOFTWARE. 21 | */ 22 | 23 | 24 | import UIKit 25 | postfix operator % 26 | 27 | postfix func % (percentage: Int) -> Double { 28 | return Double(percentage) / 100 29 | } 30 | 31 | public protocol DidTapButtonAction: class { 32 | func closeButtonTapped(_ sender: UIButton) 33 | func pauseButtonTapped(_ sender: UIButton) 34 | } 35 | 36 | // MARK: Progress Container View 37 | public class ProgressorView: UIView { 38 | 39 | 40 | open var cornerRadius: CGFloat = 0 { 41 | didSet { 42 | self.layer.cornerRadius = cornerRadius 43 | } 44 | } 45 | 46 | open var uploadingFiles: String = "Uploading 0 files" { 47 | didSet { 48 | self.uploadingFileLabel.text = uploadingFiles 49 | } 50 | } 51 | 52 | open var percentage: String = "0" { 53 | didSet { 54 | self.percentageLabel.text = "\(percentage) %" 55 | } 56 | } 57 | 58 | open var secondsLeft: String = "60 secs left" { 59 | didSet { 60 | self.secondsRemaining.text = secondsLeft 61 | } 62 | } 63 | 64 | open var progressValue: Double = 0.0 { 65 | didSet { 66 | progressView.loadingvalue = CGFloat(progressValue) 67 | let progressPercentage = progressValue * 100 68 | let percentageValueInInt: Int = progressPercentage >= 99 ? 100 : Int(progressPercentage) 69 | percentage = "\(percentageValueInInt)" 70 | 71 | seconds = totalSecs - (totalSecs * percentageValueInInt%) 72 | } 73 | } 74 | 75 | private var seconds: Double = 30 { 76 | didSet { 77 | 78 | var totalSecInStr = "\(seconds)" 79 | secondsLeft = "\(totalSecInStr.removeAfterDot()) secs left" 80 | 81 | if seconds == 0 { 82 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) { 83 | self.removeUploadDetailSubViews() 84 | } 85 | } 86 | } 87 | } 88 | 89 | open var totalSecs: Double = 100 90 | open weak var delegate: DidTapButtonAction? 91 | open var progressPoints = ProgressPoints() 92 | 93 | open var uploadingFileLabel: UILabel = { 94 | 95 | let label = UILabel() 96 | label.textColor = UIColor.black 97 | label.font = UIFont.boldSystemFont(ofSize: 16) 98 | label.frame = CGRect(x: 0, y: 0, width: 100, height: 22) 99 | return label 100 | }() 101 | 102 | open var percentageLabel: UILabel = { 103 | let label = UILabel() 104 | label.textColor = UIColor.darkGray 105 | label.frame = CGRect(x: 0, y: 0, width: 50, height: 22) 106 | label.font = UIFont.systemFont(ofSize: 14) 107 | return label 108 | }() 109 | 110 | open var secondsRemaining: UILabel = { 111 | let label = UILabel() 112 | label.textColor = UIColor.darkGray 113 | label.font = UIFont.systemFont(ofSize: 14) 114 | return label 115 | }() 116 | 117 | open var closebutton: UIButton = { 118 | let button = UIButton() 119 | let icon = ProgressorHelper.getImageFromBundle(name: "closeIcon2") 120 | button.layer.borderWidth = 1.0 121 | button.layer.borderColor = UIColor.darkGray.cgColor 122 | button.setImage(icon, for: .normal) 123 | return button 124 | }() 125 | 126 | open var pausebutton: UIButton = { 127 | 128 | let button = UIButton() 129 | let icon = ProgressorHelper.getImageFromBundle(name: "pauseIcon") 130 | button.layer.borderWidth = 1.0 131 | button.layer.borderColor = UIColor.darkGray.cgColor 132 | 133 | button.setImage(icon, for: .normal) 134 | button.setImage(icon, for: .highlighted) 135 | button.setImage(icon, for: .selected) 136 | 137 | return button 138 | }() 139 | 140 | 141 | private let uploadDetailView = UIView() 142 | let progressView = ProgressView() 143 | 144 | var isFirst = false 145 | 146 | override public init(frame: CGRect) { 147 | super.init(frame: frame) 148 | self.backgroundColor = UIColor.white 149 | progressView.progressPoints = progressPoints 150 | self.configViews() 151 | } 152 | 153 | required init?(coder aDecoder: NSCoder) { 154 | fatalError("init(coder:) has not been implemented") 155 | } 156 | 157 | open func configViews() { 158 | 159 | self.uploadingFileContainerUI() 160 | self.uploadingFileUI() 161 | self.progressLoadingView() 162 | self.closeButton() 163 | self.pauseButton() 164 | self.setButtonTargets() 165 | 166 | self.isFirst = true 167 | } 168 | 169 | func setButtonTargets() { 170 | closebutton.addTarget(self, action: #selector(closeButtonTapped), for: .touchUpInside) 171 | pausebutton.addTarget(self, action: #selector(pauseButtonTapped), for: .touchUpInside) 172 | } 173 | 174 | @objc 175 | func closeButtonTapped() { 176 | delegate?.closeButtonTapped(closebutton) 177 | } 178 | 179 | @objc 180 | func pauseButtonTapped() { 181 | delegate?.pauseButtonTapped(pausebutton) 182 | } 183 | } 184 | 185 | // MARK: UI 186 | extension ProgressorView { 187 | 188 | func uploadingFileContainerUI() { 189 | 190 | self.addSubview(uploadDetailView) 191 | uploadDetailView.translatesAutoresizingMaskIntoConstraints = false 192 | 193 | let constraints = [ 194 | uploadDetailView.topAnchor.constraint(equalTo: self.topAnchor, constant: progressPoints.uploadDetailViewTop), 195 | uploadDetailView.leadingAnchor.constraint(equalTo: self.leadingAnchor, constant: progressPoints.uploadDetailViewLeading), 196 | uploadDetailView.widthAnchor.constraint(equalToConstant: progressPoints.uploadDetailViewWidth), 197 | uploadDetailView.heightAnchor.constraint(equalToConstant: progressPoints.uploadDetailViewHeight)] 198 | 199 | NSLayoutConstraint.activate(constraints) 200 | } 201 | 202 | func uploadingFileUI() { 203 | 204 | uploadDetailView.addSubview(uploadingFileLabel) 205 | uploadingFileLabel.translatesAutoresizingMaskIntoConstraints = false 206 | 207 | let constraints = [ 208 | uploadingFileLabel.topAnchor.constraint(equalTo: uploadDetailView.topAnchor, constant: progressPoints.uploadingFileLabelTop), 209 | uploadingFileLabel.leadingAnchor.constraint(equalTo: uploadDetailView.leadingAnchor, constant: progressPoints.uploadingFileLabelLeading), 210 | uploadingFileLabel.trailingAnchor.constraint(equalTo: uploadDetailView.trailingAnchor, constant: progressPoints.uploadingFileLabelTrailing), 211 | uploadingFileLabel.heightAnchor.constraint(equalToConstant: progressPoints.uploadingFileLabelHeight) 212 | ] 213 | 214 | NSLayoutConstraint.activate(constraints) 215 | 216 | 217 | uploadDetailView.addSubview(percentageLabel) 218 | percentageLabel.translatesAutoresizingMaskIntoConstraints = false 219 | 220 | let percentageConstraints = [ 221 | percentageLabel.bottomAnchor.constraint(equalTo: uploadDetailView.bottomAnchor, constant: progressPoints.percentageLabelBottom), 222 | percentageLabel.leadingAnchor.constraint(equalTo: uploadDetailView.leadingAnchor, constant: progressPoints.uploadingFileLabelLeading), 223 | percentageLabel.widthAnchor.constraint(equalToConstant: progressPoints.percentageLabelWidth), 224 | percentageLabel.heightAnchor.constraint(equalToConstant: progressPoints.percentageLabelHeight) 225 | ] 226 | 227 | NSLayoutConstraint.activate(percentageConstraints) 228 | 229 | uploadDetailView.addSubview(secondsRemaining) 230 | secondsRemaining.translatesAutoresizingMaskIntoConstraints = false 231 | 232 | let secondsConstraints = [ 233 | secondsRemaining.bottomAnchor.constraint(equalTo: uploadDetailView.bottomAnchor, constant: progressPoints.secondsRemainingBottom), 234 | secondsRemaining.trailingAnchor.constraint(equalTo: uploadDetailView.trailingAnchor, constant: progressPoints.secondsRemainingTrailing), 235 | secondsRemaining.widthAnchor.constraint(equalToConstant: progressPoints.secondsRemainingWidth), 236 | secondsRemaining.heightAnchor.constraint(equalToConstant: progressPoints.secondsRemainingHeight) 237 | ] 238 | 239 | NSLayoutConstraint.activate(secondsConstraints) 240 | } 241 | 242 | func progressLoadingView() { 243 | 244 | progressView.updateUI() 245 | 246 | self.addSubview(progressView) 247 | progressView.translatesAutoresizingMaskIntoConstraints = false 248 | progressView.layer.borderColor = UIColor.lightGray.cgColor 249 | progressView.layer.borderWidth = 2.0 250 | progressView.layer.cornerRadius = 4.0 251 | 252 | let progressConstraints = [ 253 | progressView.bottomAnchor.constraint(equalTo: self.bottomAnchor, constant: progressPoints.progressViewBottom), 254 | progressView.leadingAnchor.constraint(equalTo: self.leadingAnchor, constant: progressPoints.progressViewleading), 255 | progressView.trailingAnchor.constraint(equalTo: self.trailingAnchor, constant: progressPoints.progressViewTrailing), 256 | progressView.heightAnchor.constraint(equalToConstant: progressPoints.progressViewHeight) 257 | ] 258 | 259 | NSLayoutConstraint.activate(progressConstraints) 260 | } 261 | 262 | func closeButton() { 263 | 264 | self.addSubview(closebutton) 265 | closebutton.translatesAutoresizingMaskIntoConstraints = false 266 | 267 | let closeButtonConstraints = [ 268 | closebutton.widthAnchor.constraint(equalToConstant: progressPoints.closebuttonWidth), 269 | closebutton.heightAnchor.constraint(equalToConstant: progressPoints.closebuttonHeight), 270 | closebutton.trailingAnchor.constraint(equalTo: self.trailingAnchor, constant: progressPoints.closebuttonTrailing), 271 | closebutton.topAnchor.constraint(equalTo: self.topAnchor, constant: progressPoints.closebuttonTop) 272 | ] 273 | 274 | NSLayoutConstraint.activate(closeButtonConstraints) 275 | closebutton.layer.cornerRadius = progressPoints.closebuttonWidth / 2 276 | } 277 | 278 | func pauseButton() { 279 | 280 | self.addSubview(pausebutton) 281 | pausebutton.translatesAutoresizingMaskIntoConstraints = false 282 | 283 | let closeButtonConstraints = [ 284 | pausebutton.widthAnchor.constraint(equalToConstant: progressPoints.pausebuttonWidth), 285 | pausebutton.heightAnchor.constraint(equalToConstant: progressPoints.pausebuttonHeight), 286 | pausebutton.trailingAnchor.constraint(equalTo: closebutton.leadingAnchor, constant: progressPoints.pausebuttonTrailing), 287 | pausebutton.topAnchor.constraint(equalTo: self.topAnchor, constant: progressPoints.pausebuttonTop) 288 | ] 289 | 290 | NSLayoutConstraint.activate(closeButtonConstraints) 291 | pausebutton.layer.cornerRadius = progressPoints.pausebuttonWidth / 2 292 | } 293 | 294 | func removeUploadDetailSubViews() { 295 | 296 | guard isFirst else {return} 297 | self.isFirst = false 298 | 299 | uploadDetailView.removeFromSuperview() 300 | progressView.removeFromSuperview() 301 | closebutton.removeFromSuperview() 302 | pausebutton.removeFromSuperview() 303 | 304 | uploadingFileLabel.removeConstraints(uploadingFileLabel.constraints) 305 | 306 | self.addSubview(uploadingFileLabel) 307 | uploadingFileLabel.translatesAutoresizingMaskIntoConstraints = false 308 | 309 | let constraints = [ 310 | 311 | uploadingFileLabel.centerXAnchor.constraint(equalTo: self.centerXAnchor, constant: progressPoints.uploadingFileLabelCenterX), 312 | uploadingFileLabel.centerYAnchor.constraint(equalTo: self.centerYAnchor), 313 | uploadingFileLabel.heightAnchor.constraint(equalToConstant: progressPoints.uploadingFileLabelHeightAnchor), 314 | uploadingFileLabel.widthAnchor.constraint(equalToConstant: progressPoints.uploadingFileLabelWidthAnchor)] 315 | 316 | NSLayoutConstraint.activate(constraints) 317 | 318 | self.uploadingFiles = "File Uploaded!" 319 | 320 | let width: CGFloat = self.frame.width / 1.5 321 | let heigth: CGFloat = self.frame.height / 2 322 | 323 | UIView.animate(withDuration: 1.0, delay: 0.0, usingSpringWithDamping: 1.0, initialSpringVelocity: 10, options: UIView.AnimationOptions.curveEaseIn, animations: { 324 | self.frame = CGRect(x: self.frame.origin.x + 40, y: self.frame.origin.y, width: width, height: heigth) 325 | }, completion: nil) 326 | } 327 | } 328 | 329 | /****************************************************/ 330 | 331 | // MARK: Progress View 332 | public class ProgressView: UIView { 333 | 334 | var loadingvalue: CGFloat = 0.0 { 335 | didSet { 336 | self.loadingvalue = max(0, min(loadingvalue, 0.99)) 337 | self.updateUI() 338 | } 339 | } 340 | 341 | let loadingView: UIView = UIView() 342 | var progressPoints: ProgressPoints! 343 | 344 | func updateUI() { 345 | 346 | self.addSubview(loadingView) 347 | loadingView.translatesAutoresizingMaskIntoConstraints = false 348 | loadingView.backgroundColor = UIColor.darkGray 349 | loadingView.layer.cornerRadius = 4.0 350 | 351 | let loadingConstraints = [ 352 | loadingView.bottomAnchor.constraint(equalTo: self.bottomAnchor, constant: progressPoints.loadingViewBottom), 353 | loadingView.topAnchor.constraint(equalTo: self.topAnchor, constant: progressPoints.loadingViewTop), 354 | loadingView.leadingAnchor.constraint(equalTo: self.leadingAnchor, constant: progressPoints.loadingViewLeading), 355 | loadingView.widthAnchor.constraint(greaterThanOrEqualTo: self.widthAnchor, multiplier: loadingvalue) 356 | ] 357 | 358 | NSLayoutConstraint.activate(loadingConstraints) 359 | } 360 | } 361 | 362 | /****************************************************/ 363 | 364 | // MARK: Extension 365 | extension String { 366 | 367 | mutating func removeAfterDot() -> String { 368 | if let dotRange = self.rangeOfCharacter(from: CharacterSet(charactersIn: ".")) { 369 | self.removeSubrange(dotRange.lowerBound ..< self.endIndex ) 370 | return self 371 | } 372 | return self 373 | } 374 | } 375 | 376 | /****************************************************/ 377 | 378 | // MARK: ProgressorHelper 379 | class ProgressorHelper { 380 | 381 | static func getBundle() -> Bundle? { 382 | 383 | let podBundle = Bundle(for: self) 384 | 385 | guard let bundleUrl = podBundle.url(forResource: "Progressor", withExtension: "bundle") else { 386 | return nil 387 | } 388 | 389 | guard let bundle = Bundle(url: bundleUrl) else { 390 | return nil 391 | } 392 | 393 | return bundle 394 | } 395 | 396 | static func getImageFromBundle(name: String = "Progressor") -> UIImage { 397 | 398 | guard let podBundle = getBundle(), let image = UIImage(named: name, in: podBundle, compatibleWith: nil) else { 399 | return UIImage() 400 | } 401 | return image 402 | } 403 | } 404 | 405 | /****************************************************/ 406 | 407 | // MARK: POINTS 408 | public struct ProgressPoints { 409 | 410 | let uploadDetailViewTop: CGFloat = 10 411 | let uploadDetailViewLeading: CGFloat = 10 412 | let uploadDetailViewWidth: CGFloat = 160 413 | let uploadDetailViewHeight: CGFloat = 60 414 | 415 | let uploadingFileLabelTop: CGFloat = 5 416 | let uploadingFileLabelLeading: CGFloat = 2 417 | let uploadingFileLabelTrailing: CGFloat = 0 418 | let uploadingFileLabelHeight: CGFloat = 22 419 | 420 | let percentageLabelBottom: CGFloat = -5 421 | let percentageLabelLeading: CGFloat = 2 422 | let percentageLabelWidth: CGFloat = 55 423 | let percentageLabelHeight: CGFloat = 18 424 | 425 | let secondsRemainingBottom: CGFloat = -5 426 | let secondsRemainingTrailing: CGFloat = 0 427 | let secondsRemainingWidth: CGFloat = 100 428 | let secondsRemainingHeight: CGFloat = 18 429 | 430 | let progressViewBottom: CGFloat = -25 431 | let progressViewleading: CGFloat = 2 432 | let progressViewTrailing: CGFloat = -2 433 | let progressViewHeight: CGFloat = 10 434 | 435 | let closebuttonWidth: CGFloat = 40 436 | let closebuttonHeight: CGFloat = 40 437 | let closebuttonTrailing: CGFloat = -10 438 | let closebuttonTop: CGFloat = 25 439 | 440 | let pausebuttonWidth: CGFloat = 40 441 | let pausebuttonHeight: CGFloat = 40 442 | let pausebuttonTrailing: CGFloat = -12 443 | let pausebuttonTop: CGFloat = 25 444 | 445 | let loadingViewBottom: CGFloat = -2 446 | let loadingViewTop: CGFloat = 2 447 | let loadingViewLeading: CGFloat = 2 448 | let loadingViewWidth: CGFloat = 0.0 // declare by internal property 449 | 450 | // New Constraint for *uploadingFileLabel* 451 | let uploadingFileLabelCenterX: CGFloat = 20 452 | let uploadingFileLabelCenterY: CGFloat = 0 453 | let uploadingFileLabelHeightAnchor: CGFloat = 30 454 | let uploadingFileLabelWidthAnchor: CGFloat = 150 455 | } 456 | -------------------------------------------------------------------------------- /Progressor_GIPHY.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sathishvgs/Progressor/8c79e0a2e984b780aed123c9208f651ffa5c8dc6/Progressor_GIPHY.gif -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Progressor 2 | 3 | [![CI Status](https://img.shields.io/travis/sathishvgs/Progressor.svg?style=flat)](https://travis-ci.org/sathishvgs/Progressor) 4 | [![Version](https://img.shields.io/cocoapods/v/Progressor.svg?style=flat)](https://cocoapods.org/pods/Progressor) 5 | [![License](https://img.shields.io/cocoapods/l/Progressor.svg?style=flat)](https://cocoapods.org/pods/Progressor) 6 | [![Platform](https://img.shields.io/cocoapods/p/Progressor.svg?style=flat)](https://cocoapods.org/pods/Progressor) 7 | 8 | ![Progressor_GIF](https://github.com/sathishvgs/Progressor/blob/master/Progressor_GIPHY.gif) 9 | 10 | ## About Pod 11 | Progressor is the fully customized native Progress Bar. The use case of the pod is which will do the percentage and time left calculations by own. Just you have to update the progress value from 0.0 to 1.0. Also, we have opened the UI related things to make more customize. 12 | 13 | ## Requirments 14 | 15 | - Swift 4 or greater 16 | - Deployment Target = iOS 9.0 17 | - Supports iPhone and iPad 18 | 19 | ## Installation 20 | 21 | Progressor is available through [CocoaPods](https://cocoapods.org). To install 22 | it, simply add the following line to your Podfile: 23 | 24 | ```ruby 25 | pod 'Progressor' 26 | ``` 27 | 28 | ## ChangeLogs 29 | For ChangeLogs, Please visit [Releases](https://github.com/sathishvgs/Progressor/releases) 30 | 31 | ## How to Use? 32 | 33 | ### setup Instance 34 | You can easily start consuming the Progressor by creating the instance. 35 | 36 | - Create the instance for ProgressView with the appropriate frame size. 37 | 38 | We are proposing this frame size to get better user interactive 39 | ``` 40 | let x = (self.view.frame.width / 2) - (300 / 2) 41 | let y = (self.view.frame.height / 2) - (100 / 2) 42 | let frame = CGRect(x: x, y: y, width: 300, height: 120) 43 | ``` 44 | ``` 45 | let progressView = ProgressorView(frame: frame) 46 | ``` 47 | - Update the contents 48 | 49 | - Set the delegate and conform the protocol to get the callbacks 50 | 51 | ## View Structure 52 | 53 | - Use this structure to customize the UI elements. 54 | 55 | [![Progressor.png](https://i.postimg.cc/T1HG8yXH/Progressor.png)](https://postimg.cc/YLgTYC01) 56 | 57 | ## Contribute 58 | Please feel free to create issues. Contributions are welcome [check here](https://github.com/firstcontributions/first-contributions) 59 | 60 | ## Author 61 | 62 | sathishvgs, vgsathish1995@gmail.com 63 | 64 | ## License 65 | 66 | Progressor is available under the MIT license. See the LICENSE file for more info. 67 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /fastlane/Appfile: -------------------------------------------------------------------------------- 1 | # app_identifier("[[APP_IDENTIFIER]]") # The bundle identifier of your app 2 | # apple_id("[[APPLE_ID]]") # Your Apple email address 3 | 4 | 5 | # For more information about the Appfile, see: 6 | # https://docs.fastlane.tools/advanced/#appfile 7 | -------------------------------------------------------------------------------- /fastlane/Fastfile: -------------------------------------------------------------------------------- 1 | # This file contains the fastlane.tools configuration 2 | # You can find the documentation at https://docs.fastlane.tools 3 | # 4 | # For a list of all available actions, check out 5 | # 6 | # https://docs.fastlane.tools/actions 7 | # 8 | # For a list of all available plugins, check out 9 | # 10 | # https://docs.fastlane.tools/plugins/available-plugins 11 | # 12 | 13 | # Uncomment the line if you want fastlane to automatically update itself 14 | # update_fastlane 15 | 16 | default_platform(:ios) 17 | podspec_name = "Progressor.podspec" 18 | 19 | platform :ios do 20 | desc "Release a new version with a patch bump_type" 21 | lane :patch do 22 | release("patch") # we could use __method__.to_s instead of duplicating the name 23 | end 24 | 25 | desc "Release a new version with a minor bump_type" 26 | lane :minor do 27 | release("minor") 28 | end 29 | 30 | desc "Release a new version with a major bump_type" 31 | lane :major do 32 | release("major") 33 | end 34 | 35 | def release(type) 36 | #pod_lib_lint 37 | pod_lib_lint(allow_warnings: true) 38 | version = version_bump_podspec(path: "Progressor.podspec", 39 | bump_type: type) 40 | git_add(path: "Progressor.podspec") 41 | git_commit(path: ["Progressor.podspec"], 42 | message: "#{version} release") 43 | add_git_tag(tag: "#{version}") 44 | push_to_git_remote 45 | pod_push 46 | end 47 | end --------------------------------------------------------------------------------