├── .codebeatignore ├── .gitignore ├── .travis.yml ├── Example ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── StringInChain.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── project.pbxproj │ └── Target Support Files │ │ ├── Pods-StringInChain_Example │ │ ├── Info.plist │ │ ├── Pods-StringInChain_Example-acknowledgements.markdown │ │ ├── Pods-StringInChain_Example-acknowledgements.plist │ │ ├── Pods-StringInChain_Example-dummy.m │ │ ├── Pods-StringInChain_Example-frameworks.sh │ │ ├── Pods-StringInChain_Example-resources.sh │ │ ├── Pods-StringInChain_Example-umbrella.h │ │ ├── Pods-StringInChain_Example.debug.xcconfig │ │ ├── Pods-StringInChain_Example.modulemap │ │ └── Pods-StringInChain_Example.release.xcconfig │ │ ├── Pods-StringInChain_Tests │ │ ├── Info.plist │ │ ├── Pods-StringInChain_Tests-acknowledgements.markdown │ │ ├── Pods-StringInChain_Tests-acknowledgements.plist │ │ ├── Pods-StringInChain_Tests-dummy.m │ │ ├── Pods-StringInChain_Tests-frameworks.sh │ │ ├── Pods-StringInChain_Tests-resources.sh │ │ ├── Pods-StringInChain_Tests-umbrella.h │ │ ├── Pods-StringInChain_Tests.debug.xcconfig │ │ ├── Pods-StringInChain_Tests.modulemap │ │ └── Pods-StringInChain_Tests.release.xcconfig │ │ └── StringInChain │ │ ├── Info.plist │ │ ├── ResourceBundle-StringInChain-Info.plist │ │ ├── StringInChain-dummy.m │ │ ├── StringInChain-prefix.pch │ │ ├── StringInChain-umbrella.h │ │ ├── StringInChain.modulemap │ │ └── StringInChain.xcconfig ├── StringInChain.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── StringInChain-Example.xcscheme ├── StringInChain.xcworkspace │ └── contents.xcworkspacedata ├── StringInChain │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ └── ViewController.swift └── Tests │ └── Info.plist ├── LICENSE ├── Pod ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ ├── String+Chain.swift │ ├── StringInChain+Attributes.swift │ └── StringInChain.swift ├── README.md ├── StringInChain.podspec └── _Pods.xcodeproj /.codebeatignore: -------------------------------------------------------------------------------- 1 | Example/** 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OS X 2 | .DS_Store 3 | 4 | # Xcode 5 | build/ 6 | *.pbxuser 7 | !default.pbxuser 8 | *.mode1v3 9 | !default.mode1v3 10 | *.mode2v3 11 | !default.mode2v3 12 | *.perspectivev3 13 | !default.perspectivev3 14 | xcuserdata 15 | *.xccheckout 16 | profile 17 | *.moved-aside 18 | DerivedData 19 | *.hmap 20 | *.ipa 21 | 22 | # Bundler 23 | .bundle 24 | 25 | Carthage 26 | # We recommend against adding the Pods directory to your .gitignore. However 27 | # you should judge for yourself, the pros and cons are mentioned at: 28 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 29 | # 30 | # Note: if you ignore the Pods directory, make sure to uncomment 31 | # `pod install` in .travis.yml 32 | # 33 | # Pods/ 34 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * http://www.objc.io/issue-6/travis-ci.html 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | language: objective-c 6 | # cache: cocoapods 7 | # podfile: Example/Podfile 8 | # before_install: 9 | # - gem install cocoapods # Since Travis is not always on latest version 10 | # - pod install --project-directory=Example 11 | install: 12 | - gem install xcpretty --no-rdoc --no-ri --no-document --quiet 13 | script: 14 | - set -o pipefail && xcodebuild test -workspace Example/StringInChain.xcworkspace -scheme StringInChain-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty -c 15 | - pod lib lint --quick 16 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | source 'https://github.com/CocoaPods/Specs.git' 2 | use_frameworks! 3 | 4 | target 'StringInChain_Example' do 5 | pod "StringInChain", :path => "../" 6 | end 7 | 8 | target 'StringInChain_Tests' do 9 | end 10 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - StringInChain (0.3.0) 3 | 4 | DEPENDENCIES: 5 | - StringInChain (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | StringInChain: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | StringInChain: 31f5b2a587a417563e4b00b585eacbc4927f1e2a 13 | 14 | PODFILE CHECKSUM: 6b1f8d63ce10db55d019ccc00c4b23d4c8dbb877 15 | 16 | COCOAPODS: 1.0.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/StringInChain.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "StringInChain", 3 | "version": "0.3.0", 4 | "summary": "StringInChain give you a far more clean way to create attributed string.", 5 | "description": "An convenient and fast approach to create AttributedString.\nStringInChain give you a far more clean way to create attributed string.", 6 | "homepage": "https://github.com/lsolniczek/string-in-chain", 7 | "license": "MIT", 8 | "authors": { 9 | "Lukasz Solniczek": "l.solniczek@gmail.com" 10 | }, 11 | "source": { 12 | "git": "https://github.com/lsolniczek/string-in-chain.git", 13 | "tag": "0.3.0" 14 | }, 15 | "platforms": { 16 | "ios": "8.0" 17 | }, 18 | "requires_arc": true, 19 | "source_files": "Pod/Classes/**/*", 20 | "resource_bundles": { 21 | "StringInChain": [ 22 | "Pod/Assets/*.png" 23 | ] 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - StringInChain (0.3.0) 3 | 4 | DEPENDENCIES: 5 | - StringInChain (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | StringInChain: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | StringInChain: 31f5b2a587a417563e4b00b585eacbc4927f1e2a 13 | 14 | PODFILE CHECKSUM: 6b1f8d63ce10db55d019ccc00c4b23d4c8dbb877 15 | 16 | COCOAPODS: 1.0.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 | 0BD14B5B2059B5DF4226BFCC89E7B2A2 /* Pods-StringInChain_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 35BE15575F835E3B8F5E55E16D9C785B /* Pods-StringInChain_Tests-dummy.m */; }; 11 | 1E744267295FCAC1E013E6B9E9AD31F4 /* Pods-StringInChain_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 3D24B81ECC5881052661FECC430C9566 /* Pods-StringInChain_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 12 | 22ACA30276B11EC68FBE31D93FB43664 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CEC22C73C1608DFA5D5D78BDCB218219 /* Foundation.framework */; }; 13 | 36FD3FA19F68D1F045F54A35026D3FD4 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CEC22C73C1608DFA5D5D78BDCB218219 /* Foundation.framework */; }; 14 | 585C6F8E5DA6C6FEB083D9CD484BC1A3 /* StringInChain-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 344A45644C1627CC5B05FD0DEC5BD61C /* StringInChain-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 15 | 6C66C2E024C5A228B924AA6145A14F9D /* Pods-StringInChain_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = CB24586F522F30870260852E291AE5C7 /* Pods-StringInChain_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 16 | 6F925055457D2FF16C6B390A1AAD7A10 /* StringInChain.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 2AF6CF241A52BEE64B64243D58B3B1DA /* StringInChain.bundle */; }; 17 | 90852E6DB0876310E26B117645AC5144 /* StringInChain.swift in Sources */ = {isa = PBXBuildFile; fileRef = E7B4558F227B296D733BBAB7008BD41C /* StringInChain.swift */; }; 18 | 91AC20BCC3F3D7352F0636118F97E122 /* String+Chain.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4E1842C12A343B19CC8C9B046B410754 /* String+Chain.swift */; }; 19 | 96E5B527DF9D7ADC050820DF5CDE0C5D /* StringInChain-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 17625826132EFFBD1F44AE44381B5F91 /* StringInChain-dummy.m */; }; 20 | B48ECF098D34BCC2D5856A34A46F2ECB /* Pods-StringInChain_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = DCD3E358093677DC14F3FADFD149831B /* Pods-StringInChain_Example-dummy.m */; }; 21 | C42072D3371B3C8C666AF7D38A53B5CE /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CEC22C73C1608DFA5D5D78BDCB218219 /* Foundation.framework */; }; 22 | CF0076DA9086000F74087B54A726B362 /* StringInChain+Attributes.swift in Sources */ = {isa = PBXBuildFile; fileRef = EA18C4E4D5CFC1C8D21A5E09C1E6E229 /* StringInChain+Attributes.swift */; }; 23 | /* End PBXBuildFile section */ 24 | 25 | /* Begin PBXContainerItemProxy section */ 26 | 36162768FD9AEC1FD29F05049995AA2D /* PBXContainerItemProxy */ = { 27 | isa = PBXContainerItemProxy; 28 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 29 | proxyType = 1; 30 | remoteGlobalIDString = 973715EBD6C03B0E4C288B7678C0ED5F; 31 | remoteInfo = "StringInChain-StringInChain"; 32 | }; 33 | D51FB179069C06EC96392754CC3F36FD /* PBXContainerItemProxy */ = { 34 | isa = PBXContainerItemProxy; 35 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 36 | proxyType = 1; 37 | remoteGlobalIDString = A14076733F1EE63EB7594B9CDB01D6FA; 38 | remoteInfo = StringInChain; 39 | }; 40 | /* End PBXContainerItemProxy section */ 41 | 42 | /* Begin PBXFileReference section */ 43 | 0031B1C6000EBBB0A8C9823C14F48781 /* Pods-StringInChain_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-StringInChain_Tests-acknowledgements.markdown"; sourceTree = ""; }; 44 | 0191FBDEA5DFAAC14441C59A8146FCF0 /* StringInChain.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = StringInChain.modulemap; sourceTree = ""; }; 45 | 11A0FE8C2F92CD8ED9EFA65D1373DE07 /* Pods-StringInChain_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-StringInChain_Example-resources.sh"; sourceTree = ""; }; 46 | 17625826132EFFBD1F44AE44381B5F91 /* StringInChain-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "StringInChain-dummy.m"; sourceTree = ""; }; 47 | 1BA0BD1F4819B74F7D8F2334434D2A63 /* Pods-StringInChain_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-StringInChain_Example-acknowledgements.plist"; sourceTree = ""; }; 48 | 23F61D31E93B1967EFD95E075FFE762F /* ResourceBundle-StringInChain-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "ResourceBundle-StringInChain-Info.plist"; sourceTree = ""; }; 49 | 2AF6CF241A52BEE64B64243D58B3B1DA /* StringInChain.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = StringInChain.bundle; sourceTree = BUILT_PRODUCTS_DIR; }; 50 | 2E14160175B2EE66F5BD2F99E3E8625E /* Pods-StringInChain_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-StringInChain_Tests.release.xcconfig"; sourceTree = ""; }; 51 | 31B40D84B496321DA86C8F7B031A5F2D /* Pods-StringInChain_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-StringInChain_Tests-resources.sh"; sourceTree = ""; }; 52 | 344A45644C1627CC5B05FD0DEC5BD61C /* StringInChain-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "StringInChain-umbrella.h"; sourceTree = ""; }; 53 | 35BE15575F835E3B8F5E55E16D9C785B /* Pods-StringInChain_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-StringInChain_Tests-dummy.m"; sourceTree = ""; }; 54 | 3A1ED46E30B85FE92BF1E63BCDC99214 /* Pods-StringInChain_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-StringInChain_Example-acknowledgements.markdown"; sourceTree = ""; }; 55 | 3B6BE801C891F95935B565D405D8F3CE /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 56 | 3D24B81ECC5881052661FECC430C9566 /* Pods-StringInChain_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-StringInChain_Tests-umbrella.h"; sourceTree = ""; }; 57 | 40F719C4FF96E7FFA630FC7907F723FA /* StringInChain.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = StringInChain.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 58 | 4E1842C12A343B19CC8C9B046B410754 /* String+Chain.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "String+Chain.swift"; sourceTree = ""; }; 59 | 5163C67884273552E3E9984268137715 /* Pods-StringInChain_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-StringInChain_Example.release.xcconfig"; sourceTree = ""; }; 60 | 75DFFD20CC8F265157FE2A94D49F5E55 /* Pods-StringInChain_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-StringInChain_Tests.debug.xcconfig"; sourceTree = ""; }; 61 | 792AE0C04365FEB6BEE7D945DC03B33D /* Pods-StringInChain_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-StringInChain_Tests-frameworks.sh"; sourceTree = ""; }; 62 | 875422393195A41F151404F2B489AE50 /* StringInChain-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "StringInChain-prefix.pch"; sourceTree = ""; }; 63 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 64 | B94B00A9D26796BDC1F6F3657129E223 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 65 | C2D8B6CE97E1586ADED33F0FB0AABBC3 /* Pods-StringInChain_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-StringInChain_Tests-acknowledgements.plist"; sourceTree = ""; }; 66 | CB24586F522F30870260852E291AE5C7 /* Pods-StringInChain_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-StringInChain_Example-umbrella.h"; sourceTree = ""; }; 67 | CEC22C73C1608DFA5D5D78BDCB218219 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 68 | D1FA08E001B022BA350EC27DC44551BB /* Pods_StringInChain_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_StringInChain_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 69 | DB2A32DAC949C8836B92053D81B6E878 /* Pods_StringInChain_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_StringInChain_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 70 | DC544623928F1F9FA0F121EC242C6E18 /* Pods-StringInChain_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-StringInChain_Example-frameworks.sh"; sourceTree = ""; }; 71 | DCD3E358093677DC14F3FADFD149831B /* Pods-StringInChain_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-StringInChain_Example-dummy.m"; sourceTree = ""; }; 72 | DE02241131B693C0A390840DD0929C2A /* StringInChain.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = StringInChain.xcconfig; sourceTree = ""; }; 73 | DF0C94038D9368806CB75415512E0040 /* Pods-StringInChain_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-StringInChain_Tests.modulemap"; sourceTree = ""; }; 74 | DF13AABAA30F288537B6CD8FA1F85741 /* Pods-StringInChain_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-StringInChain_Example.debug.xcconfig"; sourceTree = ""; }; 75 | E59C19691E6B8F58AF7CD7F8D0C5C70B /* Pods-StringInChain_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-StringInChain_Example.modulemap"; sourceTree = ""; }; 76 | E7B4558F227B296D733BBAB7008BD41C /* StringInChain.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = StringInChain.swift; sourceTree = ""; }; 77 | EA18C4E4D5CFC1C8D21A5E09C1E6E229 /* StringInChain+Attributes.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "StringInChain+Attributes.swift"; sourceTree = ""; }; 78 | EBBF7DFDF3BB27E399D2834C48F47BD6 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 79 | /* End PBXFileReference section */ 80 | 81 | /* Begin PBXFrameworksBuildPhase section */ 82 | 144E62767587AB34DF947301FF2A7E69 /* Frameworks */ = { 83 | isa = PBXFrameworksBuildPhase; 84 | buildActionMask = 2147483647; 85 | files = ( 86 | ); 87 | runOnlyForDeploymentPostprocessing = 0; 88 | }; 89 | 2B7658B4A993A355B226B848AA1B4770 /* Frameworks */ = { 90 | isa = PBXFrameworksBuildPhase; 91 | buildActionMask = 2147483647; 92 | files = ( 93 | C42072D3371B3C8C666AF7D38A53B5CE /* Foundation.framework in Frameworks */, 94 | ); 95 | runOnlyForDeploymentPostprocessing = 0; 96 | }; 97 | 76D6E7C463F6FBAF82F9EF8701F22226 /* Frameworks */ = { 98 | isa = PBXFrameworksBuildPhase; 99 | buildActionMask = 2147483647; 100 | files = ( 101 | 22ACA30276B11EC68FBE31D93FB43664 /* Foundation.framework in Frameworks */, 102 | ); 103 | runOnlyForDeploymentPostprocessing = 0; 104 | }; 105 | AEAFC7205FC85B550879C61AB55FF9E4 /* Frameworks */ = { 106 | isa = PBXFrameworksBuildPhase; 107 | buildActionMask = 2147483647; 108 | files = ( 109 | 36FD3FA19F68D1F045F54A35026D3FD4 /* Foundation.framework in Frameworks */, 110 | ); 111 | runOnlyForDeploymentPostprocessing = 0; 112 | }; 113 | /* End PBXFrameworksBuildPhase section */ 114 | 115 | /* Begin PBXGroup section */ 116 | 055CE5344C740A35A17022981D828505 /* Pods-StringInChain_Tests */ = { 117 | isa = PBXGroup; 118 | children = ( 119 | EBBF7DFDF3BB27E399D2834C48F47BD6 /* Info.plist */, 120 | DF0C94038D9368806CB75415512E0040 /* Pods-StringInChain_Tests.modulemap */, 121 | 0031B1C6000EBBB0A8C9823C14F48781 /* Pods-StringInChain_Tests-acknowledgements.markdown */, 122 | C2D8B6CE97E1586ADED33F0FB0AABBC3 /* Pods-StringInChain_Tests-acknowledgements.plist */, 123 | 35BE15575F835E3B8F5E55E16D9C785B /* Pods-StringInChain_Tests-dummy.m */, 124 | 792AE0C04365FEB6BEE7D945DC03B33D /* Pods-StringInChain_Tests-frameworks.sh */, 125 | 31B40D84B496321DA86C8F7B031A5F2D /* Pods-StringInChain_Tests-resources.sh */, 126 | 3D24B81ECC5881052661FECC430C9566 /* Pods-StringInChain_Tests-umbrella.h */, 127 | 75DFFD20CC8F265157FE2A94D49F5E55 /* Pods-StringInChain_Tests.debug.xcconfig */, 128 | 2E14160175B2EE66F5BD2F99E3E8625E /* Pods-StringInChain_Tests.release.xcconfig */, 129 | ); 130 | name = "Pods-StringInChain_Tests"; 131 | path = "Target Support Files/Pods-StringInChain_Tests"; 132 | sourceTree = ""; 133 | }; 134 | 3DA23BD8906EE71757F9C4ABB37A81D3 /* Support Files */ = { 135 | isa = PBXGroup; 136 | children = ( 137 | 3B6BE801C891F95935B565D405D8F3CE /* Info.plist */, 138 | 23F61D31E93B1967EFD95E075FFE762F /* ResourceBundle-StringInChain-Info.plist */, 139 | 0191FBDEA5DFAAC14441C59A8146FCF0 /* StringInChain.modulemap */, 140 | DE02241131B693C0A390840DD0929C2A /* StringInChain.xcconfig */, 141 | 17625826132EFFBD1F44AE44381B5F91 /* StringInChain-dummy.m */, 142 | 875422393195A41F151404F2B489AE50 /* StringInChain-prefix.pch */, 143 | 344A45644C1627CC5B05FD0DEC5BD61C /* StringInChain-umbrella.h */, 144 | ); 145 | name = "Support Files"; 146 | path = "Example/Pods/Target Support Files/StringInChain"; 147 | sourceTree = ""; 148 | }; 149 | 3DCAB2B7CDE207B3958B6CB957FCC758 /* iOS */ = { 150 | isa = PBXGroup; 151 | children = ( 152 | CEC22C73C1608DFA5D5D78BDCB218219 /* Foundation.framework */, 153 | ); 154 | name = iOS; 155 | sourceTree = ""; 156 | }; 157 | 3F929D10B7DD26420D2DEBDB30D5598F /* StringInChain */ = { 158 | isa = PBXGroup; 159 | children = ( 160 | FDFD688983FF41428A828FC8D02F25A0 /* Pod */, 161 | 3DA23BD8906EE71757F9C4ABB37A81D3 /* Support Files */, 162 | ); 163 | name = StringInChain; 164 | path = ../..; 165 | sourceTree = ""; 166 | }; 167 | 7DB346D0F39D3F0E887471402A8071AB = { 168 | isa = PBXGroup; 169 | children = ( 170 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 171 | D2F8983ABB7554128EF1FDBFAF4CD3B3 /* Development Pods */, 172 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 173 | 80B5DCFB39B2C0C65DA459A71C8C38DF /* Products */, 174 | 7DD028B856B19E90BF52796E6F1E15DD /* Targets Support Files */, 175 | ); 176 | sourceTree = ""; 177 | }; 178 | 7DD028B856B19E90BF52796E6F1E15DD /* Targets Support Files */ = { 179 | isa = PBXGroup; 180 | children = ( 181 | AAF517F07AD1336E1B912E3180FEFFEA /* Pods-StringInChain_Example */, 182 | 055CE5344C740A35A17022981D828505 /* Pods-StringInChain_Tests */, 183 | ); 184 | name = "Targets Support Files"; 185 | sourceTree = ""; 186 | }; 187 | 80B5DCFB39B2C0C65DA459A71C8C38DF /* Products */ = { 188 | isa = PBXGroup; 189 | children = ( 190 | DB2A32DAC949C8836B92053D81B6E878 /* Pods_StringInChain_Example.framework */, 191 | D1FA08E001B022BA350EC27DC44551BB /* Pods_StringInChain_Tests.framework */, 192 | 2AF6CF241A52BEE64B64243D58B3B1DA /* StringInChain.bundle */, 193 | 40F719C4FF96E7FFA630FC7907F723FA /* StringInChain.framework */, 194 | ); 195 | name = Products; 196 | sourceTree = ""; 197 | }; 198 | AAF517F07AD1336E1B912E3180FEFFEA /* Pods-StringInChain_Example */ = { 199 | isa = PBXGroup; 200 | children = ( 201 | B94B00A9D26796BDC1F6F3657129E223 /* Info.plist */, 202 | E59C19691E6B8F58AF7CD7F8D0C5C70B /* Pods-StringInChain_Example.modulemap */, 203 | 3A1ED46E30B85FE92BF1E63BCDC99214 /* Pods-StringInChain_Example-acknowledgements.markdown */, 204 | 1BA0BD1F4819B74F7D8F2334434D2A63 /* Pods-StringInChain_Example-acknowledgements.plist */, 205 | DCD3E358093677DC14F3FADFD149831B /* Pods-StringInChain_Example-dummy.m */, 206 | DC544623928F1F9FA0F121EC242C6E18 /* Pods-StringInChain_Example-frameworks.sh */, 207 | 11A0FE8C2F92CD8ED9EFA65D1373DE07 /* Pods-StringInChain_Example-resources.sh */, 208 | CB24586F522F30870260852E291AE5C7 /* Pods-StringInChain_Example-umbrella.h */, 209 | DF13AABAA30F288537B6CD8FA1F85741 /* Pods-StringInChain_Example.debug.xcconfig */, 210 | 5163C67884273552E3E9984268137715 /* Pods-StringInChain_Example.release.xcconfig */, 211 | ); 212 | name = "Pods-StringInChain_Example"; 213 | path = "Target Support Files/Pods-StringInChain_Example"; 214 | sourceTree = ""; 215 | }; 216 | BBED9BA10DF0BBABF79A10732D66486E /* Classes */ = { 217 | isa = PBXGroup; 218 | children = ( 219 | 4E1842C12A343B19CC8C9B046B410754 /* String+Chain.swift */, 220 | E7B4558F227B296D733BBAB7008BD41C /* StringInChain.swift */, 221 | EA18C4E4D5CFC1C8D21A5E09C1E6E229 /* StringInChain+Attributes.swift */, 222 | ); 223 | path = Classes; 224 | sourceTree = ""; 225 | }; 226 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 227 | isa = PBXGroup; 228 | children = ( 229 | 3DCAB2B7CDE207B3958B6CB957FCC758 /* iOS */, 230 | ); 231 | name = Frameworks; 232 | sourceTree = ""; 233 | }; 234 | D2F8983ABB7554128EF1FDBFAF4CD3B3 /* Development Pods */ = { 235 | isa = PBXGroup; 236 | children = ( 237 | 3F929D10B7DD26420D2DEBDB30D5598F /* StringInChain */, 238 | ); 239 | name = "Development Pods"; 240 | sourceTree = ""; 241 | }; 242 | FDFD688983FF41428A828FC8D02F25A0 /* Pod */ = { 243 | isa = PBXGroup; 244 | children = ( 245 | BBED9BA10DF0BBABF79A10732D66486E /* Classes */, 246 | ); 247 | path = Pod; 248 | sourceTree = ""; 249 | }; 250 | /* End PBXGroup section */ 251 | 252 | /* Begin PBXHeadersBuildPhase section */ 253 | 0E876EB65D63E46FA247E64460E4E3FC /* Headers */ = { 254 | isa = PBXHeadersBuildPhase; 255 | buildActionMask = 2147483647; 256 | files = ( 257 | 585C6F8E5DA6C6FEB083D9CD484BC1A3 /* StringInChain-umbrella.h in Headers */, 258 | ); 259 | runOnlyForDeploymentPostprocessing = 0; 260 | }; 261 | 89E890E74178C127BFF9ECD8BCC31CEE /* Headers */ = { 262 | isa = PBXHeadersBuildPhase; 263 | buildActionMask = 2147483647; 264 | files = ( 265 | 1E744267295FCAC1E013E6B9E9AD31F4 /* Pods-StringInChain_Tests-umbrella.h in Headers */, 266 | ); 267 | runOnlyForDeploymentPostprocessing = 0; 268 | }; 269 | A4991A16B95EB30C425796F2B5622C0D /* Headers */ = { 270 | isa = PBXHeadersBuildPhase; 271 | buildActionMask = 2147483647; 272 | files = ( 273 | 6C66C2E024C5A228B924AA6145A14F9D /* Pods-StringInChain_Example-umbrella.h in Headers */, 274 | ); 275 | runOnlyForDeploymentPostprocessing = 0; 276 | }; 277 | /* End PBXHeadersBuildPhase section */ 278 | 279 | /* Begin PBXNativeTarget section */ 280 | 5D612CC344F6E69ECA822A23980208A4 /* Pods-StringInChain_Tests */ = { 281 | isa = PBXNativeTarget; 282 | buildConfigurationList = ED54D00C52A85E5E3603E44B0267537C /* Build configuration list for PBXNativeTarget "Pods-StringInChain_Tests" */; 283 | buildPhases = ( 284 | E17D93D1B334DC63AFB345C558011F8A /* Sources */, 285 | 2B7658B4A993A355B226B848AA1B4770 /* Frameworks */, 286 | 89E890E74178C127BFF9ECD8BCC31CEE /* Headers */, 287 | ); 288 | buildRules = ( 289 | ); 290 | dependencies = ( 291 | ); 292 | name = "Pods-StringInChain_Tests"; 293 | productName = "Pods-StringInChain_Tests"; 294 | productReference = D1FA08E001B022BA350EC27DC44551BB /* Pods_StringInChain_Tests.framework */; 295 | productType = "com.apple.product-type.framework"; 296 | }; 297 | 7BB785401E4E2EEF5592AEE0E9680F5E /* Pods-StringInChain_Example */ = { 298 | isa = PBXNativeTarget; 299 | buildConfigurationList = 69219B8B541581CF3389BE7B3C090512 /* Build configuration list for PBXNativeTarget "Pods-StringInChain_Example" */; 300 | buildPhases = ( 301 | 922B037106727415E627D9F1EF8DC374 /* Sources */, 302 | AEAFC7205FC85B550879C61AB55FF9E4 /* Frameworks */, 303 | A4991A16B95EB30C425796F2B5622C0D /* Headers */, 304 | ); 305 | buildRules = ( 306 | ); 307 | dependencies = ( 308 | 2859D762E231A8EF300290C2D7DF6341 /* PBXTargetDependency */, 309 | ); 310 | name = "Pods-StringInChain_Example"; 311 | productName = "Pods-StringInChain_Example"; 312 | productReference = DB2A32DAC949C8836B92053D81B6E878 /* Pods_StringInChain_Example.framework */; 313 | productType = "com.apple.product-type.framework"; 314 | }; 315 | 973715EBD6C03B0E4C288B7678C0ED5F /* StringInChain-StringInChain */ = { 316 | isa = PBXNativeTarget; 317 | buildConfigurationList = 2ECDE7D193A131047A5EBAA7B13B15FF /* Build configuration list for PBXNativeTarget "StringInChain-StringInChain" */; 318 | buildPhases = ( 319 | 1C694597B22A14AE0D13DE98FDDC5DEE /* Sources */, 320 | 144E62767587AB34DF947301FF2A7E69 /* Frameworks */, 321 | FD5E7B3ED4370E0DB42EF19C9A35D2CE /* Resources */, 322 | ); 323 | buildRules = ( 324 | ); 325 | dependencies = ( 326 | ); 327 | name = "StringInChain-StringInChain"; 328 | productName = "StringInChain-StringInChain"; 329 | productReference = 2AF6CF241A52BEE64B64243D58B3B1DA /* StringInChain.bundle */; 330 | productType = "com.apple.product-type.bundle"; 331 | }; 332 | A14076733F1EE63EB7594B9CDB01D6FA /* StringInChain */ = { 333 | isa = PBXNativeTarget; 334 | buildConfigurationList = 5107F40EF7A0AAB154B46EE63CE750D5 /* Build configuration list for PBXNativeTarget "StringInChain" */; 335 | buildPhases = ( 336 | DF4A2A28D8653E13D589AC8DE54433EA /* Sources */, 337 | 76D6E7C463F6FBAF82F9EF8701F22226 /* Frameworks */, 338 | D90448D138CD94B9B59A113568A67777 /* Resources */, 339 | 0E876EB65D63E46FA247E64460E4E3FC /* Headers */, 340 | ); 341 | buildRules = ( 342 | ); 343 | dependencies = ( 344 | E9D16D78723EEFBC8F0E79D63B9461CE /* PBXTargetDependency */, 345 | ); 346 | name = StringInChain; 347 | productName = StringInChain; 348 | productReference = 40F719C4FF96E7FFA630FC7907F723FA /* StringInChain.framework */; 349 | productType = "com.apple.product-type.framework"; 350 | }; 351 | /* End PBXNativeTarget section */ 352 | 353 | /* Begin PBXProject section */ 354 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 355 | isa = PBXProject; 356 | attributes = { 357 | <<<<<<< HEAD 358 | LastSwiftUpdateCheck = 0730; 359 | LastUpgradeCheck = 0700; 360 | TargetAttributes = { 361 | 7BB785401E4E2EEF5592AEE0E9680F5E = { 362 | LastSwiftMigration = 0800; 363 | }; 364 | A14076733F1EE63EB7594B9CDB01D6FA = { 365 | ======= 366 | LastSwiftUpdateCheck = 0700; 367 | LastUpgradeCheck = 0640; 368 | TargetAttributes = { 369 | DCAC6A167E9B280CA3328DA8 = { 370 | >>>>>>> 35f3cb7191939e164e98b259adb64dcaca334a57 371 | LastSwiftMigration = 0800; 372 | }; 373 | }; 374 | }; 375 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 376 | compatibilityVersion = "Xcode 3.2"; 377 | developmentRegion = English; 378 | hasScannedForEncodings = 0; 379 | knownRegions = ( 380 | en, 381 | ); 382 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 383 | productRefGroup = 80B5DCFB39B2C0C65DA459A71C8C38DF /* Products */; 384 | projectDirPath = ""; 385 | projectRoot = ""; 386 | targets = ( 387 | 7BB785401E4E2EEF5592AEE0E9680F5E /* Pods-StringInChain_Example */, 388 | 5D612CC344F6E69ECA822A23980208A4 /* Pods-StringInChain_Tests */, 389 | A14076733F1EE63EB7594B9CDB01D6FA /* StringInChain */, 390 | 973715EBD6C03B0E4C288B7678C0ED5F /* StringInChain-StringInChain */, 391 | ); 392 | }; 393 | /* End PBXProject section */ 394 | 395 | /* Begin PBXResourcesBuildPhase section */ 396 | D90448D138CD94B9B59A113568A67777 /* Resources */ = { 397 | isa = PBXResourcesBuildPhase; 398 | buildActionMask = 2147483647; 399 | files = ( 400 | 6F925055457D2FF16C6B390A1AAD7A10 /* StringInChain.bundle in Resources */, 401 | ); 402 | runOnlyForDeploymentPostprocessing = 0; 403 | }; 404 | FD5E7B3ED4370E0DB42EF19C9A35D2CE /* Resources */ = { 405 | isa = PBXResourcesBuildPhase; 406 | buildActionMask = 2147483647; 407 | files = ( 408 | ); 409 | runOnlyForDeploymentPostprocessing = 0; 410 | }; 411 | /* End PBXResourcesBuildPhase section */ 412 | 413 | /* Begin PBXSourcesBuildPhase section */ 414 | 1C694597B22A14AE0D13DE98FDDC5DEE /* Sources */ = { 415 | isa = PBXSourcesBuildPhase; 416 | buildActionMask = 2147483647; 417 | files = ( 418 | ); 419 | runOnlyForDeploymentPostprocessing = 0; 420 | }; 421 | 922B037106727415E627D9F1EF8DC374 /* Sources */ = { 422 | isa = PBXSourcesBuildPhase; 423 | buildActionMask = 2147483647; 424 | files = ( 425 | B48ECF098D34BCC2D5856A34A46F2ECB /* Pods-StringInChain_Example-dummy.m in Sources */, 426 | ); 427 | runOnlyForDeploymentPostprocessing = 0; 428 | }; 429 | DF4A2A28D8653E13D589AC8DE54433EA /* Sources */ = { 430 | isa = PBXSourcesBuildPhase; 431 | buildActionMask = 2147483647; 432 | files = ( 433 | 91AC20BCC3F3D7352F0636118F97E122 /* String+Chain.swift in Sources */, 434 | CF0076DA9086000F74087B54A726B362 /* StringInChain+Attributes.swift in Sources */, 435 | 96E5B527DF9D7ADC050820DF5CDE0C5D /* StringInChain-dummy.m in Sources */, 436 | 90852E6DB0876310E26B117645AC5144 /* StringInChain.swift in Sources */, 437 | ); 438 | runOnlyForDeploymentPostprocessing = 0; 439 | }; 440 | E17D93D1B334DC63AFB345C558011F8A /* Sources */ = { 441 | isa = PBXSourcesBuildPhase; 442 | buildActionMask = 2147483647; 443 | files = ( 444 | 0BD14B5B2059B5DF4226BFCC89E7B2A2 /* Pods-StringInChain_Tests-dummy.m in Sources */, 445 | ); 446 | runOnlyForDeploymentPostprocessing = 0; 447 | }; 448 | /* End PBXSourcesBuildPhase section */ 449 | 450 | /* Begin PBXTargetDependency section */ 451 | 2859D762E231A8EF300290C2D7DF6341 /* PBXTargetDependency */ = { 452 | isa = PBXTargetDependency; 453 | name = StringInChain; 454 | target = A14076733F1EE63EB7594B9CDB01D6FA /* StringInChain */; 455 | targetProxy = D51FB179069C06EC96392754CC3F36FD /* PBXContainerItemProxy */; 456 | }; 457 | E9D16D78723EEFBC8F0E79D63B9461CE /* PBXTargetDependency */ = { 458 | isa = PBXTargetDependency; 459 | name = "StringInChain-StringInChain"; 460 | target = 973715EBD6C03B0E4C288B7678C0ED5F /* StringInChain-StringInChain */; 461 | targetProxy = 36162768FD9AEC1FD29F05049995AA2D /* PBXContainerItemProxy */; 462 | }; 463 | /* End PBXTargetDependency section */ 464 | 465 | /* Begin XCBuildConfiguration section */ 466 | 0ACDCBCB0B6796575F46FFA2F5410C6B /* Release */ = { 467 | isa = XCBuildConfiguration; 468 | buildSettings = { 469 | ALWAYS_SEARCH_USER_PATHS = NO; 470 | CLANG_ANALYZER_NONNULL = YES; 471 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 472 | CLANG_CXX_LIBRARY = "libc++"; 473 | CLANG_ENABLE_MODULES = YES; 474 | CLANG_ENABLE_OBJC_ARC = YES; 475 | CLANG_WARN_BOOL_CONVERSION = YES; 476 | CLANG_WARN_CONSTANT_CONVERSION = YES; 477 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 478 | CLANG_WARN_EMPTY_BODY = YES; 479 | CLANG_WARN_ENUM_CONVERSION = YES; 480 | CLANG_WARN_INT_CONVERSION = YES; 481 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 482 | CLANG_WARN_UNREACHABLE_CODE = YES; 483 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 484 | COPY_PHASE_STRIP = YES; 485 | ENABLE_NS_ASSERTIONS = NO; 486 | GCC_C_LANGUAGE_STANDARD = gnu99; 487 | GCC_PREPROCESSOR_DEFINITIONS = ( 488 | "POD_CONFIGURATION_RELEASE=1", 489 | "$(inherited)", 490 | ); 491 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 492 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 493 | GCC_WARN_UNDECLARED_SELECTOR = YES; 494 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 495 | GCC_WARN_UNUSED_FUNCTION = YES; 496 | GCC_WARN_UNUSED_VARIABLE = YES; 497 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 498 | STRIP_INSTALLED_PRODUCT = NO; 499 | SYMROOT = "${SRCROOT}/../build"; 500 | VALIDATE_PRODUCT = YES; 501 | }; 502 | name = Release; 503 | }; 504 | 2A7F4A87BC25F1B03289ED0881248389 /* Release */ = { 505 | isa = XCBuildConfiguration; 506 | baseConfigurationReference = 2E14160175B2EE66F5BD2F99E3E8625E /* Pods-StringInChain_Tests.release.xcconfig */; 507 | buildSettings = { 508 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 509 | CURRENT_PROJECT_VERSION = 1; 510 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 511 | DEFINES_MODULE = YES; 512 | DYLIB_COMPATIBILITY_VERSION = 1; 513 | DYLIB_CURRENT_VERSION = 1; 514 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 515 | ENABLE_STRICT_OBJC_MSGSEND = YES; 516 | GCC_NO_COMMON_BLOCKS = YES; 517 | INFOPLIST_FILE = "Target Support Files/Pods-StringInChain_Tests/Info.plist"; 518 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 519 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 520 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 521 | MACH_O_TYPE = staticlib; 522 | MODULEMAP_FILE = "Target Support Files/Pods-StringInChain_Tests/Pods-StringInChain_Tests.modulemap"; 523 | MTL_ENABLE_DEBUG_INFO = NO; 524 | OTHER_LDFLAGS = ""; 525 | OTHER_LIBTOOLFLAGS = ""; 526 | PODS_ROOT = "$(SRCROOT)"; 527 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 528 | PRODUCT_NAME = Pods_StringInChain_Tests; 529 | SDKROOT = iphoneos; 530 | SKIP_INSTALL = YES; 531 | TARGETED_DEVICE_FAMILY = "1,2"; 532 | VERSIONING_SYSTEM = "apple-generic"; 533 | VERSION_INFO_PREFIX = ""; 534 | }; 535 | name = Release; 536 | }; 537 | 2E3D29A996AF5A16527EA771C3AD6CC7 /* Release */ = { 538 | isa = XCBuildConfiguration; 539 | baseConfigurationReference = 5163C67884273552E3E9984268137715 /* Pods-StringInChain_Example.release.xcconfig */; 540 | buildSettings = { 541 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 542 | CURRENT_PROJECT_VERSION = 1; 543 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 544 | DEFINES_MODULE = YES; 545 | DYLIB_COMPATIBILITY_VERSION = 1; 546 | DYLIB_CURRENT_VERSION = 1; 547 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 548 | ENABLE_STRICT_OBJC_MSGSEND = YES; 549 | GCC_NO_COMMON_BLOCKS = YES; 550 | INFOPLIST_FILE = "Target Support Files/Pods-StringInChain_Example/Info.plist"; 551 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 552 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 553 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 554 | MACH_O_TYPE = staticlib; 555 | MODULEMAP_FILE = "Target Support Files/Pods-StringInChain_Example/Pods-StringInChain_Example.modulemap"; 556 | MTL_ENABLE_DEBUG_INFO = NO; 557 | OTHER_LDFLAGS = ""; 558 | OTHER_LIBTOOLFLAGS = ""; 559 | PODS_ROOT = "$(SRCROOT)"; 560 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 561 | PRODUCT_NAME = Pods_StringInChain_Example; 562 | SDKROOT = iphoneos; 563 | SKIP_INSTALL = YES; 564 | SWIFT_VERSION = 3.0; 565 | TARGETED_DEVICE_FAMILY = "1,2"; 566 | VERSIONING_SYSTEM = "apple-generic"; 567 | VERSION_INFO_PREFIX = ""; 568 | }; 569 | name = Release; 570 | }; 571 | 3C81242019A2E999A72E6BFE58E46215 /* Release */ = { 572 | isa = XCBuildConfiguration; 573 | baseConfigurationReference = DE02241131B693C0A390840DD0929C2A /* StringInChain.xcconfig */; 574 | buildSettings = { 575 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 576 | CURRENT_PROJECT_VERSION = 1; 577 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 578 | DEFINES_MODULE = YES; 579 | DYLIB_COMPATIBILITY_VERSION = 1; 580 | DYLIB_CURRENT_VERSION = 1; 581 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 582 | ENABLE_STRICT_OBJC_MSGSEND = YES; 583 | GCC_NO_COMMON_BLOCKS = YES; 584 | GCC_PREFIX_HEADER = "Target Support Files/StringInChain/StringInChain-prefix.pch"; 585 | INFOPLIST_FILE = "Target Support Files/StringInChain/Info.plist"; 586 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 587 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 588 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 589 | MODULEMAP_FILE = "Target Support Files/StringInChain/StringInChain.modulemap"; 590 | MTL_ENABLE_DEBUG_INFO = NO; 591 | PRODUCT_NAME = StringInChain; 592 | SDKROOT = iphoneos; 593 | SKIP_INSTALL = YES; 594 | SWIFT_VERSION = 3.0; 595 | TARGETED_DEVICE_FAMILY = "1,2"; 596 | VERSIONING_SYSTEM = "apple-generic"; 597 | VERSION_INFO_PREFIX = ""; 598 | }; 599 | name = Release; 600 | }; 601 | 4B05DD132E923163CC9C8461FA73EE81 /* Debug */ = { 602 | isa = XCBuildConfiguration; 603 | baseConfigurationReference = 75DFFD20CC8F265157FE2A94D49F5E55 /* Pods-StringInChain_Tests.debug.xcconfig */; 604 | buildSettings = { 605 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 606 | CURRENT_PROJECT_VERSION = 1; 607 | DEBUG_INFORMATION_FORMAT = dwarf; 608 | DEFINES_MODULE = YES; 609 | DYLIB_COMPATIBILITY_VERSION = 1; 610 | DYLIB_CURRENT_VERSION = 1; 611 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 612 | ENABLE_STRICT_OBJC_MSGSEND = YES; 613 | GCC_NO_COMMON_BLOCKS = YES; 614 | INFOPLIST_FILE = "Target Support Files/Pods-StringInChain_Tests/Info.plist"; 615 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 616 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 617 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 618 | MACH_O_TYPE = staticlib; 619 | MODULEMAP_FILE = "Target Support Files/Pods-StringInChain_Tests/Pods-StringInChain_Tests.modulemap"; 620 | MTL_ENABLE_DEBUG_INFO = YES; 621 | OTHER_LDFLAGS = ""; 622 | OTHER_LIBTOOLFLAGS = ""; 623 | PODS_ROOT = "$(SRCROOT)"; 624 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 625 | PRODUCT_NAME = Pods_StringInChain_Tests; 626 | SDKROOT = iphoneos; 627 | SKIP_INSTALL = YES; 628 | TARGETED_DEVICE_FAMILY = "1,2"; 629 | VERSIONING_SYSTEM = "apple-generic"; 630 | VERSION_INFO_PREFIX = ""; 631 | }; 632 | name = Debug; 633 | }; 634 | 699EEF726DE488E3DAEB783F1F004C40 /* Debug */ = { 635 | isa = XCBuildConfiguration; 636 | baseConfigurationReference = DF13AABAA30F288537B6CD8FA1F85741 /* Pods-StringInChain_Example.debug.xcconfig */; 637 | buildSettings = { 638 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 639 | CURRENT_PROJECT_VERSION = 1; 640 | DEBUG_INFORMATION_FORMAT = dwarf; 641 | DEFINES_MODULE = YES; 642 | DYLIB_COMPATIBILITY_VERSION = 1; 643 | DYLIB_CURRENT_VERSION = 1; 644 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 645 | ENABLE_STRICT_OBJC_MSGSEND = YES; 646 | GCC_NO_COMMON_BLOCKS = YES; 647 | INFOPLIST_FILE = "Target Support Files/Pods-StringInChain_Example/Info.plist"; 648 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 649 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 650 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 651 | MACH_O_TYPE = staticlib; 652 | MODULEMAP_FILE = "Target Support Files/Pods-StringInChain_Example/Pods-StringInChain_Example.modulemap"; 653 | MTL_ENABLE_DEBUG_INFO = YES; 654 | OTHER_LDFLAGS = ""; 655 | OTHER_LIBTOOLFLAGS = ""; 656 | PODS_ROOT = "$(SRCROOT)"; 657 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 658 | PRODUCT_NAME = Pods_StringInChain_Example; 659 | SDKROOT = iphoneos; 660 | SKIP_INSTALL = YES; 661 | <<<<<<< HEAD 662 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 663 | ======= 664 | >>>>>>> 35f3cb7191939e164e98b259adb64dcaca334a57 665 | SWIFT_VERSION = 3.0; 666 | TARGETED_DEVICE_FAMILY = "1,2"; 667 | VERSIONING_SYSTEM = "apple-generic"; 668 | VERSION_INFO_PREFIX = ""; 669 | }; 670 | name = Debug; 671 | }; 672 | 8FA6756BA4BAA92BD34151D792904B5B /* Debug */ = { 673 | isa = XCBuildConfiguration; 674 | baseConfigurationReference = DE02241131B693C0A390840DD0929C2A /* StringInChain.xcconfig */; 675 | buildSettings = { 676 | CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/StringInChain"; 677 | ENABLE_STRICT_OBJC_MSGSEND = YES; 678 | GCC_NO_COMMON_BLOCKS = YES; 679 | INFOPLIST_FILE = "Target Support Files/StringInChain/ResourceBundle-StringInChain-Info.plist"; 680 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 681 | PRODUCT_NAME = StringInChain; 682 | SDKROOT = iphoneos; 683 | SKIP_INSTALL = YES; 684 | TARGETED_DEVICE_FAMILY = "1,2"; 685 | WRAPPER_EXTENSION = bundle; 686 | }; 687 | name = Debug; 688 | }; 689 | B76A677CAC33E570FCE11328533DE17F /* Debug */ = { 690 | isa = XCBuildConfiguration; 691 | baseConfigurationReference = DE02241131B693C0A390840DD0929C2A /* StringInChain.xcconfig */; 692 | buildSettings = { 693 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 694 | CURRENT_PROJECT_VERSION = 1; 695 | DEBUG_INFORMATION_FORMAT = dwarf; 696 | DEFINES_MODULE = YES; 697 | DYLIB_COMPATIBILITY_VERSION = 1; 698 | DYLIB_CURRENT_VERSION = 1; 699 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 700 | ENABLE_STRICT_OBJC_MSGSEND = YES; 701 | GCC_NO_COMMON_BLOCKS = YES; 702 | GCC_PREFIX_HEADER = "Target Support Files/StringInChain/StringInChain-prefix.pch"; 703 | INFOPLIST_FILE = "Target Support Files/StringInChain/Info.plist"; 704 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 705 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 706 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 707 | MODULEMAP_FILE = "Target Support Files/StringInChain/StringInChain.modulemap"; 708 | MTL_ENABLE_DEBUG_INFO = YES; 709 | PRODUCT_NAME = StringInChain; 710 | SDKROOT = iphoneos; 711 | SKIP_INSTALL = YES; 712 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 713 | SWIFT_VERSION = 3.0; 714 | TARGETED_DEVICE_FAMILY = "1,2"; 715 | VERSIONING_SYSTEM = "apple-generic"; 716 | VERSION_INFO_PREFIX = ""; 717 | }; 718 | name = Debug; 719 | }; 720 | D3E3D092A3FF7311A98E44BBA36FFD12 /* Debug */ = { 721 | isa = XCBuildConfiguration; 722 | buildSettings = { 723 | ALWAYS_SEARCH_USER_PATHS = NO; 724 | CLANG_ANALYZER_NONNULL = YES; 725 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 726 | CLANG_CXX_LIBRARY = "libc++"; 727 | CLANG_ENABLE_MODULES = YES; 728 | CLANG_ENABLE_OBJC_ARC = YES; 729 | CLANG_WARN_BOOL_CONVERSION = YES; 730 | CLANG_WARN_CONSTANT_CONVERSION = YES; 731 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 732 | CLANG_WARN_EMPTY_BODY = YES; 733 | CLANG_WARN_ENUM_CONVERSION = YES; 734 | CLANG_WARN_INT_CONVERSION = YES; 735 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 736 | CLANG_WARN_UNREACHABLE_CODE = YES; 737 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 738 | COPY_PHASE_STRIP = NO; 739 | ENABLE_TESTABILITY = YES; 740 | GCC_C_LANGUAGE_STANDARD = gnu99; 741 | GCC_DYNAMIC_NO_PIC = NO; 742 | GCC_OPTIMIZATION_LEVEL = 0; 743 | GCC_PREPROCESSOR_DEFINITIONS = ( 744 | "POD_CONFIGURATION_DEBUG=1", 745 | "DEBUG=1", 746 | "$(inherited)", 747 | ); 748 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 749 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 750 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 751 | GCC_WARN_UNDECLARED_SELECTOR = YES; 752 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 753 | GCC_WARN_UNUSED_FUNCTION = YES; 754 | GCC_WARN_UNUSED_VARIABLE = YES; 755 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 756 | ONLY_ACTIVE_ARCH = YES; 757 | STRIP_INSTALLED_PRODUCT = NO; 758 | SYMROOT = "${SRCROOT}/../build"; 759 | }; 760 | name = Debug; 761 | }; 762 | <<<<<<< HEAD 763 | E012B92491596B70337D7500B9D953D3 /* Release */ = { 764 | ======= 765 | 9E34F765B8E20E503EEBB927 /* Release */ = { 766 | isa = XCBuildConfiguration; 767 | baseConfigurationReference = 314F9364941FA1FF9E5C76DE /* Pods-StringInChain_Tests.release.xcconfig */; 768 | buildSettings = { 769 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 770 | CURRENT_PROJECT_VERSION = 1; 771 | DEFINES_MODULE = YES; 772 | DYLIB_COMPATIBILITY_VERSION = 1; 773 | DYLIB_CURRENT_VERSION = 1; 774 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 775 | ENABLE_STRICT_OBJC_MSGSEND = YES; 776 | INFOPLIST_FILE = "Target Support Files/Pods-StringInChain_Tests/Info.plist"; 777 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 778 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 779 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 780 | MODULEMAP_FILE = "Target Support Files/Pods-StringInChain_Tests/Pods-StringInChain_Tests.modulemap"; 781 | MTL_ENABLE_DEBUG_INFO = NO; 782 | OTHER_LDFLAGS = ""; 783 | OTHER_LIBTOOLFLAGS = ""; 784 | PODS_ROOT = "$(SRCROOT)"; 785 | PRODUCT_NAME = Pods_StringInChain_Tests; 786 | SDKROOT = iphoneos; 787 | SKIP_INSTALL = YES; 788 | TARGETED_DEVICE_FAMILY = "1,2"; 789 | VERSIONING_SYSTEM = "apple-generic"; 790 | VERSION_INFO_PREFIX = ""; 791 | }; 792 | name = Release; 793 | }; 794 | B46174846E6F5534522AEF29 /* Release */ = { 795 | isa = XCBuildConfiguration; 796 | baseConfigurationReference = 28877582F76D3655A18BE4FB /* Pods-StringInChain_Tests-Nimble-Private.xcconfig */; 797 | buildSettings = { 798 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 799 | CURRENT_PROJECT_VERSION = 1; 800 | DEFINES_MODULE = YES; 801 | DYLIB_COMPATIBILITY_VERSION = 1; 802 | DYLIB_CURRENT_VERSION = 1; 803 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 804 | ENABLE_STRICT_OBJC_MSGSEND = YES; 805 | GCC_PREFIX_HEADER = "Target Support Files/Pods-StringInChain_Tests-Nimble/Pods-StringInChain_Tests-Nimble-prefix.pch"; 806 | INFOPLIST_FILE = "Target Support Files/Pods-StringInChain_Tests-Nimble/Info.plist"; 807 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 808 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 809 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 810 | MODULEMAP_FILE = "Target Support Files/Pods-StringInChain_Tests-Nimble/Pods-StringInChain_Tests-Nimble.modulemap"; 811 | MTL_ENABLE_DEBUG_INFO = NO; 812 | PRODUCT_NAME = Nimble; 813 | SDKROOT = iphoneos; 814 | SKIP_INSTALL = YES; 815 | TARGETED_DEVICE_FAMILY = "1,2"; 816 | VERSIONING_SYSTEM = "apple-generic"; 817 | VERSION_INFO_PREFIX = ""; 818 | }; 819 | name = Release; 820 | }; 821 | B6B12DB1A028DCBB8DEC2C73 /* Debug */ = { 822 | isa = XCBuildConfiguration; 823 | baseConfigurationReference = 28877582F76D3655A18BE4FB /* Pods-StringInChain_Tests-Nimble-Private.xcconfig */; 824 | buildSettings = { 825 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 826 | CURRENT_PROJECT_VERSION = 1; 827 | DEFINES_MODULE = YES; 828 | DYLIB_COMPATIBILITY_VERSION = 1; 829 | DYLIB_CURRENT_VERSION = 1; 830 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 831 | ENABLE_STRICT_OBJC_MSGSEND = YES; 832 | GCC_PREFIX_HEADER = "Target Support Files/Pods-StringInChain_Tests-Nimble/Pods-StringInChain_Tests-Nimble-prefix.pch"; 833 | INFOPLIST_FILE = "Target Support Files/Pods-StringInChain_Tests-Nimble/Info.plist"; 834 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 835 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 836 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 837 | MODULEMAP_FILE = "Target Support Files/Pods-StringInChain_Tests-Nimble/Pods-StringInChain_Tests-Nimble.modulemap"; 838 | MTL_ENABLE_DEBUG_INFO = YES; 839 | PRODUCT_NAME = Nimble; 840 | SDKROOT = iphoneos; 841 | SKIP_INSTALL = YES; 842 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 843 | TARGETED_DEVICE_FAMILY = "1,2"; 844 | VERSIONING_SYSTEM = "apple-generic"; 845 | VERSION_INFO_PREFIX = ""; 846 | }; 847 | name = Debug; 848 | }; 849 | BABEF04ABF86A24D0DFE114E /* Debug */ = { 850 | isa = XCBuildConfiguration; 851 | baseConfigurationReference = CEEA73FAF3C788158075968C /* Pods-StringInChain_Example-StringInChain-Private.xcconfig */; 852 | buildSettings = { 853 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 854 | CURRENT_PROJECT_VERSION = 1; 855 | DEFINES_MODULE = YES; 856 | DYLIB_COMPATIBILITY_VERSION = 1; 857 | DYLIB_CURRENT_VERSION = 1; 858 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 859 | ENABLE_STRICT_OBJC_MSGSEND = YES; 860 | GCC_PREFIX_HEADER = "Target Support Files/Pods-StringInChain_Example-StringInChain/Pods-StringInChain_Example-StringInChain-prefix.pch"; 861 | INFOPLIST_FILE = "Target Support Files/Pods-StringInChain_Example-StringInChain/Info.plist"; 862 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 863 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 864 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 865 | MODULEMAP_FILE = "Target Support Files/Pods-StringInChain_Example-StringInChain/Pods-StringInChain_Example-StringInChain.modulemap"; 866 | MTL_ENABLE_DEBUG_INFO = YES; 867 | PRODUCT_NAME = StringInChain; 868 | SDKROOT = iphoneos; 869 | SKIP_INSTALL = YES; 870 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 871 | SWIFT_VERSION = 3.0; 872 | TARGETED_DEVICE_FAMILY = "1,2"; 873 | VERSIONING_SYSTEM = "apple-generic"; 874 | VERSION_INFO_PREFIX = ""; 875 | }; 876 | name = Debug; 877 | }; 878 | E3E5BC4AF16DAE4E515A91A4 /* Debug */ = { 879 | isa = XCBuildConfiguration; 880 | baseConfigurationReference = CDD0694B75EC8DE6AE47C9DB /* Pods-StringInChain_Example.debug.xcconfig */; 881 | buildSettings = { 882 | CLANG_ENABLE_MODULES = YES; 883 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 884 | CURRENT_PROJECT_VERSION = 1; 885 | DEFINES_MODULE = YES; 886 | DYLIB_COMPATIBILITY_VERSION = 1; 887 | DYLIB_CURRENT_VERSION = 1; 888 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 889 | ENABLE_STRICT_OBJC_MSGSEND = YES; 890 | INFOPLIST_FILE = "Target Support Files/Pods-StringInChain_Example/Info.plist"; 891 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 892 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 893 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 894 | MODULEMAP_FILE = "Target Support Files/Pods-StringInChain_Example/Pods-StringInChain_Example.modulemap"; 895 | MTL_ENABLE_DEBUG_INFO = YES; 896 | OTHER_LDFLAGS = ""; 897 | OTHER_LIBTOOLFLAGS = ""; 898 | PODS_ROOT = "$(SRCROOT)"; 899 | PRODUCT_NAME = Pods_StringInChain_Example; 900 | SDKROOT = iphoneos; 901 | SKIP_INSTALL = YES; 902 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 903 | TARGETED_DEVICE_FAMILY = "1,2"; 904 | VERSIONING_SYSTEM = "apple-generic"; 905 | VERSION_INFO_PREFIX = ""; 906 | }; 907 | name = Debug; 908 | }; 909 | F1A0B0BA3349D208B3DBFD82 /* Release */ = { 910 | >>>>>>> 35f3cb7191939e164e98b259adb64dcaca334a57 911 | isa = XCBuildConfiguration; 912 | baseConfigurationReference = DE02241131B693C0A390840DD0929C2A /* StringInChain.xcconfig */; 913 | buildSettings = { 914 | CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/StringInChain"; 915 | ENABLE_STRICT_OBJC_MSGSEND = YES; 916 | GCC_NO_COMMON_BLOCKS = YES; 917 | INFOPLIST_FILE = "Target Support Files/StringInChain/ResourceBundle-StringInChain-Info.plist"; 918 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 919 | PRODUCT_NAME = StringInChain; 920 | SDKROOT = iphoneos; 921 | SKIP_INSTALL = YES; 922 | TARGETED_DEVICE_FAMILY = "1,2"; 923 | WRAPPER_EXTENSION = bundle; 924 | }; 925 | name = Release; 926 | }; 927 | /* End XCBuildConfiguration section */ 928 | 929 | /* Begin XCConfigurationList section */ 930 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 931 | isa = XCConfigurationList; 932 | buildConfigurations = ( 933 | D3E3D092A3FF7311A98E44BBA36FFD12 /* Debug */, 934 | 0ACDCBCB0B6796575F46FFA2F5410C6B /* Release */, 935 | ); 936 | defaultConfigurationIsVisible = 0; 937 | defaultConfigurationName = Release; 938 | }; 939 | 2ECDE7D193A131047A5EBAA7B13B15FF /* Build configuration list for PBXNativeTarget "StringInChain-StringInChain" */ = { 940 | isa = XCConfigurationList; 941 | buildConfigurations = ( 942 | 8FA6756BA4BAA92BD34151D792904B5B /* Debug */, 943 | E012B92491596B70337D7500B9D953D3 /* Release */, 944 | ); 945 | defaultConfigurationIsVisible = 0; 946 | defaultConfigurationName = Release; 947 | }; 948 | 5107F40EF7A0AAB154B46EE63CE750D5 /* Build configuration list for PBXNativeTarget "StringInChain" */ = { 949 | isa = XCConfigurationList; 950 | buildConfigurations = ( 951 | B76A677CAC33E570FCE11328533DE17F /* Debug */, 952 | 3C81242019A2E999A72E6BFE58E46215 /* Release */, 953 | ); 954 | defaultConfigurationIsVisible = 0; 955 | defaultConfigurationName = Release; 956 | }; 957 | 69219B8B541581CF3389BE7B3C090512 /* Build configuration list for PBXNativeTarget "Pods-StringInChain_Example" */ = { 958 | isa = XCConfigurationList; 959 | buildConfigurations = ( 960 | 699EEF726DE488E3DAEB783F1F004C40 /* Debug */, 961 | 2E3D29A996AF5A16527EA771C3AD6CC7 /* Release */, 962 | ); 963 | defaultConfigurationIsVisible = 0; 964 | defaultConfigurationName = Release; 965 | }; 966 | ED54D00C52A85E5E3603E44B0267537C /* Build configuration list for PBXNativeTarget "Pods-StringInChain_Tests" */ = { 967 | isa = XCConfigurationList; 968 | buildConfigurations = ( 969 | 4B05DD132E923163CC9C8461FA73EE81 /* Debug */, 970 | 2A7F4A87BC25F1B03289ED0881248389 /* Release */, 971 | ); 972 | defaultConfigurationIsVisible = 0; 973 | defaultConfigurationName = Release; 974 | }; 975 | /* End XCConfigurationList section */ 976 | }; 977 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 978 | } 979 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-StringInChain_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-StringInChain_Example/Pods-StringInChain_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## StringInChain 5 | 6 | Copyright (c) 2015 Lukasz Solniczek 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-StringInChain_Example/Pods-StringInChain_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) 2015 Lukasz Solniczek <l.solniczek@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 | Title 38 | StringInChain 39 | Type 40 | PSGroupSpecifier 41 | 42 | 43 | FooterText 44 | Generated by CocoaPods - https://cocoapods.org 45 | Title 46 | 47 | Type 48 | PSGroupSpecifier 49 | 50 | 51 | StringsTable 52 | Acknowledgements 53 | Title 54 | Acknowledgements 55 | 56 | 57 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-StringInChain_Example/Pods-StringInChain_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_StringInChain_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_StringInChain_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-StringInChain_Example/Pods-StringInChain_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements \"$1\"" 63 | /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements "$1" 64 | fi 65 | } 66 | 67 | # Strip invalid architectures 68 | strip_invalid_archs() { 69 | binary="$1" 70 | # Get architectures for current file 71 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 72 | stripped="" 73 | for arch in $archs; do 74 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 75 | # Strip non-valid architectures in-place 76 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 77 | stripped="$stripped $arch" 78 | fi 79 | done 80 | if [[ "$stripped" ]]; then 81 | echo "Stripped $binary of architectures:$stripped" 82 | fi 83 | } 84 | 85 | 86 | if [[ "$CONFIGURATION" == "Debug" ]]; then 87 | install_framework "$BUILT_PRODUCTS_DIR/StringInChain/StringInChain.framework" 88 | fi 89 | if [[ "$CONFIGURATION" == "Release" ]]; then 90 | install_framework "$BUILT_PRODUCTS_DIR/StringInChain/StringInChain.framework" 91 | fi 92 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-StringInChain_Example/Pods-StringInChain_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | *) 22 | TARGET_DEVICE_ARGS="--target-device mac" 23 | ;; 24 | esac 25 | 26 | realpath() { 27 | DIRECTORY="$(cd "${1%/*}" && pwd)" 28 | FILENAME="${1##*/}" 29 | echo "$DIRECTORY/$FILENAME" 30 | } 31 | 32 | install_resource() 33 | { 34 | if [[ "$1" = /* ]] ; then 35 | RESOURCE_PATH="$1" 36 | else 37 | RESOURCE_PATH="${PODS_ROOT}/$1" 38 | fi 39 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 40 | cat << EOM 41 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 42 | EOM 43 | exit 1 44 | fi 45 | case $RESOURCE_PATH in 46 | *.storyboard) 47 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 48 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 49 | ;; 50 | *.xib) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.framework) 55 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 57 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 58 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 59 | ;; 60 | *.xcdatamodel) 61 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 62 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 63 | ;; 64 | *.xcdatamodeld) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 67 | ;; 68 | *.xcmappingmodel) 69 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 70 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 71 | ;; 72 | *.xcassets) 73 | ABSOLUTE_XCASSET_FILE=$(realpath "$RESOURCE_PATH") 74 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 75 | ;; 76 | *) 77 | echo "$RESOURCE_PATH" 78 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 79 | ;; 80 | esac 81 | } 82 | 83 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 86 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 87 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | fi 89 | rm -f "$RESOURCES_TO_COPY" 90 | 91 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 92 | then 93 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 94 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 95 | while read line; do 96 | if [[ $line != "`realpath $PODS_ROOT`*" ]]; then 97 | XCASSET_FILES+=("$line") 98 | fi 99 | done <<<"$OTHER_XCASSETS" 100 | 101 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 102 | fi 103 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-StringInChain_Example/Pods-StringInChain_Example-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | FOUNDATION_EXPORT double Pods_StringInChain_ExampleVersionNumber; 5 | FOUNDATION_EXPORT const unsigned char Pods_StringInChain_ExampleVersionString[]; 6 | 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-StringInChain_Example/Pods-StringInChain_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | EMBEDDED_CONTENT_CONTAINS_SWIFT = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/StringInChain" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/StringInChain/StringInChain.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "StringInChain" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = $BUILD_DIR 9 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_ROOT = ${SRCROOT}/Pods 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-StringInChain_Example/Pods-StringInChain_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_StringInChain_Example { 2 | umbrella header "Pods-StringInChain_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-StringInChain_Example/Pods-StringInChain_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | EMBEDDED_CONTENT_CONTAINS_SWIFT = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/StringInChain" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/StringInChain/StringInChain.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "StringInChain" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = $BUILD_DIR 9 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_ROOT = ${SRCROOT}/Pods 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-StringInChain_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-StringInChain_Tests/Pods-StringInChain_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-StringInChain_Tests/Pods-StringInChain_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-StringInChain_Tests/Pods-StringInChain_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_StringInChain_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_StringInChain_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-StringInChain_Tests/Pods-StringInChain_Tests-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements \"$1\"" 63 | /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements "$1" 64 | fi 65 | } 66 | 67 | # Strip invalid architectures 68 | strip_invalid_archs() { 69 | binary="$1" 70 | # Get architectures for current file 71 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 72 | stripped="" 73 | for arch in $archs; do 74 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 75 | # Strip non-valid architectures in-place 76 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 77 | stripped="$stripped $arch" 78 | fi 79 | done 80 | if [[ "$stripped" ]]; then 81 | echo "Stripped $binary of architectures:$stripped" 82 | fi 83 | } 84 | 85 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-StringInChain_Tests/Pods-StringInChain_Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | *) 22 | TARGET_DEVICE_ARGS="--target-device mac" 23 | ;; 24 | esac 25 | 26 | realpath() { 27 | DIRECTORY="$(cd "${1%/*}" && pwd)" 28 | FILENAME="${1##*/}" 29 | echo "$DIRECTORY/$FILENAME" 30 | } 31 | 32 | install_resource() 33 | { 34 | if [[ "$1" = /* ]] ; then 35 | RESOURCE_PATH="$1" 36 | else 37 | RESOURCE_PATH="${PODS_ROOT}/$1" 38 | fi 39 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 40 | cat << EOM 41 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 42 | EOM 43 | exit 1 44 | fi 45 | case $RESOURCE_PATH in 46 | *.storyboard) 47 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 48 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 49 | ;; 50 | *.xib) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.framework) 55 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 57 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 58 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 59 | ;; 60 | *.xcdatamodel) 61 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 62 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 63 | ;; 64 | *.xcdatamodeld) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 67 | ;; 68 | *.xcmappingmodel) 69 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 70 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 71 | ;; 72 | *.xcassets) 73 | ABSOLUTE_XCASSET_FILE=$(realpath "$RESOURCE_PATH") 74 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 75 | ;; 76 | *) 77 | echo "$RESOURCE_PATH" 78 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 79 | ;; 80 | esac 81 | } 82 | 83 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 86 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 87 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | fi 89 | rm -f "$RESOURCES_TO_COPY" 90 | 91 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 92 | then 93 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 94 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 95 | while read line; do 96 | if [[ $line != "`realpath $PODS_ROOT`*" ]]; then 97 | XCASSET_FILES+=("$line") 98 | fi 99 | done <<<"$OTHER_XCASSETS" 100 | 101 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 102 | fi 103 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-StringInChain_Tests/Pods-StringInChain_Tests-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | FOUNDATION_EXPORT double Pods_StringInChain_TestsVersionNumber; 5 | FOUNDATION_EXPORT const unsigned char Pods_StringInChain_TestsVersionString[]; 6 | 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-StringInChain_Tests/Pods-StringInChain_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 3 | PODS_BUILD_DIR = $BUILD_DIR 4 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 5 | PODS_ROOT = ${SRCROOT}/Pods 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-StringInChain_Tests/Pods-StringInChain_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_StringInChain_Tests { 2 | umbrella header "Pods-StringInChain_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-StringInChain_Tests/Pods-StringInChain_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 3 | PODS_BUILD_DIR = $BUILD_DIR 4 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 5 | PODS_ROOT = ${SRCROOT}/Pods 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/StringInChain/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.3.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/StringInChain/ResourceBundle-StringInChain-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleIdentifier 8 | ${PRODUCT_BUNDLE_IDENTIFIER} 9 | CFBundleInfoDictionaryVersion 10 | 6.0 11 | CFBundleName 12 | ${PRODUCT_NAME} 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 0.3.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | NSPrincipalClass 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/StringInChain/StringInChain-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_StringInChain : NSObject 3 | @end 4 | @implementation PodsDummy_StringInChain 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/StringInChain/StringInChain-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/StringInChain/StringInChain-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | FOUNDATION_EXPORT double StringInChainVersionNumber; 5 | FOUNDATION_EXPORT const unsigned char StringInChainVersionString[]; 6 | 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/StringInChain/StringInChain.modulemap: -------------------------------------------------------------------------------- 1 | framework module StringInChain { 2 | umbrella header "StringInChain-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/StringInChain/StringInChain.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/StringInChain 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Example/StringInChain.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 2E68848881E1843687149E33 /* Pods_StringInChain_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A65E5BDE8389601095677CFC /* Pods_StringInChain_Tests.framework */; }; 11 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 12 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 13 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 14 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 15 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 16 | A0CC8CCFE8AEA5FC20904D19 /* Pods_StringInChain_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C5E081D03484C8BF2DBEFDE2 /* Pods_StringInChain_Example.framework */; }; 17 | /* End PBXBuildFile section */ 18 | 19 | /* Begin PBXContainerItemProxy section */ 20 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 21 | isa = PBXContainerItemProxy; 22 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 23 | proxyType = 1; 24 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 25 | remoteInfo = StringInChain; 26 | }; 27 | /* End PBXContainerItemProxy section */ 28 | 29 | /* Begin PBXFileReference section */ 30 | 1A9C79E28A12FB0EC034897D /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 31 | 5D4B9D69E3A8CF139B75A1E8 /* StringInChain.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = StringInChain.podspec; path = ../StringInChain.podspec; sourceTree = ""; }; 32 | 607FACD01AFB9204008FA782 /* StringInChain_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = StringInChain_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 33 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 34 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 35 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 36 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 37 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 38 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 39 | 607FACE51AFB9204008FA782 /* StringInChain_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = StringInChain_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 40 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 41 | A65E5BDE8389601095677CFC /* Pods_StringInChain_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_StringInChain_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 42 | AEE2B48AFB48DE9811D3EB96 /* Pods-StringInChain_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-StringInChain_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-StringInChain_Example/Pods-StringInChain_Example.debug.xcconfig"; sourceTree = ""; }; 43 | C0F4A1B8E00D0A21505604C9 /* Pods-StringInChain_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-StringInChain_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-StringInChain_Example/Pods-StringInChain_Example.release.xcconfig"; sourceTree = ""; }; 44 | C5E081D03484C8BF2DBEFDE2 /* Pods_StringInChain_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_StringInChain_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 45 | D1731BC46C3F5385AB00ABDE /* Pods-StringInChain_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-StringInChain_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-StringInChain_Tests/Pods-StringInChain_Tests.release.xcconfig"; sourceTree = ""; }; 46 | FC1A41FA9B01F713DDE2D038 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 47 | FF347A2C5B7E200B4342C203 /* Pods-StringInChain_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-StringInChain_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-StringInChain_Tests/Pods-StringInChain_Tests.debug.xcconfig"; sourceTree = ""; }; 48 | /* End PBXFileReference section */ 49 | 50 | /* Begin PBXFrameworksBuildPhase section */ 51 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 52 | isa = PBXFrameworksBuildPhase; 53 | buildActionMask = 2147483647; 54 | files = ( 55 | A0CC8CCFE8AEA5FC20904D19 /* Pods_StringInChain_Example.framework in Frameworks */, 56 | ); 57 | runOnlyForDeploymentPostprocessing = 0; 58 | }; 59 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 60 | isa = PBXFrameworksBuildPhase; 61 | buildActionMask = 2147483647; 62 | files = ( 63 | 2E68848881E1843687149E33 /* Pods_StringInChain_Tests.framework in Frameworks */, 64 | ); 65 | runOnlyForDeploymentPostprocessing = 0; 66 | }; 67 | /* End PBXFrameworksBuildPhase section */ 68 | 69 | /* Begin PBXGroup section */ 70 | 607FACC71AFB9204008FA782 = { 71 | isa = PBXGroup; 72 | children = ( 73 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 74 | 607FACD21AFB9204008FA782 /* Example for StringInChain */, 75 | 607FACE81AFB9204008FA782 /* Tests */, 76 | 607FACD11AFB9204008FA782 /* Products */, 77 | C3323D2F0D3C2E0B91FE358F /* Pods */, 78 | D276DE5041A10F8AC7A7E52A /* Frameworks */, 79 | ); 80 | sourceTree = ""; 81 | }; 82 | 607FACD11AFB9204008FA782 /* Products */ = { 83 | isa = PBXGroup; 84 | children = ( 85 | 607FACD01AFB9204008FA782 /* StringInChain_Example.app */, 86 | 607FACE51AFB9204008FA782 /* StringInChain_Tests.xctest */, 87 | ); 88 | name = Products; 89 | sourceTree = ""; 90 | }; 91 | 607FACD21AFB9204008FA782 /* Example for StringInChain */ = { 92 | isa = PBXGroup; 93 | children = ( 94 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 95 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 96 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 97 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 98 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 99 | 607FACD31AFB9204008FA782 /* Supporting Files */, 100 | ); 101 | name = "Example for StringInChain"; 102 | path = StringInChain; 103 | sourceTree = ""; 104 | }; 105 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 106 | isa = PBXGroup; 107 | children = ( 108 | 607FACD41AFB9204008FA782 /* Info.plist */, 109 | ); 110 | name = "Supporting Files"; 111 | sourceTree = ""; 112 | }; 113 | 607FACE81AFB9204008FA782 /* Tests */ = { 114 | isa = PBXGroup; 115 | children = ( 116 | 607FACE91AFB9204008FA782 /* Supporting Files */, 117 | ); 118 | path = Tests; 119 | sourceTree = ""; 120 | }; 121 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 122 | isa = PBXGroup; 123 | children = ( 124 | 607FACEA1AFB9204008FA782 /* Info.plist */, 125 | ); 126 | name = "Supporting Files"; 127 | sourceTree = ""; 128 | }; 129 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 130 | isa = PBXGroup; 131 | children = ( 132 | 5D4B9D69E3A8CF139B75A1E8 /* StringInChain.podspec */, 133 | 1A9C79E28A12FB0EC034897D /* README.md */, 134 | FC1A41FA9B01F713DDE2D038 /* LICENSE */, 135 | ); 136 | name = "Podspec Metadata"; 137 | sourceTree = ""; 138 | }; 139 | C3323D2F0D3C2E0B91FE358F /* Pods */ = { 140 | isa = PBXGroup; 141 | children = ( 142 | AEE2B48AFB48DE9811D3EB96 /* Pods-StringInChain_Example.debug.xcconfig */, 143 | C0F4A1B8E00D0A21505604C9 /* Pods-StringInChain_Example.release.xcconfig */, 144 | FF347A2C5B7E200B4342C203 /* Pods-StringInChain_Tests.debug.xcconfig */, 145 | D1731BC46C3F5385AB00ABDE /* Pods-StringInChain_Tests.release.xcconfig */, 146 | ); 147 | name = Pods; 148 | sourceTree = ""; 149 | }; 150 | D276DE5041A10F8AC7A7E52A /* Frameworks */ = { 151 | isa = PBXGroup; 152 | children = ( 153 | C5E081D03484C8BF2DBEFDE2 /* Pods_StringInChain_Example.framework */, 154 | A65E5BDE8389601095677CFC /* Pods_StringInChain_Tests.framework */, 155 | ); 156 | name = Frameworks; 157 | sourceTree = ""; 158 | }; 159 | /* End PBXGroup section */ 160 | 161 | /* Begin PBXNativeTarget section */ 162 | 607FACCF1AFB9204008FA782 /* StringInChain_Example */ = { 163 | isa = PBXNativeTarget; 164 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "StringInChain_Example" */; 165 | buildPhases = ( 166 | 0FB7803829CC3B9CA23C86B9 /* [CP] Check Pods Manifest.lock */, 167 | 607FACCC1AFB9204008FA782 /* Sources */, 168 | 607FACCD1AFB9204008FA782 /* Frameworks */, 169 | 607FACCE1AFB9204008FA782 /* Resources */, 170 | D205B55D64F946D565B41294 /* [CP] Embed Pods Frameworks */, 171 | B79A5211D13B2759F0C91BB5 /* [CP] Copy Pods Resources */, 172 | ); 173 | buildRules = ( 174 | ); 175 | dependencies = ( 176 | ); 177 | name = StringInChain_Example; 178 | productName = StringInChain; 179 | productReference = 607FACD01AFB9204008FA782 /* StringInChain_Example.app */; 180 | productType = "com.apple.product-type.application"; 181 | }; 182 | 607FACE41AFB9204008FA782 /* StringInChain_Tests */ = { 183 | isa = PBXNativeTarget; 184 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "StringInChain_Tests" */; 185 | buildPhases = ( 186 | 0DFF9AD50EDA0D2336C59595 /* [CP] Check Pods Manifest.lock */, 187 | 607FACE11AFB9204008FA782 /* Sources */, 188 | 607FACE21AFB9204008FA782 /* Frameworks */, 189 | 607FACE31AFB9204008FA782 /* Resources */, 190 | 05FF1B2DCF9518A0C4EC8BAE /* [CP] Embed Pods Frameworks */, 191 | AAE1B6A96426E3AEEB6316A5 /* [CP] Copy Pods Resources */, 192 | ); 193 | buildRules = ( 194 | ); 195 | dependencies = ( 196 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 197 | ); 198 | name = StringInChain_Tests; 199 | productName = Tests; 200 | productReference = 607FACE51AFB9204008FA782 /* StringInChain_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 = 0700; 210 | LastUpgradeCheck = 0800; 211 | ORGANIZATIONNAME = CocoaPods; 212 | TargetAttributes = { 213 | 607FACCF1AFB9204008FA782 = { 214 | CreatedOnToolsVersion = 6.3.1; 215 | LastSwiftMigration = 0800; 216 | }; 217 | 607FACE41AFB9204008FA782 = { 218 | CreatedOnToolsVersion = 6.3.1; 219 | LastSwiftMigration = 0800; 220 | TestTargetID = 607FACCF1AFB9204008FA782; 221 | }; 222 | }; 223 | }; 224 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "StringInChain" */; 225 | compatibilityVersion = "Xcode 3.2"; 226 | developmentRegion = English; 227 | hasScannedForEncodings = 0; 228 | knownRegions = ( 229 | en, 230 | Base, 231 | ); 232 | mainGroup = 607FACC71AFB9204008FA782; 233 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 234 | projectDirPath = ""; 235 | projectRoot = ""; 236 | targets = ( 237 | 607FACCF1AFB9204008FA782 /* StringInChain_Example */, 238 | 607FACE41AFB9204008FA782 /* StringInChain_Tests */, 239 | ); 240 | }; 241 | /* End PBXProject section */ 242 | 243 | /* Begin PBXResourcesBuildPhase section */ 244 | 607FACCE1AFB9204008FA782 /* Resources */ = { 245 | isa = PBXResourcesBuildPhase; 246 | buildActionMask = 2147483647; 247 | files = ( 248 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 249 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 250 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 251 | ); 252 | runOnlyForDeploymentPostprocessing = 0; 253 | }; 254 | 607FACE31AFB9204008FA782 /* Resources */ = { 255 | isa = PBXResourcesBuildPhase; 256 | buildActionMask = 2147483647; 257 | files = ( 258 | ); 259 | runOnlyForDeploymentPostprocessing = 0; 260 | }; 261 | /* End PBXResourcesBuildPhase section */ 262 | 263 | /* Begin PBXShellScriptBuildPhase section */ 264 | 05FF1B2DCF9518A0C4EC8BAE /* [CP] Embed Pods Frameworks */ = { 265 | isa = PBXShellScriptBuildPhase; 266 | buildActionMask = 2147483647; 267 | files = ( 268 | ); 269 | inputPaths = ( 270 | ); 271 | name = "[CP] Embed Pods Frameworks"; 272 | outputPaths = ( 273 | ); 274 | runOnlyForDeploymentPostprocessing = 0; 275 | shellPath = /bin/sh; 276 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-StringInChain_Tests/Pods-StringInChain_Tests-frameworks.sh\"\n"; 277 | showEnvVarsInLog = 0; 278 | }; 279 | 0DFF9AD50EDA0D2336C59595 /* [CP] Check Pods Manifest.lock */ = { 280 | isa = PBXShellScriptBuildPhase; 281 | buildActionMask = 2147483647; 282 | files = ( 283 | ); 284 | inputPaths = ( 285 | ); 286 | name = "[CP] Check Pods Manifest.lock"; 287 | outputPaths = ( 288 | ); 289 | runOnlyForDeploymentPostprocessing = 0; 290 | shellPath = /bin/sh; 291 | shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; 292 | showEnvVarsInLog = 0; 293 | }; 294 | 0FB7803829CC3B9CA23C86B9 /* [CP] Check Pods Manifest.lock */ = { 295 | isa = PBXShellScriptBuildPhase; 296 | buildActionMask = 2147483647; 297 | files = ( 298 | ); 299 | inputPaths = ( 300 | ); 301 | name = "[CP] Check Pods Manifest.lock"; 302 | outputPaths = ( 303 | ); 304 | runOnlyForDeploymentPostprocessing = 0; 305 | shellPath = /bin/sh; 306 | shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; 307 | showEnvVarsInLog = 0; 308 | }; 309 | AAE1B6A96426E3AEEB6316A5 /* [CP] Copy Pods Resources */ = { 310 | isa = PBXShellScriptBuildPhase; 311 | buildActionMask = 2147483647; 312 | files = ( 313 | ); 314 | inputPaths = ( 315 | ); 316 | name = "[CP] Copy Pods Resources"; 317 | outputPaths = ( 318 | ); 319 | runOnlyForDeploymentPostprocessing = 0; 320 | shellPath = /bin/sh; 321 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-StringInChain_Tests/Pods-StringInChain_Tests-resources.sh\"\n"; 322 | showEnvVarsInLog = 0; 323 | }; 324 | B79A5211D13B2759F0C91BB5 /* [CP] Copy Pods Resources */ = { 325 | isa = PBXShellScriptBuildPhase; 326 | buildActionMask = 2147483647; 327 | files = ( 328 | ); 329 | inputPaths = ( 330 | ); 331 | name = "[CP] Copy Pods Resources"; 332 | outputPaths = ( 333 | ); 334 | runOnlyForDeploymentPostprocessing = 0; 335 | shellPath = /bin/sh; 336 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-StringInChain_Example/Pods-StringInChain_Example-resources.sh\"\n"; 337 | showEnvVarsInLog = 0; 338 | }; 339 | D205B55D64F946D565B41294 /* [CP] Embed Pods Frameworks */ = { 340 | isa = PBXShellScriptBuildPhase; 341 | buildActionMask = 2147483647; 342 | files = ( 343 | ); 344 | inputPaths = ( 345 | ); 346 | name = "[CP] Embed Pods Frameworks"; 347 | outputPaths = ( 348 | ); 349 | runOnlyForDeploymentPostprocessing = 0; 350 | shellPath = /bin/sh; 351 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-StringInChain_Example/Pods-StringInChain_Example-frameworks.sh\"\n"; 352 | showEnvVarsInLog = 0; 353 | }; 354 | /* End PBXShellScriptBuildPhase section */ 355 | 356 | /* Begin PBXSourcesBuildPhase section */ 357 | 607FACCC1AFB9204008FA782 /* Sources */ = { 358 | isa = PBXSourcesBuildPhase; 359 | buildActionMask = 2147483647; 360 | files = ( 361 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 362 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 363 | ); 364 | runOnlyForDeploymentPostprocessing = 0; 365 | }; 366 | 607FACE11AFB9204008FA782 /* Sources */ = { 367 | isa = PBXSourcesBuildPhase; 368 | buildActionMask = 2147483647; 369 | files = ( 370 | ); 371 | runOnlyForDeploymentPostprocessing = 0; 372 | }; 373 | /* End PBXSourcesBuildPhase section */ 374 | 375 | /* Begin PBXTargetDependency section */ 376 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 377 | isa = PBXTargetDependency; 378 | target = 607FACCF1AFB9204008FA782 /* StringInChain_Example */; 379 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 380 | }; 381 | /* End PBXTargetDependency section */ 382 | 383 | /* Begin PBXVariantGroup section */ 384 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 385 | isa = PBXVariantGroup; 386 | children = ( 387 | 607FACDA1AFB9204008FA782 /* Base */, 388 | ); 389 | name = Main.storyboard; 390 | sourceTree = ""; 391 | }; 392 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 393 | isa = PBXVariantGroup; 394 | children = ( 395 | 607FACDF1AFB9204008FA782 /* Base */, 396 | ); 397 | name = LaunchScreen.xib; 398 | sourceTree = ""; 399 | }; 400 | /* End PBXVariantGroup section */ 401 | 402 | /* Begin XCBuildConfiguration section */ 403 | 607FACED1AFB9204008FA782 /* Debug */ = { 404 | isa = XCBuildConfiguration; 405 | buildSettings = { 406 | ALWAYS_SEARCH_USER_PATHS = NO; 407 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 408 | CLANG_CXX_LIBRARY = "libc++"; 409 | CLANG_ENABLE_MODULES = YES; 410 | CLANG_ENABLE_OBJC_ARC = YES; 411 | CLANG_WARN_BOOL_CONVERSION = YES; 412 | CLANG_WARN_CONSTANT_CONVERSION = YES; 413 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 414 | CLANG_WARN_EMPTY_BODY = YES; 415 | CLANG_WARN_ENUM_CONVERSION = YES; 416 | CLANG_WARN_INFINITE_RECURSION = YES; 417 | CLANG_WARN_INT_CONVERSION = YES; 418 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 419 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 420 | CLANG_WARN_UNREACHABLE_CODE = YES; 421 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 422 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 423 | COPY_PHASE_STRIP = NO; 424 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 425 | ENABLE_STRICT_OBJC_MSGSEND = YES; 426 | ENABLE_TESTABILITY = YES; 427 | GCC_C_LANGUAGE_STANDARD = gnu99; 428 | GCC_DYNAMIC_NO_PIC = NO; 429 | GCC_NO_COMMON_BLOCKS = YES; 430 | GCC_OPTIMIZATION_LEVEL = 0; 431 | GCC_PREPROCESSOR_DEFINITIONS = ( 432 | "DEBUG=1", 433 | "$(inherited)", 434 | ); 435 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 436 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 437 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 438 | GCC_WARN_UNDECLARED_SELECTOR = YES; 439 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 440 | GCC_WARN_UNUSED_FUNCTION = YES; 441 | GCC_WARN_UNUSED_VARIABLE = YES; 442 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 443 | MTL_ENABLE_DEBUG_INFO = YES; 444 | ONLY_ACTIVE_ARCH = YES; 445 | SDKROOT = iphoneos; 446 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 447 | }; 448 | name = Debug; 449 | }; 450 | 607FACEE1AFB9204008FA782 /* Release */ = { 451 | isa = XCBuildConfiguration; 452 | buildSettings = { 453 | ALWAYS_SEARCH_USER_PATHS = NO; 454 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 455 | CLANG_CXX_LIBRARY = "libc++"; 456 | CLANG_ENABLE_MODULES = YES; 457 | CLANG_ENABLE_OBJC_ARC = YES; 458 | CLANG_WARN_BOOL_CONVERSION = YES; 459 | CLANG_WARN_CONSTANT_CONVERSION = YES; 460 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 461 | CLANG_WARN_EMPTY_BODY = YES; 462 | CLANG_WARN_ENUM_CONVERSION = YES; 463 | CLANG_WARN_INFINITE_RECURSION = YES; 464 | CLANG_WARN_INT_CONVERSION = YES; 465 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 466 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 467 | CLANG_WARN_UNREACHABLE_CODE = YES; 468 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 469 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 470 | COPY_PHASE_STRIP = NO; 471 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 472 | ENABLE_NS_ASSERTIONS = NO; 473 | ENABLE_STRICT_OBJC_MSGSEND = YES; 474 | GCC_C_LANGUAGE_STANDARD = gnu99; 475 | GCC_NO_COMMON_BLOCKS = YES; 476 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 477 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 478 | GCC_WARN_UNDECLARED_SELECTOR = YES; 479 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 480 | GCC_WARN_UNUSED_FUNCTION = YES; 481 | GCC_WARN_UNUSED_VARIABLE = YES; 482 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 483 | MTL_ENABLE_DEBUG_INFO = NO; 484 | SDKROOT = iphoneos; 485 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 486 | VALIDATE_PRODUCT = YES; 487 | }; 488 | name = Release; 489 | }; 490 | 607FACF01AFB9204008FA782 /* Debug */ = { 491 | isa = XCBuildConfiguration; 492 | baseConfigurationReference = AEE2B48AFB48DE9811D3EB96 /* Pods-StringInChain_Example.debug.xcconfig */; 493 | buildSettings = { 494 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 495 | INFOPLIST_FILE = StringInChain/Info.plist; 496 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 497 | MODULE_NAME = ExampleApp; 498 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 499 | PRODUCT_NAME = "$(TARGET_NAME)"; 500 | SWIFT_VERSION = 3.0; 501 | }; 502 | name = Debug; 503 | }; 504 | 607FACF11AFB9204008FA782 /* Release */ = { 505 | isa = XCBuildConfiguration; 506 | baseConfigurationReference = C0F4A1B8E00D0A21505604C9 /* Pods-StringInChain_Example.release.xcconfig */; 507 | buildSettings = { 508 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 509 | INFOPLIST_FILE = StringInChain/Info.plist; 510 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 511 | MODULE_NAME = ExampleApp; 512 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 513 | PRODUCT_NAME = "$(TARGET_NAME)"; 514 | SWIFT_VERSION = 3.0; 515 | }; 516 | name = Release; 517 | }; 518 | 607FACF31AFB9204008FA782 /* Debug */ = { 519 | isa = XCBuildConfiguration; 520 | baseConfigurationReference = FF347A2C5B7E200B4342C203 /* Pods-StringInChain_Tests.debug.xcconfig */; 521 | buildSettings = { 522 | BUNDLE_LOADER = "$(TEST_HOST)"; 523 | FRAMEWORK_SEARCH_PATHS = ( 524 | "$(SDKROOT)/Developer/Library/Frameworks", 525 | "$(inherited)", 526 | ); 527 | GCC_PREPROCESSOR_DEFINITIONS = ( 528 | "DEBUG=1", 529 | "$(inherited)", 530 | ); 531 | INFOPLIST_FILE = Tests/Info.plist; 532 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 533 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 534 | PRODUCT_NAME = "$(TARGET_NAME)"; 535 | SWIFT_VERSION = 3.0; 536 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/StringInChain_Example.app/StringInChain_Example"; 537 | }; 538 | name = Debug; 539 | }; 540 | 607FACF41AFB9204008FA782 /* Release */ = { 541 | isa = XCBuildConfiguration; 542 | baseConfigurationReference = D1731BC46C3F5385AB00ABDE /* Pods-StringInChain_Tests.release.xcconfig */; 543 | buildSettings = { 544 | BUNDLE_LOADER = "$(TEST_HOST)"; 545 | FRAMEWORK_SEARCH_PATHS = ( 546 | "$(SDKROOT)/Developer/Library/Frameworks", 547 | "$(inherited)", 548 | ); 549 | INFOPLIST_FILE = Tests/Info.plist; 550 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 551 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 552 | PRODUCT_NAME = "$(TARGET_NAME)"; 553 | SWIFT_VERSION = 3.0; 554 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/StringInChain_Example.app/StringInChain_Example"; 555 | }; 556 | name = Release; 557 | }; 558 | /* End XCBuildConfiguration section */ 559 | 560 | /* Begin XCConfigurationList section */ 561 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "StringInChain" */ = { 562 | isa = XCConfigurationList; 563 | buildConfigurations = ( 564 | 607FACED1AFB9204008FA782 /* Debug */, 565 | 607FACEE1AFB9204008FA782 /* Release */, 566 | ); 567 | defaultConfigurationIsVisible = 0; 568 | defaultConfigurationName = Release; 569 | }; 570 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "StringInChain_Example" */ = { 571 | isa = XCConfigurationList; 572 | buildConfigurations = ( 573 | 607FACF01AFB9204008FA782 /* Debug */, 574 | 607FACF11AFB9204008FA782 /* Release */, 575 | ); 576 | defaultConfigurationIsVisible = 0; 577 | defaultConfigurationName = Release; 578 | }; 579 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "StringInChain_Tests" */ = { 580 | isa = XCConfigurationList; 581 | buildConfigurations = ( 582 | 607FACF31AFB9204008FA782 /* Debug */, 583 | 607FACF41AFB9204008FA782 /* Release */, 584 | ); 585 | defaultConfigurationIsVisible = 0; 586 | defaultConfigurationName = Release; 587 | }; 588 | /* End XCConfigurationList section */ 589 | }; 590 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 591 | } 592 | -------------------------------------------------------------------------------- /Example/StringInChain.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/StringInChain.xcodeproj/xcshareddata/xcschemes/StringInChain-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 13 | 19 | 20 | 21 | 27 | 33 | 34 | 35 | 36 | 37 | 42 | 43 | 45 | 51 | 52 | 53 | 54 | 55 | 61 | 62 | 63 | 64 | 65 | 66 | 76 | 78 | 84 | 85 | 86 | 87 | 88 | 89 | 95 | 97 | 103 | 104 | 105 | 106 | 108 | 109 | 112 | 113 | 114 | -------------------------------------------------------------------------------- /Example/StringInChain.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/StringInChain/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // StringInChain 4 | // 5 | // Created by Lukasz Solniczek on 06/30/2015. 6 | // Copyright (c) 06/30/2015 Lukasz Solniczek. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(_ application: UIApplication) { 23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 24 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 25 | } 26 | 27 | func applicationDidEnterBackground(_ application: UIApplication) { 28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 30 | } 31 | 32 | func applicationWillEnterForeground(_ application: UIApplication) { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | func applicationDidBecomeActive(_ application: UIApplication) { 37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 38 | } 39 | 40 | func applicationWillTerminate(_ application: UIApplication) { 41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 42 | } 43 | 44 | 45 | } 46 | 47 | -------------------------------------------------------------------------------- /Example/StringInChain/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 20 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /Example/StringInChain/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /Example/StringInChain/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /Example/StringInChain/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/StringInChain/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // StringInChain 4 | // 5 | // Created by Lukasz Solniczek on 06/30/2015. 6 | // Copyright (c) 06/30/2015 Lukasz Solniczek. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import StringInChain 11 | 12 | class ViewController: UIViewController { 13 | 14 | @IBOutlet weak var labelTest: UILabel! 15 | override func viewDidLoad() { 16 | super.viewDidLoad() 17 | 18 | let baseString = "String In Chain" 19 | 20 | let attrText = baseString.chain { (string) -> Void in 21 | // string.match("String").withColor(UIColor.blueColor()).withFont(UIFont(name: "Avenir", size: 30.0)!) 22 | // string.match("In").underline(1, andColor: UIColor.yellowColor()) 23 | // string.match("Chain").withStroke(1, andColor: UIColor.blackColor()) 24 | string.match(from: 7, to: 7).withColor(UIColor.blue).withFont(UIFont(name: "Avenir", size: 30.0)!) 25 | } 26 | 27 | // let baseString: NSString = "String In Chain" 28 | // var attrText = NSMutableAttributedString(string: baseString as String) 29 | // attrText.addAttribute(NSForegroundColorAttributeName, value: UIColor.blueColor(), range: baseString.rangeOfString("String")) 30 | // attrText.addAttribute(NSFontAttributeName, value: UIFont(name: "Avenir", size: 30.0)!, range: baseString.rangeOfString("String")) 31 | // attrText.addAttribute(NSUnderlineStyleAttributeName, value: 1, range: baseString.rangeOfString("In")) 32 | // attrText.addAttribute(NSUnderlineColorAttributeName, value: UIColor.yellowColor(), range: baseString.rangeOfString("In")) 33 | // attrText.addAttribute(NSStrokeWidthAttributeName, value: 1, range: baseString.rangeOfString("Chain")) 34 | // attrText.addAttribute(NSStrokeColorAttributeName, value: UIColor.blackColor(), range: baseString.rangeOfString("Chain")) 35 | 36 | 37 | // labelTest.attributedText = "Dupa Jasia".match("Dupa").underline(1, andColor: UIColor.brownColor()).strikeThrough(2, andColor: UIColor.blueColor()).attrString 38 | labelTest.attributedText = attrText.attrString 39 | 40 | } 41 | 42 | } 43 | 44 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015 Lukasz Solniczek 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 | -------------------------------------------------------------------------------- /Pod/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsolniczek/string-in-chain/9c9eaa25d0d8e15f1cd6a332fe4dcca645bcd7d7/Pod/Assets/.gitkeep -------------------------------------------------------------------------------- /Pod/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsolniczek/string-in-chain/9c9eaa25d0d8e15f1cd6a332fe4dcca645bcd7d7/Pod/Classes/.gitkeep -------------------------------------------------------------------------------- /Pod/Classes/String+Chain.swift: -------------------------------------------------------------------------------- 1 | // 2 | // String+Chain.swift 3 | // StringInChain 4 | // 5 | // Created by Lukasz Solniczek on 22.06.2015. 6 | // Copyright (c) 2015 Lukasz Solniczek. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | 11 | 12 | 13 | #if swift(>=3.0) 14 | 15 | extension String { 16 | 17 | public func chain(_ chainString: (_ string: StringInChain) -> Void) -> StringInChain { 18 | let chainedString = StringInChain(string: self) 19 | chainString (chainedString) 20 | return chainedString 21 | } 22 | 23 | // match can be used as match() to match the whole string, or supply an argument to operate on the first match 24 | public func match(string stringToMatch: String? = nil) -> StringInChain { 25 | return StringInChain(string: self, stringToMatch: stringToMatch) 26 | } 27 | 28 | } 29 | 30 | // This allows us to easily append strings to another - s0 + s1 + s2 -? appends s1 to s0, then appends s2 to s0 31 | public func + (left: NSMutableAttributedString, right: NSAttributedString) -> NSMutableAttributedString { 32 | left.append(right) 33 | return left 34 | } 35 | 36 | public func += (left: NSMutableAttributedString, right: NSAttributedString) { 37 | left.append(right) 38 | return 39 | } 40 | 41 | #else 42 | 43 | extension String { 44 | 45 | <<<<<<< HEAD 46 | public func chain(_ chainString: (_ string: StringInChain) -> Void) -> StringInChain { 47 | ======= 48 | public func chain(@noescape chainString: (string: StringInChain) -> Void) -> StringInChain { 49 | >>>>>>> 35f3cb7191939e164e98b259adb64dcaca334a57 50 | let chainedString = StringInChain(string: self) 51 | chainString (chainedString) 52 | return chainedString 53 | } 54 | <<<<<<< HEAD 55 | 56 | public func match(_ string: String) -> StringInChain { 57 | return StringInChain(string: self, stringToMatch: string) 58 | } 59 | 60 | } 61 | ======= 62 | 63 | // match can be used as match() to match the whole string, or supply an argument to operate on the first match 64 | public func match(string stringToMatch: String? = nil) -> StringInChain { 65 | return StringInChain(string: self, stringToMatch: stringToMatch) 66 | } 67 | 68 | } 69 | 70 | // This allows us to easily append strings to another - s0 + s1 + s2 -? appends s1 to s0, then appends s2 to s0 71 | public func + (left: NSMutableAttributedString, right: NSAttributedString) -> NSMutableAttributedString { 72 | left.appendAttributedString(right) 73 | return left 74 | } 75 | 76 | public func += (left: NSMutableAttributedString, right: NSAttributedString) -> NSMutableAttributedString { 77 | left.appendAttributedString(right) 78 | return left 79 | } 80 | 81 | #endif 82 | >>>>>>> 35f3cb7191939e164e98b259adb64dcaca334a57 83 | -------------------------------------------------------------------------------- /Pod/Classes/StringInChain+Attributes.swift: -------------------------------------------------------------------------------- 1 | // 2 | // StringInChain+Color.swift 3 | // StringInChain 4 | // 5 | // Created by Lukasz Solniczek on 23.06.2015. 6 | // Copyright (c) 2015 Lukasz Solniczek. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | extension StringInChain { 12 | 13 | public func withColor(_ color: UIColor) -> StringInChain { 14 | let stringRange = setRange() 15 | attrString.addAttribute(NSForegroundColorAttributeName, value: color, range: stringRange) 16 | return self 17 | } 18 | 19 | public func withBgColor(_ color: UIColor) -> StringInChain { 20 | let stringRange = setRange() 21 | attrString.addAttribute(NSBackgroundColorAttributeName, value: color, range: stringRange) 22 | return self 23 | } 24 | 25 | public func withFont(_ font: UIFont) -> StringInChain { 26 | let stringRange = setRange() 27 | attrString.addAttribute(NSFontAttributeName, value: font, range: stringRange) 28 | return self 29 | } 30 | 31 | public func withShadow(_ shadow: NSShadow) -> StringInChain { 32 | let stringRange = setRange() 33 | attrString.addAttribute(NSShadowAttributeName, value: shadow, range: stringRange) 34 | return self 35 | } 36 | 37 | public func strikeThrough(_ style: Bool, andColor color: UIColor? = nil) -> StringInChain { 38 | let stringRange = setRange() 39 | attrString.addAttribute(NSStrikethroughStyleAttributeName, value: style ? 1 : 0, range: stringRange) 40 | if let color = color { 41 | attrString.addAttribute(NSStrikethroughColorAttributeName, value: color, range: stringRange) 42 | } 43 | return self 44 | } 45 | 46 | public func underline(_ style: NSUnderlineStyle, andColor color: UIColor? = nil) -> StringInChain { 47 | let stringRange = setRange() 48 | attrString.addAttribute(NSUnderlineStyleAttributeName, value: style.rawValue, range: stringRange) 49 | if let color = color { 50 | attrString.addAttribute(NSUnderlineColorAttributeName, value: color, range: stringRange) 51 | } 52 | return self 53 | } 54 | 55 | public func underline(_ styles: [NSUnderlineStyle], andColor color: UIColor? = nil) -> StringInChain { 56 | let rawValue: Int = styles.reduce(0, { return $0 | $1.rawValue } ) 57 | let stringRange = setRange() 58 | attrString.addAttribute(NSUnderlineStyleAttributeName, value: rawValue, range: stringRange) 59 | if let color = color { 60 | attrString.addAttribute(NSUnderlineColorAttributeName, value: color, range: stringRange) 61 | } 62 | return self 63 | } 64 | 65 | public func withStroke(_ width: Double, andColor color: UIColor? = nil) -> StringInChain { 66 | let stringRange = setRange() 67 | attrString.addAttribute(NSStrokeWidthAttributeName, value: width, range: stringRange) 68 | if let color = color { 69 | attrString.addAttribute(NSStrokeColorAttributeName, value: color, range: stringRange) 70 | } 71 | return self 72 | } 73 | 74 | public func withParagraphStyle(_ style: NSParagraphStyle) -> StringInChain { 75 | let stringRange = setRange() 76 | attrString.addAttribute(NSParagraphStyleAttributeName, value: style, range: stringRange) 77 | return self 78 | } 79 | 80 | public func withKerning(_ kerning: Double) -> StringInChain { 81 | let stringRange = setRange() 82 | attrString.addAttribute(NSKernAttributeName, value: kerning, range: stringRange) 83 | return self 84 | } 85 | 86 | public func withLink(_ url: URL) -> StringInChain { 87 | let stringRange = setRange() 88 | attrString.addAttribute(NSLinkAttributeName, value: url, range: stringRange) 89 | return self 90 | } 91 | 92 | public func withParagraphStyle(paragraphStyle:NSMutableParagraphStyle) -> StringInChain { 93 | let stringRange = setRange() 94 | attrString.addAttribute(NSParagraphStyleAttributeName, value: paragraphStyle, range: stringRange) 95 | return self 96 | } 97 | } 98 | -------------------------------------------------------------------------------- /Pod/Classes/StringInChain.swift: -------------------------------------------------------------------------------- 1 | // 2 | // StringInChain.swift 3 | // StringInChain 4 | // 5 | // Created by Lukasz Solniczek on 22.06.2015. 6 | // Copyright (c) 2015 Lukasz Solniczek. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | 11 | <<<<<<< HEAD 12 | open class StringInChain { 13 | 14 | ======= 15 | #if swift(>=3.0) 16 | 17 | public final class StringInChain { 18 | 19 | >>>>>>> 35f3cb7191939e164e98b259adb64dcaca334a57 20 | var stringToMatch: String? 21 | var stringToSkip: String? 22 | var baseText: NSString 23 | <<<<<<< HEAD 24 | open var attrString: NSMutableAttributedString 25 | 26 | init(string: String) { 27 | self.baseText = string as NSString 28 | self.attrString = NSMutableAttributedString(string: string) 29 | } 30 | 31 | init(string: String, stringToMatch: String) { 32 | self.baseText = string as NSString 33 | self.stringToMatch = stringToMatch 34 | self.attrString = NSMutableAttributedString(string: string) 35 | } 36 | 37 | open func match(_ text: String) -> StringInChain { 38 | ======= 39 | public var attrString: NSMutableAttributedString 40 | 41 | init(string: String, stringToMatch: String? = nil, skipPast: String? = nil) { 42 | self.baseText = string as NSString 43 | self.stringToMatch = stringToMatch 44 | self.attrString = NSMutableAttributedString(string: string) 45 | } 46 | 47 | public func match(_ text: String, skipPast: String? = nil) -> StringInChain { 48 | stringToMatch = text 49 | stringToSkip = skipPast 50 | return self 51 | } 52 | 53 | public func match(from begin: Int, to: Int) -> StringInChain { 54 | let range = NSMakeRange(begin, to-begin) 55 | stringToMatch = baseText.substring(with: range) 56 | return self 57 | } 58 | 59 | func setRange() -> NSRange { 60 | if let stringToMatch = stringToMatch { 61 | var skipRange = NSRange(location: 0, length: 0) 62 | if let stringToSkip = stringToSkip { 63 | let baseRange = baseText.range(of: stringToSkip) 64 | if baseRange.location != NSNotFound && baseRange.length > 0 { 65 | skipRange.length = baseRange.location + baseRange.length 66 | skipRange.location = 0 67 | } 68 | } 69 | let testString = baseText.replacingCharacters(in: skipRange, with: "") as NSString 70 | var range = testString.range(of: stringToMatch) 71 | if range.location != NSNotFound && range.length > 0 { 72 | range.location += skipRange.length 73 | } else { 74 | range = NSRange(location: 0, length: 0) 75 | } 76 | return range 77 | } else { 78 | return baseText.range(of: baseText as String) 79 | } 80 | } 81 | 82 | } 83 | 84 | #else 85 | 86 | public final class StringInChain { 87 | 88 | var stringToMatch: String? 89 | var stringToSkip: String? 90 | var baseText: NSString 91 | public var attrString: NSMutableAttributedString 92 | 93 | init(string: String, stringToMatch: String? = nil, skipPast: String? = nil) { 94 | self.baseText = string 95 | self.stringToMatch = stringToMatch 96 | self.attrString = NSMutableAttributedString(string: string) 97 | } 98 | 99 | public func match(text: String, skipPast: String? = nil) -> StringInChain { 100 | >>>>>>> 35f3cb7191939e164e98b259adb64dcaca334a57 101 | stringToMatch = text 102 | stringToSkip = skipPast 103 | return self 104 | } 105 | 106 | <<<<<<< HEAD 107 | open func match(from begin: Int, to: Int) -> StringInChain { 108 | let range = NSMakeRange(begin, (to-begin)+1) 109 | stringToMatch = baseText.substring(with: range) 110 | ======= 111 | public func match(from begin: Int, to: Int) -> StringInChain { 112 | let range = NSMakeRange(begin, to-begin) 113 | stringToMatch = baseText.substringWithRange(range) 114 | >>>>>>> 35f3cb7191939e164e98b259adb64dcaca334a57 115 | return self 116 | } 117 | 118 | func setRange() -> NSRange { 119 | <<<<<<< HEAD 120 | if let stringToMatch = stringToMatch as String? { 121 | return baseText.range(of: stringToMatch) 122 | } 123 | return baseText.range(of: baseText as String) 124 | ======= 125 | if let stringToMatch = stringToMatch { 126 | var skipRange = NSRange(location: 0, length: 0) 127 | if let stringToSkip = stringToSkip { 128 | let baseRange = baseText.rangeOfString(stringToSkip) 129 | if baseRange.location != NSNotFound && baseRange.length > 0 { 130 | skipRange.length = baseRange.location + baseRange.length 131 | skipRange.location = 0 132 | } 133 | } 134 | let testString = baseText.stringByReplacingCharactersInRange(skipRange, withString: "") as NSString 135 | var range = testString.rangeOfString(stringToMatch) 136 | if range.location != NSNotFound && range.length > 0 { 137 | range.location += skipRange.length 138 | } else { 139 | range = NSRange(location: 0, length: 0) 140 | } 141 | return range 142 | } else { 143 | return baseText.rangeOfString(baseText as String) 144 | } 145 | >>>>>>> 35f3cb7191939e164e98b259adb64dcaca334a57 146 | } 147 | 148 | } 149 | 150 | #endif 151 | 152 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # StringInChain 2 | 3 | [![CI Status](http://img.shields.io/travis/Lukasz Solniczek/StringInChain.svg?style=flat)](https://travis-ci.org/Lukasz Solniczek/StringInChain) 4 | [![Version](https://img.shields.io/cocoapods/v/StringInChain.svg?style=flat)](http://cocoapods.org/pods/StringInChain) 5 | [![License](https://img.shields.io/cocoapods/l/StringInChain.svg?style=flat)](http://cocoapods.org/pods/StringInChain) 6 | [![Platform](https://img.shields.io/cocoapods/p/StringInChain.svg?style=flat)](http://cocoapods.org/pods/StringInChain) 7 | 8 | ---- 9 | 10 | A fast and convenient approach to creating an `AttributedString`. 11 | 12 | StringInChain gives you a far superior method to create an attributed string than what the mutable class provides out of the box. [Additions by D Hoerl documented near the bottom] 13 | 14 | # The Standard Way 15 | 16 | Creating an attributed string is complex and wordy: 17 | 18 | ``` 19 | let baseString: NSString = "String In Chain" 20 | var attrText = NSMutableAttributedString(string: baseString as String) 21 | attrText.addAttribute(NSForegroundColorAttributeName, value: UIColor.blueColor(), range: baseString.rangeOfString("String")) 22 | attrText.addAttribute(NSFontAttributeName, value: UIFont(name: "Avenir", size: 30.0)!, range: baseString.rangeOfString("String")) 23 | attrText.addAttribute(NSUnderlineStyleAttributeName, value: 1, range: baseString.rangeOfString("In")) 24 | attrText.addAttribute(NSUnderlineColorAttributeName, value: UIColor.yellowColor(), range: baseString.rangeOfString("In")) 25 | attrText.addAttribute(NSStrokeWidthAttributeName, value: 1, range: baseString.rangeOfString("Chain")) 26 | attrText.addAttribute(NSStrokeColorAttributeName, value: UIColor.blackColor(), range: baseString.rangeOfString("Chain")) 27 | label.attributedText = attrText 28 | ``` 29 | 30 | # Using StringInChain 31 | 32 | ``` 33 | let baseString = "String In Chain" 34 | var attrText = baseString.chain { (string) -> Void in 35 | string.match("String").withColor(UIColor.blueColor()).withFont(UIFont(name: "Avenir", size: 30.0)!) 36 | string.match("In").underline(1, andColor: UIColor.yellowColor()) 37 | string.match("Chain").withStroke(1, andColor: UIColor.blackColor()) 38 | } 39 | label.attributedText = attrText.attrString 40 | ``` 41 | 42 | In addition to `match(text: String)` (which only finds the first occurrence of `string`), you can use: 43 | ``` 44 | match(from: Int, to:Int) 45 | ``` 46 | For example: 47 | ``` 48 | string.match(from: 7, to: 10).withColor(UIColor.blueColor()).withFont(UIFont(name: "Avenir", size: 30.0)!) 49 | ``` 50 | This way you can create `AttributedString` by match range `from` and `to` 51 | 52 | If you want, there is also a terse inline way to make an `AttributedString` 53 | 54 | ``` 55 | label.attributedText = "String In Chain".match("String").withColor(UIColor.blueColor()).withFont(UIFont(name: "Avenir", size: 30.0)!).attrString 56 | ``` 57 | 58 | Clean and Easy, don't you think? 59 | 60 | ======= 61 | 62 | D. Hoerl changed the `match` parameter to be an optional defaulting to nil, so you can use: 63 | 64 | ``` 65 | label.attributedText = "String In Chain".match().withColor(UIColor.blueColor()).withFont(UIFont(name: "Avenir", size: 30.0)!).attrString 66 | ``` 67 | 68 | and have the compete string set to the specified color and font. Since it's fairly easy to append. 69 | 70 | Also added support for `+` to NSAttributedString, so you can easily chain attributed strings together. 71 | 72 | ## Usage 73 | 74 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 75 | 76 | ## Requirements 77 | 78 | ## Installation 79 | 80 | StringInChain is available through [CocoaPods](http://cocoapods.org). To install 81 | it, simply add the following line to your Podfile: 82 | 83 | ```ruby 84 | pod "StringInChain" 85 | ``` 86 | 87 | ## Author 88 | Lukasz Solniczek, l dot solniczek at gmail dot com 89 | 90 | ## License 91 | 92 | StringInChain is available under the MIT license. See the LICENSE file for more info. 93 | -------------------------------------------------------------------------------- /StringInChain.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint StringInChain.podspec' to ensure this is a 3 | # valid spec and remove all comments before submitting the spec. 4 | # 5 | # Any lines starting with a # are optional, but encouraged 6 | # 7 | # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html 8 | # 9 | 10 | Pod::Spec.new do |s| 11 | s.name = "StringInChain" 12 | s.version = "0.3.0" 13 | s.summary = "StringInChain give you a far more clean way to create attributed string." 14 | s.description = <<-DESC 15 | An convenient and fast approach to create AttributedString. 16 | StringInChain give you a far more clean way to create attributed string. 17 | DESC 18 | s.homepage = "https://github.com/lsolniczek/string-in-chain" 19 | s.license = 'MIT' 20 | s.author = { "Lukasz Solniczek" => "l.solniczek@gmail.com" } 21 | s.source = { :git => "https://github.com/lsolniczek/string-in-chain.git", :tag => s.version.to_s } 22 | 23 | s.platform = :ios, '8.0' 24 | s.requires_arc = true 25 | 26 | s.source_files = 'Pod/Classes/**/*' 27 | s.resource_bundles = { 28 | 'StringInChain' => ['Pod/Assets/*.png'] 29 | } 30 | 31 | end 32 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj --------------------------------------------------------------------------------