├── ProgressLabel ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ └── ProgressLabel.swift ├── _Pods.xcodeproj ├── Example ├── ProgressLabel │ ├── Images.xcassets │ │ ├── paisley.imageset │ │ │ ├── paisley.png │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ ├── UIImage+Gradient.swift │ ├── AppDelegate.swift │ ├── ViewController.swift │ └── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard ├── Pods │ ├── Target Support Files │ │ ├── ProgressLabel │ │ │ ├── ProgressLabel.modulemap │ │ │ ├── ProgressLabel-dummy.m │ │ │ ├── ProgressLabel-prefix.pch │ │ │ ├── ProgressLabel-umbrella.h │ │ │ ├── ProgressLabel.xcconfig │ │ │ └── Info.plist │ │ ├── Pods-ProgressLabel_Tests │ │ │ ├── Pods-ProgressLabel_Tests-acknowledgements.markdown │ │ │ ├── Pods-ProgressLabel_Tests.modulemap │ │ │ ├── Pods-ProgressLabel_Tests-dummy.m │ │ │ ├── Pods-ProgressLabel_Tests-umbrella.h │ │ │ ├── Pods-ProgressLabel_Tests.debug.xcconfig │ │ │ ├── Pods-ProgressLabel_Tests.release.xcconfig │ │ │ ├── Info.plist │ │ │ ├── Pods-ProgressLabel_Tests-acknowledgements.plist │ │ │ ├── Pods-ProgressLabel_Tests-resources.sh │ │ │ └── Pods-ProgressLabel_Tests-frameworks.sh │ │ └── Pods-ProgressLabel_Example │ │ │ ├── Pods-ProgressLabel_Example.modulemap │ │ │ ├── Pods-ProgressLabel_Example-dummy.m │ │ │ ├── Pods-ProgressLabel_Example-umbrella.h │ │ │ ├── Pods-ProgressLabel_Example.debug.xcconfig │ │ │ ├── Pods-ProgressLabel_Example.release.xcconfig │ │ │ ├── Info.plist │ │ │ ├── Pods-ProgressLabel_Example-acknowledgements.markdown │ │ │ ├── Pods-ProgressLabel_Example-acknowledgements.plist │ │ │ ├── Pods-ProgressLabel_Example-resources.sh │ │ │ └── Pods-ProgressLabel_Example-frameworks.sh │ ├── Manifest.lock │ ├── Local Podspecs │ │ └── ProgressLabel.podspec.json │ └── Pods.xcodeproj │ │ └── project.pbxproj ├── Podfile ├── ProgressLabel.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── ProgressLabel-Example.xcscheme │ └── project.pbxproj ├── ProgressLabel.xcworkspace │ └── contents.xcworkspacedata ├── Podfile.lock └── Tests │ ├── Info.plist │ └── Tests.swift ├── .travis.yml ├── LICENSE ├── README.md └── ProgressLabel.podspec /ProgressLabel/Assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ProgressLabel/Classes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /Example/ProgressLabel/Images.xcassets/paisley.imageset/paisley.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nestor-huma/ProgressLabel/HEAD/Example/ProgressLabel/Images.xcassets/paisley.imageset/paisley.png -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ProgressLabel/ProgressLabel.modulemap: -------------------------------------------------------------------------------- 1 | framework module ProgressLabel { 2 | umbrella header "ProgressLabel-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ProgressLabel/ProgressLabel-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_ProgressLabel : NSObject 3 | @end 4 | @implementation PodsDummy_ProgressLabel 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'ProgressLabel_Example' do 4 | pod 'ProgressLabel', :path => '../' 5 | 6 | target 'ProgressLabel_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ProgressLabel_Tests/Pods-ProgressLabel_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-ProgressLabel_Tests/Pods-ProgressLabel_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_ProgressLabel_Tests { 2 | umbrella header "Pods-ProgressLabel_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ProgressLabel_Example/Pods-ProgressLabel_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_ProgressLabel_Example { 2 | umbrella header "Pods-ProgressLabel_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ProgressLabel_Tests/Pods-ProgressLabel_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_ProgressLabel_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_ProgressLabel_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/ProgressLabel.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ProgressLabel_Example/Pods-ProgressLabel_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_ProgressLabel_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_ProgressLabel_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ProgressLabel/ProgressLabel-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/ProgressLabel.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - ProgressLabel (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - ProgressLabel (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | ProgressLabel: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | ProgressLabel: fa29ba29a7ef664b0fa947a1cbc2edd63da1bc6d 13 | 14 | PODFILE CHECKSUM: e721010053c4f47c52ace7bcbfee30c4cb76e9c2 15 | 16 | COCOAPODS: 1.4.0.rc.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - ProgressLabel (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - ProgressLabel (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | ProgressLabel: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | ProgressLabel: fa29ba29a7ef664b0fa947a1cbc2edd63da1bc6d 13 | 14 | PODFILE CHECKSUM: e721010053c4f47c52ace7bcbfee30c4cb76e9c2 15 | 16 | COCOAPODS: 1.4.0.rc.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ProgressLabel/ProgressLabel-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 ProgressLabelVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char ProgressLabelVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/ProgressLabel/Images.xcassets/paisley.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "paisley.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ProgressLabel_Tests/Pods-ProgressLabel_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_ProgressLabel_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_ProgressLabel_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ProgressLabel_Example/Pods-ProgressLabel_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_ProgressLabel_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_ProgressLabel_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * http://www.objc.io/issue-6/travis-ci.html 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | osx_image: xcode7.3 6 | language: objective-c 7 | # cache: cocoapods 8 | # podfile: Example/Podfile 9 | # before_install: 10 | # - gem install cocoapods # Since Travis is not always on latest version 11 | # - pod install --project-directory=Example 12 | script: 13 | - set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/ProgressLabel.xcworkspace -scheme ProgressLabel-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ProgressLabel/ProgressLabel.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ProgressLabel 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ProgressLabel_Tests/Pods-ProgressLabel_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ProgressLabel" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/ProgressLabel/ProgressLabel.framework/Headers" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ProgressLabel_Tests/Pods-ProgressLabel_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ProgressLabel" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/ProgressLabel/ProgressLabel.framework/Headers" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/ProgressLabel.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ProgressLabel", 3 | "version": "0.1.0", 4 | "summary": "A short description of ProgressLabel.", 5 | "description": "TODO: Add long description of the pod here.", 6 | "homepage": "https://github.com/nestorpopko/ProgressLabel", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "nestorpopko": "nestorpopko@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/nestorpopko/ProgressLabel.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "8.0" 20 | }, 21 | "source_files": "ProgressLabel/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ProgressLabel_Example/Pods-ProgressLabel_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ProgressLabel" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/ProgressLabel/ProgressLabel.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "ProgressLabel" 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-ProgressLabel_Example/Pods-ProgressLabel_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ProgressLabel" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/ProgressLabel/ProgressLabel.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "ProgressLabel" 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/Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Tests/Tests.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import XCTest 3 | import ProgressLabel 4 | 5 | class Tests: XCTestCase { 6 | 7 | override func setUp() { 8 | super.setUp() 9 | // Put setup code here. This method is called before the invocation of each test method in the class. 10 | } 11 | 12 | override func tearDown() { 13 | // Put teardown code here. This method is called after the invocation of each test method in the class. 14 | super.tearDown() 15 | } 16 | 17 | func testExample() { 18 | // This is an example of a functional test case. 19 | XCTAssert(true, "Pass") 20 | } 21 | 22 | func testPerformanceExample() { 23 | // This is an example of a performance test case. 24 | self.measure() { 25 | // Put the code you want to measure the time of here. 26 | } 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ProgressLabel/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ProgressLabel_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-ProgressLabel_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-ProgressLabel_Tests/Pods-ProgressLabel_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 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2018 nestorpopko 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 | -------------------------------------------------------------------------------- /Example/ProgressLabel/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 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ProgressLabel 2 | 3 | [![CI Status](http://img.shields.io/travis/nestorpopko/ProgressLabel.svg?style=flat)](https://travis-ci.org/nestorpopko/ProgressLabel) 4 | [![Version](https://img.shields.io/cocoapods/v/ProgressLabel.svg?style=flat)](http://cocoapods.org/pods/ProgressLabel) 5 | [![License](https://img.shields.io/cocoapods/l/ProgressLabel.svg?style=flat)](http://cocoapods.org/pods/ProgressLabel) 6 | [![Platform](https://img.shields.io/cocoapods/p/ProgressLabel.svg?style=flat)](http://cocoapods.org/pods/ProgressLabel) 7 | 8 | Customizable progress indicator, which displays progress by filling stroked text. 9 | You can customize its properties in Interface Builder: 10 | 11 | ![alt tag](http://s9.postimg.org/83fj4m0of/Screen_Shot_2016_03_07_at_3_22_30_PM.png) 12 | 13 | ## Example 14 | 15 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 16 | 17 | ![alt tag](http://s24.postimg.org/6ayprxvz9/NPProgress_Label.gif) 18 | 19 | ## Requirements 20 | 21 | ## Installation 22 | 23 | ProgressLabel is available through [CocoaPods](http://cocoapods.org). To install 24 | it, simply add the following line to your Podfile: 25 | 26 | ```ruby 27 | pod 'ProgressLabel' 28 | ``` 29 | 30 | ## Author 31 | 32 | nestorpopko, nestorpopko@gmail.com 33 | 34 | ## License 35 | 36 | ProgressLabel is available under the MIT license. See the LICENSE file for more info. 37 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ProgressLabel_Example/Pods-ProgressLabel_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## ProgressLabel 5 | 6 | Copyright (c) 2018 nestorpopko 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 | -------------------------------------------------------------------------------- /ProgressLabel.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint ProgressLabel.podspec' to ensure this is a 3 | # valid spec before submitting. 4 | # 5 | # Any lines starting with a # are optional, but their use is encouraged 6 | # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | s.name = 'ProgressLabel' 11 | s.version = '0.1.0' 12 | s.summary = 'Customizable progress indicator, which displays progress by filling stroked text.' 13 | s.swift_version = '4.0' 14 | 15 | # This description is used to generate tags and improve search results. 16 | # * Think: What does it do? Why did you write it? What is the focus? 17 | # * Try to keep it short, snappy and to the point. 18 | # * Write the description between the DESC delimiters below. 19 | # * Finally, don't worry about the indent, CocoaPods strips it! 20 | 21 | s.description = <<-DESC 22 | TODO: Add long description of the pod here. 23 | DESC 24 | 25 | s.homepage = 'https://github.com/nestorpopko/ProgressLabel' 26 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 27 | s.license = { :type => 'MIT', :file => 'LICENSE' } 28 | s.author = { 'nestorpopko' => 'nestorpopko@gmail.com' } 29 | s.source = { :git => 'https://github.com/nestorpopko/ProgressLabel.git', :tag => s.version.to_s } 30 | # s.social_media_url = 'https://twitter.com/' 31 | 32 | s.ios.deployment_target = '8.0' 33 | 34 | s.source_files = 'ProgressLabel/Classes/**/*' 35 | 36 | # s.resource_bundles = { 37 | # 'ProgressLabel' => ['ProgressLabel/Assets/*.png'] 38 | # } 39 | 40 | # s.public_header_files = 'Pod/Classes/**/*.h' 41 | # s.frameworks = 'UIKit', 'MapKit' 42 | # s.dependency 'AFNetworking', '~> 2.3' 43 | end 44 | -------------------------------------------------------------------------------- /Example/ProgressLabel/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" : "ipad", 45 | "size" : "20x20", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "20x20", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "29x29", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "29x29", 61 | "scale" : "2x" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "size" : "40x40", 66 | "scale" : "1x" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "size" : "40x40", 71 | "scale" : "2x" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "size" : "76x76", 76 | "scale" : "1x" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "size" : "76x76", 81 | "scale" : "2x" 82 | }, 83 | { 84 | "idiom" : "ipad", 85 | "size" : "83.5x83.5", 86 | "scale" : "2x" 87 | }, 88 | { 89 | "idiom" : "ios-marketing", 90 | "size" : "1024x1024", 91 | "scale" : "1x" 92 | } 93 | ], 94 | "info" : { 95 | "version" : 1, 96 | "author" : "xcode" 97 | } 98 | } -------------------------------------------------------------------------------- /Example/ProgressLabel/UIImage+Gradient.swift: -------------------------------------------------------------------------------- 1 | // 2 | // UIImage+Gradient.swift 3 | // NPGradientImageExample 4 | // 5 | // Created by Nestor Popko on 3/7/16. 6 | // Copyright © 2016 Nestor Popko. All rights reserved. 7 | // 8 | import UIKit 9 | 10 | extension UIImage { 11 | static func gradientImage(colors: [UIColor], locations: [CGFloat], size: CGSize, horizontal: Bool = false) -> UIImage { 12 | let endPoint = horizontal ? CGPoint(x: 1.0, y: 0.0) : CGPoint(x: 0.0, y: 1.0) 13 | return gradientImage(colors: colors, locations: locations, startPoint: .zero, endPoint: endPoint, size: size) 14 | } 15 | 16 | static func gradientImage(colors: [UIColor], locations: [CGFloat], startPoint: CGPoint, endPoint: CGPoint, size: CGSize) -> UIImage { 17 | UIGraphicsBeginImageContext(size) 18 | 19 | let context = UIGraphicsGetCurrentContext() 20 | UIGraphicsPushContext(context!); 21 | 22 | let components = colors.reduce([]) { (currentResult: [CGFloat], currentColor: UIColor) -> [CGFloat] in 23 | var result = currentResult 24 | guard let components = currentColor.cgColor.components else { 25 | return result 26 | } 27 | if components.count == 2 { 28 | result.append(contentsOf: [components[0], components[0], components[0], components[1]]) 29 | } else { 30 | result.append(contentsOf: [components[0], components[1], components[2], components[3]]) 31 | } 32 | return result 33 | } 34 | 35 | let gradient = CGGradient(colorSpace: CGColorSpaceCreateDeviceRGB(), colorComponents: components, locations: locations, count: colors.count); 36 | 37 | let transformedStartPoint = CGPoint(x: startPoint.x * size.width, y: startPoint.y * size.height) 38 | let transformedEndPoint = CGPoint(x: endPoint.x * size.width, y: endPoint.y * size.height) 39 | context!.drawLinearGradient(gradient!, start: transformedStartPoint, end: transformedEndPoint, options: []); 40 | UIGraphicsPopContext(); 41 | let gradientImage = UIGraphicsGetImageFromCurrentImageContext(); 42 | UIGraphicsEndImageContext(); 43 | 44 | return gradientImage! 45 | } 46 | } 47 | 48 | -------------------------------------------------------------------------------- /Example/ProgressLabel/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // ProgressLabel 4 | // 5 | // Created by nestorpopko on 01/21/2018. 6 | // Copyright (c) 2018 nestorpopko. 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/Pods/Target Support Files/Pods-ProgressLabel_Example/Pods-ProgressLabel_Example-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2018 nestorpopko <nestorpopko@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 | ProgressLabel 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/ProgressLabel/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // ProgressLabel 4 | // 5 | // Created by nestorpopko on 01/21/2018. 6 | // Copyright (c) 2018 nestorpopko. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import ProgressLabel 11 | 12 | class ViewController: UIViewController { 13 | 14 | @IBOutlet weak var progressView: ProgressLabel! 15 | @IBOutlet weak var progressLabel: UILabel! 16 | @IBOutlet weak var button: UIButton! 17 | 18 | override func viewDidLoad() { 19 | super.viewDidLoad() 20 | view.backgroundColor = UIColor(patternImage: UIImage(named: "paisley")!) 21 | updateLabel() 22 | } 23 | 24 | override func viewDidAppear(_ animated: Bool) { 25 | super.viewDidAppear(animated) 26 | 27 | // Add gradient to progress label 28 | let colors = [UIColor.red, UIColor(red: 0.5, green: 0.0, blue: 0.0, alpha: 1.0)] 29 | let locations: [CGFloat] = [0.0, 1.0] 30 | let gradientImage = UIImage.gradientImage(colors: colors, locations: locations, size: progressView.bounds.size) 31 | progressView.textColor = UIColor(patternImage: gradientImage) 32 | 33 | // Add appear animations 34 | 35 | let moveRight = CASpringAnimation(keyPath: "transform.translation.x") 36 | moveRight.fromValue = -view.bounds.width 37 | moveRight.toValue = 0 38 | moveRight.duration = moveRight.settlingDuration 39 | moveRight.fillMode = kCAFillModeBackwards 40 | progressView.layer.add(moveRight, forKey: nil) 41 | 42 | moveRight.beginTime = CACurrentMediaTime() + 0.2 43 | progressLabel.layer.add(moveRight, forKey: nil) 44 | 45 | moveRight.beginTime = CACurrentMediaTime() + 0.3 46 | button.layer.add(moveRight, forKey: nil) 47 | 48 | DispatchQueue.main.asyncAfter(deadline: .now() + moveRight.duration, execute: updateProgress) 49 | } 50 | 51 | func updateProgress() { 52 | button.isEnabled = false 53 | progressView.progress += CGFloat(arc4random_uniform(5)) / 100.0 54 | if progressView.progress == 1.0 { 55 | button.isEnabled = true 56 | finished() 57 | } else { 58 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.1, execute: updateProgress) 59 | } 60 | updateLabel() 61 | } 62 | 63 | func updateLabel() { 64 | progressLabel.text = String(format: "%.0f%%", progressView.progress * 100.0) 65 | } 66 | 67 | func finished() { 68 | let pulse = CASpringAnimation(keyPath: "transform.scale") 69 | pulse.fromValue = 1.15 70 | pulse.toValue = 1.0 71 | pulse.damping = 7.5 72 | pulse.duration = pulse.settlingDuration 73 | progressView.layer.add(pulse, forKey: nil) 74 | } 75 | 76 | @IBAction func buttonPressed(_ sender: Any) { 77 | button.isEnabled = false 78 | progressView.setProgressAnimated(0) 79 | UIView.transition(with: progressLabel, duration: 0.5, options: .transitionCrossDissolve, animations: updateLabel, completion: nil) 80 | DispatchQueue.main.asyncAfter(deadline: .now() + 1.2, execute: updateProgress) 81 | } 82 | } 83 | -------------------------------------------------------------------------------- /Example/ProgressLabel/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 | -------------------------------------------------------------------------------- /ProgressLabel/Classes/ProgressLabel.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | 3 | /// Displays progress by filling stroked text. 4 | @IBDesignable 5 | open class ProgressLabel: UIView { 6 | 7 | /// Value between 0.0 and 1.0. 8 | @IBInspectable 9 | open var progress: CGFloat = 0.0 { 10 | didSet { 11 | progress = max(0, min(progress, 1)) 12 | layoutLayers() 13 | } 14 | } 15 | 16 | /// Text to render. 17 | @IBInspectable 18 | open var text: String = "" { 19 | didSet { invalidateIntrinsicContentSize() } 20 | } 21 | 22 | @IBInspectable 23 | open var textColor: UIColor = .black { 24 | didSet { 25 | strokedLayer.backgroundColor = textColor.cgColor 26 | filledLayer.backgroundColor = textColor.cgColor 27 | } 28 | } 29 | 30 | @IBInspectable 31 | open var fontName: String { 32 | get { return font.fontName } 33 | set { font = UIFont(name: newValue, size: fontSize) ?? font } 34 | } 35 | 36 | @IBInspectable 37 | open var fontSize: CGFloat { 38 | get { return font.pointSize } 39 | set { font = UIFont(name: fontName, size: newValue) ?? font } 40 | } 41 | 42 | @IBInspectable 43 | open var lineWidth: CGFloat = 1.0 { 44 | didSet { invalidateIntrinsicContentSize() } 45 | } 46 | 47 | open var font = UIFont.systemFont(ofSize: 14.0) { 48 | didSet { invalidateIntrinsicContentSize() } 49 | } 50 | 51 | open var textAlignment: NSTextAlignment = .center { 52 | didSet { setNeedsLayout() } 53 | } 54 | 55 | private lazy var strokedLayer: CALayer = makeSublayer() 56 | private lazy var filledLayer: CALayer = makeSublayer() 57 | 58 | override open var intrinsicContentSize: CGSize { 59 | let textSize = attributedString.size() 60 | return CGSize(width: ceil(textSize.width) + lineWidth, height: ceil(textSize.height) + lineWidth) 61 | } 62 | 63 | override open func sizeThatFits(_ size: CGSize) -> CGSize { 64 | return intrinsicContentSize 65 | } 66 | 67 | override open func layoutSubviews() { 68 | super.layoutSubviews() 69 | layoutLayers() 70 | updateTextMask() 71 | } 72 | } 73 | 74 | private extension ProgressLabel { 75 | var attributedString: NSAttributedString { 76 | let style = NSMutableParagraphStyle() 77 | style.alignment = textAlignment 78 | return NSAttributedString(string: text, attributes: [.font: font, .paragraphStyle: style]) 79 | } 80 | 81 | func makeSublayer() -> CALayer { 82 | let sublayer = CALayer() 83 | sublayer.anchorPoint = .zero 84 | sublayer.backgroundColor = textColor.cgColor 85 | layer.addSublayer(sublayer) 86 | return sublayer 87 | } 88 | 89 | func layoutLayers() { 90 | strokedLayer.frame = bounds 91 | filledLayer.frame = CGRect(x: 0, y: 0, width: bounds.width * progress, height: bounds.height) 92 | } 93 | 94 | func updateTextMask() { 95 | strokedLayer.mask = textMask(with: .stroke) 96 | filledLayer.mask = textMask(with: .fillStroke) 97 | } 98 | 99 | func textMask(with drawingMode: CGTextDrawingMode) -> CALayer { 100 | let maskLayer = CALayer() 101 | maskLayer.contentsGravity = kCAGravityResizeAspect 102 | maskLayer.frame = bounds 103 | maskLayer.contents = renderText(with: drawingMode)?.cgImage 104 | return maskLayer 105 | } 106 | 107 | func renderText(with drawingMode: CGTextDrawingMode) -> UIImage? { 108 | defer { 109 | UIGraphicsEndImageContext() 110 | } 111 | UIGraphicsBeginImageContextWithOptions(bounds.size, false, 0) 112 | guard let context = UIGraphicsGetCurrentContext() else { 113 | return nil 114 | } 115 | context.setTextDrawingMode(drawingMode) 116 | context.setLineWidth(lineWidth) 117 | attributedString.draw(in: bounds) 118 | return UIGraphicsGetImageFromCurrentImageContext() 119 | } 120 | } 121 | 122 | extension ProgressLabel { 123 | public func setProgressAnimated(_ progress: CGFloat) { 124 | let animation = CABasicAnimation(keyPath: "bounds") 125 | animation.fromValue = filledLayer.bounds as NSValue 126 | animation.toValue = CGRect(x: 0, y: 0, width: bounds.width * progress, height: bounds.height) as NSValue 127 | animation.duration = 1.0 128 | animation.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionEaseOut) 129 | self.progress = progress 130 | filledLayer.add(animation, forKey: nil) 131 | } 132 | } 133 | -------------------------------------------------------------------------------- /Example/ProgressLabel.xcodeproj/xcshareddata/xcschemes/ProgressLabel-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/Pods/Target Support Files/Pods-ProgressLabel_Tests/Pods-ProgressLabel_Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 12 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 13 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 14 | 15 | case "${TARGETED_DEVICE_FAMILY}" in 16 | 1,2) 17 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 18 | ;; 19 | 1) 20 | TARGET_DEVICE_ARGS="--target-device iphone" 21 | ;; 22 | 2) 23 | TARGET_DEVICE_ARGS="--target-device ipad" 24 | ;; 25 | 3) 26 | TARGET_DEVICE_ARGS="--target-device tv" 27 | ;; 28 | 4) 29 | TARGET_DEVICE_ARGS="--target-device watch" 30 | ;; 31 | *) 32 | TARGET_DEVICE_ARGS="--target-device mac" 33 | ;; 34 | esac 35 | 36 | install_resource() 37 | { 38 | if [[ "$1" = /* ]] ; then 39 | RESOURCE_PATH="$1" 40 | else 41 | RESOURCE_PATH="${PODS_ROOT}/$1" 42 | fi 43 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 44 | cat << EOM 45 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 46 | EOM 47 | exit 1 48 | fi 49 | case $RESOURCE_PATH in 50 | *.storyboard) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.xib) 55 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 56 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 57 | ;; 58 | *.framework) 59 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 60 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 61 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 62 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 63 | ;; 64 | *.xcdatamodel) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 67 | ;; 68 | *.xcdatamodeld) 69 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 70 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 71 | ;; 72 | *.xcmappingmodel) 73 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 74 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 75 | ;; 76 | *.xcassets) 77 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 78 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 79 | ;; 80 | *) 81 | echo "$RESOURCE_PATH" || true 82 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 83 | ;; 84 | esac 85 | } 86 | 87 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 89 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 90 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 91 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 92 | fi 93 | rm -f "$RESOURCES_TO_COPY" 94 | 95 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 96 | then 97 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 98 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 99 | while read line; do 100 | if [[ $line != "${PODS_ROOT}*" ]]; then 101 | XCASSET_FILES+=("$line") 102 | fi 103 | done <<<"$OTHER_XCASSETS" 104 | 105 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 106 | fi 107 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ProgressLabel_Example/Pods-ProgressLabel_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 12 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 13 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 14 | 15 | case "${TARGETED_DEVICE_FAMILY}" in 16 | 1,2) 17 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 18 | ;; 19 | 1) 20 | TARGET_DEVICE_ARGS="--target-device iphone" 21 | ;; 22 | 2) 23 | TARGET_DEVICE_ARGS="--target-device ipad" 24 | ;; 25 | 3) 26 | TARGET_DEVICE_ARGS="--target-device tv" 27 | ;; 28 | 4) 29 | TARGET_DEVICE_ARGS="--target-device watch" 30 | ;; 31 | *) 32 | TARGET_DEVICE_ARGS="--target-device mac" 33 | ;; 34 | esac 35 | 36 | install_resource() 37 | { 38 | if [[ "$1" = /* ]] ; then 39 | RESOURCE_PATH="$1" 40 | else 41 | RESOURCE_PATH="${PODS_ROOT}/$1" 42 | fi 43 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 44 | cat << EOM 45 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 46 | EOM 47 | exit 1 48 | fi 49 | case $RESOURCE_PATH in 50 | *.storyboard) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.xib) 55 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 56 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 57 | ;; 58 | *.framework) 59 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 60 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 61 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 62 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 63 | ;; 64 | *.xcdatamodel) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 67 | ;; 68 | *.xcdatamodeld) 69 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 70 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 71 | ;; 72 | *.xcmappingmodel) 73 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 74 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 75 | ;; 76 | *.xcassets) 77 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 78 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 79 | ;; 80 | *) 81 | echo "$RESOURCE_PATH" || true 82 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 83 | ;; 84 | esac 85 | } 86 | 87 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 89 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 90 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 91 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 92 | fi 93 | rm -f "$RESOURCES_TO_COPY" 94 | 95 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 96 | then 97 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 98 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 99 | while read line; do 100 | if [[ $line != "${PODS_ROOT}*" ]]; then 101 | XCASSET_FILES+=("$line") 102 | fi 103 | done <<<"$OTHER_XCASSETS" 104 | 105 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 106 | fi 107 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ProgressLabel_Tests/Pods-ProgressLabel_Tests-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | # Used as a return value for each invocation of `strip_invalid_archs` function. 10 | STRIP_BINARY_RETVAL=0 11 | 12 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 13 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 14 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 15 | 16 | # Copies and strips a vendored framework 17 | install_framework() 18 | { 19 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 20 | local source="${BUILT_PRODUCTS_DIR}/$1" 21 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 22 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 23 | elif [ -r "$1" ]; then 24 | local source="$1" 25 | fi 26 | 27 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 28 | 29 | if [ -L "${source}" ]; then 30 | echo "Symlinked..." 31 | source="$(readlink "${source}")" 32 | fi 33 | 34 | # Use filter instead of exclude so missing patterns don't throw errors. 35 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 36 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 37 | 38 | local basename 39 | basename="$(basename -s .framework "$1")" 40 | binary="${destination}/${basename}.framework/${basename}" 41 | if ! [ -r "$binary" ]; then 42 | binary="${destination}/${basename}" 43 | fi 44 | 45 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 46 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 47 | strip_invalid_archs "$binary" 48 | fi 49 | 50 | # Resign the code if required by the build settings to avoid unstable apps 51 | code_sign_if_enabled "${destination}/$(basename "$1")" 52 | 53 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 54 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 55 | local swift_runtime_libs 56 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 57 | for lib in $swift_runtime_libs; do 58 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 59 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 60 | code_sign_if_enabled "${destination}/${lib}" 61 | done 62 | fi 63 | } 64 | 65 | # Copies and strips a vendored dSYM 66 | install_dsym() { 67 | local source="$1" 68 | if [ -r "$source" ]; then 69 | # Copy the dSYM into a the targets temp dir. 70 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" 71 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" 72 | 73 | local basename 74 | basename="$(basename -s .framework.dSYM "$source")" 75 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 76 | 77 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 78 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 79 | strip_invalid_archs "$binary" 80 | fi 81 | 82 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 83 | # Move the stripped file into its final destination. 84 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 85 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 86 | else 87 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. 88 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 89 | fi 90 | fi 91 | } 92 | 93 | # Signs a framework with the provided identity 94 | code_sign_if_enabled() { 95 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 96 | # Use the current code_sign_identitiy 97 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 98 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 99 | 100 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 101 | code_sign_cmd="$code_sign_cmd &" 102 | fi 103 | echo "$code_sign_cmd" 104 | eval "$code_sign_cmd" 105 | fi 106 | } 107 | 108 | # Strip invalid architectures 109 | strip_invalid_archs() { 110 | binary="$1" 111 | # Get architectures for current target binary 112 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 113 | # Intersect them with the architectures we are building for 114 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 115 | # If there are no archs supported by this binary then warn the user 116 | if [[ -z "$intersected_archs" ]]; then 117 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 118 | STRIP_BINARY_RETVAL=0 119 | return 120 | fi 121 | stripped="" 122 | for arch in $binary_archs; do 123 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 124 | # Strip non-valid architectures in-place 125 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 126 | stripped="$stripped $arch" 127 | fi 128 | done 129 | if [[ "$stripped" ]]; then 130 | echo "Stripped $binary of architectures:$stripped" 131 | fi 132 | STRIP_BINARY_RETVAL=1 133 | } 134 | 135 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 136 | wait 137 | fi 138 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ProgressLabel_Example/Pods-ProgressLabel_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | # Used as a return value for each invocation of `strip_invalid_archs` function. 10 | STRIP_BINARY_RETVAL=0 11 | 12 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 13 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 14 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 15 | 16 | # Copies and strips a vendored framework 17 | install_framework() 18 | { 19 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 20 | local source="${BUILT_PRODUCTS_DIR}/$1" 21 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 22 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 23 | elif [ -r "$1" ]; then 24 | local source="$1" 25 | fi 26 | 27 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 28 | 29 | if [ -L "${source}" ]; then 30 | echo "Symlinked..." 31 | source="$(readlink "${source}")" 32 | fi 33 | 34 | # Use filter instead of exclude so missing patterns don't throw errors. 35 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 36 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 37 | 38 | local basename 39 | basename="$(basename -s .framework "$1")" 40 | binary="${destination}/${basename}.framework/${basename}" 41 | if ! [ -r "$binary" ]; then 42 | binary="${destination}/${basename}" 43 | fi 44 | 45 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 46 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 47 | strip_invalid_archs "$binary" 48 | fi 49 | 50 | # Resign the code if required by the build settings to avoid unstable apps 51 | code_sign_if_enabled "${destination}/$(basename "$1")" 52 | 53 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 54 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 55 | local swift_runtime_libs 56 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 57 | for lib in $swift_runtime_libs; do 58 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 59 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 60 | code_sign_if_enabled "${destination}/${lib}" 61 | done 62 | fi 63 | } 64 | 65 | # Copies and strips a vendored dSYM 66 | install_dsym() { 67 | local source="$1" 68 | if [ -r "$source" ]; then 69 | # Copy the dSYM into a the targets temp dir. 70 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" 71 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" 72 | 73 | local basename 74 | basename="$(basename -s .framework.dSYM "$source")" 75 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 76 | 77 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 78 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 79 | strip_invalid_archs "$binary" 80 | fi 81 | 82 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 83 | # Move the stripped file into its final destination. 84 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 85 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 86 | else 87 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. 88 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 89 | fi 90 | fi 91 | } 92 | 93 | # Signs a framework with the provided identity 94 | code_sign_if_enabled() { 95 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 96 | # Use the current code_sign_identitiy 97 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 98 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 99 | 100 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 101 | code_sign_cmd="$code_sign_cmd &" 102 | fi 103 | echo "$code_sign_cmd" 104 | eval "$code_sign_cmd" 105 | fi 106 | } 107 | 108 | # Strip invalid architectures 109 | strip_invalid_archs() { 110 | binary="$1" 111 | # Get architectures for current target binary 112 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 113 | # Intersect them with the architectures we are building for 114 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 115 | # If there are no archs supported by this binary then warn the user 116 | if [[ -z "$intersected_archs" ]]; then 117 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 118 | STRIP_BINARY_RETVAL=0 119 | return 120 | fi 121 | stripped="" 122 | for arch in $binary_archs; do 123 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 124 | # Strip non-valid architectures in-place 125 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 126 | stripped="$stripped $arch" 127 | fi 128 | done 129 | if [[ "$stripped" ]]; then 130 | echo "Stripped $binary of architectures:$stripped" 131 | fi 132 | STRIP_BINARY_RETVAL=1 133 | } 134 | 135 | 136 | if [[ "$CONFIGURATION" == "Debug" ]]; then 137 | install_framework "${BUILT_PRODUCTS_DIR}/ProgressLabel/ProgressLabel.framework" 138 | fi 139 | if [[ "$CONFIGURATION" == "Release" ]]; then 140 | install_framework "${BUILT_PRODUCTS_DIR}/ProgressLabel/ProgressLabel.framework" 141 | fi 142 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 143 | wait 144 | fi 145 | -------------------------------------------------------------------------------- /Example/ProgressLabel/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | ChalkboardSE-Regular 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 55 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | -------------------------------------------------------------------------------- /Example/ProgressLabel.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 11 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 12 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 13 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 14 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 15 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 16 | 8EAEE13D20152CAF0099B5FA /* UIImage+Gradient.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8EAEE13C20152CAF0099B5FA /* UIImage+Gradient.swift */; }; 17 | C7F9A7574399AEA27BC2E1DE /* Pods_ProgressLabel_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 48AF5F6BCE764257D15CE555 /* Pods_ProgressLabel_Example.framework */; }; 18 | E09EE0B3CC40167BECFB0F58 /* Pods_ProgressLabel_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A27CDADCFD14E6755D1E53C /* Pods_ProgressLabel_Tests.framework */; }; 19 | /* End PBXBuildFile section */ 20 | 21 | /* Begin PBXContainerItemProxy section */ 22 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 23 | isa = PBXContainerItemProxy; 24 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 25 | proxyType = 1; 26 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 27 | remoteInfo = ProgressLabel; 28 | }; 29 | /* End PBXContainerItemProxy section */ 30 | 31 | /* Begin PBXFileReference section */ 32 | 16AF5A692368082390310F1F /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 33 | 3A27CDADCFD14E6755D1E53C /* Pods_ProgressLabel_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ProgressLabel_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 34 | 48AF5F6BCE764257D15CE555 /* Pods_ProgressLabel_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ProgressLabel_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 35 | 5EF0D3709D248ACA74E40909 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 36 | 607FACD01AFB9204008FA782 /* ProgressLabel_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ProgressLabel_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 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.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 /* ProgressLabel_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ProgressLabel_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 | 6FB2C905A6CFDAACA848BBB7 /* Pods-ProgressLabel_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ProgressLabel_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ProgressLabel_Example/Pods-ProgressLabel_Example.debug.xcconfig"; sourceTree = ""; }; 47 | 8EAEE13C20152CAF0099B5FA /* UIImage+Gradient.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UIImage+Gradient.swift"; sourceTree = ""; }; 48 | B24E6C096BF8D10ADA738997 /* Pods-ProgressLabel_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ProgressLabel_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-ProgressLabel_Tests/Pods-ProgressLabel_Tests.release.xcconfig"; sourceTree = ""; }; 49 | CB3ED5B941EFA75A697539D5 /* Pods-ProgressLabel_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ProgressLabel_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-ProgressLabel_Example/Pods-ProgressLabel_Example.release.xcconfig"; sourceTree = ""; }; 50 | DE9CEE4A07B8909AEB539438 /* ProgressLabel.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = ProgressLabel.podspec; path = ../ProgressLabel.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 51 | E938E8ACA6766104F7633EF2 /* Pods-ProgressLabel_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ProgressLabel_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ProgressLabel_Tests/Pods-ProgressLabel_Tests.debug.xcconfig"; sourceTree = ""; }; 52 | /* End PBXFileReference section */ 53 | 54 | /* Begin PBXFrameworksBuildPhase section */ 55 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 56 | isa = PBXFrameworksBuildPhase; 57 | buildActionMask = 2147483647; 58 | files = ( 59 | C7F9A7574399AEA27BC2E1DE /* Pods_ProgressLabel_Example.framework in Frameworks */, 60 | ); 61 | runOnlyForDeploymentPostprocessing = 0; 62 | }; 63 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 64 | isa = PBXFrameworksBuildPhase; 65 | buildActionMask = 2147483647; 66 | files = ( 67 | E09EE0B3CC40167BECFB0F58 /* Pods_ProgressLabel_Tests.framework in Frameworks */, 68 | ); 69 | runOnlyForDeploymentPostprocessing = 0; 70 | }; 71 | /* End PBXFrameworksBuildPhase section */ 72 | 73 | /* Begin PBXGroup section */ 74 | 465795D92265F266E5DB1709 /* Frameworks */ = { 75 | isa = PBXGroup; 76 | children = ( 77 | 48AF5F6BCE764257D15CE555 /* Pods_ProgressLabel_Example.framework */, 78 | 3A27CDADCFD14E6755D1E53C /* Pods_ProgressLabel_Tests.framework */, 79 | ); 80 | name = Frameworks; 81 | sourceTree = ""; 82 | }; 83 | 607FACC71AFB9204008FA782 = { 84 | isa = PBXGroup; 85 | children = ( 86 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 87 | 607FACD21AFB9204008FA782 /* Example for ProgressLabel */, 88 | 607FACE81AFB9204008FA782 /* Tests */, 89 | 607FACD11AFB9204008FA782 /* Products */, 90 | C78994A6F7F2607749BE3E92 /* Pods */, 91 | 465795D92265F266E5DB1709 /* Frameworks */, 92 | ); 93 | sourceTree = ""; 94 | }; 95 | 607FACD11AFB9204008FA782 /* Products */ = { 96 | isa = PBXGroup; 97 | children = ( 98 | 607FACD01AFB9204008FA782 /* ProgressLabel_Example.app */, 99 | 607FACE51AFB9204008FA782 /* ProgressLabel_Tests.xctest */, 100 | ); 101 | name = Products; 102 | sourceTree = ""; 103 | }; 104 | 607FACD21AFB9204008FA782 /* Example for ProgressLabel */ = { 105 | isa = PBXGroup; 106 | children = ( 107 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 108 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 109 | 8EAEE13C20152CAF0099B5FA /* UIImage+Gradient.swift */, 110 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 111 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 112 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 113 | 607FACD31AFB9204008FA782 /* Supporting Files */, 114 | ); 115 | name = "Example for ProgressLabel"; 116 | path = ProgressLabel; 117 | sourceTree = ""; 118 | }; 119 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 120 | isa = PBXGroup; 121 | children = ( 122 | 607FACD41AFB9204008FA782 /* Info.plist */, 123 | ); 124 | name = "Supporting Files"; 125 | sourceTree = ""; 126 | }; 127 | 607FACE81AFB9204008FA782 /* Tests */ = { 128 | isa = PBXGroup; 129 | children = ( 130 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 131 | 607FACE91AFB9204008FA782 /* Supporting Files */, 132 | ); 133 | path = Tests; 134 | sourceTree = ""; 135 | }; 136 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 137 | isa = PBXGroup; 138 | children = ( 139 | 607FACEA1AFB9204008FA782 /* Info.plist */, 140 | ); 141 | name = "Supporting Files"; 142 | sourceTree = ""; 143 | }; 144 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 145 | isa = PBXGroup; 146 | children = ( 147 | DE9CEE4A07B8909AEB539438 /* ProgressLabel.podspec */, 148 | 5EF0D3709D248ACA74E40909 /* README.md */, 149 | 16AF5A692368082390310F1F /* LICENSE */, 150 | ); 151 | name = "Podspec Metadata"; 152 | sourceTree = ""; 153 | }; 154 | C78994A6F7F2607749BE3E92 /* Pods */ = { 155 | isa = PBXGroup; 156 | children = ( 157 | 6FB2C905A6CFDAACA848BBB7 /* Pods-ProgressLabel_Example.debug.xcconfig */, 158 | CB3ED5B941EFA75A697539D5 /* Pods-ProgressLabel_Example.release.xcconfig */, 159 | E938E8ACA6766104F7633EF2 /* Pods-ProgressLabel_Tests.debug.xcconfig */, 160 | B24E6C096BF8D10ADA738997 /* Pods-ProgressLabel_Tests.release.xcconfig */, 161 | ); 162 | name = Pods; 163 | sourceTree = ""; 164 | }; 165 | /* End PBXGroup section */ 166 | 167 | /* Begin PBXNativeTarget section */ 168 | 607FACCF1AFB9204008FA782 /* ProgressLabel_Example */ = { 169 | isa = PBXNativeTarget; 170 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "ProgressLabel_Example" */; 171 | buildPhases = ( 172 | 9B16358D9DFB3DAB81272FF4 /* [CP] Check Pods Manifest.lock */, 173 | 607FACCC1AFB9204008FA782 /* Sources */, 174 | 607FACCD1AFB9204008FA782 /* Frameworks */, 175 | 607FACCE1AFB9204008FA782 /* Resources */, 176 | 2223C66AB421FD15F27CD796 /* [CP] Embed Pods Frameworks */, 177 | 725DFC2FA49325C7DD130FC3 /* [CP] Copy Pods Resources */, 178 | ); 179 | buildRules = ( 180 | ); 181 | dependencies = ( 182 | ); 183 | name = ProgressLabel_Example; 184 | productName = ProgressLabel; 185 | productReference = 607FACD01AFB9204008FA782 /* ProgressLabel_Example.app */; 186 | productType = "com.apple.product-type.application"; 187 | }; 188 | 607FACE41AFB9204008FA782 /* ProgressLabel_Tests */ = { 189 | isa = PBXNativeTarget; 190 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "ProgressLabel_Tests" */; 191 | buildPhases = ( 192 | 6743856BFF47BA405EB17800 /* [CP] Check Pods Manifest.lock */, 193 | 607FACE11AFB9204008FA782 /* Sources */, 194 | 607FACE21AFB9204008FA782 /* Frameworks */, 195 | 607FACE31AFB9204008FA782 /* Resources */, 196 | F5E0DEC2EE39C599463CC803 /* [CP] Embed Pods Frameworks */, 197 | 4792C87E9D9A342FA615C78D /* [CP] Copy Pods Resources */, 198 | ); 199 | buildRules = ( 200 | ); 201 | dependencies = ( 202 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 203 | ); 204 | name = ProgressLabel_Tests; 205 | productName = Tests; 206 | productReference = 607FACE51AFB9204008FA782 /* ProgressLabel_Tests.xctest */; 207 | productType = "com.apple.product-type.bundle.unit-test"; 208 | }; 209 | /* End PBXNativeTarget section */ 210 | 211 | /* Begin PBXProject section */ 212 | 607FACC81AFB9204008FA782 /* Project object */ = { 213 | isa = PBXProject; 214 | attributes = { 215 | LastSwiftUpdateCheck = 0830; 216 | LastUpgradeCheck = 0830; 217 | ORGANIZATIONNAME = CocoaPods; 218 | TargetAttributes = { 219 | 607FACCF1AFB9204008FA782 = { 220 | CreatedOnToolsVersion = 6.3.1; 221 | LastSwiftMigration = 0900; 222 | }; 223 | 607FACE41AFB9204008FA782 = { 224 | CreatedOnToolsVersion = 6.3.1; 225 | LastSwiftMigration = 0900; 226 | TestTargetID = 607FACCF1AFB9204008FA782; 227 | }; 228 | }; 229 | }; 230 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "ProgressLabel" */; 231 | compatibilityVersion = "Xcode 3.2"; 232 | developmentRegion = English; 233 | hasScannedForEncodings = 0; 234 | knownRegions = ( 235 | en, 236 | Base, 237 | ); 238 | mainGroup = 607FACC71AFB9204008FA782; 239 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 240 | projectDirPath = ""; 241 | projectRoot = ""; 242 | targets = ( 243 | 607FACCF1AFB9204008FA782 /* ProgressLabel_Example */, 244 | 607FACE41AFB9204008FA782 /* ProgressLabel_Tests */, 245 | ); 246 | }; 247 | /* End PBXProject section */ 248 | 249 | /* Begin PBXResourcesBuildPhase section */ 250 | 607FACCE1AFB9204008FA782 /* Resources */ = { 251 | isa = PBXResourcesBuildPhase; 252 | buildActionMask = 2147483647; 253 | files = ( 254 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 255 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 256 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 257 | ); 258 | runOnlyForDeploymentPostprocessing = 0; 259 | }; 260 | 607FACE31AFB9204008FA782 /* Resources */ = { 261 | isa = PBXResourcesBuildPhase; 262 | buildActionMask = 2147483647; 263 | files = ( 264 | ); 265 | runOnlyForDeploymentPostprocessing = 0; 266 | }; 267 | /* End PBXResourcesBuildPhase section */ 268 | 269 | /* Begin PBXShellScriptBuildPhase section */ 270 | 2223C66AB421FD15F27CD796 /* [CP] Embed Pods Frameworks */ = { 271 | isa = PBXShellScriptBuildPhase; 272 | buildActionMask = 2147483647; 273 | files = ( 274 | ); 275 | inputPaths = ( 276 | "${SRCROOT}/Pods/Target Support Files/Pods-ProgressLabel_Example/Pods-ProgressLabel_Example-frameworks.sh", 277 | "${BUILT_PRODUCTS_DIR}/ProgressLabel/ProgressLabel.framework", 278 | ); 279 | name = "[CP] Embed Pods Frameworks"; 280 | outputPaths = ( 281 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ProgressLabel.framework", 282 | ); 283 | runOnlyForDeploymentPostprocessing = 0; 284 | shellPath = /bin/sh; 285 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ProgressLabel_Example/Pods-ProgressLabel_Example-frameworks.sh\"\n"; 286 | showEnvVarsInLog = 0; 287 | }; 288 | 4792C87E9D9A342FA615C78D /* [CP] Copy Pods Resources */ = { 289 | isa = PBXShellScriptBuildPhase; 290 | buildActionMask = 2147483647; 291 | files = ( 292 | ); 293 | inputPaths = ( 294 | ); 295 | name = "[CP] Copy Pods Resources"; 296 | outputPaths = ( 297 | ); 298 | runOnlyForDeploymentPostprocessing = 0; 299 | shellPath = /bin/sh; 300 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ProgressLabel_Tests/Pods-ProgressLabel_Tests-resources.sh\"\n"; 301 | showEnvVarsInLog = 0; 302 | }; 303 | 6743856BFF47BA405EB17800 /* [CP] Check Pods Manifest.lock */ = { 304 | isa = PBXShellScriptBuildPhase; 305 | buildActionMask = 2147483647; 306 | files = ( 307 | ); 308 | inputPaths = ( 309 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 310 | "${PODS_ROOT}/Manifest.lock", 311 | ); 312 | name = "[CP] Check Pods Manifest.lock"; 313 | outputPaths = ( 314 | "$(DERIVED_FILE_DIR)/Pods-ProgressLabel_Tests-checkManifestLockResult.txt", 315 | ); 316 | runOnlyForDeploymentPostprocessing = 0; 317 | shellPath = /bin/sh; 318 | 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"; 319 | showEnvVarsInLog = 0; 320 | }; 321 | 725DFC2FA49325C7DD130FC3 /* [CP] Copy Pods Resources */ = { 322 | isa = PBXShellScriptBuildPhase; 323 | buildActionMask = 2147483647; 324 | files = ( 325 | ); 326 | inputPaths = ( 327 | ); 328 | name = "[CP] Copy Pods Resources"; 329 | outputPaths = ( 330 | ); 331 | runOnlyForDeploymentPostprocessing = 0; 332 | shellPath = /bin/sh; 333 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ProgressLabel_Example/Pods-ProgressLabel_Example-resources.sh\"\n"; 334 | showEnvVarsInLog = 0; 335 | }; 336 | 9B16358D9DFB3DAB81272FF4 /* [CP] Check Pods Manifest.lock */ = { 337 | isa = PBXShellScriptBuildPhase; 338 | buildActionMask = 2147483647; 339 | files = ( 340 | ); 341 | inputPaths = ( 342 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 343 | "${PODS_ROOT}/Manifest.lock", 344 | ); 345 | name = "[CP] Check Pods Manifest.lock"; 346 | outputPaths = ( 347 | "$(DERIVED_FILE_DIR)/Pods-ProgressLabel_Example-checkManifestLockResult.txt", 348 | ); 349 | runOnlyForDeploymentPostprocessing = 0; 350 | shellPath = /bin/sh; 351 | 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"; 352 | showEnvVarsInLog = 0; 353 | }; 354 | F5E0DEC2EE39C599463CC803 /* [CP] Embed Pods Frameworks */ = { 355 | isa = PBXShellScriptBuildPhase; 356 | buildActionMask = 2147483647; 357 | files = ( 358 | ); 359 | inputPaths = ( 360 | ); 361 | name = "[CP] Embed Pods Frameworks"; 362 | outputPaths = ( 363 | ); 364 | runOnlyForDeploymentPostprocessing = 0; 365 | shellPath = /bin/sh; 366 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ProgressLabel_Tests/Pods-ProgressLabel_Tests-frameworks.sh\"\n"; 367 | showEnvVarsInLog = 0; 368 | }; 369 | /* End PBXShellScriptBuildPhase section */ 370 | 371 | /* Begin PBXSourcesBuildPhase section */ 372 | 607FACCC1AFB9204008FA782 /* Sources */ = { 373 | isa = PBXSourcesBuildPhase; 374 | buildActionMask = 2147483647; 375 | files = ( 376 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 377 | 8EAEE13D20152CAF0099B5FA /* UIImage+Gradient.swift in Sources */, 378 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 379 | ); 380 | runOnlyForDeploymentPostprocessing = 0; 381 | }; 382 | 607FACE11AFB9204008FA782 /* Sources */ = { 383 | isa = PBXSourcesBuildPhase; 384 | buildActionMask = 2147483647; 385 | files = ( 386 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 387 | ); 388 | runOnlyForDeploymentPostprocessing = 0; 389 | }; 390 | /* End PBXSourcesBuildPhase section */ 391 | 392 | /* Begin PBXTargetDependency section */ 393 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 394 | isa = PBXTargetDependency; 395 | target = 607FACCF1AFB9204008FA782 /* ProgressLabel_Example */; 396 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 397 | }; 398 | /* End PBXTargetDependency section */ 399 | 400 | /* Begin PBXVariantGroup section */ 401 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 402 | isa = PBXVariantGroup; 403 | children = ( 404 | 607FACDA1AFB9204008FA782 /* Base */, 405 | ); 406 | name = Main.storyboard; 407 | sourceTree = ""; 408 | }; 409 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 410 | isa = PBXVariantGroup; 411 | children = ( 412 | 607FACDF1AFB9204008FA782 /* Base */, 413 | ); 414 | name = LaunchScreen.xib; 415 | sourceTree = ""; 416 | }; 417 | /* End PBXVariantGroup section */ 418 | 419 | /* Begin XCBuildConfiguration section */ 420 | 607FACED1AFB9204008FA782 /* Debug */ = { 421 | isa = XCBuildConfiguration; 422 | buildSettings = { 423 | ALWAYS_SEARCH_USER_PATHS = NO; 424 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 425 | CLANG_CXX_LIBRARY = "libc++"; 426 | CLANG_ENABLE_MODULES = YES; 427 | CLANG_ENABLE_OBJC_ARC = YES; 428 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 429 | CLANG_WARN_BOOL_CONVERSION = YES; 430 | CLANG_WARN_COMMA = YES; 431 | CLANG_WARN_CONSTANT_CONVERSION = YES; 432 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 433 | CLANG_WARN_EMPTY_BODY = YES; 434 | CLANG_WARN_ENUM_CONVERSION = YES; 435 | CLANG_WARN_INFINITE_RECURSION = YES; 436 | CLANG_WARN_INT_CONVERSION = YES; 437 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 438 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 439 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 440 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 441 | CLANG_WARN_STRICT_PROTOTYPES = YES; 442 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 443 | CLANG_WARN_UNREACHABLE_CODE = YES; 444 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 445 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 446 | COPY_PHASE_STRIP = NO; 447 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 448 | ENABLE_STRICT_OBJC_MSGSEND = YES; 449 | ENABLE_TESTABILITY = YES; 450 | GCC_C_LANGUAGE_STANDARD = gnu99; 451 | GCC_DYNAMIC_NO_PIC = NO; 452 | GCC_NO_COMMON_BLOCKS = YES; 453 | GCC_OPTIMIZATION_LEVEL = 0; 454 | GCC_PREPROCESSOR_DEFINITIONS = ( 455 | "DEBUG=1", 456 | "$(inherited)", 457 | ); 458 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 459 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 460 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 461 | GCC_WARN_UNDECLARED_SELECTOR = YES; 462 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 463 | GCC_WARN_UNUSED_FUNCTION = YES; 464 | GCC_WARN_UNUSED_VARIABLE = YES; 465 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 466 | MTL_ENABLE_DEBUG_INFO = YES; 467 | ONLY_ACTIVE_ARCH = YES; 468 | SDKROOT = iphoneos; 469 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 470 | }; 471 | name = Debug; 472 | }; 473 | 607FACEE1AFB9204008FA782 /* Release */ = { 474 | isa = XCBuildConfiguration; 475 | buildSettings = { 476 | ALWAYS_SEARCH_USER_PATHS = NO; 477 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 478 | CLANG_CXX_LIBRARY = "libc++"; 479 | CLANG_ENABLE_MODULES = YES; 480 | CLANG_ENABLE_OBJC_ARC = YES; 481 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 482 | CLANG_WARN_BOOL_CONVERSION = YES; 483 | CLANG_WARN_COMMA = YES; 484 | CLANG_WARN_CONSTANT_CONVERSION = YES; 485 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 486 | CLANG_WARN_EMPTY_BODY = YES; 487 | CLANG_WARN_ENUM_CONVERSION = YES; 488 | CLANG_WARN_INFINITE_RECURSION = YES; 489 | CLANG_WARN_INT_CONVERSION = YES; 490 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 491 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 492 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 493 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 494 | CLANG_WARN_STRICT_PROTOTYPES = YES; 495 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 496 | CLANG_WARN_UNREACHABLE_CODE = YES; 497 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 498 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 499 | COPY_PHASE_STRIP = NO; 500 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 501 | ENABLE_NS_ASSERTIONS = NO; 502 | ENABLE_STRICT_OBJC_MSGSEND = YES; 503 | GCC_C_LANGUAGE_STANDARD = gnu99; 504 | GCC_NO_COMMON_BLOCKS = YES; 505 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 506 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 507 | GCC_WARN_UNDECLARED_SELECTOR = YES; 508 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 509 | GCC_WARN_UNUSED_FUNCTION = YES; 510 | GCC_WARN_UNUSED_VARIABLE = YES; 511 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 512 | MTL_ENABLE_DEBUG_INFO = NO; 513 | SDKROOT = iphoneos; 514 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 515 | VALIDATE_PRODUCT = YES; 516 | }; 517 | name = Release; 518 | }; 519 | 607FACF01AFB9204008FA782 /* Debug */ = { 520 | isa = XCBuildConfiguration; 521 | baseConfigurationReference = 6FB2C905A6CFDAACA848BBB7 /* Pods-ProgressLabel_Example.debug.xcconfig */; 522 | buildSettings = { 523 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 524 | INFOPLIST_FILE = ProgressLabel/Info.plist; 525 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 526 | MODULE_NAME = ExampleApp; 527 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 528 | PRODUCT_NAME = "$(TARGET_NAME)"; 529 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 530 | SWIFT_VERSION = 4.0; 531 | }; 532 | name = Debug; 533 | }; 534 | 607FACF11AFB9204008FA782 /* Release */ = { 535 | isa = XCBuildConfiguration; 536 | baseConfigurationReference = CB3ED5B941EFA75A697539D5 /* Pods-ProgressLabel_Example.release.xcconfig */; 537 | buildSettings = { 538 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 539 | INFOPLIST_FILE = ProgressLabel/Info.plist; 540 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 541 | MODULE_NAME = ExampleApp; 542 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 543 | PRODUCT_NAME = "$(TARGET_NAME)"; 544 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 545 | SWIFT_VERSION = 4.0; 546 | }; 547 | name = Release; 548 | }; 549 | 607FACF31AFB9204008FA782 /* Debug */ = { 550 | isa = XCBuildConfiguration; 551 | baseConfigurationReference = E938E8ACA6766104F7633EF2 /* Pods-ProgressLabel_Tests.debug.xcconfig */; 552 | buildSettings = { 553 | FRAMEWORK_SEARCH_PATHS = ( 554 | "$(SDKROOT)/Developer/Library/Frameworks", 555 | "$(inherited)", 556 | ); 557 | GCC_PREPROCESSOR_DEFINITIONS = ( 558 | "DEBUG=1", 559 | "$(inherited)", 560 | ); 561 | INFOPLIST_FILE = Tests/Info.plist; 562 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 563 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 564 | PRODUCT_NAME = "$(TARGET_NAME)"; 565 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 566 | SWIFT_VERSION = 4.0; 567 | }; 568 | name = Debug; 569 | }; 570 | 607FACF41AFB9204008FA782 /* Release */ = { 571 | isa = XCBuildConfiguration; 572 | baseConfigurationReference = B24E6C096BF8D10ADA738997 /* Pods-ProgressLabel_Tests.release.xcconfig */; 573 | buildSettings = { 574 | FRAMEWORK_SEARCH_PATHS = ( 575 | "$(SDKROOT)/Developer/Library/Frameworks", 576 | "$(inherited)", 577 | ); 578 | INFOPLIST_FILE = Tests/Info.plist; 579 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 580 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 581 | PRODUCT_NAME = "$(TARGET_NAME)"; 582 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 583 | SWIFT_VERSION = 4.0; 584 | }; 585 | name = Release; 586 | }; 587 | /* End XCBuildConfiguration section */ 588 | 589 | /* Begin XCConfigurationList section */ 590 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "ProgressLabel" */ = { 591 | isa = XCConfigurationList; 592 | buildConfigurations = ( 593 | 607FACED1AFB9204008FA782 /* Debug */, 594 | 607FACEE1AFB9204008FA782 /* Release */, 595 | ); 596 | defaultConfigurationIsVisible = 0; 597 | defaultConfigurationName = Release; 598 | }; 599 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "ProgressLabel_Example" */ = { 600 | isa = XCConfigurationList; 601 | buildConfigurations = ( 602 | 607FACF01AFB9204008FA782 /* Debug */, 603 | 607FACF11AFB9204008FA782 /* Release */, 604 | ); 605 | defaultConfigurationIsVisible = 0; 606 | defaultConfigurationName = Release; 607 | }; 608 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "ProgressLabel_Tests" */ = { 609 | isa = XCConfigurationList; 610 | buildConfigurations = ( 611 | 607FACF31AFB9204008FA782 /* Debug */, 612 | 607FACF41AFB9204008FA782 /* Release */, 613 | ); 614 | defaultConfigurationIsVisible = 0; 615 | defaultConfigurationName = Release; 616 | }; 617 | /* End XCConfigurationList section */ 618 | }; 619 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 620 | } 621 | -------------------------------------------------------------------------------- /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 | 0F756B2C691933D6C984CBAFD2E47521 /* ProgressLabel-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A95746D7F3EE01129670AF5269703E3 /* ProgressLabel-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 11 | 385AC46749AFD4D833A97A910D750245 /* Pods-ProgressLabel_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 983FF53E07AB1229B2043DF7447694FE /* Pods-ProgressLabel_Example-dummy.m */; }; 12 | 55B3A931442388C2F313FCD59527A22C /* Pods-ProgressLabel_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 34C69B6D113BBC95DC6E0EE2B294B885 /* Pods-ProgressLabel_Tests-dummy.m */; }; 13 | 5BFA4FB33E850244FBA3964E2D7332B9 /* ProgressLabel-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 835DB6366A3CCABF0D884DB355CDE449 /* ProgressLabel-dummy.m */; }; 14 | 8100E9CD04A4834448AA54286D1A25DC /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 15 | 9FBAC49FFFA601F1806DF92051674287 /* ProgressLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = A87BE941FBE423EA4EAEE889016F768C /* ProgressLabel.swift */; }; 16 | A9572079415807B2DE480357D7A46CAE /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 17 | D9563217C938F5D7213E02D714F4BA9A /* Pods-ProgressLabel_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 56EB86EE3886202CD749F832D3F6B82A /* Pods-ProgressLabel_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 18 | F6D1459DD6AB39EB6DCFDFE6F6C6587F /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 19 | FA68B2F29D30146EE9F63C3877A372FC /* Pods-ProgressLabel_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 750AF9141599FA61D0790AFDB653B1CD /* Pods-ProgressLabel_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 20 | /* End PBXBuildFile section */ 21 | 22 | /* Begin PBXContainerItemProxy section */ 23 | A4DDEC6E156D95D6D6F84628DE5BF21D /* PBXContainerItemProxy */ = { 24 | isa = PBXContainerItemProxy; 25 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 26 | proxyType = 1; 27 | remoteGlobalIDString = FD2A3AAF4FA67193BB81801EB4FAAFD5; 28 | remoteInfo = ProgressLabel; 29 | }; 30 | /* End PBXContainerItemProxy section */ 31 | 32 | /* Begin PBXFileReference section */ 33 | 0BABAD97AD85E914FBA145CA6BF54655 /* Pods-ProgressLabel_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ProgressLabel_Example.debug.xcconfig"; sourceTree = ""; }; 34 | 1A95746D7F3EE01129670AF5269703E3 /* ProgressLabel-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ProgressLabel-umbrella.h"; sourceTree = ""; }; 35 | 1E89C3487259B4D17CAC868C4AE0394F /* ProgressLabel.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = ProgressLabel.xcconfig; sourceTree = ""; }; 36 | 203D081379C7D4B588E84366310ECA3A /* Pods-ProgressLabel_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-ProgressLabel_Tests-acknowledgements.markdown"; sourceTree = ""; }; 37 | 34C69B6D113BBC95DC6E0EE2B294B885 /* Pods-ProgressLabel_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-ProgressLabel_Tests-dummy.m"; sourceTree = ""; }; 38 | 365264E356CFF5CA28F51385489A67D8 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 39 | 39DCE672BA157AC35BDA0D857BB181AD /* Pods-ProgressLabel_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ProgressLabel_Tests-frameworks.sh"; sourceTree = ""; }; 40 | 3DE63FAE8D2964B0DB3D91544BCBB7F1 /* Pods-ProgressLabel_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-ProgressLabel_Tests.modulemap"; sourceTree = ""; }; 41 | 4B1B13BF0F8F8717AF4663CA9CAFCA7A /* Pods-ProgressLabel_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-ProgressLabel_Example.modulemap"; sourceTree = ""; }; 42 | 505A00809DC05F39D455AA78CE47DE35 /* Pods-ProgressLabel_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ProgressLabel_Example-frameworks.sh"; sourceTree = ""; }; 43 | 5119EC4D19007398D426CBEFDF45124D /* Pods_ProgressLabel_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ProgressLabel_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 44 | 5491368D2052E4A814A6298BAA945476 /* Pods-ProgressLabel_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-ProgressLabel_Example-acknowledgements.markdown"; sourceTree = ""; }; 45 | 54BC56EC0E95090D3FA6024B2B1CBBA0 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; 46 | 56EB86EE3886202CD749F832D3F6B82A /* Pods-ProgressLabel_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-ProgressLabel_Tests-umbrella.h"; sourceTree = ""; }; 47 | 615DEB2E047C98DB4BCB633427CEE05B /* Pods-ProgressLabel_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ProgressLabel_Example.release.xcconfig"; sourceTree = ""; }; 48 | 62F963919570CA26CBC820E642EF2790 /* ProgressLabel.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = ProgressLabel.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 49 | 63B4CB0A79D9F2253038639BC440F797 /* ProgressLabel-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ProgressLabel-prefix.pch"; sourceTree = ""; }; 50 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 51 | 750AF9141599FA61D0790AFDB653B1CD /* Pods-ProgressLabel_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-ProgressLabel_Example-umbrella.h"; sourceTree = ""; }; 52 | 835DB6366A3CCABF0D884DB355CDE449 /* ProgressLabel-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "ProgressLabel-dummy.m"; sourceTree = ""; }; 53 | 9398DA7A1C1A15BD2EF582BF0D14961D /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 54 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 55 | 983FF53E07AB1229B2043DF7447694FE /* Pods-ProgressLabel_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-ProgressLabel_Example-dummy.m"; sourceTree = ""; }; 56 | 9A10F9B14B3F7F12F9ADD09DF057EF98 /* Pods-ProgressLabel_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ProgressLabel_Example-acknowledgements.plist"; sourceTree = ""; }; 57 | 9E15154227B70ACB2860F51748129CA6 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; 58 | A1D3C72264869F01BEF0F8D2B44853A5 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 59 | A233AEA5BBAF060135ABD522FA70E92E /* ProgressLabel.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; path = ProgressLabel.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 60 | A87BE941FBE423EA4EAEE889016F768C /* ProgressLabel.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ProgressLabel.swift; path = ProgressLabel/Classes/ProgressLabel.swift; sourceTree = ""; }; 61 | ACB47FE42970A728E0AE6E7A604F2BC3 /* Pods-ProgressLabel_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ProgressLabel_Tests.release.xcconfig"; sourceTree = ""; }; 62 | B255EA00204B0F13944065C296DA34D7 /* Pods_ProgressLabel_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ProgressLabel_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 63 | B5D1B3EC196B8B515D0588E9C46CCBD3 /* ProgressLabel.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = ProgressLabel.modulemap; sourceTree = ""; }; 64 | B7EA81BEC7C0405119EA4C683C51A2AA /* Pods-ProgressLabel_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ProgressLabel_Tests-resources.sh"; sourceTree = ""; }; 65 | D9BC2A6AE07E72CEBB0D2C00EC0508E3 /* Pods-ProgressLabel_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ProgressLabel_Tests.debug.xcconfig"; sourceTree = ""; }; 66 | ECDDE916BDB7B7DA951B9C6B23FB799C /* Pods-ProgressLabel_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ProgressLabel_Example-resources.sh"; sourceTree = ""; }; 67 | F752F93AAFC56E62F12229A395CEDADF /* Pods-ProgressLabel_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ProgressLabel_Tests-acknowledgements.plist"; sourceTree = ""; }; 68 | /* End PBXFileReference section */ 69 | 70 | /* Begin PBXFrameworksBuildPhase section */ 71 | 16047D3FF608532DB8390E489AC7933D /* Frameworks */ = { 72 | isa = PBXFrameworksBuildPhase; 73 | buildActionMask = 2147483647; 74 | files = ( 75 | 8100E9CD04A4834448AA54286D1A25DC /* Foundation.framework in Frameworks */, 76 | ); 77 | runOnlyForDeploymentPostprocessing = 0; 78 | }; 79 | 62024AE716AFC3C63AFC196ED7FD65A8 /* Frameworks */ = { 80 | isa = PBXFrameworksBuildPhase; 81 | buildActionMask = 2147483647; 82 | files = ( 83 | A9572079415807B2DE480357D7A46CAE /* Foundation.framework in Frameworks */, 84 | ); 85 | runOnlyForDeploymentPostprocessing = 0; 86 | }; 87 | CA2BE0E3FDD54E0F66C644651E51F29D /* Frameworks */ = { 88 | isa = PBXFrameworksBuildPhase; 89 | buildActionMask = 2147483647; 90 | files = ( 91 | F6D1459DD6AB39EB6DCFDFE6F6C6587F /* Foundation.framework in Frameworks */, 92 | ); 93 | runOnlyForDeploymentPostprocessing = 0; 94 | }; 95 | /* End PBXFrameworksBuildPhase section */ 96 | 97 | /* Begin PBXGroup section */ 98 | 0D1F14E0401B0C66FC6D2A8BEA8EC7E4 /* Targets Support Files */ = { 99 | isa = PBXGroup; 100 | children = ( 101 | F54D3BAB26B037E77FB6582113AF3967 /* Pods-ProgressLabel_Example */, 102 | 740DC3C83D80F2DCAE1F7D404E87AB55 /* Pods-ProgressLabel_Tests */, 103 | ); 104 | name = "Targets Support Files"; 105 | sourceTree = ""; 106 | }; 107 | 14272E56A7BFE477D2634C321FB1C670 /* Products */ = { 108 | isa = PBXGroup; 109 | children = ( 110 | B255EA00204B0F13944065C296DA34D7 /* Pods_ProgressLabel_Example.framework */, 111 | 5119EC4D19007398D426CBEFDF45124D /* Pods_ProgressLabel_Tests.framework */, 112 | 62F963919570CA26CBC820E642EF2790 /* ProgressLabel.framework */, 113 | ); 114 | name = Products; 115 | sourceTree = ""; 116 | }; 117 | 29F08024479089FBCF1AE9545358D888 /* Development Pods */ = { 118 | isa = PBXGroup; 119 | children = ( 120 | DDD1254B3BF6F3E3C51B2B21C26CB9DC /* ProgressLabel */, 121 | ); 122 | name = "Development Pods"; 123 | sourceTree = ""; 124 | }; 125 | 5FFE839ED5BF7984E0B68F6217621E08 /* Pod */ = { 126 | isa = PBXGroup; 127 | children = ( 128 | 9E15154227B70ACB2860F51748129CA6 /* LICENSE */, 129 | A233AEA5BBAF060135ABD522FA70E92E /* ProgressLabel.podspec */, 130 | 54BC56EC0E95090D3FA6024B2B1CBBA0 /* README.md */, 131 | ); 132 | name = Pod; 133 | sourceTree = ""; 134 | }; 135 | 740DC3C83D80F2DCAE1F7D404E87AB55 /* Pods-ProgressLabel_Tests */ = { 136 | isa = PBXGroup; 137 | children = ( 138 | 9398DA7A1C1A15BD2EF582BF0D14961D /* Info.plist */, 139 | 3DE63FAE8D2964B0DB3D91544BCBB7F1 /* Pods-ProgressLabel_Tests.modulemap */, 140 | 203D081379C7D4B588E84366310ECA3A /* Pods-ProgressLabel_Tests-acknowledgements.markdown */, 141 | F752F93AAFC56E62F12229A395CEDADF /* Pods-ProgressLabel_Tests-acknowledgements.plist */, 142 | 34C69B6D113BBC95DC6E0EE2B294B885 /* Pods-ProgressLabel_Tests-dummy.m */, 143 | 39DCE672BA157AC35BDA0D857BB181AD /* Pods-ProgressLabel_Tests-frameworks.sh */, 144 | B7EA81BEC7C0405119EA4C683C51A2AA /* Pods-ProgressLabel_Tests-resources.sh */, 145 | 56EB86EE3886202CD749F832D3F6B82A /* Pods-ProgressLabel_Tests-umbrella.h */, 146 | D9BC2A6AE07E72CEBB0D2C00EC0508E3 /* Pods-ProgressLabel_Tests.debug.xcconfig */, 147 | ACB47FE42970A728E0AE6E7A604F2BC3 /* Pods-ProgressLabel_Tests.release.xcconfig */, 148 | ); 149 | name = "Pods-ProgressLabel_Tests"; 150 | path = "Target Support Files/Pods-ProgressLabel_Tests"; 151 | sourceTree = ""; 152 | }; 153 | 7DB346D0F39D3F0E887471402A8071AB = { 154 | isa = PBXGroup; 155 | children = ( 156 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 157 | 29F08024479089FBCF1AE9545358D888 /* Development Pods */, 158 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 159 | 14272E56A7BFE477D2634C321FB1C670 /* Products */, 160 | 0D1F14E0401B0C66FC6D2A8BEA8EC7E4 /* Targets Support Files */, 161 | ); 162 | sourceTree = ""; 163 | }; 164 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 165 | isa = PBXGroup; 166 | children = ( 167 | D35AF013A5F0BAD4F32504907A52519E /* iOS */, 168 | ); 169 | name = Frameworks; 170 | sourceTree = ""; 171 | }; 172 | D35AF013A5F0BAD4F32504907A52519E /* iOS */ = { 173 | isa = PBXGroup; 174 | children = ( 175 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */, 176 | ); 177 | name = iOS; 178 | sourceTree = ""; 179 | }; 180 | DDD1254B3BF6F3E3C51B2B21C26CB9DC /* ProgressLabel */ = { 181 | isa = PBXGroup; 182 | children = ( 183 | A87BE941FBE423EA4EAEE889016F768C /* ProgressLabel.swift */, 184 | 5FFE839ED5BF7984E0B68F6217621E08 /* Pod */, 185 | F4C9A58CEDD32A3FC10B9E594080EDAA /* Support Files */, 186 | ); 187 | name = ProgressLabel; 188 | path = ../..; 189 | sourceTree = ""; 190 | }; 191 | F4C9A58CEDD32A3FC10B9E594080EDAA /* Support Files */ = { 192 | isa = PBXGroup; 193 | children = ( 194 | A1D3C72264869F01BEF0F8D2B44853A5 /* Info.plist */, 195 | B5D1B3EC196B8B515D0588E9C46CCBD3 /* ProgressLabel.modulemap */, 196 | 1E89C3487259B4D17CAC868C4AE0394F /* ProgressLabel.xcconfig */, 197 | 835DB6366A3CCABF0D884DB355CDE449 /* ProgressLabel-dummy.m */, 198 | 63B4CB0A79D9F2253038639BC440F797 /* ProgressLabel-prefix.pch */, 199 | 1A95746D7F3EE01129670AF5269703E3 /* ProgressLabel-umbrella.h */, 200 | ); 201 | name = "Support Files"; 202 | path = "Example/Pods/Target Support Files/ProgressLabel"; 203 | sourceTree = ""; 204 | }; 205 | F54D3BAB26B037E77FB6582113AF3967 /* Pods-ProgressLabel_Example */ = { 206 | isa = PBXGroup; 207 | children = ( 208 | 365264E356CFF5CA28F51385489A67D8 /* Info.plist */, 209 | 4B1B13BF0F8F8717AF4663CA9CAFCA7A /* Pods-ProgressLabel_Example.modulemap */, 210 | 5491368D2052E4A814A6298BAA945476 /* Pods-ProgressLabel_Example-acknowledgements.markdown */, 211 | 9A10F9B14B3F7F12F9ADD09DF057EF98 /* Pods-ProgressLabel_Example-acknowledgements.plist */, 212 | 983FF53E07AB1229B2043DF7447694FE /* Pods-ProgressLabel_Example-dummy.m */, 213 | 505A00809DC05F39D455AA78CE47DE35 /* Pods-ProgressLabel_Example-frameworks.sh */, 214 | ECDDE916BDB7B7DA951B9C6B23FB799C /* Pods-ProgressLabel_Example-resources.sh */, 215 | 750AF9141599FA61D0790AFDB653B1CD /* Pods-ProgressLabel_Example-umbrella.h */, 216 | 0BABAD97AD85E914FBA145CA6BF54655 /* Pods-ProgressLabel_Example.debug.xcconfig */, 217 | 615DEB2E047C98DB4BCB633427CEE05B /* Pods-ProgressLabel_Example.release.xcconfig */, 218 | ); 219 | name = "Pods-ProgressLabel_Example"; 220 | path = "Target Support Files/Pods-ProgressLabel_Example"; 221 | sourceTree = ""; 222 | }; 223 | /* End PBXGroup section */ 224 | 225 | /* Begin PBXHeadersBuildPhase section */ 226 | 4A7B3DD3A02984EB25ADB29CCE61C50F /* Headers */ = { 227 | isa = PBXHeadersBuildPhase; 228 | buildActionMask = 2147483647; 229 | files = ( 230 | 0F756B2C691933D6C984CBAFD2E47521 /* ProgressLabel-umbrella.h in Headers */, 231 | ); 232 | runOnlyForDeploymentPostprocessing = 0; 233 | }; 234 | 6E92097369FCE5164F185779A6B0C01B /* Headers */ = { 235 | isa = PBXHeadersBuildPhase; 236 | buildActionMask = 2147483647; 237 | files = ( 238 | FA68B2F29D30146EE9F63C3877A372FC /* Pods-ProgressLabel_Example-umbrella.h in Headers */, 239 | ); 240 | runOnlyForDeploymentPostprocessing = 0; 241 | }; 242 | 8FB5CE8728D5E6285503938B728912CE /* Headers */ = { 243 | isa = PBXHeadersBuildPhase; 244 | buildActionMask = 2147483647; 245 | files = ( 246 | D9563217C938F5D7213E02D714F4BA9A /* Pods-ProgressLabel_Tests-umbrella.h in Headers */, 247 | ); 248 | runOnlyForDeploymentPostprocessing = 0; 249 | }; 250 | /* End PBXHeadersBuildPhase section */ 251 | 252 | /* Begin PBXNativeTarget section */ 253 | 9AFA9C14482C07388ED25CCF56B90F2A /* Pods-ProgressLabel_Tests */ = { 254 | isa = PBXNativeTarget; 255 | buildConfigurationList = CB20E3750F419565C13B9E492CE69550 /* Build configuration list for PBXNativeTarget "Pods-ProgressLabel_Tests" */; 256 | buildPhases = ( 257 | 1C7C7883AAA58A1011CDD0DC8E324BBF /* Sources */, 258 | 62024AE716AFC3C63AFC196ED7FD65A8 /* Frameworks */, 259 | 8FB5CE8728D5E6285503938B728912CE /* Headers */, 260 | ); 261 | buildRules = ( 262 | ); 263 | dependencies = ( 264 | ); 265 | name = "Pods-ProgressLabel_Tests"; 266 | productName = "Pods-ProgressLabel_Tests"; 267 | productReference = 5119EC4D19007398D426CBEFDF45124D /* Pods_ProgressLabel_Tests.framework */; 268 | productType = "com.apple.product-type.framework"; 269 | }; 270 | B46CE1629CCA88496C1CB98D0325AC0B /* Pods-ProgressLabel_Example */ = { 271 | isa = PBXNativeTarget; 272 | buildConfigurationList = 7374B6C0F24E55A7AF6E125E1288CD2D /* Build configuration list for PBXNativeTarget "Pods-ProgressLabel_Example" */; 273 | buildPhases = ( 274 | B1A78596635D1A975FEEB8888C476553 /* Sources */, 275 | CA2BE0E3FDD54E0F66C644651E51F29D /* Frameworks */, 276 | 6E92097369FCE5164F185779A6B0C01B /* Headers */, 277 | ); 278 | buildRules = ( 279 | ); 280 | dependencies = ( 281 | D18EA248B33EE5050D377EC90D618B13 /* PBXTargetDependency */, 282 | ); 283 | name = "Pods-ProgressLabel_Example"; 284 | productName = "Pods-ProgressLabel_Example"; 285 | productReference = B255EA00204B0F13944065C296DA34D7 /* Pods_ProgressLabel_Example.framework */; 286 | productType = "com.apple.product-type.framework"; 287 | }; 288 | FD2A3AAF4FA67193BB81801EB4FAAFD5 /* ProgressLabel */ = { 289 | isa = PBXNativeTarget; 290 | buildConfigurationList = EB2EBA8A7F130C7629766D9E4120FBA6 /* Build configuration list for PBXNativeTarget "ProgressLabel" */; 291 | buildPhases = ( 292 | 829AAFC809C5F264343FC7B9A7181009 /* Sources */, 293 | 16047D3FF608532DB8390E489AC7933D /* Frameworks */, 294 | 4A7B3DD3A02984EB25ADB29CCE61C50F /* Headers */, 295 | ); 296 | buildRules = ( 297 | ); 298 | dependencies = ( 299 | ); 300 | name = ProgressLabel; 301 | productName = ProgressLabel; 302 | productReference = 62F963919570CA26CBC820E642EF2790 /* ProgressLabel.framework */; 303 | productType = "com.apple.product-type.framework"; 304 | }; 305 | /* End PBXNativeTarget section */ 306 | 307 | /* Begin PBXProject section */ 308 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 309 | isa = PBXProject; 310 | attributes = { 311 | LastSwiftUpdateCheck = 0830; 312 | LastUpgradeCheck = 0920; 313 | }; 314 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 315 | compatibilityVersion = "Xcode 3.2"; 316 | developmentRegion = English; 317 | hasScannedForEncodings = 0; 318 | knownRegions = ( 319 | en, 320 | ); 321 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 322 | productRefGroup = 14272E56A7BFE477D2634C321FB1C670 /* Products */; 323 | projectDirPath = ""; 324 | projectRoot = ""; 325 | targets = ( 326 | B46CE1629CCA88496C1CB98D0325AC0B /* Pods-ProgressLabel_Example */, 327 | 9AFA9C14482C07388ED25CCF56B90F2A /* Pods-ProgressLabel_Tests */, 328 | FD2A3AAF4FA67193BB81801EB4FAAFD5 /* ProgressLabel */, 329 | ); 330 | }; 331 | /* End PBXProject section */ 332 | 333 | /* Begin PBXSourcesBuildPhase section */ 334 | 1C7C7883AAA58A1011CDD0DC8E324BBF /* Sources */ = { 335 | isa = PBXSourcesBuildPhase; 336 | buildActionMask = 2147483647; 337 | files = ( 338 | 55B3A931442388C2F313FCD59527A22C /* Pods-ProgressLabel_Tests-dummy.m in Sources */, 339 | ); 340 | runOnlyForDeploymentPostprocessing = 0; 341 | }; 342 | 829AAFC809C5F264343FC7B9A7181009 /* Sources */ = { 343 | isa = PBXSourcesBuildPhase; 344 | buildActionMask = 2147483647; 345 | files = ( 346 | 5BFA4FB33E850244FBA3964E2D7332B9 /* ProgressLabel-dummy.m in Sources */, 347 | 9FBAC49FFFA601F1806DF92051674287 /* ProgressLabel.swift in Sources */, 348 | ); 349 | runOnlyForDeploymentPostprocessing = 0; 350 | }; 351 | B1A78596635D1A975FEEB8888C476553 /* Sources */ = { 352 | isa = PBXSourcesBuildPhase; 353 | buildActionMask = 2147483647; 354 | files = ( 355 | 385AC46749AFD4D833A97A910D750245 /* Pods-ProgressLabel_Example-dummy.m in Sources */, 356 | ); 357 | runOnlyForDeploymentPostprocessing = 0; 358 | }; 359 | /* End PBXSourcesBuildPhase section */ 360 | 361 | /* Begin PBXTargetDependency section */ 362 | D18EA248B33EE5050D377EC90D618B13 /* PBXTargetDependency */ = { 363 | isa = PBXTargetDependency; 364 | name = ProgressLabel; 365 | target = FD2A3AAF4FA67193BB81801EB4FAAFD5 /* ProgressLabel */; 366 | targetProxy = A4DDEC6E156D95D6D6F84628DE5BF21D /* PBXContainerItemProxy */; 367 | }; 368 | /* End PBXTargetDependency section */ 369 | 370 | /* Begin XCBuildConfiguration section */ 371 | 0C0305E10777A7FFBA6FC7850D1A4731 /* Debug */ = { 372 | isa = XCBuildConfiguration; 373 | baseConfigurationReference = D9BC2A6AE07E72CEBB0D2C00EC0508E3 /* Pods-ProgressLabel_Tests.debug.xcconfig */; 374 | buildSettings = { 375 | CODE_SIGN_IDENTITY = ""; 376 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 377 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 378 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 379 | CURRENT_PROJECT_VERSION = 1; 380 | DEFINES_MODULE = YES; 381 | DYLIB_COMPATIBILITY_VERSION = 1; 382 | DYLIB_CURRENT_VERSION = 1; 383 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 384 | INFOPLIST_FILE = "Target Support Files/Pods-ProgressLabel_Tests/Info.plist"; 385 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 386 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 387 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 388 | MACH_O_TYPE = staticlib; 389 | MODULEMAP_FILE = "Target Support Files/Pods-ProgressLabel_Tests/Pods-ProgressLabel_Tests.modulemap"; 390 | OTHER_LDFLAGS = ""; 391 | OTHER_LIBTOOLFLAGS = ""; 392 | PODS_ROOT = "$(SRCROOT)"; 393 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 394 | PRODUCT_NAME = Pods_ProgressLabel_Tests; 395 | SDKROOT = iphoneos; 396 | SKIP_INSTALL = YES; 397 | TARGETED_DEVICE_FAMILY = "1,2"; 398 | VERSIONING_SYSTEM = "apple-generic"; 399 | VERSION_INFO_PREFIX = ""; 400 | }; 401 | name = Debug; 402 | }; 403 | 33DA7F43A1D2FA3C74A8C8FC246E1FA6 /* Debug */ = { 404 | isa = XCBuildConfiguration; 405 | buildSettings = { 406 | ALWAYS_SEARCH_USER_PATHS = NO; 407 | CLANG_ANALYZER_NONNULL = YES; 408 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 409 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 410 | CLANG_CXX_LIBRARY = "libc++"; 411 | CLANG_ENABLE_MODULES = YES; 412 | CLANG_ENABLE_OBJC_ARC = YES; 413 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 414 | CLANG_WARN_BOOL_CONVERSION = YES; 415 | CLANG_WARN_COMMA = YES; 416 | CLANG_WARN_CONSTANT_CONVERSION = YES; 417 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 418 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 419 | CLANG_WARN_EMPTY_BODY = YES; 420 | CLANG_WARN_ENUM_CONVERSION = YES; 421 | CLANG_WARN_INFINITE_RECURSION = YES; 422 | CLANG_WARN_INT_CONVERSION = YES; 423 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 424 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 425 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 426 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 427 | CLANG_WARN_STRICT_PROTOTYPES = YES; 428 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 429 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 430 | CLANG_WARN_UNREACHABLE_CODE = YES; 431 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 432 | CODE_SIGNING_REQUIRED = NO; 433 | COPY_PHASE_STRIP = NO; 434 | DEBUG_INFORMATION_FORMAT = dwarf; 435 | ENABLE_STRICT_OBJC_MSGSEND = YES; 436 | ENABLE_TESTABILITY = YES; 437 | GCC_C_LANGUAGE_STANDARD = gnu11; 438 | GCC_DYNAMIC_NO_PIC = NO; 439 | GCC_NO_COMMON_BLOCKS = YES; 440 | GCC_OPTIMIZATION_LEVEL = 0; 441 | GCC_PREPROCESSOR_DEFINITIONS = ( 442 | "POD_CONFIGURATION_DEBUG=1", 443 | "DEBUG=1", 444 | "$(inherited)", 445 | ); 446 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 447 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 448 | GCC_WARN_UNDECLARED_SELECTOR = YES; 449 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 450 | GCC_WARN_UNUSED_FUNCTION = YES; 451 | GCC_WARN_UNUSED_VARIABLE = YES; 452 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 453 | MTL_ENABLE_DEBUG_INFO = YES; 454 | ONLY_ACTIVE_ARCH = YES; 455 | PRODUCT_NAME = "$(TARGET_NAME)"; 456 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 457 | STRIP_INSTALLED_PRODUCT = NO; 458 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 459 | SYMROOT = "${SRCROOT}/../build"; 460 | }; 461 | name = Debug; 462 | }; 463 | 38BE6874B6DA2423510D1ED5274281D4 /* Debug */ = { 464 | isa = XCBuildConfiguration; 465 | baseConfigurationReference = 0BABAD97AD85E914FBA145CA6BF54655 /* Pods-ProgressLabel_Example.debug.xcconfig */; 466 | buildSettings = { 467 | CODE_SIGN_IDENTITY = ""; 468 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 469 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 470 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 471 | CURRENT_PROJECT_VERSION = 1; 472 | DEFINES_MODULE = YES; 473 | DYLIB_COMPATIBILITY_VERSION = 1; 474 | DYLIB_CURRENT_VERSION = 1; 475 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 476 | INFOPLIST_FILE = "Target Support Files/Pods-ProgressLabel_Example/Info.plist"; 477 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 478 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 479 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 480 | MACH_O_TYPE = staticlib; 481 | MODULEMAP_FILE = "Target Support Files/Pods-ProgressLabel_Example/Pods-ProgressLabel_Example.modulemap"; 482 | OTHER_LDFLAGS = ""; 483 | OTHER_LIBTOOLFLAGS = ""; 484 | PODS_ROOT = "$(SRCROOT)"; 485 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 486 | PRODUCT_NAME = Pods_ProgressLabel_Example; 487 | SDKROOT = iphoneos; 488 | SKIP_INSTALL = YES; 489 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 490 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 491 | TARGETED_DEVICE_FAMILY = "1,2"; 492 | VERSIONING_SYSTEM = "apple-generic"; 493 | VERSION_INFO_PREFIX = ""; 494 | }; 495 | name = Debug; 496 | }; 497 | 3A7083B2C58E76CF3B3CEF2F87A5731F /* Release */ = { 498 | isa = XCBuildConfiguration; 499 | baseConfigurationReference = ACB47FE42970A728E0AE6E7A604F2BC3 /* Pods-ProgressLabel_Tests.release.xcconfig */; 500 | buildSettings = { 501 | CODE_SIGN_IDENTITY = ""; 502 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 503 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 504 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 505 | CURRENT_PROJECT_VERSION = 1; 506 | DEFINES_MODULE = YES; 507 | DYLIB_COMPATIBILITY_VERSION = 1; 508 | DYLIB_CURRENT_VERSION = 1; 509 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 510 | INFOPLIST_FILE = "Target Support Files/Pods-ProgressLabel_Tests/Info.plist"; 511 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 512 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 513 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 514 | MACH_O_TYPE = staticlib; 515 | MODULEMAP_FILE = "Target Support Files/Pods-ProgressLabel_Tests/Pods-ProgressLabel_Tests.modulemap"; 516 | OTHER_LDFLAGS = ""; 517 | OTHER_LIBTOOLFLAGS = ""; 518 | PODS_ROOT = "$(SRCROOT)"; 519 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 520 | PRODUCT_NAME = Pods_ProgressLabel_Tests; 521 | SDKROOT = iphoneos; 522 | SKIP_INSTALL = YES; 523 | TARGETED_DEVICE_FAMILY = "1,2"; 524 | VALIDATE_PRODUCT = YES; 525 | VERSIONING_SYSTEM = "apple-generic"; 526 | VERSION_INFO_PREFIX = ""; 527 | }; 528 | name = Release; 529 | }; 530 | 731DC216E1A58545B559F6E0A2418060 /* Release */ = { 531 | isa = XCBuildConfiguration; 532 | buildSettings = { 533 | ALWAYS_SEARCH_USER_PATHS = NO; 534 | CLANG_ANALYZER_NONNULL = YES; 535 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 536 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 537 | CLANG_CXX_LIBRARY = "libc++"; 538 | CLANG_ENABLE_MODULES = YES; 539 | CLANG_ENABLE_OBJC_ARC = YES; 540 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 541 | CLANG_WARN_BOOL_CONVERSION = YES; 542 | CLANG_WARN_COMMA = YES; 543 | CLANG_WARN_CONSTANT_CONVERSION = YES; 544 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 545 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 546 | CLANG_WARN_EMPTY_BODY = YES; 547 | CLANG_WARN_ENUM_CONVERSION = YES; 548 | CLANG_WARN_INFINITE_RECURSION = YES; 549 | CLANG_WARN_INT_CONVERSION = YES; 550 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 551 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 552 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 553 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 554 | CLANG_WARN_STRICT_PROTOTYPES = YES; 555 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 556 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 557 | CLANG_WARN_UNREACHABLE_CODE = YES; 558 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 559 | CODE_SIGNING_REQUIRED = NO; 560 | COPY_PHASE_STRIP = NO; 561 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 562 | ENABLE_NS_ASSERTIONS = NO; 563 | ENABLE_STRICT_OBJC_MSGSEND = YES; 564 | GCC_C_LANGUAGE_STANDARD = gnu11; 565 | GCC_NO_COMMON_BLOCKS = YES; 566 | GCC_PREPROCESSOR_DEFINITIONS = ( 567 | "POD_CONFIGURATION_RELEASE=1", 568 | "$(inherited)", 569 | ); 570 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 571 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 572 | GCC_WARN_UNDECLARED_SELECTOR = YES; 573 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 574 | GCC_WARN_UNUSED_FUNCTION = YES; 575 | GCC_WARN_UNUSED_VARIABLE = YES; 576 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 577 | MTL_ENABLE_DEBUG_INFO = NO; 578 | PRODUCT_NAME = "$(TARGET_NAME)"; 579 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 580 | STRIP_INSTALLED_PRODUCT = NO; 581 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 582 | SYMROOT = "${SRCROOT}/../build"; 583 | }; 584 | name = Release; 585 | }; 586 | 958995BE53CF97666D49A61C0D1792C3 /* Release */ = { 587 | isa = XCBuildConfiguration; 588 | baseConfigurationReference = 615DEB2E047C98DB4BCB633427CEE05B /* Pods-ProgressLabel_Example.release.xcconfig */; 589 | buildSettings = { 590 | CODE_SIGN_IDENTITY = ""; 591 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 592 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 593 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 594 | CURRENT_PROJECT_VERSION = 1; 595 | DEFINES_MODULE = YES; 596 | DYLIB_COMPATIBILITY_VERSION = 1; 597 | DYLIB_CURRENT_VERSION = 1; 598 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 599 | INFOPLIST_FILE = "Target Support Files/Pods-ProgressLabel_Example/Info.plist"; 600 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 601 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 602 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 603 | MACH_O_TYPE = staticlib; 604 | MODULEMAP_FILE = "Target Support Files/Pods-ProgressLabel_Example/Pods-ProgressLabel_Example.modulemap"; 605 | OTHER_LDFLAGS = ""; 606 | OTHER_LIBTOOLFLAGS = ""; 607 | PODS_ROOT = "$(SRCROOT)"; 608 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 609 | PRODUCT_NAME = Pods_ProgressLabel_Example; 610 | SDKROOT = iphoneos; 611 | SKIP_INSTALL = YES; 612 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 613 | TARGETED_DEVICE_FAMILY = "1,2"; 614 | VALIDATE_PRODUCT = YES; 615 | VERSIONING_SYSTEM = "apple-generic"; 616 | VERSION_INFO_PREFIX = ""; 617 | }; 618 | name = Release; 619 | }; 620 | AEF8683105E6F08EF351A56DC71BDD66 /* Debug */ = { 621 | isa = XCBuildConfiguration; 622 | baseConfigurationReference = 1E89C3487259B4D17CAC868C4AE0394F /* ProgressLabel.xcconfig */; 623 | buildSettings = { 624 | CODE_SIGN_IDENTITY = ""; 625 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 626 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 627 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 628 | CURRENT_PROJECT_VERSION = 1; 629 | DEFINES_MODULE = YES; 630 | DYLIB_COMPATIBILITY_VERSION = 1; 631 | DYLIB_CURRENT_VERSION = 1; 632 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 633 | GCC_PREFIX_HEADER = "Target Support Files/ProgressLabel/ProgressLabel-prefix.pch"; 634 | INFOPLIST_FILE = "Target Support Files/ProgressLabel/Info.plist"; 635 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 636 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 637 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 638 | MODULEMAP_FILE = "Target Support Files/ProgressLabel/ProgressLabel.modulemap"; 639 | PRODUCT_NAME = ProgressLabel; 640 | SDKROOT = iphoneos; 641 | SKIP_INSTALL = YES; 642 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 643 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 644 | SWIFT_VERSION = 4.0; 645 | TARGETED_DEVICE_FAMILY = "1,2"; 646 | VERSIONING_SYSTEM = "apple-generic"; 647 | VERSION_INFO_PREFIX = ""; 648 | }; 649 | name = Debug; 650 | }; 651 | DE62226A473AC2E58102801D850CF98B /* Release */ = { 652 | isa = XCBuildConfiguration; 653 | baseConfigurationReference = 1E89C3487259B4D17CAC868C4AE0394F /* ProgressLabel.xcconfig */; 654 | buildSettings = { 655 | CODE_SIGN_IDENTITY = ""; 656 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 657 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 658 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 659 | CURRENT_PROJECT_VERSION = 1; 660 | DEFINES_MODULE = YES; 661 | DYLIB_COMPATIBILITY_VERSION = 1; 662 | DYLIB_CURRENT_VERSION = 1; 663 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 664 | GCC_PREFIX_HEADER = "Target Support Files/ProgressLabel/ProgressLabel-prefix.pch"; 665 | INFOPLIST_FILE = "Target Support Files/ProgressLabel/Info.plist"; 666 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 667 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 668 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 669 | MODULEMAP_FILE = "Target Support Files/ProgressLabel/ProgressLabel.modulemap"; 670 | PRODUCT_NAME = ProgressLabel; 671 | SDKROOT = iphoneos; 672 | SKIP_INSTALL = YES; 673 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 674 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 675 | SWIFT_VERSION = 4.0; 676 | TARGETED_DEVICE_FAMILY = "1,2"; 677 | VALIDATE_PRODUCT = YES; 678 | VERSIONING_SYSTEM = "apple-generic"; 679 | VERSION_INFO_PREFIX = ""; 680 | }; 681 | name = Release; 682 | }; 683 | /* End XCBuildConfiguration section */ 684 | 685 | /* Begin XCConfigurationList section */ 686 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 687 | isa = XCConfigurationList; 688 | buildConfigurations = ( 689 | 33DA7F43A1D2FA3C74A8C8FC246E1FA6 /* Debug */, 690 | 731DC216E1A58545B559F6E0A2418060 /* Release */, 691 | ); 692 | defaultConfigurationIsVisible = 0; 693 | defaultConfigurationName = Release; 694 | }; 695 | 7374B6C0F24E55A7AF6E125E1288CD2D /* Build configuration list for PBXNativeTarget "Pods-ProgressLabel_Example" */ = { 696 | isa = XCConfigurationList; 697 | buildConfigurations = ( 698 | 38BE6874B6DA2423510D1ED5274281D4 /* Debug */, 699 | 958995BE53CF97666D49A61C0D1792C3 /* Release */, 700 | ); 701 | defaultConfigurationIsVisible = 0; 702 | defaultConfigurationName = Release; 703 | }; 704 | CB20E3750F419565C13B9E492CE69550 /* Build configuration list for PBXNativeTarget "Pods-ProgressLabel_Tests" */ = { 705 | isa = XCConfigurationList; 706 | buildConfigurations = ( 707 | 0C0305E10777A7FFBA6FC7850D1A4731 /* Debug */, 708 | 3A7083B2C58E76CF3B3CEF2F87A5731F /* Release */, 709 | ); 710 | defaultConfigurationIsVisible = 0; 711 | defaultConfigurationName = Release; 712 | }; 713 | EB2EBA8A7F130C7629766D9E4120FBA6 /* Build configuration list for PBXNativeTarget "ProgressLabel" */ = { 714 | isa = XCConfigurationList; 715 | buildConfigurations = ( 716 | AEF8683105E6F08EF351A56DC71BDD66 /* Debug */, 717 | DE62226A473AC2E58102801D850CF98B /* Release */, 718 | ); 719 | defaultConfigurationIsVisible = 0; 720 | defaultConfigurationName = Release; 721 | }; 722 | /* End XCConfigurationList section */ 723 | }; 724 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 725 | } 726 | --------------------------------------------------------------------------------