├── .github └── workflows │ └── main.yml ├── .gitignore ├── .travis.yml ├── Example ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── SpringText.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── project.pbxproj │ └── Target Support Files │ │ ├── Pods-SpringText_Example │ │ ├── Pods-SpringText_Example-Info.plist │ │ ├── Pods-SpringText_Example-acknowledgements.markdown │ │ ├── Pods-SpringText_Example-acknowledgements.plist │ │ ├── Pods-SpringText_Example-dummy.m │ │ ├── Pods-SpringText_Example-frameworks.sh │ │ ├── Pods-SpringText_Example-umbrella.h │ │ ├── Pods-SpringText_Example.debug.xcconfig │ │ ├── Pods-SpringText_Example.modulemap │ │ └── Pods-SpringText_Example.release.xcconfig │ │ ├── Pods-SpringText_Tests │ │ ├── Pods-SpringText_Tests-Info.plist │ │ ├── Pods-SpringText_Tests-acknowledgements.markdown │ │ ├── Pods-SpringText_Tests-acknowledgements.plist │ │ ├── Pods-SpringText_Tests-dummy.m │ │ ├── Pods-SpringText_Tests-umbrella.h │ │ ├── Pods-SpringText_Tests.debug.xcconfig │ │ ├── Pods-SpringText_Tests.modulemap │ │ └── Pods-SpringText_Tests.release.xcconfig │ │ └── SpringText │ │ ├── SpringText-Info.plist │ │ ├── SpringText-dummy.m │ │ ├── SpringText-prefix.pch │ │ ├── SpringText-umbrella.h │ │ ├── SpringText.debug.xcconfig │ │ ├── SpringText.modulemap │ │ └── SpringText.release.xcconfig ├── SpringText.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── SpringText-Example.xcscheme ├── SpringText.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── SpringText │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ └── ViewController.swift └── Tests │ ├── Info.plist │ └── Tests.swift ├── LICENSE ├── README.md ├── SpringText.podspec ├── SpringText ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ ├── SPLabel.swift │ └── SPLabelExtension.swift ├── _Pods.xcodeproj └── example.gif /.github/workflows/main.yml: -------------------------------------------------------------------------------- 1 | # This is a basic workflow to help you get started with Actions 2 | 3 | name: SpringText CI 4 | 5 | # Controls when the action will run. Triggers the workflow on push or pull request 6 | # events but only for the master branch 7 | on: 8 | push: 9 | branches: 10 | - master 11 | - hotfix 12 | pull_request: 13 | branches: 14 | - '*' 15 | 16 | # A workflow run is made up of one or more jobs that can run sequentially or in parallel 17 | jobs: 18 | name: Test iOS 19 | runs-on: macOS-latest 20 | env: 21 | DEVELOPER_DIR: /Applications/Xcode_12.app/Contents/Developer 22 | strategy: 23 | matrix: 24 | destination: ["OS=14.0,name=iPhone 11 Pro"] #, "OS=12.4,name=iPhone XS", "OS=11.4,name=iPhone X", "OS=10.3.1,name=iPhone SE"] 25 | steps: 26 | - uses: actions/checkout@v2 27 | - name: iOS - ${{ matrix.destination }} 28 | run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "SpringText.xcodeproj" -scheme "SpringText-Example" -destination "${{ matrix.destination }}" clean test | xcpretty 29 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # Created by https://www.toptal.com/developers/gitignore/api/xcode 3 | # Edit at https://www.toptal.com/developers/gitignore?templates=xcode 4 | 5 | ### Xcode ### 6 | # Xcode 7 | # 8 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 9 | 10 | ## User settings 11 | xcuserdata/ 12 | 13 | ## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9) 14 | *.xcscmblueprint 15 | *.xccheckout 16 | 17 | ## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4) 18 | build/ 19 | DerivedData/ 20 | *.moved-aside 21 | *.pbxuser 22 | !default.pbxuser 23 | *.mode1v3 24 | !default.mode1v3 25 | *.mode2v3 26 | !default.mode2v3 27 | *.perspectivev3 28 | !default.perspectivev3 29 | 30 | ## Gcc Patch 31 | /*.gcno 32 | 33 | ### Xcode Patch ### 34 | *.xcodeproj/* 35 | !*.xcodeproj/project.pbxproj 36 | !*.xcodeproj/xcshareddata/ 37 | !*.xcworkspace/contents.xcworkspacedata 38 | **/xcshareddata/WorkspaceSettings.xcsettings 39 | 40 | # End of https://www.toptal.com/developers/gitignore/api/xcode 41 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | env: 2 | global: 3 | - LC_CTYPE=en_US.UTF-8 4 | matrix: 5 | include: 6 | - os: osx 7 | language: swift 8 | osx_image: xcode11.7 9 | script: 10 | - set -o pipefail 11 | - xcodebuild -project SpringText.xcodeproj -scheme SpringText-Example -sdk iphonesimulator 12 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'SpringText_Example' do 4 | pod 'SpringText', :path => '../' 5 | 6 | target 'SpringText_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - SpringText (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - SpringText (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | SpringText: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | SpringText: 42828348447e8b54e03ddc61ff4e4d9a876c67a0 13 | 14 | PODFILE CHECKSUM: 98679c547f29a046fbb0c5aa6e8f642bc8eee8b1 15 | 16 | COCOAPODS: 1.10.0.rc.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/SpringText.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SpringText", 3 | "version": "0.1.0", 4 | "summary": "A short description of SpringText.", 5 | "description": "TODO: Add long description of the pod here.", 6 | "homepage": "https://github.com/comcxx11/SpringText", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "comcxx11": "comcxx11@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/comcxx11/SpringText.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "8.0" 20 | }, 21 | "source_files": "SpringText/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - SpringText (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - SpringText (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | SpringText: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | SpringText: 42828348447e8b54e03ddc61ff4e4d9a876c67a0 13 | 14 | PODFILE CHECKSUM: 98679c547f29a046fbb0c5aa6e8f642bc8eee8b1 15 | 16 | COCOAPODS: 1.10.0.rc.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 0430F550D509A8789F33A8E933B28E5A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; 11 | 0D8B396A30CA772AB6DE7864F6F2D9B5 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; 12 | 0EC9E69D5E6C98D41DB1E8D41B660EE5 /* SpringText-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 808B5019A7FFF30F87B850B4EB8ED15F /* SpringText-dummy.m */; }; 13 | 50382AE52E33C7B00D373EF33C17D54B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; 14 | 59E0EB739C46B7DE8C05E54080ED3C58 /* Pods-SpringText_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = DEFD1CE15815EF8E9ADA2AE96ABF7B34 /* Pods-SpringText_Example-dummy.m */; }; 15 | B4B0030825320AD20085B7E8 /* SPLabelExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4B0030725320AD20085B7E8 /* SPLabelExtension.swift */; }; 16 | B701587EC4E18E0E4FC54CACB3EBB39F /* SpringText-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 9825F5DC5B6D5BA160933B6DDB6B2078 /* SpringText-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 17 | B9B05AB0253192AB004BFAC7 /* SPLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9B05AAE253192AB004BFAC7 /* SPLabel.swift */; }; 18 | D79E7F79754B8BD138A3D1BE6CEE48B0 /* Pods-SpringText_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AB49BF8C7257821BA3860A1AAE19916 /* Pods-SpringText_Tests-dummy.m */; }; 19 | F21F25DDDDAF3D155AFDC5308927C354 /* Pods-SpringText_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = FC578FA28A3A646413771602D624951B /* Pods-SpringText_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 20 | F606F4CE5A28C1B49C5566F3E282A171 /* Pods-SpringText_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B8B628E7026235C431F48596537EDA3 /* Pods-SpringText_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 21 | /* End PBXBuildFile section */ 22 | 23 | /* Begin PBXContainerItemProxy section */ 24 | A7BCC5C80330583FAEF5B6D4DEFFC511 /* PBXContainerItemProxy */ = { 25 | isa = PBXContainerItemProxy; 26 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 27 | proxyType = 1; 28 | remoteGlobalIDString = DBDD144746470D62D34CDF3099D48B34; 29 | remoteInfo = "Pods-SpringText_Example"; 30 | }; 31 | E9D8686C065CC3F44638FBB7FDDB2C79 /* PBXContainerItemProxy */ = { 32 | isa = PBXContainerItemProxy; 33 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 34 | proxyType = 1; 35 | remoteGlobalIDString = A63211ACD1EFE47329949A0D6A50180A; 36 | remoteInfo = SpringText; 37 | }; 38 | /* End PBXContainerItemProxy section */ 39 | 40 | /* Begin PBXFileReference section */ 41 | 09B48A3C421FF67424D78EB62A6F9E8F /* Pods-SpringText_Example-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SpringText_Example-Info.plist"; sourceTree = ""; }; 42 | 0B4412AD55EEF0EA67990D265930228E /* Pods-SpringText_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SpringText_Tests.release.xcconfig"; sourceTree = ""; }; 43 | 0D1A63004124C4EDF11506CA673A1866 /* Pods-SpringText_Tests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SpringText_Tests-Info.plist"; sourceTree = ""; }; 44 | 11F231F400C7E21CDC1FD16E2D6E4E67 /* SpringText-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "SpringText-Info.plist"; sourceTree = ""; }; 45 | 3466844463D092FEC23761F18C51FCBE /* SpringText.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SpringText.debug.xcconfig; sourceTree = ""; }; 46 | 38855927E007797A49CF25EC449D72F9 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; 47 | 59F243DB44DB3BA2FF1A94A658EDBE4A /* Pods-SpringText_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SpringText_Example.release.xcconfig"; sourceTree = ""; }; 48 | 5D09B1ACE46436DB7FB2CE2517D734CD /* SpringText.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SpringText.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 49 | 6B8B628E7026235C431F48596537EDA3 /* Pods-SpringText_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SpringText_Tests-umbrella.h"; sourceTree = ""; }; 50 | 6EFA2E766D5EA4C02F370C3FD16A496D /* SpringText.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; path = SpringText.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 51 | 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 52 | 792D0F600379AEA8C8804295080565DC /* Pods-SpringText_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SpringText_Example-acknowledgements.plist"; sourceTree = ""; }; 53 | 7AB49BF8C7257821BA3860A1AAE19916 /* Pods-SpringText_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SpringText_Tests-dummy.m"; sourceTree = ""; }; 54 | 808B5019A7FFF30F87B850B4EB8ED15F /* SpringText-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "SpringText-dummy.m"; sourceTree = ""; }; 55 | 819B7A7E214DCCD9E0335E9A7E349E41 /* Pods-SpringText_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SpringText_Example-acknowledgements.markdown"; sourceTree = ""; }; 56 | 93399EA310C5F2DD322F3EB7D7D76B3A /* Pods-SpringText_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SpringText_Tests-acknowledgements.markdown"; sourceTree = ""; }; 57 | 9825F5DC5B6D5BA160933B6DDB6B2078 /* SpringText-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SpringText-umbrella.h"; sourceTree = ""; }; 58 | 9C53EA2E0C3E36C01BDFD018334085D1 /* Pods-SpringText_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-SpringText_Example.modulemap"; sourceTree = ""; }; 59 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 60 | 9E895743EE3951438C6FC65E2409A579 /* Pods-SpringText_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SpringText_Tests.debug.xcconfig"; sourceTree = ""; }; 61 | 9FFCB9B0A693EBF0CFAA777610E1EAA8 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; 62 | A0F8B2A60E94B27420CFF1ACBEC63B5E /* Pods-SpringText_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-SpringText_Tests.modulemap"; sourceTree = ""; }; 63 | A6DD512C44CF2719FB64AB83C3C6F36A /* Pods-SpringText_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SpringText_Tests-acknowledgements.plist"; sourceTree = ""; }; 64 | ABAC7E1E4E5644497A9698FC8AF79825 /* SpringText.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SpringText.release.xcconfig; sourceTree = ""; }; 65 | B329580B2806CB714F899A375098A894 /* Pods-SpringText_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SpringText_Example-frameworks.sh"; sourceTree = ""; }; 66 | B4B0030725320AD20085B7E8 /* SPLabelExtension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SPLabelExtension.swift; path = SpringText/Classes/SPLabelExtension.swift; sourceTree = ""; }; 67 | B9B05AAE253192AB004BFAC7 /* SPLabel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SPLabel.swift; path = SpringText/Classes/SPLabel.swift; sourceTree = ""; }; 68 | C4422F2C636EDF260D07652C15DF218A /* SpringText-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SpringText-prefix.pch"; sourceTree = ""; }; 69 | C9E323C9FAA0D83C153DA93E04D93E0B /* Pods_SpringText_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SpringText_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 70 | D1A0D6460804383A1223249ECB421E07 /* Pods_SpringText_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SpringText_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 71 | DEFD1CE15815EF8E9ADA2AE96ABF7B34 /* Pods-SpringText_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SpringText_Example-dummy.m"; sourceTree = ""; }; 72 | EA13AA826194E7BAD379FC4BC821CA44 /* SpringText.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = SpringText.modulemap; sourceTree = ""; }; 73 | F698F8983A273FC61F78EF796EF0220D /* Pods-SpringText_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SpringText_Example.debug.xcconfig"; sourceTree = ""; }; 74 | FC578FA28A3A646413771602D624951B /* Pods-SpringText_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SpringText_Example-umbrella.h"; sourceTree = ""; }; 75 | /* End PBXFileReference section */ 76 | 77 | /* Begin PBXFrameworksBuildPhase section */ 78 | 2EA123AFBCB252BF877D3AC287E33C09 /* Frameworks */ = { 79 | isa = PBXFrameworksBuildPhase; 80 | buildActionMask = 2147483647; 81 | files = ( 82 | 0430F550D509A8789F33A8E933B28E5A /* Foundation.framework in Frameworks */, 83 | ); 84 | runOnlyForDeploymentPostprocessing = 0; 85 | }; 86 | CEB5F91C5A0A2933438E7A3901D1F7D6 /* Frameworks */ = { 87 | isa = PBXFrameworksBuildPhase; 88 | buildActionMask = 2147483647; 89 | files = ( 90 | 0D8B396A30CA772AB6DE7864F6F2D9B5 /* Foundation.framework in Frameworks */, 91 | ); 92 | runOnlyForDeploymentPostprocessing = 0; 93 | }; 94 | F04C1F2CECA7864123E26C88D65128F6 /* Frameworks */ = { 95 | isa = PBXFrameworksBuildPhase; 96 | buildActionMask = 2147483647; 97 | files = ( 98 | 50382AE52E33C7B00D373EF33C17D54B /* Foundation.framework in Frameworks */, 99 | ); 100 | runOnlyForDeploymentPostprocessing = 0; 101 | }; 102 | /* End PBXFrameworksBuildPhase section */ 103 | 104 | /* Begin PBXGroup section */ 105 | 01F9E51AFF0E1D112AF787F243DFCC8D /* Support Files */ = { 106 | isa = PBXGroup; 107 | children = ( 108 | EA13AA826194E7BAD379FC4BC821CA44 /* SpringText.modulemap */, 109 | 808B5019A7FFF30F87B850B4EB8ED15F /* SpringText-dummy.m */, 110 | 11F231F400C7E21CDC1FD16E2D6E4E67 /* SpringText-Info.plist */, 111 | C4422F2C636EDF260D07652C15DF218A /* SpringText-prefix.pch */, 112 | 9825F5DC5B6D5BA160933B6DDB6B2078 /* SpringText-umbrella.h */, 113 | 3466844463D092FEC23761F18C51FCBE /* SpringText.debug.xcconfig */, 114 | ABAC7E1E4E5644497A9698FC8AF79825 /* SpringText.release.xcconfig */, 115 | ); 116 | name = "Support Files"; 117 | path = "Example/Pods/Target Support Files/SpringText"; 118 | sourceTree = ""; 119 | }; 120 | 2BAB9541E6293DF3472C89FD65CC754C /* Pod */ = { 121 | isa = PBXGroup; 122 | children = ( 123 | 9FFCB9B0A693EBF0CFAA777610E1EAA8 /* LICENSE */, 124 | 38855927E007797A49CF25EC449D72F9 /* README.md */, 125 | 6EFA2E766D5EA4C02F370C3FD16A496D /* SpringText.podspec */, 126 | ); 127 | name = Pod; 128 | sourceTree = ""; 129 | }; 130 | 428B8D6795CA503868854DD1D00AC678 /* Pods-SpringText_Example */ = { 131 | isa = PBXGroup; 132 | children = ( 133 | 9C53EA2E0C3E36C01BDFD018334085D1 /* Pods-SpringText_Example.modulemap */, 134 | 819B7A7E214DCCD9E0335E9A7E349E41 /* Pods-SpringText_Example-acknowledgements.markdown */, 135 | 792D0F600379AEA8C8804295080565DC /* Pods-SpringText_Example-acknowledgements.plist */, 136 | DEFD1CE15815EF8E9ADA2AE96ABF7B34 /* Pods-SpringText_Example-dummy.m */, 137 | B329580B2806CB714F899A375098A894 /* Pods-SpringText_Example-frameworks.sh */, 138 | 09B48A3C421FF67424D78EB62A6F9E8F /* Pods-SpringText_Example-Info.plist */, 139 | FC578FA28A3A646413771602D624951B /* Pods-SpringText_Example-umbrella.h */, 140 | F698F8983A273FC61F78EF796EF0220D /* Pods-SpringText_Example.debug.xcconfig */, 141 | 59F243DB44DB3BA2FF1A94A658EDBE4A /* Pods-SpringText_Example.release.xcconfig */, 142 | ); 143 | name = "Pods-SpringText_Example"; 144 | path = "Target Support Files/Pods-SpringText_Example"; 145 | sourceTree = ""; 146 | }; 147 | 49A3C3FD8467F3460001B67E76288F8B /* Pods-SpringText_Tests */ = { 148 | isa = PBXGroup; 149 | children = ( 150 | A0F8B2A60E94B27420CFF1ACBEC63B5E /* Pods-SpringText_Tests.modulemap */, 151 | 93399EA310C5F2DD322F3EB7D7D76B3A /* Pods-SpringText_Tests-acknowledgements.markdown */, 152 | A6DD512C44CF2719FB64AB83C3C6F36A /* Pods-SpringText_Tests-acknowledgements.plist */, 153 | 7AB49BF8C7257821BA3860A1AAE19916 /* Pods-SpringText_Tests-dummy.m */, 154 | 0D1A63004124C4EDF11506CA673A1866 /* Pods-SpringText_Tests-Info.plist */, 155 | 6B8B628E7026235C431F48596537EDA3 /* Pods-SpringText_Tests-umbrella.h */, 156 | 9E895743EE3951438C6FC65E2409A579 /* Pods-SpringText_Tests.debug.xcconfig */, 157 | 0B4412AD55EEF0EA67990D265930228E /* Pods-SpringText_Tests.release.xcconfig */, 158 | ); 159 | name = "Pods-SpringText_Tests"; 160 | path = "Target Support Files/Pods-SpringText_Tests"; 161 | sourceTree = ""; 162 | }; 163 | 578452D2E740E91742655AC8F1636D1F /* iOS */ = { 164 | isa = PBXGroup; 165 | children = ( 166 | 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */, 167 | ); 168 | name = iOS; 169 | sourceTree = ""; 170 | }; 171 | 5FE10A4FB9AEF7669D1CA33659F7B92D /* Development Pods */ = { 172 | isa = PBXGroup; 173 | children = ( 174 | 74E108B88D5FDF5B110189BB4436FF24 /* SpringText */, 175 | ); 176 | name = "Development Pods"; 177 | sourceTree = ""; 178 | }; 179 | 74E108B88D5FDF5B110189BB4436FF24 /* SpringText */ = { 180 | isa = PBXGroup; 181 | children = ( 182 | B4B0030725320AD20085B7E8 /* SPLabelExtension.swift */, 183 | B9B05AAE253192AB004BFAC7 /* SPLabel.swift */, 184 | 2BAB9541E6293DF3472C89FD65CC754C /* Pod */, 185 | 01F9E51AFF0E1D112AF787F243DFCC8D /* Support Files */, 186 | ); 187 | name = SpringText; 188 | path = ../..; 189 | sourceTree = ""; 190 | }; 191 | 7BF478FE85E985BDAEAD9FB7C7109755 /* Targets Support Files */ = { 192 | isa = PBXGroup; 193 | children = ( 194 | 428B8D6795CA503868854DD1D00AC678 /* Pods-SpringText_Example */, 195 | 49A3C3FD8467F3460001B67E76288F8B /* Pods-SpringText_Tests */, 196 | ); 197 | name = "Targets Support Files"; 198 | sourceTree = ""; 199 | }; 200 | B70EDEB5AEB49914EA15A27A401246E1 /* Products */ = { 201 | isa = PBXGroup; 202 | children = ( 203 | D1A0D6460804383A1223249ECB421E07 /* Pods_SpringText_Example.framework */, 204 | C9E323C9FAA0D83C153DA93E04D93E0B /* Pods_SpringText_Tests.framework */, 205 | 5D09B1ACE46436DB7FB2CE2517D734CD /* SpringText.framework */, 206 | ); 207 | name = Products; 208 | sourceTree = ""; 209 | }; 210 | CF1408CF629C7361332E53B88F7BD30C = { 211 | isa = PBXGroup; 212 | children = ( 213 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, 214 | 5FE10A4FB9AEF7669D1CA33659F7B92D /* Development Pods */, 215 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */, 216 | B70EDEB5AEB49914EA15A27A401246E1 /* Products */, 217 | 7BF478FE85E985BDAEAD9FB7C7109755 /* Targets Support Files */, 218 | ); 219 | sourceTree = ""; 220 | }; 221 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */ = { 222 | isa = PBXGroup; 223 | children = ( 224 | 578452D2E740E91742655AC8F1636D1F /* iOS */, 225 | ); 226 | name = Frameworks; 227 | sourceTree = ""; 228 | }; 229 | /* End PBXGroup section */ 230 | 231 | /* Begin PBXHeadersBuildPhase section */ 232 | 34844FC94DB77ACE577431C10FA4C097 /* Headers */ = { 233 | isa = PBXHeadersBuildPhase; 234 | buildActionMask = 2147483647; 235 | files = ( 236 | F21F25DDDDAF3D155AFDC5308927C354 /* Pods-SpringText_Example-umbrella.h in Headers */, 237 | ); 238 | runOnlyForDeploymentPostprocessing = 0; 239 | }; 240 | 4A4D81713B54C8361EFAE086E59F3600 /* Headers */ = { 241 | isa = PBXHeadersBuildPhase; 242 | buildActionMask = 2147483647; 243 | files = ( 244 | F606F4CE5A28C1B49C5566F3E282A171 /* Pods-SpringText_Tests-umbrella.h in Headers */, 245 | ); 246 | runOnlyForDeploymentPostprocessing = 0; 247 | }; 248 | 5D825972EC52DDBFC9791C4F21FDBF58 /* Headers */ = { 249 | isa = PBXHeadersBuildPhase; 250 | buildActionMask = 2147483647; 251 | files = ( 252 | B701587EC4E18E0E4FC54CACB3EBB39F /* SpringText-umbrella.h in Headers */, 253 | ); 254 | runOnlyForDeploymentPostprocessing = 0; 255 | }; 256 | /* End PBXHeadersBuildPhase section */ 257 | 258 | /* Begin PBXNativeTarget section */ 259 | A63211ACD1EFE47329949A0D6A50180A /* SpringText */ = { 260 | isa = PBXNativeTarget; 261 | buildConfigurationList = C90868E05B35F587015737F05EAE8D0C /* Build configuration list for PBXNativeTarget "SpringText" */; 262 | buildPhases = ( 263 | 5D825972EC52DDBFC9791C4F21FDBF58 /* Headers */, 264 | 039B768B2B50536AE04EB9AB41286D61 /* Sources */, 265 | 2EA123AFBCB252BF877D3AC287E33C09 /* Frameworks */, 266 | 73AA10C5CF5110B3FB409F1CA0B774DB /* Resources */, 267 | ); 268 | buildRules = ( 269 | ); 270 | dependencies = ( 271 | ); 272 | name = SpringText; 273 | productName = SpringText; 274 | productReference = 5D09B1ACE46436DB7FB2CE2517D734CD /* SpringText.framework */; 275 | productType = "com.apple.product-type.framework"; 276 | }; 277 | DBDD144746470D62D34CDF3099D48B34 /* Pods-SpringText_Example */ = { 278 | isa = PBXNativeTarget; 279 | buildConfigurationList = 06DFEE65AE5B20F49520A070898F73D5 /* Build configuration list for PBXNativeTarget "Pods-SpringText_Example" */; 280 | buildPhases = ( 281 | 34844FC94DB77ACE577431C10FA4C097 /* Headers */, 282 | 52888ED104CE648B653038BD0385DD7C /* Sources */, 283 | F04C1F2CECA7864123E26C88D65128F6 /* Frameworks */, 284 | 88A135ABC3B081E632DE176BF098E90D /* Resources */, 285 | ); 286 | buildRules = ( 287 | ); 288 | dependencies = ( 289 | 04222CD86FD20A233E3D6FFDC8A59DAF /* PBXTargetDependency */, 290 | ); 291 | name = "Pods-SpringText_Example"; 292 | productName = "Pods-SpringText_Example"; 293 | productReference = D1A0D6460804383A1223249ECB421E07 /* Pods_SpringText_Example.framework */; 294 | productType = "com.apple.product-type.framework"; 295 | }; 296 | DE7F66D595F638EF576849176A37811B /* Pods-SpringText_Tests */ = { 297 | isa = PBXNativeTarget; 298 | buildConfigurationList = ADD09754DFACC76E8CF75DD7A115DFBB /* Build configuration list for PBXNativeTarget "Pods-SpringText_Tests" */; 299 | buildPhases = ( 300 | 4A4D81713B54C8361EFAE086E59F3600 /* Headers */, 301 | 2DF7A2001F5280C977CD5A7D83FF9304 /* Sources */, 302 | CEB5F91C5A0A2933438E7A3901D1F7D6 /* Frameworks */, 303 | BD515D88CB7F8ADA2A76DC509B75A224 /* Resources */, 304 | ); 305 | buildRules = ( 306 | ); 307 | dependencies = ( 308 | 5AC3F313E1C10F22EB1E8BEDB30A76FA /* PBXTargetDependency */, 309 | ); 310 | name = "Pods-SpringText_Tests"; 311 | productName = "Pods-SpringText_Tests"; 312 | productReference = C9E323C9FAA0D83C153DA93E04D93E0B /* Pods_SpringText_Tests.framework */; 313 | productType = "com.apple.product-type.framework"; 314 | }; 315 | /* End PBXNativeTarget section */ 316 | 317 | /* Begin PBXProject section */ 318 | BFDFE7DC352907FC980B868725387E98 /* Project object */ = { 319 | isa = PBXProject; 320 | attributes = { 321 | LastSwiftUpdateCheck = 1100; 322 | LastUpgradeCheck = 1100; 323 | TargetAttributes = { 324 | A63211ACD1EFE47329949A0D6A50180A = { 325 | LastSwiftMigration = 1200; 326 | }; 327 | }; 328 | }; 329 | buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; 330 | compatibilityVersion = "Xcode 3.2"; 331 | developmentRegion = en; 332 | hasScannedForEncodings = 0; 333 | knownRegions = ( 334 | en, 335 | Base, 336 | ); 337 | mainGroup = CF1408CF629C7361332E53B88F7BD30C; 338 | productRefGroup = B70EDEB5AEB49914EA15A27A401246E1 /* Products */; 339 | projectDirPath = ""; 340 | projectRoot = ""; 341 | targets = ( 342 | DBDD144746470D62D34CDF3099D48B34 /* Pods-SpringText_Example */, 343 | DE7F66D595F638EF576849176A37811B /* Pods-SpringText_Tests */, 344 | A63211ACD1EFE47329949A0D6A50180A /* SpringText */, 345 | ); 346 | }; 347 | /* End PBXProject section */ 348 | 349 | /* Begin PBXResourcesBuildPhase section */ 350 | 73AA10C5CF5110B3FB409F1CA0B774DB /* Resources */ = { 351 | isa = PBXResourcesBuildPhase; 352 | buildActionMask = 2147483647; 353 | files = ( 354 | ); 355 | runOnlyForDeploymentPostprocessing = 0; 356 | }; 357 | 88A135ABC3B081E632DE176BF098E90D /* Resources */ = { 358 | isa = PBXResourcesBuildPhase; 359 | buildActionMask = 2147483647; 360 | files = ( 361 | ); 362 | runOnlyForDeploymentPostprocessing = 0; 363 | }; 364 | BD515D88CB7F8ADA2A76DC509B75A224 /* Resources */ = { 365 | isa = PBXResourcesBuildPhase; 366 | buildActionMask = 2147483647; 367 | files = ( 368 | ); 369 | runOnlyForDeploymentPostprocessing = 0; 370 | }; 371 | /* End PBXResourcesBuildPhase section */ 372 | 373 | /* Begin PBXSourcesBuildPhase section */ 374 | 039B768B2B50536AE04EB9AB41286D61 /* Sources */ = { 375 | isa = PBXSourcesBuildPhase; 376 | buildActionMask = 2147483647; 377 | files = ( 378 | 0EC9E69D5E6C98D41DB1E8D41B660EE5 /* SpringText-dummy.m in Sources */, 379 | B4B0030825320AD20085B7E8 /* SPLabelExtension.swift in Sources */, 380 | B9B05AB0253192AB004BFAC7 /* SPLabel.swift in Sources */, 381 | ); 382 | runOnlyForDeploymentPostprocessing = 0; 383 | }; 384 | 2DF7A2001F5280C977CD5A7D83FF9304 /* Sources */ = { 385 | isa = PBXSourcesBuildPhase; 386 | buildActionMask = 2147483647; 387 | files = ( 388 | D79E7F79754B8BD138A3D1BE6CEE48B0 /* Pods-SpringText_Tests-dummy.m in Sources */, 389 | ); 390 | runOnlyForDeploymentPostprocessing = 0; 391 | }; 392 | 52888ED104CE648B653038BD0385DD7C /* Sources */ = { 393 | isa = PBXSourcesBuildPhase; 394 | buildActionMask = 2147483647; 395 | files = ( 396 | 59E0EB739C46B7DE8C05E54080ED3C58 /* Pods-SpringText_Example-dummy.m in Sources */, 397 | ); 398 | runOnlyForDeploymentPostprocessing = 0; 399 | }; 400 | /* End PBXSourcesBuildPhase section */ 401 | 402 | /* Begin PBXTargetDependency section */ 403 | 04222CD86FD20A233E3D6FFDC8A59DAF /* PBXTargetDependency */ = { 404 | isa = PBXTargetDependency; 405 | name = SpringText; 406 | target = A63211ACD1EFE47329949A0D6A50180A /* SpringText */; 407 | targetProxy = E9D8686C065CC3F44638FBB7FDDB2C79 /* PBXContainerItemProxy */; 408 | }; 409 | 5AC3F313E1C10F22EB1E8BEDB30A76FA /* PBXTargetDependency */ = { 410 | isa = PBXTargetDependency; 411 | name = "Pods-SpringText_Example"; 412 | target = DBDD144746470D62D34CDF3099D48B34 /* Pods-SpringText_Example */; 413 | targetProxy = A7BCC5C80330583FAEF5B6D4DEFFC511 /* PBXContainerItemProxy */; 414 | }; 415 | /* End PBXTargetDependency section */ 416 | 417 | /* Begin XCBuildConfiguration section */ 418 | 0FA572CC790735F6EE948D28052602BF /* Debug */ = { 419 | isa = XCBuildConfiguration; 420 | baseConfigurationReference = 3466844463D092FEC23761F18C51FCBE /* SpringText.debug.xcconfig */; 421 | buildSettings = { 422 | CLANG_ENABLE_MODULES = YES; 423 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 424 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 425 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 426 | CURRENT_PROJECT_VERSION = 1; 427 | DEFINES_MODULE = YES; 428 | DYLIB_COMPATIBILITY_VERSION = 1; 429 | DYLIB_CURRENT_VERSION = 1; 430 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 431 | GCC_PREFIX_HEADER = "Target Support Files/SpringText/SpringText-prefix.pch"; 432 | INFOPLIST_FILE = "Target Support Files/SpringText/SpringText-Info.plist"; 433 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 434 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 435 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 436 | MODULEMAP_FILE = "Target Support Files/SpringText/SpringText.modulemap"; 437 | PRODUCT_MODULE_NAME = SpringText; 438 | PRODUCT_NAME = SpringText; 439 | SDKROOT = iphoneos; 440 | SKIP_INSTALL = YES; 441 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 442 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 443 | SWIFT_VERSION = 5.0; 444 | TARGETED_DEVICE_FAMILY = "1,2"; 445 | VERSIONING_SYSTEM = "apple-generic"; 446 | VERSION_INFO_PREFIX = ""; 447 | }; 448 | name = Debug; 449 | }; 450 | 191E6A9F2052F4D7CE8871078FAE478D /* Release */ = { 451 | isa = XCBuildConfiguration; 452 | baseConfigurationReference = 0B4412AD55EEF0EA67990D265930228E /* Pods-SpringText_Tests.release.xcconfig */; 453 | buildSettings = { 454 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 455 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 456 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 457 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 458 | CURRENT_PROJECT_VERSION = 1; 459 | DEFINES_MODULE = YES; 460 | DYLIB_COMPATIBILITY_VERSION = 1; 461 | DYLIB_CURRENT_VERSION = 1; 462 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 463 | INFOPLIST_FILE = "Target Support Files/Pods-SpringText_Tests/Pods-SpringText_Tests-Info.plist"; 464 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 465 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 466 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 467 | MACH_O_TYPE = staticlib; 468 | MODULEMAP_FILE = "Target Support Files/Pods-SpringText_Tests/Pods-SpringText_Tests.modulemap"; 469 | OTHER_LDFLAGS = ""; 470 | OTHER_LIBTOOLFLAGS = ""; 471 | PODS_ROOT = "$(SRCROOT)"; 472 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 473 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 474 | SDKROOT = iphoneos; 475 | SKIP_INSTALL = YES; 476 | TARGETED_DEVICE_FAMILY = "1,2"; 477 | VALIDATE_PRODUCT = YES; 478 | VERSIONING_SYSTEM = "apple-generic"; 479 | VERSION_INFO_PREFIX = ""; 480 | }; 481 | name = Release; 482 | }; 483 | 431BA2B8298F0EE71735B9E0114E1955 /* Release */ = { 484 | isa = XCBuildConfiguration; 485 | buildSettings = { 486 | ALWAYS_SEARCH_USER_PATHS = NO; 487 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 488 | CLANG_ANALYZER_NONNULL = YES; 489 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 490 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 491 | CLANG_CXX_LIBRARY = "libc++"; 492 | CLANG_ENABLE_MODULES = YES; 493 | CLANG_ENABLE_OBJC_ARC = YES; 494 | CLANG_ENABLE_OBJC_WEAK = YES; 495 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 496 | CLANG_WARN_BOOL_CONVERSION = YES; 497 | CLANG_WARN_COMMA = YES; 498 | CLANG_WARN_CONSTANT_CONVERSION = YES; 499 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 500 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 501 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 502 | CLANG_WARN_EMPTY_BODY = YES; 503 | CLANG_WARN_ENUM_CONVERSION = YES; 504 | CLANG_WARN_INFINITE_RECURSION = YES; 505 | CLANG_WARN_INT_CONVERSION = YES; 506 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 507 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 508 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 509 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 510 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 511 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 512 | CLANG_WARN_STRICT_PROTOTYPES = YES; 513 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 514 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 515 | CLANG_WARN_UNREACHABLE_CODE = YES; 516 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 517 | COPY_PHASE_STRIP = NO; 518 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 519 | ENABLE_NS_ASSERTIONS = NO; 520 | ENABLE_STRICT_OBJC_MSGSEND = YES; 521 | GCC_C_LANGUAGE_STANDARD = gnu11; 522 | GCC_NO_COMMON_BLOCKS = YES; 523 | GCC_PREPROCESSOR_DEFINITIONS = ( 524 | "POD_CONFIGURATION_RELEASE=1", 525 | "$(inherited)", 526 | ); 527 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 528 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 529 | GCC_WARN_UNDECLARED_SELECTOR = YES; 530 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 531 | GCC_WARN_UNUSED_FUNCTION = YES; 532 | GCC_WARN_UNUSED_VARIABLE = YES; 533 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 534 | MTL_ENABLE_DEBUG_INFO = NO; 535 | MTL_FAST_MATH = YES; 536 | PRODUCT_NAME = "$(TARGET_NAME)"; 537 | STRIP_INSTALLED_PRODUCT = NO; 538 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 539 | SWIFT_VERSION = 5.0; 540 | SYMROOT = "${SRCROOT}/../build"; 541 | }; 542 | name = Release; 543 | }; 544 | 648E3ABF0AF24BA5C5D6057788B63189 /* Debug */ = { 545 | isa = XCBuildConfiguration; 546 | baseConfigurationReference = F698F8983A273FC61F78EF796EF0220D /* Pods-SpringText_Example.debug.xcconfig */; 547 | buildSettings = { 548 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 549 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 550 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 551 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 552 | CURRENT_PROJECT_VERSION = 1; 553 | DEFINES_MODULE = YES; 554 | DYLIB_COMPATIBILITY_VERSION = 1; 555 | DYLIB_CURRENT_VERSION = 1; 556 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 557 | INFOPLIST_FILE = "Target Support Files/Pods-SpringText_Example/Pods-SpringText_Example-Info.plist"; 558 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 559 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 560 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 561 | MACH_O_TYPE = staticlib; 562 | MODULEMAP_FILE = "Target Support Files/Pods-SpringText_Example/Pods-SpringText_Example.modulemap"; 563 | OTHER_LDFLAGS = ""; 564 | OTHER_LIBTOOLFLAGS = ""; 565 | PODS_ROOT = "$(SRCROOT)"; 566 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 567 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 568 | SDKROOT = iphoneos; 569 | SKIP_INSTALL = YES; 570 | TARGETED_DEVICE_FAMILY = "1,2"; 571 | VERSIONING_SYSTEM = "apple-generic"; 572 | VERSION_INFO_PREFIX = ""; 573 | }; 574 | name = Debug; 575 | }; 576 | 79759604D78320E712558F49DF19AA9F /* Debug */ = { 577 | isa = XCBuildConfiguration; 578 | buildSettings = { 579 | ALWAYS_SEARCH_USER_PATHS = NO; 580 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 581 | CLANG_ANALYZER_NONNULL = YES; 582 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 583 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 584 | CLANG_CXX_LIBRARY = "libc++"; 585 | CLANG_ENABLE_MODULES = YES; 586 | CLANG_ENABLE_OBJC_ARC = YES; 587 | CLANG_ENABLE_OBJC_WEAK = YES; 588 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 589 | CLANG_WARN_BOOL_CONVERSION = YES; 590 | CLANG_WARN_COMMA = YES; 591 | CLANG_WARN_CONSTANT_CONVERSION = YES; 592 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 593 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 594 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 595 | CLANG_WARN_EMPTY_BODY = YES; 596 | CLANG_WARN_ENUM_CONVERSION = YES; 597 | CLANG_WARN_INFINITE_RECURSION = YES; 598 | CLANG_WARN_INT_CONVERSION = YES; 599 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 600 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 601 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 602 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 603 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 604 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 605 | CLANG_WARN_STRICT_PROTOTYPES = YES; 606 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 607 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 608 | CLANG_WARN_UNREACHABLE_CODE = YES; 609 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 610 | COPY_PHASE_STRIP = NO; 611 | DEBUG_INFORMATION_FORMAT = dwarf; 612 | ENABLE_STRICT_OBJC_MSGSEND = YES; 613 | ENABLE_TESTABILITY = YES; 614 | GCC_C_LANGUAGE_STANDARD = gnu11; 615 | GCC_DYNAMIC_NO_PIC = NO; 616 | GCC_NO_COMMON_BLOCKS = YES; 617 | GCC_OPTIMIZATION_LEVEL = 0; 618 | GCC_PREPROCESSOR_DEFINITIONS = ( 619 | "POD_CONFIGURATION_DEBUG=1", 620 | "DEBUG=1", 621 | "$(inherited)", 622 | ); 623 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 624 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 625 | GCC_WARN_UNDECLARED_SELECTOR = YES; 626 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 627 | GCC_WARN_UNUSED_FUNCTION = YES; 628 | GCC_WARN_UNUSED_VARIABLE = YES; 629 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 630 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 631 | MTL_FAST_MATH = YES; 632 | ONLY_ACTIVE_ARCH = YES; 633 | PRODUCT_NAME = "$(TARGET_NAME)"; 634 | STRIP_INSTALLED_PRODUCT = NO; 635 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 636 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 637 | SWIFT_VERSION = 5.0; 638 | SYMROOT = "${SRCROOT}/../build"; 639 | }; 640 | name = Debug; 641 | }; 642 | 9D14D307B8101BA0E6A12C6BFAF932CF /* Release */ = { 643 | isa = XCBuildConfiguration; 644 | baseConfigurationReference = ABAC7E1E4E5644497A9698FC8AF79825 /* SpringText.release.xcconfig */; 645 | buildSettings = { 646 | CLANG_ENABLE_MODULES = YES; 647 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 648 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 649 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 650 | CURRENT_PROJECT_VERSION = 1; 651 | DEFINES_MODULE = YES; 652 | DYLIB_COMPATIBILITY_VERSION = 1; 653 | DYLIB_CURRENT_VERSION = 1; 654 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 655 | GCC_PREFIX_HEADER = "Target Support Files/SpringText/SpringText-prefix.pch"; 656 | INFOPLIST_FILE = "Target Support Files/SpringText/SpringText-Info.plist"; 657 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 658 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 659 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 660 | MODULEMAP_FILE = "Target Support Files/SpringText/SpringText.modulemap"; 661 | PRODUCT_MODULE_NAME = SpringText; 662 | PRODUCT_NAME = SpringText; 663 | SDKROOT = iphoneos; 664 | SKIP_INSTALL = YES; 665 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 666 | SWIFT_VERSION = 5.0; 667 | TARGETED_DEVICE_FAMILY = "1,2"; 668 | VALIDATE_PRODUCT = YES; 669 | VERSIONING_SYSTEM = "apple-generic"; 670 | VERSION_INFO_PREFIX = ""; 671 | }; 672 | name = Release; 673 | }; 674 | C1399F044863E20E27FA955E57F3AD88 /* Debug */ = { 675 | isa = XCBuildConfiguration; 676 | baseConfigurationReference = 9E895743EE3951438C6FC65E2409A579 /* Pods-SpringText_Tests.debug.xcconfig */; 677 | buildSettings = { 678 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 679 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 680 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 681 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 682 | CURRENT_PROJECT_VERSION = 1; 683 | DEFINES_MODULE = YES; 684 | DYLIB_COMPATIBILITY_VERSION = 1; 685 | DYLIB_CURRENT_VERSION = 1; 686 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 687 | INFOPLIST_FILE = "Target Support Files/Pods-SpringText_Tests/Pods-SpringText_Tests-Info.plist"; 688 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 689 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 690 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 691 | MACH_O_TYPE = staticlib; 692 | MODULEMAP_FILE = "Target Support Files/Pods-SpringText_Tests/Pods-SpringText_Tests.modulemap"; 693 | OTHER_LDFLAGS = ""; 694 | OTHER_LIBTOOLFLAGS = ""; 695 | PODS_ROOT = "$(SRCROOT)"; 696 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 697 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 698 | SDKROOT = iphoneos; 699 | SKIP_INSTALL = YES; 700 | TARGETED_DEVICE_FAMILY = "1,2"; 701 | VERSIONING_SYSTEM = "apple-generic"; 702 | VERSION_INFO_PREFIX = ""; 703 | }; 704 | name = Debug; 705 | }; 706 | F652B13EAE50DA41D55F13603E7EF8C2 /* Release */ = { 707 | isa = XCBuildConfiguration; 708 | baseConfigurationReference = 59F243DB44DB3BA2FF1A94A658EDBE4A /* Pods-SpringText_Example.release.xcconfig */; 709 | buildSettings = { 710 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 711 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 712 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 713 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 714 | CURRENT_PROJECT_VERSION = 1; 715 | DEFINES_MODULE = YES; 716 | DYLIB_COMPATIBILITY_VERSION = 1; 717 | DYLIB_CURRENT_VERSION = 1; 718 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 719 | INFOPLIST_FILE = "Target Support Files/Pods-SpringText_Example/Pods-SpringText_Example-Info.plist"; 720 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 721 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 722 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 723 | MACH_O_TYPE = staticlib; 724 | MODULEMAP_FILE = "Target Support Files/Pods-SpringText_Example/Pods-SpringText_Example.modulemap"; 725 | OTHER_LDFLAGS = ""; 726 | OTHER_LIBTOOLFLAGS = ""; 727 | PODS_ROOT = "$(SRCROOT)"; 728 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 729 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 730 | SDKROOT = iphoneos; 731 | SKIP_INSTALL = YES; 732 | TARGETED_DEVICE_FAMILY = "1,2"; 733 | VALIDATE_PRODUCT = YES; 734 | VERSIONING_SYSTEM = "apple-generic"; 735 | VERSION_INFO_PREFIX = ""; 736 | }; 737 | name = Release; 738 | }; 739 | /* End XCBuildConfiguration section */ 740 | 741 | /* Begin XCConfigurationList section */ 742 | 06DFEE65AE5B20F49520A070898F73D5 /* Build configuration list for PBXNativeTarget "Pods-SpringText_Example" */ = { 743 | isa = XCConfigurationList; 744 | buildConfigurations = ( 745 | 648E3ABF0AF24BA5C5D6057788B63189 /* Debug */, 746 | F652B13EAE50DA41D55F13603E7EF8C2 /* Release */, 747 | ); 748 | defaultConfigurationIsVisible = 0; 749 | defaultConfigurationName = Release; 750 | }; 751 | 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { 752 | isa = XCConfigurationList; 753 | buildConfigurations = ( 754 | 79759604D78320E712558F49DF19AA9F /* Debug */, 755 | 431BA2B8298F0EE71735B9E0114E1955 /* Release */, 756 | ); 757 | defaultConfigurationIsVisible = 0; 758 | defaultConfigurationName = Release; 759 | }; 760 | ADD09754DFACC76E8CF75DD7A115DFBB /* Build configuration list for PBXNativeTarget "Pods-SpringText_Tests" */ = { 761 | isa = XCConfigurationList; 762 | buildConfigurations = ( 763 | C1399F044863E20E27FA955E57F3AD88 /* Debug */, 764 | 191E6A9F2052F4D7CE8871078FAE478D /* Release */, 765 | ); 766 | defaultConfigurationIsVisible = 0; 767 | defaultConfigurationName = Release; 768 | }; 769 | C90868E05B35F587015737F05EAE8D0C /* Build configuration list for PBXNativeTarget "SpringText" */ = { 770 | isa = XCConfigurationList; 771 | buildConfigurations = ( 772 | 0FA572CC790735F6EE948D28052602BF /* Debug */, 773 | 9D14D307B8101BA0E6A12C6BFAF932CF /* Release */, 774 | ); 775 | defaultConfigurationIsVisible = 0; 776 | defaultConfigurationName = Release; 777 | }; 778 | /* End XCConfigurationList section */ 779 | }; 780 | rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; 781 | } 782 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SpringText_Example/Pods-SpringText_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-SpringText_Example/Pods-SpringText_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## SpringText 5 | 6 | Copyright (c) 2020 comcxx11 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - https://cocoapods.org 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SpringText_Example/Pods-SpringText_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) 2020 comcxx11 <comcxx11@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 | SpringText 41 | Type 42 | PSGroupSpecifier 43 | 44 | 45 | FooterText 46 | Generated by CocoaPods - https://cocoapods.org 47 | Title 48 | 49 | Type 50 | PSGroupSpecifier 51 | 52 | 53 | StringsTable 54 | Acknowledgements 55 | Title 56 | Acknowledgements 57 | 58 | 59 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SpringText_Example/Pods-SpringText_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_SpringText_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_SpringText_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SpringText_Example/Pods-SpringText_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | function on_error { 7 | echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" 8 | } 9 | trap 'on_error $LINENO' ERR 10 | 11 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then 12 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy 13 | # frameworks to, so exit 0 (signalling the script phase was successful). 14 | exit 0 15 | fi 16 | 17 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 18 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 19 | 20 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" 21 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 22 | BCSYMBOLMAP_DIR="BCSymbolMaps" 23 | 24 | 25 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 26 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 27 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 28 | 29 | # Copies and strips a vendored framework 30 | install_framework() 31 | { 32 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 33 | local source="${BUILT_PRODUCTS_DIR}/$1" 34 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 35 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 36 | elif [ -r "$1" ]; then 37 | local source="$1" 38 | fi 39 | 40 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 41 | 42 | if [ -L "${source}" ]; then 43 | echo "Symlinked..." 44 | source="$(readlink "${source}")" 45 | fi 46 | 47 | if [ -d "${source}/${BCSYMBOLMAP_DIR}" ]; then 48 | # Locate and install any .bcsymbolmaps if present, and remove them from the .framework before the framework is copied 49 | find "${source}/${BCSYMBOLMAP_DIR}" -name "*.bcsymbolmap"|while read f; do 50 | echo "Installing $f" 51 | install_bcsymbolmap "$f" "$destination" 52 | rm "$f" 53 | done 54 | rmdir "${source}/${BCSYMBOLMAP_DIR}" 55 | fi 56 | 57 | # Use filter instead of exclude so missing patterns don't throw errors. 58 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 59 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 60 | 61 | local basename 62 | basename="$(basename -s .framework "$1")" 63 | binary="${destination}/${basename}.framework/${basename}" 64 | 65 | if ! [ -r "$binary" ]; then 66 | binary="${destination}/${basename}" 67 | elif [ -L "${binary}" ]; then 68 | echo "Destination binary is symlinked..." 69 | dirname="$(dirname "${binary}")" 70 | binary="${dirname}/$(readlink "${binary}")" 71 | fi 72 | 73 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 74 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 75 | strip_invalid_archs "$binary" 76 | fi 77 | 78 | # Resign the code if required by the build settings to avoid unstable apps 79 | code_sign_if_enabled "${destination}/$(basename "$1")" 80 | 81 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 82 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 83 | local swift_runtime_libs 84 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u) 85 | for lib in $swift_runtime_libs; do 86 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 87 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 88 | code_sign_if_enabled "${destination}/${lib}" 89 | done 90 | fi 91 | } 92 | # Copies and strips a vendored dSYM 93 | install_dsym() { 94 | local source="$1" 95 | warn_missing_arch=${2:-true} 96 | if [ -r "$source" ]; then 97 | # Copy the dSYM into the targets temp dir. 98 | 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}\"" 99 | 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}" 100 | 101 | local basename 102 | basename="$(basename -s .dSYM "$source")" 103 | binary_name="$(ls "$source/Contents/Resources/DWARF")" 104 | binary="${DERIVED_FILES_DIR}/${basename}.dSYM/Contents/Resources/DWARF/${binary_name}" 105 | 106 | # Strip invalid architectures from the dSYM. 107 | if [[ "$(file "$binary")" == *"Mach-O "*"dSYM companion"* ]]; then 108 | strip_invalid_archs "$binary" "$warn_missing_arch" 109 | fi 110 | if [[ $STRIP_BINARY_RETVAL == 0 ]]; then 111 | # Move the stripped file into its final destination. 112 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 113 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 114 | else 115 | # 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. 116 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.dSYM" 117 | fi 118 | fi 119 | } 120 | 121 | # Used as a return value for each invocation of `strip_invalid_archs` function. 122 | STRIP_BINARY_RETVAL=0 123 | 124 | # Strip invalid architectures 125 | strip_invalid_archs() { 126 | binary="$1" 127 | warn_missing_arch=${2:-true} 128 | # Get architectures for current target binary 129 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 130 | # Intersect them with the architectures we are building for 131 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 132 | # If there are no archs supported by this binary then warn the user 133 | if [[ -z "$intersected_archs" ]]; then 134 | if [[ "$warn_missing_arch" == "true" ]]; then 135 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 136 | fi 137 | STRIP_BINARY_RETVAL=1 138 | return 139 | fi 140 | stripped="" 141 | for arch in $binary_archs; do 142 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 143 | # Strip non-valid architectures in-place 144 | lipo -remove "$arch" -output "$binary" "$binary" 145 | stripped="$stripped $arch" 146 | fi 147 | done 148 | if [[ "$stripped" ]]; then 149 | echo "Stripped $binary of architectures:$stripped" 150 | fi 151 | STRIP_BINARY_RETVAL=0 152 | } 153 | 154 | # Copies the bcsymbolmap files of a vendored framework 155 | install_bcsymbolmap() { 156 | local bcsymbolmap_path="$1" 157 | local destination="${BUILT_PRODUCTS_DIR}" 158 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}"" 159 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}" 160 | } 161 | 162 | # Signs a framework with the provided identity 163 | code_sign_if_enabled() { 164 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 165 | # Use the current code_sign_identity 166 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 167 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 168 | 169 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 170 | code_sign_cmd="$code_sign_cmd &" 171 | fi 172 | echo "$code_sign_cmd" 173 | eval "$code_sign_cmd" 174 | fi 175 | } 176 | 177 | if [[ "$CONFIGURATION" == "Debug" ]]; then 178 | install_framework "${BUILT_PRODUCTS_DIR}/SpringText/SpringText.framework" 179 | fi 180 | if [[ "$CONFIGURATION" == "Release" ]]; then 181 | install_framework "${BUILT_PRODUCTS_DIR}/SpringText/SpringText.framework" 182 | fi 183 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 184 | wait 185 | fi 186 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SpringText_Example/Pods-SpringText_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_SpringText_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_SpringText_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SpringText_Example/Pods-SpringText_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SpringText" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SpringText/SpringText.framework/Headers" 6 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 7 | OTHER_LDFLAGS = $(inherited) -framework "SpringText" 8 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 9 | PODS_BUILD_DIR = ${BUILD_DIR} 10 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 11 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 12 | PODS_ROOT = ${SRCROOT}/Pods 13 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 14 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 15 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SpringText_Example/Pods-SpringText_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_SpringText_Example { 2 | umbrella header "Pods-SpringText_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SpringText_Example/Pods-SpringText_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SpringText" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SpringText/SpringText.framework/Headers" 6 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 7 | OTHER_LDFLAGS = $(inherited) -framework "SpringText" 8 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 9 | PODS_BUILD_DIR = ${BUILD_DIR} 10 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 11 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 12 | PODS_ROOT = ${SRCROOT}/Pods 13 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 14 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 15 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SpringText_Tests/Pods-SpringText_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-SpringText_Tests/Pods-SpringText_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-SpringText_Tests/Pods-SpringText_Tests-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Generated by CocoaPods - https://cocoapods.org 18 | Title 19 | 20 | Type 21 | PSGroupSpecifier 22 | 23 | 24 | StringsTable 25 | Acknowledgements 26 | Title 27 | Acknowledgements 28 | 29 | 30 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SpringText_Tests/Pods-SpringText_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_SpringText_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_SpringText_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SpringText_Tests/Pods-SpringText_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_SpringText_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_SpringText_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SpringText_Tests/Pods-SpringText_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SpringText" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SpringText/SpringText.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -framework "SpringText" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SpringText_Tests/Pods-SpringText_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_SpringText_Tests { 2 | umbrella header "Pods-SpringText_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SpringText_Tests/Pods-SpringText_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SpringText" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SpringText/SpringText.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -framework "SpringText" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SpringText/SpringText-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/SpringText/SpringText-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_SpringText : NSObject 3 | @end 4 | @implementation PodsDummy_SpringText 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SpringText/SpringText-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SpringText/SpringText-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 SpringTextVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char SpringTextVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SpringText/SpringText.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SpringText 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 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 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 10 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | SKIP_INSTALL = YES 12 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SpringText/SpringText.modulemap: -------------------------------------------------------------------------------- 1 | framework module SpringText { 2 | umbrella header "SpringText-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SpringText/SpringText.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SpringText 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 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 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 10 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | SKIP_INSTALL = YES 12 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 13 | -------------------------------------------------------------------------------- /Example/SpringText.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 2D1E415B6F3A84A729BD869D /* Pods_SpringText_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 24468F8DB87A81AC181EB2B4 /* Pods_SpringText_Tests.framework */; }; 11 | 2ED34661832C38D374CCED94 /* Pods_SpringText_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4EC041C6660961A8E00AD5B8 /* Pods_SpringText_Example.framework */; }; 12 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 13 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 14 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 15 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 16 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 17 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXContainerItemProxy section */ 21 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 22 | isa = PBXContainerItemProxy; 23 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 24 | proxyType = 1; 25 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 26 | remoteInfo = SpringText; 27 | }; 28 | /* End PBXContainerItemProxy section */ 29 | 30 | /* Begin PBXFileReference section */ 31 | 24468F8DB87A81AC181EB2B4 /* Pods_SpringText_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SpringText_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 32 | 26A1CECDCC93F1A7EB44A8AF /* Pods-SpringText_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SpringText_Example.release.xcconfig"; path = "Target Support Files/Pods-SpringText_Example/Pods-SpringText_Example.release.xcconfig"; sourceTree = ""; }; 33 | 32FCE32075120EDE123A6981 /* Pods-SpringText_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SpringText_Tests.debug.xcconfig"; path = "Target Support Files/Pods-SpringText_Tests/Pods-SpringText_Tests.debug.xcconfig"; sourceTree = ""; }; 34 | 3D1D962BCA6514188178F5C2 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 35 | 3DB07DA79845CDCB152C406A /* Pods-SpringText_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SpringText_Tests.release.xcconfig"; path = "Target Support Files/Pods-SpringText_Tests/Pods-SpringText_Tests.release.xcconfig"; sourceTree = ""; }; 36 | 4EC041C6660961A8E00AD5B8 /* Pods_SpringText_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SpringText_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 37 | 607FACD01AFB9204008FA782 /* SpringText_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SpringText_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 38 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 39 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 40 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 41 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 42 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 43 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 44 | 607FACE51AFB9204008FA782 /* SpringText_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SpringText_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 45 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 46 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 47 | 809B803A6E67B0C7AAF49AC6 /* Pods-SpringText_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SpringText_Example.debug.xcconfig"; path = "Target Support Files/Pods-SpringText_Example/Pods-SpringText_Example.debug.xcconfig"; sourceTree = ""; }; 48 | BC4534F558BDEBF06EE7D169 /* SpringText.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = SpringText.podspec; path = ../SpringText.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 49 | F6E599AA1CCCEC2C5B020640 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 50 | /* End PBXFileReference section */ 51 | 52 | /* Begin PBXFrameworksBuildPhase section */ 53 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 54 | isa = PBXFrameworksBuildPhase; 55 | buildActionMask = 2147483647; 56 | files = ( 57 | 2ED34661832C38D374CCED94 /* Pods_SpringText_Example.framework in Frameworks */, 58 | ); 59 | runOnlyForDeploymentPostprocessing = 0; 60 | }; 61 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 62 | isa = PBXFrameworksBuildPhase; 63 | buildActionMask = 2147483647; 64 | files = ( 65 | 2D1E415B6F3A84A729BD869D /* Pods_SpringText_Tests.framework in Frameworks */, 66 | ); 67 | runOnlyForDeploymentPostprocessing = 0; 68 | }; 69 | /* End PBXFrameworksBuildPhase section */ 70 | 71 | /* Begin PBXGroup section */ 72 | 323B47D14812A194370C747F /* Frameworks */ = { 73 | isa = PBXGroup; 74 | children = ( 75 | 4EC041C6660961A8E00AD5B8 /* Pods_SpringText_Example.framework */, 76 | 24468F8DB87A81AC181EB2B4 /* Pods_SpringText_Tests.framework */, 77 | ); 78 | name = Frameworks; 79 | sourceTree = ""; 80 | }; 81 | 50693E31AC6C479C4B530A72 /* Pods */ = { 82 | isa = PBXGroup; 83 | children = ( 84 | 809B803A6E67B0C7AAF49AC6 /* Pods-SpringText_Example.debug.xcconfig */, 85 | 26A1CECDCC93F1A7EB44A8AF /* Pods-SpringText_Example.release.xcconfig */, 86 | 32FCE32075120EDE123A6981 /* Pods-SpringText_Tests.debug.xcconfig */, 87 | 3DB07DA79845CDCB152C406A /* Pods-SpringText_Tests.release.xcconfig */, 88 | ); 89 | path = Pods; 90 | sourceTree = ""; 91 | }; 92 | 607FACC71AFB9204008FA782 = { 93 | isa = PBXGroup; 94 | children = ( 95 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 96 | 607FACD21AFB9204008FA782 /* Example for SpringText */, 97 | 607FACE81AFB9204008FA782 /* Tests */, 98 | 607FACD11AFB9204008FA782 /* Products */, 99 | 50693E31AC6C479C4B530A72 /* Pods */, 100 | 323B47D14812A194370C747F /* Frameworks */, 101 | ); 102 | sourceTree = ""; 103 | }; 104 | 607FACD11AFB9204008FA782 /* Products */ = { 105 | isa = PBXGroup; 106 | children = ( 107 | 607FACD01AFB9204008FA782 /* SpringText_Example.app */, 108 | 607FACE51AFB9204008FA782 /* SpringText_Tests.xctest */, 109 | ); 110 | name = Products; 111 | sourceTree = ""; 112 | }; 113 | 607FACD21AFB9204008FA782 /* Example for SpringText */ = { 114 | isa = PBXGroup; 115 | children = ( 116 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 117 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 118 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 119 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 120 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 121 | 607FACD31AFB9204008FA782 /* Supporting Files */, 122 | ); 123 | name = "Example for SpringText"; 124 | path = SpringText; 125 | sourceTree = ""; 126 | }; 127 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 128 | isa = PBXGroup; 129 | children = ( 130 | 607FACD41AFB9204008FA782 /* Info.plist */, 131 | ); 132 | name = "Supporting Files"; 133 | sourceTree = ""; 134 | }; 135 | 607FACE81AFB9204008FA782 /* Tests */ = { 136 | isa = PBXGroup; 137 | children = ( 138 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 139 | 607FACE91AFB9204008FA782 /* Supporting Files */, 140 | ); 141 | path = Tests; 142 | sourceTree = ""; 143 | }; 144 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 145 | isa = PBXGroup; 146 | children = ( 147 | 607FACEA1AFB9204008FA782 /* Info.plist */, 148 | ); 149 | name = "Supporting Files"; 150 | sourceTree = ""; 151 | }; 152 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 153 | isa = PBXGroup; 154 | children = ( 155 | BC4534F558BDEBF06EE7D169 /* SpringText.podspec */, 156 | 3D1D962BCA6514188178F5C2 /* README.md */, 157 | F6E599AA1CCCEC2C5B020640 /* LICENSE */, 158 | ); 159 | name = "Podspec Metadata"; 160 | sourceTree = ""; 161 | }; 162 | /* End PBXGroup section */ 163 | 164 | /* Begin PBXNativeTarget section */ 165 | 607FACCF1AFB9204008FA782 /* SpringText_Example */ = { 166 | isa = PBXNativeTarget; 167 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "SpringText_Example" */; 168 | buildPhases = ( 169 | 63522F2093B9B700203F33C1 /* [CP] Check Pods Manifest.lock */, 170 | 607FACCC1AFB9204008FA782 /* Sources */, 171 | 607FACCD1AFB9204008FA782 /* Frameworks */, 172 | 607FACCE1AFB9204008FA782 /* Resources */, 173 | 438D3A9692D8194750E2EE7D /* [CP] Embed Pods Frameworks */, 174 | ); 175 | buildRules = ( 176 | ); 177 | dependencies = ( 178 | ); 179 | name = SpringText_Example; 180 | productName = SpringText; 181 | productReference = 607FACD01AFB9204008FA782 /* SpringText_Example.app */; 182 | productType = "com.apple.product-type.application"; 183 | }; 184 | 607FACE41AFB9204008FA782 /* SpringText_Tests */ = { 185 | isa = PBXNativeTarget; 186 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "SpringText_Tests" */; 187 | buildPhases = ( 188 | B843616AC969D4AF0E32568E /* [CP] Check Pods Manifest.lock */, 189 | 607FACE11AFB9204008FA782 /* Sources */, 190 | 607FACE21AFB9204008FA782 /* Frameworks */, 191 | 607FACE31AFB9204008FA782 /* Resources */, 192 | ); 193 | buildRules = ( 194 | ); 195 | dependencies = ( 196 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 197 | ); 198 | name = SpringText_Tests; 199 | productName = Tests; 200 | productReference = 607FACE51AFB9204008FA782 /* SpringText_Tests.xctest */; 201 | productType = "com.apple.product-type.bundle.unit-test"; 202 | }; 203 | /* End PBXNativeTarget section */ 204 | 205 | /* Begin PBXProject section */ 206 | 607FACC81AFB9204008FA782 /* Project object */ = { 207 | isa = PBXProject; 208 | attributes = { 209 | LastSwiftUpdateCheck = 0830; 210 | LastUpgradeCheck = 0830; 211 | ORGANIZATIONNAME = CocoaPods; 212 | TargetAttributes = { 213 | 607FACCF1AFB9204008FA782 = { 214 | CreatedOnToolsVersion = 6.3.1; 215 | LastSwiftMigration = 0900; 216 | }; 217 | 607FACE41AFB9204008FA782 = { 218 | CreatedOnToolsVersion = 6.3.1; 219 | LastSwiftMigration = 0900; 220 | TestTargetID = 607FACCF1AFB9204008FA782; 221 | }; 222 | }; 223 | }; 224 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "SpringText" */; 225 | compatibilityVersion = "Xcode 3.2"; 226 | developmentRegion = English; 227 | hasScannedForEncodings = 0; 228 | knownRegions = ( 229 | English, 230 | en, 231 | Base, 232 | ); 233 | mainGroup = 607FACC71AFB9204008FA782; 234 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 235 | projectDirPath = ""; 236 | projectRoot = ""; 237 | targets = ( 238 | 607FACCF1AFB9204008FA782 /* SpringText_Example */, 239 | 607FACE41AFB9204008FA782 /* SpringText_Tests */, 240 | ); 241 | }; 242 | /* End PBXProject section */ 243 | 244 | /* Begin PBXResourcesBuildPhase section */ 245 | 607FACCE1AFB9204008FA782 /* Resources */ = { 246 | isa = PBXResourcesBuildPhase; 247 | buildActionMask = 2147483647; 248 | files = ( 249 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 250 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 251 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 252 | ); 253 | runOnlyForDeploymentPostprocessing = 0; 254 | }; 255 | 607FACE31AFB9204008FA782 /* Resources */ = { 256 | isa = PBXResourcesBuildPhase; 257 | buildActionMask = 2147483647; 258 | files = ( 259 | ); 260 | runOnlyForDeploymentPostprocessing = 0; 261 | }; 262 | /* End PBXResourcesBuildPhase section */ 263 | 264 | /* Begin PBXShellScriptBuildPhase section */ 265 | 438D3A9692D8194750E2EE7D /* [CP] Embed Pods Frameworks */ = { 266 | isa = PBXShellScriptBuildPhase; 267 | buildActionMask = 2147483647; 268 | files = ( 269 | ); 270 | inputPaths = ( 271 | "${PODS_ROOT}/Target Support Files/Pods-SpringText_Example/Pods-SpringText_Example-frameworks.sh", 272 | "${BUILT_PRODUCTS_DIR}/SpringText/SpringText.framework", 273 | ); 274 | name = "[CP] Embed Pods Frameworks"; 275 | outputPaths = ( 276 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SpringText.framework", 277 | ); 278 | runOnlyForDeploymentPostprocessing = 0; 279 | shellPath = /bin/sh; 280 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SpringText_Example/Pods-SpringText_Example-frameworks.sh\"\n"; 281 | showEnvVarsInLog = 0; 282 | }; 283 | 63522F2093B9B700203F33C1 /* [CP] Check Pods Manifest.lock */ = { 284 | isa = PBXShellScriptBuildPhase; 285 | buildActionMask = 2147483647; 286 | files = ( 287 | ); 288 | inputFileListPaths = ( 289 | ); 290 | inputPaths = ( 291 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 292 | "${PODS_ROOT}/Manifest.lock", 293 | ); 294 | name = "[CP] Check Pods Manifest.lock"; 295 | outputFileListPaths = ( 296 | ); 297 | outputPaths = ( 298 | "$(DERIVED_FILE_DIR)/Pods-SpringText_Example-checkManifestLockResult.txt", 299 | ); 300 | runOnlyForDeploymentPostprocessing = 0; 301 | shellPath = /bin/sh; 302 | 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"; 303 | showEnvVarsInLog = 0; 304 | }; 305 | B843616AC969D4AF0E32568E /* [CP] Check Pods Manifest.lock */ = { 306 | isa = PBXShellScriptBuildPhase; 307 | buildActionMask = 2147483647; 308 | files = ( 309 | ); 310 | inputFileListPaths = ( 311 | ); 312 | inputPaths = ( 313 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 314 | "${PODS_ROOT}/Manifest.lock", 315 | ); 316 | name = "[CP] Check Pods Manifest.lock"; 317 | outputFileListPaths = ( 318 | ); 319 | outputPaths = ( 320 | "$(DERIVED_FILE_DIR)/Pods-SpringText_Tests-checkManifestLockResult.txt", 321 | ); 322 | runOnlyForDeploymentPostprocessing = 0; 323 | shellPath = /bin/sh; 324 | 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"; 325 | showEnvVarsInLog = 0; 326 | }; 327 | /* End PBXShellScriptBuildPhase section */ 328 | 329 | /* Begin PBXSourcesBuildPhase section */ 330 | 607FACCC1AFB9204008FA782 /* Sources */ = { 331 | isa = PBXSourcesBuildPhase; 332 | buildActionMask = 2147483647; 333 | files = ( 334 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 335 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 336 | ); 337 | runOnlyForDeploymentPostprocessing = 0; 338 | }; 339 | 607FACE11AFB9204008FA782 /* Sources */ = { 340 | isa = PBXSourcesBuildPhase; 341 | buildActionMask = 2147483647; 342 | files = ( 343 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 344 | ); 345 | runOnlyForDeploymentPostprocessing = 0; 346 | }; 347 | /* End PBXSourcesBuildPhase section */ 348 | 349 | /* Begin PBXTargetDependency section */ 350 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 351 | isa = PBXTargetDependency; 352 | target = 607FACCF1AFB9204008FA782 /* SpringText_Example */; 353 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 354 | }; 355 | /* End PBXTargetDependency section */ 356 | 357 | /* Begin PBXVariantGroup section */ 358 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 359 | isa = PBXVariantGroup; 360 | children = ( 361 | 607FACDA1AFB9204008FA782 /* Base */, 362 | ); 363 | name = Main.storyboard; 364 | sourceTree = ""; 365 | }; 366 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 367 | isa = PBXVariantGroup; 368 | children = ( 369 | 607FACDF1AFB9204008FA782 /* Base */, 370 | ); 371 | name = LaunchScreen.xib; 372 | sourceTree = ""; 373 | }; 374 | /* End PBXVariantGroup section */ 375 | 376 | /* Begin XCBuildConfiguration section */ 377 | 607FACED1AFB9204008FA782 /* Debug */ = { 378 | isa = XCBuildConfiguration; 379 | buildSettings = { 380 | ALWAYS_SEARCH_USER_PATHS = NO; 381 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 382 | CLANG_CXX_LIBRARY = "libc++"; 383 | CLANG_ENABLE_MODULES = YES; 384 | CLANG_ENABLE_OBJC_ARC = YES; 385 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 386 | CLANG_WARN_BOOL_CONVERSION = YES; 387 | CLANG_WARN_COMMA = YES; 388 | CLANG_WARN_CONSTANT_CONVERSION = YES; 389 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 390 | CLANG_WARN_EMPTY_BODY = YES; 391 | CLANG_WARN_ENUM_CONVERSION = YES; 392 | CLANG_WARN_INFINITE_RECURSION = YES; 393 | CLANG_WARN_INT_CONVERSION = YES; 394 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 395 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 396 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 397 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 398 | CLANG_WARN_STRICT_PROTOTYPES = YES; 399 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 400 | CLANG_WARN_UNREACHABLE_CODE = YES; 401 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 402 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 403 | COPY_PHASE_STRIP = NO; 404 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 405 | ENABLE_STRICT_OBJC_MSGSEND = YES; 406 | ENABLE_TESTABILITY = YES; 407 | GCC_C_LANGUAGE_STANDARD = gnu99; 408 | GCC_DYNAMIC_NO_PIC = NO; 409 | GCC_NO_COMMON_BLOCKS = YES; 410 | GCC_OPTIMIZATION_LEVEL = 0; 411 | GCC_PREPROCESSOR_DEFINITIONS = ( 412 | "DEBUG=1", 413 | "$(inherited)", 414 | ); 415 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 416 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 417 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 418 | GCC_WARN_UNDECLARED_SELECTOR = YES; 419 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 420 | GCC_WARN_UNUSED_FUNCTION = YES; 421 | GCC_WARN_UNUSED_VARIABLE = YES; 422 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 423 | MTL_ENABLE_DEBUG_INFO = YES; 424 | ONLY_ACTIVE_ARCH = YES; 425 | SDKROOT = iphoneos; 426 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 427 | }; 428 | name = Debug; 429 | }; 430 | 607FACEE1AFB9204008FA782 /* Release */ = { 431 | isa = XCBuildConfiguration; 432 | buildSettings = { 433 | ALWAYS_SEARCH_USER_PATHS = NO; 434 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 435 | CLANG_CXX_LIBRARY = "libc++"; 436 | CLANG_ENABLE_MODULES = YES; 437 | CLANG_ENABLE_OBJC_ARC = YES; 438 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 439 | CLANG_WARN_BOOL_CONVERSION = YES; 440 | CLANG_WARN_COMMA = YES; 441 | CLANG_WARN_CONSTANT_CONVERSION = YES; 442 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 443 | CLANG_WARN_EMPTY_BODY = YES; 444 | CLANG_WARN_ENUM_CONVERSION = YES; 445 | CLANG_WARN_INFINITE_RECURSION = YES; 446 | CLANG_WARN_INT_CONVERSION = YES; 447 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 448 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 449 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 450 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 451 | CLANG_WARN_STRICT_PROTOTYPES = YES; 452 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 453 | CLANG_WARN_UNREACHABLE_CODE = YES; 454 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 455 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 456 | COPY_PHASE_STRIP = NO; 457 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 458 | ENABLE_NS_ASSERTIONS = NO; 459 | ENABLE_STRICT_OBJC_MSGSEND = YES; 460 | GCC_C_LANGUAGE_STANDARD = gnu99; 461 | GCC_NO_COMMON_BLOCKS = YES; 462 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 463 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 464 | GCC_WARN_UNDECLARED_SELECTOR = YES; 465 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 466 | GCC_WARN_UNUSED_FUNCTION = YES; 467 | GCC_WARN_UNUSED_VARIABLE = YES; 468 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 469 | MTL_ENABLE_DEBUG_INFO = NO; 470 | SDKROOT = iphoneos; 471 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 472 | VALIDATE_PRODUCT = YES; 473 | }; 474 | name = Release; 475 | }; 476 | 607FACF01AFB9204008FA782 /* Debug */ = { 477 | isa = XCBuildConfiguration; 478 | baseConfigurationReference = 809B803A6E67B0C7AAF49AC6 /* Pods-SpringText_Example.debug.xcconfig */; 479 | buildSettings = { 480 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 481 | INFOPLIST_FILE = SpringText/Info.plist; 482 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 483 | MODULE_NAME = ExampleApp; 484 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 485 | PRODUCT_NAME = "$(TARGET_NAME)"; 486 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 487 | SWIFT_VERSION = 5.0; 488 | }; 489 | name = Debug; 490 | }; 491 | 607FACF11AFB9204008FA782 /* Release */ = { 492 | isa = XCBuildConfiguration; 493 | baseConfigurationReference = 26A1CECDCC93F1A7EB44A8AF /* Pods-SpringText_Example.release.xcconfig */; 494 | buildSettings = { 495 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 496 | INFOPLIST_FILE = SpringText/Info.plist; 497 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 498 | MODULE_NAME = ExampleApp; 499 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 500 | PRODUCT_NAME = "$(TARGET_NAME)"; 501 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 502 | SWIFT_VERSION = 5.0; 503 | }; 504 | name = Release; 505 | }; 506 | 607FACF31AFB9204008FA782 /* Debug */ = { 507 | isa = XCBuildConfiguration; 508 | baseConfigurationReference = 32FCE32075120EDE123A6981 /* Pods-SpringText_Tests.debug.xcconfig */; 509 | buildSettings = { 510 | FRAMEWORK_SEARCH_PATHS = ( 511 | "$(PLATFORM_DIR)/Developer/Library/Frameworks", 512 | "$(inherited)", 513 | ); 514 | GCC_PREPROCESSOR_DEFINITIONS = ( 515 | "DEBUG=1", 516 | "$(inherited)", 517 | ); 518 | INFOPLIST_FILE = Tests/Info.plist; 519 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 520 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 521 | PRODUCT_NAME = "$(TARGET_NAME)"; 522 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 523 | SWIFT_VERSION = 4.0; 524 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SpringText_Example.app/SpringText_Example"; 525 | }; 526 | name = Debug; 527 | }; 528 | 607FACF41AFB9204008FA782 /* Release */ = { 529 | isa = XCBuildConfiguration; 530 | baseConfigurationReference = 3DB07DA79845CDCB152C406A /* Pods-SpringText_Tests.release.xcconfig */; 531 | buildSettings = { 532 | FRAMEWORK_SEARCH_PATHS = ( 533 | "$(PLATFORM_DIR)/Developer/Library/Frameworks", 534 | "$(inherited)", 535 | ); 536 | INFOPLIST_FILE = Tests/Info.plist; 537 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 538 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 539 | PRODUCT_NAME = "$(TARGET_NAME)"; 540 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 541 | SWIFT_VERSION = 4.0; 542 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SpringText_Example.app/SpringText_Example"; 543 | }; 544 | name = Release; 545 | }; 546 | /* End XCBuildConfiguration section */ 547 | 548 | /* Begin XCConfigurationList section */ 549 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "SpringText" */ = { 550 | isa = XCConfigurationList; 551 | buildConfigurations = ( 552 | 607FACED1AFB9204008FA782 /* Debug */, 553 | 607FACEE1AFB9204008FA782 /* Release */, 554 | ); 555 | defaultConfigurationIsVisible = 0; 556 | defaultConfigurationName = Release; 557 | }; 558 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "SpringText_Example" */ = { 559 | isa = XCConfigurationList; 560 | buildConfigurations = ( 561 | 607FACF01AFB9204008FA782 /* Debug */, 562 | 607FACF11AFB9204008FA782 /* Release */, 563 | ); 564 | defaultConfigurationIsVisible = 0; 565 | defaultConfigurationName = Release; 566 | }; 567 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "SpringText_Tests" */ = { 568 | isa = XCConfigurationList; 569 | buildConfigurations = ( 570 | 607FACF31AFB9204008FA782 /* Debug */, 571 | 607FACF41AFB9204008FA782 /* Release */, 572 | ); 573 | defaultConfigurationIsVisible = 0; 574 | defaultConfigurationName = Release; 575 | }; 576 | /* End XCConfigurationList section */ 577 | }; 578 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 579 | } 580 | -------------------------------------------------------------------------------- /Example/SpringText.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/SpringText.xcodeproj/xcshareddata/xcschemes/SpringText-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/SpringText.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/SpringText.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/SpringText/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // SpringText 4 | // 5 | // Created by comcxx11 on 10/10/2020. 6 | // Copyright (c) 2020 comcxx11. 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: [UIApplication.LaunchOptionsKey: 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/SpringText/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 25 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /Example/SpringText/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 36 | 43 | 50 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | -------------------------------------------------------------------------------- /Example/SpringText/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | }, 43 | { 44 | "idiom" : "ios-marketing", 45 | "size" : "1024x1024", 46 | "scale" : "1x" 47 | } 48 | ], 49 | "info" : { 50 | "version" : 1, 51 | "author" : "xcode" 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /Example/SpringText/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /Example/SpringText/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // SpringText 4 | // 5 | // Created by comcxx11 on 10/10/2020. 6 | // Copyright (c) 2020 comcxx11. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import SpringText 11 | 12 | class ViewController: UIViewController { 13 | @IBOutlet weak var lbl_num1: SPLabel! 14 | @IBOutlet weak var lbl_num2: SPLabel! 15 | @IBOutlet weak var lbl_num3: SPLabel! 16 | @IBOutlet weak var lbl_num4: SPLabel! 17 | 18 | override func viewDidLoad() { 19 | lbl_num1.isCurrency = false 20 | lbl_num1.showSymbol = false 21 | lbl_num1.text(num: 1000000000) 22 | 23 | lbl_num2.text(num: 1000000000) 24 | lbl_num3.text(num: 1234567890) 25 | 26 | lbl_num4.setCurrency(symbol: "₩") 27 | lbl_num4.text(num: 1234567890) 28 | 29 | let newLabel = SPLabel(frame: CGRect(x: 50, y: 200, width: 100, height: 100)) 30 | newLabel.text(num: 1203901293) 31 | self.view.addSubview(newLabel) 32 | } 33 | 34 | override func didReceiveMemoryWarning() { 35 | super.didReceiveMemoryWarning() 36 | // Dispose of any resources that can be recreated. 37 | } 38 | } 39 | 40 | -------------------------------------------------------------------------------- /Example/Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Tests/Tests.swift: -------------------------------------------------------------------------------- 1 | import XCTest 2 | import SpringText 3 | 4 | class Tests: XCTestCase { 5 | 6 | override func setUp() { 7 | super.setUp() 8 | // Put setup code here. This method is called before the invocation of each test method in the class. 9 | } 10 | 11 | override func tearDown() { 12 | // Put teardown code here. This method is called after the invocation of each test method in the class. 13 | super.tearDown() 14 | } 15 | 16 | func testExample() { 17 | // This is an example of a functional test case. 18 | XCTAssert(true, "Pass") 19 | } 20 | 21 | func testPerformanceExample() { 22 | // This is an example of a performance test case. 23 | self.measure() { 24 | // Put the code you want to measure the time of here. 25 | } 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2020 comcxx11 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # SpringText 2 | 3 | [![Language](https://img.shields.io/badge/Swift-4%20%26%205-orange.svg)]() 4 | [![CI Status](https://img.shields.io/travis/comcxx11/SpringText.svg?style=flat)](https://travis-ci.org/comcxx11/SpringText) 5 | [![Version](https://img.shields.io/cocoapods/v/SpringText.svg?style=flat)](https://cocoapods.org/pods/SpringText) 6 | [![License](https://img.shields.io/cocoapods/l/SpringText.svg?style=flat)](https://cocoapods.org/pods/SpringText) 7 | [![Platform](https://img.shields.io/cocoapods/p/SpringText.svg?style=flat)](https://cocoapods.org/pods/SpringText) 8 | 9 | ## Example 10 | 11 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 12 | 13 | ![img](example.gif) 14 | 15 | ## Requirements 16 | - iOS 9.3 17 | 18 | ## Usage 19 | 20 | The usage is very similar to `UITextField` text properties. 21 | `SPLabel` has two options: Normal, Currency 22 | ```swift 23 | lblAmount.text(num:192398) 24 | ``` 25 | 26 | `isCurrency`, `showSymbol` are display options 27 | ```swift 28 | lbl_num1.isCurrency = false 29 | lbl_num1.showSymbol = false 30 | lbl_num1.text(num: 1000000000) 31 | ``` 32 | 33 | Default currency symbol is `dollor` sign `$` 34 | ```swift 35 | lblAmount.setCurrency(symbol: "₩") 36 | lblAmount.text(num:192398, showCurrency:true) 37 | ``` 38 | 39 | ## Installation 40 | 41 | SpringText is available through [CocoaPods](https://cocoapods.org). To install 42 | it, simply add the following line to your Podfile: 43 | 44 | ```ruby 45 | pod 'SpringText' 46 | ``` 47 | 48 | ## Author 49 | 50 | comcxx11, comcxx11@gmail.com 51 | 52 | ## License 53 | 54 | SpringText is available under the MIT license. See the LICENSE file for more info. 55 | -------------------------------------------------------------------------------- /SpringText.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint SpringText.podspec' to ensure this is a 3 | # valid spec before submitting. 4 | # 5 | # Any lines starting with a # are optional, but their use is encouraged 6 | # To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | s.name = 'SpringText' 11 | s.version = '1.1.4' 12 | s.summary = 'Summary SpringText.' 13 | 14 | # This description is used to generate tags and improve search results. 15 | # * Think: What does it do? Why did you write it? What is the focus? 16 | # * Try to keep it short, snappy and to the point. 17 | # * Write the description between the DESC delimiters below. 18 | # * Finally, don't worry about the indent, CocoaPods strips it! 19 | 20 | s.description = "SpringText Framework is Rolling Label for iOS" 21 | s.swift_version = "5.0" 22 | s.homepage = 'https://github.com/comcxx11/SpringText' 23 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 24 | s.license = { :type => 'MIT', :file => 'LICENSE' } 25 | s.author = { 'comcxx11' => 'comcxx11@gmail.com' } 26 | s.source = { :git => 'https://github.com/comcxx11/SpringText.git', :tag => s.version.to_s } 27 | # s.social_media_url = 'https://twitter.com/' 28 | 29 | s.ios.deployment_target = '9.0' 30 | 31 | s.source_files = 'SpringText/Classes/**/*' 32 | 33 | # s.resource_bundles = { 34 | # 'SpringText' => ['SpringText/Assets/*.png'] 35 | # } 36 | 37 | # s.public_header_files = 'Pod/Classes/**/*.h' 38 | # s.frameworks = 'UIKit', 'MapKit' 39 | # s.dependency 'AFNetworking', '~> 2.3' 40 | end 41 | -------------------------------------------------------------------------------- /SpringText/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/comcxx11/SpringText/14d383a53c0d0d4fb1e2e6fbe1a44de1aaa017e9/SpringText/Assets/.gitkeep -------------------------------------------------------------------------------- /SpringText/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/comcxx11/SpringText/14d383a53c0d0d4fb1e2e6fbe1a44de1aaa017e9/SpringText/Classes/.gitkeep -------------------------------------------------------------------------------- /SpringText/Classes/SPLabel.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SPLabel.swift 3 | // SpringText 4 | // 5 | // Created by xeozin on 2020/10/10. 6 | // 7 | 8 | import UIKit 9 | 10 | open class SPLabel: UILabel { 11 | private var fullText = "" 12 | 13 | open var isCurrency = true 14 | 15 | private var currencySymbol: String = "$" 16 | open var showSymbol = true 17 | private var scrollLayers: [CAScrollLayer] = [] 18 | private var scrollLabels: [UILabel] = [] 19 | private let duration = 0.7 20 | private let durationOffset = 0.2 21 | private let textsNotAnimated = [","] 22 | 23 | public func text(num: Int) { 24 | self.configure(with: num) 25 | self.text = " " 26 | self.animate() 27 | } 28 | 29 | public func setCurrency(symbol: String) { 30 | self.currencySymbol = symbol 31 | } 32 | 33 | private func configure(with number: Int) { 34 | if isCurrency { 35 | fullText = number.currency 36 | } else { 37 | fullText = String(number) 38 | } 39 | 40 | clean() 41 | setupSubviews() 42 | } 43 | 44 | private func animate(ascending: Bool = true) { 45 | createAnimations(ascending: ascending) 46 | } 47 | 48 | private func clean() { 49 | self.text = nil 50 | self.subviews.forEach { $0.removeFromSuperview() } 51 | self.layer.sublayers?.forEach { $0.removeFromSuperlayer() } 52 | scrollLayers.removeAll() 53 | scrollLabels.removeAll() 54 | } 55 | 56 | private func setupSubviews() { 57 | let stringArray = fullText.map { String($0) } 58 | var x: CGFloat = 0 59 | let y: CGFloat = 0 60 | if self.textAlignment == .center { 61 | if showSymbol { 62 | self.text = "\(currencySymbol) \(fullText)" 63 | } else { 64 | self.text = fullText 65 | } 66 | let w = UILabel.textWidth(font: self.font, text: self.text ?? "") 67 | self.text = "" // 초기화 68 | x = -(w / 2) 69 | } else if self.textAlignment == .right { 70 | if showSymbol { 71 | self.text = "\(currencySymbol) \(fullText)" 72 | } else { 73 | self.text = fullText 74 | } 75 | let w = UILabel.textWidth(font: self.font, text: self.text ?? "") 76 | self.text = "" // 초기화 77 | x = -w 78 | } 79 | 80 | if showSymbol { 81 | let wLabel = UILabel() 82 | wLabel.frame.origin = CGPoint(x: x, y: y) 83 | wLabel.textColor = textColor 84 | wLabel.font = font 85 | wLabel.text = "\(currencySymbol) " 86 | wLabel.textAlignment = .center 87 | wLabel.sizeToFit() 88 | self.addSubview(wLabel) 89 | x += wLabel.bounds.width 90 | } 91 | 92 | stringArray.enumerated().forEach { index, text in 93 | if textsNotAnimated.contains(text) { 94 | // 콤마 95 | let label = UILabel() 96 | label.frame.origin = CGPoint(x: x, y: y) 97 | label.textColor = textColor 98 | label.font = font 99 | label.text = text 100 | label.textAlignment = .center 101 | label.sizeToFit() 102 | self.addSubview(label) 103 | 104 | x += label.bounds.width 105 | } else { 106 | // 숫자 107 | let label = UILabel() 108 | label.frame.origin = CGPoint(x: x, y: y) 109 | label.textColor = textColor 110 | label.font = font 111 | label.text = "0" 112 | label.textAlignment = .center 113 | label.sizeToFit() 114 | createScrollLayer(to: label, text: text) 115 | 116 | x += label.bounds.width 117 | } 118 | } 119 | } 120 | 121 | private func createScrollLayer(to label: UILabel, text: String) { 122 | let scrollLayer = CAScrollLayer() 123 | scrollLayer.frame = label.frame 124 | scrollLayers.append(scrollLayer) 125 | self.layer.addSublayer(scrollLayer) 126 | 127 | createContentForLayer(scrollLayer: scrollLayer, text: text) 128 | } 129 | 130 | private func createContentForLayer(scrollLayer: CAScrollLayer, text: String) { 131 | var textsForScroll: [String] = [] 132 | guard let number = Int(Int(text)?.currency ?? "0") else { return } 133 | textsForScroll.append("0") 134 | for i in 0...9 { 135 | let str = String((number + i) % 10) 136 | textsForScroll.append(Int(str)?.currency ?? "0") 137 | } 138 | textsForScroll.append(text) 139 | 140 | var height: CGFloat = 0 141 | for text in textsForScroll { 142 | let label = UILabel() 143 | label.text = text 144 | label.textColor = textColor 145 | label.font = font 146 | label.textAlignment = .center 147 | label.frame = CGRect(x: 0, y: height, width: scrollLayer.frame.width, height: scrollLayer.frame.height) 148 | scrollLayer.addSublayer(label.layer) 149 | scrollLabels.append(label) 150 | // height = label.frame.maxY + 5 151 | height = label.frame.maxY 152 | } 153 | } 154 | 155 | private func createAnimations(ascending: Bool) { 156 | var offset: CFTimeInterval = 0.0 157 | 158 | for scrollLayer in scrollLayers { 159 | let maxY = scrollLayer.sublayers?.last?.frame.origin.y ?? 0.0 160 | 161 | let animation = CABasicAnimation(keyPath: "sublayerTransform.translation.y") 162 | animation.duration = duration + offset 163 | animation.timingFunction = CAMediaTimingFunction(name: .easeOut) 164 | 165 | if ascending { 166 | animation.fromValue = maxY 167 | animation.toValue = 0 168 | } else { 169 | animation.fromValue = 0 170 | animation.toValue = maxY 171 | } 172 | 173 | scrollLayer.scrollMode = .vertically 174 | // custom key 설정 175 | scrollLayer.add(animation, forKey: nil) 176 | scrollLayer.scroll(to: CGPoint(x: 0, y: maxY)) 177 | 178 | offset += self.durationOffset 179 | } 180 | } 181 | } 182 | -------------------------------------------------------------------------------- /SpringText/Classes/SPLabelExtension.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SPLabelExtension.swift 3 | // SpringText 4 | // 5 | // Created by seojin on 2020/10/11. 6 | // 7 | 8 | import UIKit 9 | 10 | extension UILabel { 11 | func textWidth() -> CGFloat { 12 | return UILabel.textWidth(label: self) 13 | } 14 | 15 | class func textWidth(label: UILabel) -> CGFloat { 16 | return textWidth(label: label, text: label.text!) 17 | } 18 | 19 | class func textWidth(label: UILabel, text: String) -> CGFloat { 20 | return textWidth(font: label.font, text: text) 21 | } 22 | 23 | class func textWidth(font: UIFont, text: String) -> CGFloat { 24 | let myText = text as NSString 25 | 26 | let rect = CGSize(width: CGFloat.greatestFiniteMagnitude, height: CGFloat.greatestFiniteMagnitude) 27 | let labelSize = myText.boundingRect(with: rect, options: .usesLineFragmentOrigin, attributes: [NSAttributedString.Key.font: font], context: nil) 28 | return ceil(labelSize.width) 29 | } 30 | } 31 | 32 | extension Int { 33 | var currency: String { 34 | let numberFormatter = NumberFormatter() 35 | numberFormatter.numberStyle = .decimal 36 | // numberFormatter.locale = App.shared.locale 37 | numberFormatter.maximumFractionDigits = 0 38 | return numberFormatter.string(from: NSNumber(value: self))?.currency ?? "0" 39 | } 40 | } 41 | 42 | extension String { 43 | var currency: String { 44 | let formatter = NumberFormatter() 45 | formatter.numberStyle = .decimal 46 | // formatter.locale = App.shared.locale 47 | formatter.maximumFractionDigits = 0 48 | 49 | let currencyString = formatter.string(from: formatter.number(from: self) ?? 0) ?? "0" 50 | // currencyString = currencyString + "원" 51 | 52 | return currencyString 53 | } 54 | 55 | } 56 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /example.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/comcxx11/SpringText/14d383a53c0d0d4fb1e2e6fbe1a44de1aaa017e9/example.gif --------------------------------------------------------------------------------