├── .gitignore ├── .travis.yml ├── Example ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── RSFloatInputView.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── project.pbxproj │ └── Target Support Files │ │ ├── Pods-RSFloatInputView_Example │ │ ├── Info.plist │ │ ├── Pods-RSFloatInputView_Example-acknowledgements.markdown │ │ ├── Pods-RSFloatInputView_Example-acknowledgements.plist │ │ ├── Pods-RSFloatInputView_Example-dummy.m │ │ ├── Pods-RSFloatInputView_Example-frameworks.sh │ │ ├── Pods-RSFloatInputView_Example-resources.sh │ │ ├── Pods-RSFloatInputView_Example-umbrella.h │ │ ├── Pods-RSFloatInputView_Example.debug.xcconfig │ │ ├── Pods-RSFloatInputView_Example.modulemap │ │ └── Pods-RSFloatInputView_Example.release.xcconfig │ │ └── RSFloatInputView │ │ ├── Info.plist │ │ ├── RSFloatInputView-dummy.m │ │ ├── RSFloatInputView-prefix.pch │ │ ├── RSFloatInputView-umbrella.h │ │ ├── RSFloatInputView.modulemap │ │ └── RSFloatInputView.xcconfig ├── RSFloatInputView.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── RSFloatInputView-Example.xcscheme ├── RSFloatInputView.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist └── RSFloatInputView │ ├── AppDelegate.swift │ ├── Base.lproj │ ├── LaunchScreen.xib │ └── Main.storyboard │ ├── DarkViewController.swift │ ├── Images.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ ├── Contents.json │ ├── icWidgetFb.imageset │ │ ├── Contents.json │ │ ├── icWidgetFb.png │ │ ├── icWidgetFb@2x.png │ │ └── icWidgetFb@3x.png │ ├── icWidgetPhone.imageset │ │ ├── Contents.json │ │ ├── icWidgetPhone.png │ │ ├── icWidgetPhone@2x.png │ │ └── icWidgetPhone@3x.png │ └── icWidgetWhatsapp.imageset │ │ ├── Contents.json │ │ ├── icWidgetWhatsapp.png │ │ ├── icWidgetWhatsapp@2x.png │ │ └── icWidgetWhatsapp@3x.png │ ├── Info.plist │ └── LightViewController.swift ├── LICENSE ├── README.md ├── RSFloatInputView.podspec ├── RSFloatInputView ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ ├── RSFloatInputView.swift │ └── RSFloatInputViewUtils.swift ├── _Pods.xcodeproj ├── ss_dark.png ├── ss_gif.gif └── ss_light.png /.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 | osx_image: xcode7.3 6 | language: objective-c 7 | # cache: cocoapods 8 | # podfile: Example/Podfile 9 | # before_install: 10 | # - gem install cocoapods # Since Travis is not always on latest version 11 | # - pod install --project-directory=Example 12 | script: 13 | - set -o pipefail && xcodebuild test -workspace Example/RSFloatInputView.xcworkspace -scheme RSFloatInputView-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'RSFloatInputView_Example' do 4 | pod 'RSFloatInputView', :path => '../' 5 | end 6 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - RSFloatInputView (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - RSFloatInputView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | RSFloatInputView: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | RSFloatInputView: c4bd2c43acb438ed9a8b78c0ced4046e25ea33e9 13 | 14 | PODFILE CHECKSUM: 3ab601c97b81f8bf5e0df50e24e130091b97b79d 15 | 16 | COCOAPODS: 1.2.0.beta.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/RSFloatInputView.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "RSFloatInputView", 3 | "version": "0.1.0", 4 | "summary": "A short description of RSFloatInputView.", 5 | "description": "TODO: Add long description of the pod here.", 6 | "homepage": "https://github.com/roytornado/RSFloatInputView", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "roytornado": "roytornado@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/roytornado/RSFloatInputView.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "8.0" 20 | }, 21 | "source_files": "RSFloatInputView/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - RSFloatInputView (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - RSFloatInputView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | RSFloatInputView: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | RSFloatInputView: c4bd2c43acb438ed9a8b78c0ced4046e25ea33e9 13 | 14 | PODFILE CHECKSUM: 3ab601c97b81f8bf5e0df50e24e130091b97b79d 15 | 16 | COCOAPODS: 1.2.0.beta.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 | 3D33321BC91580991283809E5F0BF276 /* RSFloatInputView-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = C31F10612FB14068909B9FD2B0251ED1 /* RSFloatInputView-dummy.m */; }; 11 | 474A97071B63F315B9891B0C4D2EDBBE /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; 12 | 51C02E75FA4A863844BC52CB34D39311 /* RSFloatInputView-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 5474AD428286F3A4C3F0834C4489B268 /* RSFloatInputView-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 13 | 7552A25A9AA1297B0A7002914789468C /* Pods-RSFloatInputView_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 569162CBE66E5BB6BCF6F414DA4EB205 /* Pods-RSFloatInputView_Example-dummy.m */; }; 14 | 909AA34621901C328DF16B14D9B1EAEE /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; 15 | B485B70955F4174A76D4C5D891BF5A37 /* RSFloatInputViewUtils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 053CDF3AB7C7443DBDD67F1ADC9F4C83 /* RSFloatInputViewUtils.swift */; }; 16 | BDDDF2E27F46DF2FFC3FD5675625D254 /* RSFloatInputView.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA0E1B75FD9AF9B3D37608AD852DC981 /* RSFloatInputView.swift */; }; 17 | C30340D6DDF5B25B31B27B780398771A /* Pods-RSFloatInputView_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = D767416DA2D1C45B60EB3D4FB5EEA02D /* Pods-RSFloatInputView_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXContainerItemProxy section */ 21 | 937E0B780C0FB5B7139328AD3AA925A6 /* PBXContainerItemProxy */ = { 22 | isa = PBXContainerItemProxy; 23 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 24 | proxyType = 1; 25 | remoteGlobalIDString = A39C9458A888EA9318C897957AA8CA2A; 26 | remoteInfo = RSFloatInputView; 27 | }; 28 | /* End PBXContainerItemProxy section */ 29 | 30 | /* Begin PBXFileReference section */ 31 | 053CDF3AB7C7443DBDD67F1ADC9F4C83 /* RSFloatInputViewUtils.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = RSFloatInputViewUtils.swift; sourceTree = ""; }; 32 | 16CC57B14DFB757A9807713EF3BF9A30 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 33 | 1C51A90D4768A17AE539CBB2BAEDD3AB /* Pods-RSFloatInputView_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-RSFloatInputView_Example-acknowledgements.markdown"; sourceTree = ""; }; 34 | 2F7C88E58B79316F2D84F3E795789D59 /* Pods-RSFloatInputView_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-RSFloatInputView_Example-resources.sh"; sourceTree = ""; }; 35 | 3196FA3C6D698ACD03B4114A5BA58523 /* Pods-RSFloatInputView_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-RSFloatInputView_Example-acknowledgements.plist"; sourceTree = ""; }; 36 | 367C5DE8AFD910BA89CCA192504FA4E0 /* RSFloatInputView-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RSFloatInputView-prefix.pch"; sourceTree = ""; }; 37 | 4D747615DC283CB57302F00F2DB7296A /* RSFloatInputView.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RSFloatInputView.xcconfig; sourceTree = ""; }; 38 | 5474AD428286F3A4C3F0834C4489B268 /* RSFloatInputView-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RSFloatInputView-umbrella.h"; sourceTree = ""; }; 39 | 55561A2268515903E3040A70AC4BE2CD /* Pods-RSFloatInputView_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-RSFloatInputView_Example.modulemap"; sourceTree = ""; }; 40 | 569162CBE66E5BB6BCF6F414DA4EB205 /* Pods-RSFloatInputView_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-RSFloatInputView_Example-dummy.m"; sourceTree = ""; }; 41 | 6EDF4A8B6550486B092CD8EE79A73AC4 /* Pods-RSFloatInputView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-RSFloatInputView_Example.release.xcconfig"; sourceTree = ""; }; 42 | 79B9C9560272D6F6BCB6B45AAA55D7E7 /* Pods-RSFloatInputView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-RSFloatInputView_Example.debug.xcconfig"; sourceTree = ""; }; 43 | 8F5A35DA46F14AF155FB16B50FAEE5CE /* Pods_RSFloatInputView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RSFloatInputView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 44 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 45 | 99C2C41B8359E29653510B47EB7E5E14 /* RSFloatInputView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = RSFloatInputView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 46 | A61347152C1B5932C0A4E0F1EAF18AA5 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 47 | A8BB889138EB2FB26719EB89D6C218B5 /* RSFloatInputView.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = RSFloatInputView.modulemap; sourceTree = ""; }; 48 | C31F10612FB14068909B9FD2B0251ED1 /* RSFloatInputView-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "RSFloatInputView-dummy.m"; sourceTree = ""; }; 49 | C718048F8CAD13E1DE19AD8E4C0D00BB /* Pods-RSFloatInputView_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-RSFloatInputView_Example-frameworks.sh"; sourceTree = ""; }; 50 | CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 51 | D767416DA2D1C45B60EB3D4FB5EEA02D /* Pods-RSFloatInputView_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-RSFloatInputView_Example-umbrella.h"; sourceTree = ""; }; 52 | DA0E1B75FD9AF9B3D37608AD852DC981 /* RSFloatInputView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = RSFloatInputView.swift; sourceTree = ""; }; 53 | /* End PBXFileReference section */ 54 | 55 | /* Begin PBXFrameworksBuildPhase section */ 56 | B9FE0CE23E0E98DE5753BB597C4193A8 /* Frameworks */ = { 57 | isa = PBXFrameworksBuildPhase; 58 | buildActionMask = 2147483647; 59 | files = ( 60 | 474A97071B63F315B9891B0C4D2EDBBE /* Foundation.framework in Frameworks */, 61 | ); 62 | runOnlyForDeploymentPostprocessing = 0; 63 | }; 64 | BF06DB6D0D801F88EFC2270E26C02DB0 /* Frameworks */ = { 65 | isa = PBXFrameworksBuildPhase; 66 | buildActionMask = 2147483647; 67 | files = ( 68 | 909AA34621901C328DF16B14D9B1EAEE /* Foundation.framework in Frameworks */, 69 | ); 70 | runOnlyForDeploymentPostprocessing = 0; 71 | }; 72 | /* End PBXFrameworksBuildPhase section */ 73 | 74 | /* Begin PBXGroup section */ 75 | 13B26974B9C252FDE2369152C51D53A8 /* RSFloatInputView */ = { 76 | isa = PBXGroup; 77 | children = ( 78 | 60C307864C521CC871711867C31CF4AA /* RSFloatInputView */, 79 | 39BAA1F211D82F8B806505ADC94E07C5 /* Support Files */, 80 | ); 81 | name = RSFloatInputView; 82 | path = ../..; 83 | sourceTree = ""; 84 | }; 85 | 1C0B7FE0FED1864EB2054B6AD8A67776 /* Development Pods */ = { 86 | isa = PBXGroup; 87 | children = ( 88 | 13B26974B9C252FDE2369152C51D53A8 /* RSFloatInputView */, 89 | ); 90 | name = "Development Pods"; 91 | sourceTree = ""; 92 | }; 93 | 39BAA1F211D82F8B806505ADC94E07C5 /* Support Files */ = { 94 | isa = PBXGroup; 95 | children = ( 96 | A61347152C1B5932C0A4E0F1EAF18AA5 /* Info.plist */, 97 | A8BB889138EB2FB26719EB89D6C218B5 /* RSFloatInputView.modulemap */, 98 | 4D747615DC283CB57302F00F2DB7296A /* RSFloatInputView.xcconfig */, 99 | C31F10612FB14068909B9FD2B0251ED1 /* RSFloatInputView-dummy.m */, 100 | 367C5DE8AFD910BA89CCA192504FA4E0 /* RSFloatInputView-prefix.pch */, 101 | 5474AD428286F3A4C3F0834C4489B268 /* RSFloatInputView-umbrella.h */, 102 | ); 103 | name = "Support Files"; 104 | path = "Example/Pods/Target Support Files/RSFloatInputView"; 105 | sourceTree = ""; 106 | }; 107 | 60C307864C521CC871711867C31CF4AA /* RSFloatInputView */ = { 108 | isa = PBXGroup; 109 | children = ( 110 | B7160A3D1C79976E4E16267443C40D7D /* Classes */, 111 | ); 112 | path = RSFloatInputView; 113 | sourceTree = ""; 114 | }; 115 | 7531C8F8DE19F1AA3C8A7AC97A91DC29 /* iOS */ = { 116 | isa = PBXGroup; 117 | children = ( 118 | CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */, 119 | ); 120 | name = iOS; 121 | sourceTree = ""; 122 | }; 123 | 7DB346D0F39D3F0E887471402A8071AB = { 124 | isa = PBXGroup; 125 | children = ( 126 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 127 | 1C0B7FE0FED1864EB2054B6AD8A67776 /* Development Pods */, 128 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 129 | A0825D08739628209A28C7938F957018 /* Products */, 130 | C6E760F7BA22931CF6A12FCC94EE9799 /* Targets Support Files */, 131 | ); 132 | sourceTree = ""; 133 | }; 134 | A0825D08739628209A28C7938F957018 /* Products */ = { 135 | isa = PBXGroup; 136 | children = ( 137 | 8F5A35DA46F14AF155FB16B50FAEE5CE /* Pods_RSFloatInputView_Example.framework */, 138 | 99C2C41B8359E29653510B47EB7E5E14 /* RSFloatInputView.framework */, 139 | ); 140 | name = Products; 141 | sourceTree = ""; 142 | }; 143 | B7160A3D1C79976E4E16267443C40D7D /* Classes */ = { 144 | isa = PBXGroup; 145 | children = ( 146 | DA0E1B75FD9AF9B3D37608AD852DC981 /* RSFloatInputView.swift */, 147 | 053CDF3AB7C7443DBDD67F1ADC9F4C83 /* RSFloatInputViewUtils.swift */, 148 | ); 149 | path = Classes; 150 | sourceTree = ""; 151 | }; 152 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 153 | isa = PBXGroup; 154 | children = ( 155 | 7531C8F8DE19F1AA3C8A7AC97A91DC29 /* iOS */, 156 | ); 157 | name = Frameworks; 158 | sourceTree = ""; 159 | }; 160 | C6E760F7BA22931CF6A12FCC94EE9799 /* Targets Support Files */ = { 161 | isa = PBXGroup; 162 | children = ( 163 | DFA001EABCF8209935D4B7F1C37E65BF /* Pods-RSFloatInputView_Example */, 164 | ); 165 | name = "Targets Support Files"; 166 | sourceTree = ""; 167 | }; 168 | DFA001EABCF8209935D4B7F1C37E65BF /* Pods-RSFloatInputView_Example */ = { 169 | isa = PBXGroup; 170 | children = ( 171 | 16CC57B14DFB757A9807713EF3BF9A30 /* Info.plist */, 172 | 55561A2268515903E3040A70AC4BE2CD /* Pods-RSFloatInputView_Example.modulemap */, 173 | 1C51A90D4768A17AE539CBB2BAEDD3AB /* Pods-RSFloatInputView_Example-acknowledgements.markdown */, 174 | 3196FA3C6D698ACD03B4114A5BA58523 /* Pods-RSFloatInputView_Example-acknowledgements.plist */, 175 | 569162CBE66E5BB6BCF6F414DA4EB205 /* Pods-RSFloatInputView_Example-dummy.m */, 176 | C718048F8CAD13E1DE19AD8E4C0D00BB /* Pods-RSFloatInputView_Example-frameworks.sh */, 177 | 2F7C88E58B79316F2D84F3E795789D59 /* Pods-RSFloatInputView_Example-resources.sh */, 178 | D767416DA2D1C45B60EB3D4FB5EEA02D /* Pods-RSFloatInputView_Example-umbrella.h */, 179 | 79B9C9560272D6F6BCB6B45AAA55D7E7 /* Pods-RSFloatInputView_Example.debug.xcconfig */, 180 | 6EDF4A8B6550486B092CD8EE79A73AC4 /* Pods-RSFloatInputView_Example.release.xcconfig */, 181 | ); 182 | name = "Pods-RSFloatInputView_Example"; 183 | path = "Target Support Files/Pods-RSFloatInputView_Example"; 184 | sourceTree = ""; 185 | }; 186 | /* End PBXGroup section */ 187 | 188 | /* Begin PBXHeadersBuildPhase section */ 189 | 7BB5129B622AF35B44B8B6F5E852F2EF /* Headers */ = { 190 | isa = PBXHeadersBuildPhase; 191 | buildActionMask = 2147483647; 192 | files = ( 193 | C30340D6DDF5B25B31B27B780398771A /* Pods-RSFloatInputView_Example-umbrella.h in Headers */, 194 | ); 195 | runOnlyForDeploymentPostprocessing = 0; 196 | }; 197 | 7E9FC7CFC1AF588BEAB9C0485A788A2A /* Headers */ = { 198 | isa = PBXHeadersBuildPhase; 199 | buildActionMask = 2147483647; 200 | files = ( 201 | 51C02E75FA4A863844BC52CB34D39311 /* RSFloatInputView-umbrella.h in Headers */, 202 | ); 203 | runOnlyForDeploymentPostprocessing = 0; 204 | }; 205 | /* End PBXHeadersBuildPhase section */ 206 | 207 | /* Begin PBXNativeTarget section */ 208 | A39C9458A888EA9318C897957AA8CA2A /* RSFloatInputView */ = { 209 | isa = PBXNativeTarget; 210 | buildConfigurationList = 430F140BBA8F6D4E5222A89BF37FC80C /* Build configuration list for PBXNativeTarget "RSFloatInputView" */; 211 | buildPhases = ( 212 | F1B43CBBBD8BB52782025E68FAB5A4DA /* Sources */, 213 | BF06DB6D0D801F88EFC2270E26C02DB0 /* Frameworks */, 214 | 7E9FC7CFC1AF588BEAB9C0485A788A2A /* Headers */, 215 | ); 216 | buildRules = ( 217 | ); 218 | dependencies = ( 219 | ); 220 | name = RSFloatInputView; 221 | productName = RSFloatInputView; 222 | productReference = 99C2C41B8359E29653510B47EB7E5E14 /* RSFloatInputView.framework */; 223 | productType = "com.apple.product-type.framework"; 224 | }; 225 | F7CB29F8DB157D629E5EEB2ACB039670 /* Pods-RSFloatInputView_Example */ = { 226 | isa = PBXNativeTarget; 227 | buildConfigurationList = E58804C9C868308D9A483FAC784FC582 /* Build configuration list for PBXNativeTarget "Pods-RSFloatInputView_Example" */; 228 | buildPhases = ( 229 | F8C111F4C953EE9B4618385E09FA44AC /* Sources */, 230 | B9FE0CE23E0E98DE5753BB597C4193A8 /* Frameworks */, 231 | 7BB5129B622AF35B44B8B6F5E852F2EF /* Headers */, 232 | ); 233 | buildRules = ( 234 | ); 235 | dependencies = ( 236 | 525684E49C2B7E347E16A02E1E2EF9E2 /* PBXTargetDependency */, 237 | ); 238 | name = "Pods-RSFloatInputView_Example"; 239 | productName = "Pods-RSFloatInputView_Example"; 240 | productReference = 8F5A35DA46F14AF155FB16B50FAEE5CE /* Pods_RSFloatInputView_Example.framework */; 241 | productType = "com.apple.product-type.framework"; 242 | }; 243 | /* End PBXNativeTarget section */ 244 | 245 | /* Begin PBXProject section */ 246 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 247 | isa = PBXProject; 248 | attributes = { 249 | LastSwiftUpdateCheck = 0730; 250 | LastUpgradeCheck = 0700; 251 | TargetAttributes = { 252 | A39C9458A888EA9318C897957AA8CA2A = { 253 | LastSwiftMigration = 0940; 254 | }; 255 | }; 256 | }; 257 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 258 | compatibilityVersion = "Xcode 3.2"; 259 | developmentRegion = English; 260 | hasScannedForEncodings = 0; 261 | knownRegions = ( 262 | en, 263 | ); 264 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 265 | productRefGroup = A0825D08739628209A28C7938F957018 /* Products */; 266 | projectDirPath = ""; 267 | projectRoot = ""; 268 | targets = ( 269 | F7CB29F8DB157D629E5EEB2ACB039670 /* Pods-RSFloatInputView_Example */, 270 | A39C9458A888EA9318C897957AA8CA2A /* RSFloatInputView */, 271 | ); 272 | }; 273 | /* End PBXProject section */ 274 | 275 | /* Begin PBXSourcesBuildPhase section */ 276 | F1B43CBBBD8BB52782025E68FAB5A4DA /* Sources */ = { 277 | isa = PBXSourcesBuildPhase; 278 | buildActionMask = 2147483647; 279 | files = ( 280 | 3D33321BC91580991283809E5F0BF276 /* RSFloatInputView-dummy.m in Sources */, 281 | BDDDF2E27F46DF2FFC3FD5675625D254 /* RSFloatInputView.swift in Sources */, 282 | B485B70955F4174A76D4C5D891BF5A37 /* RSFloatInputViewUtils.swift in Sources */, 283 | ); 284 | runOnlyForDeploymentPostprocessing = 0; 285 | }; 286 | F8C111F4C953EE9B4618385E09FA44AC /* Sources */ = { 287 | isa = PBXSourcesBuildPhase; 288 | buildActionMask = 2147483647; 289 | files = ( 290 | 7552A25A9AA1297B0A7002914789468C /* Pods-RSFloatInputView_Example-dummy.m in Sources */, 291 | ); 292 | runOnlyForDeploymentPostprocessing = 0; 293 | }; 294 | /* End PBXSourcesBuildPhase section */ 295 | 296 | /* Begin PBXTargetDependency section */ 297 | 525684E49C2B7E347E16A02E1E2EF9E2 /* PBXTargetDependency */ = { 298 | isa = PBXTargetDependency; 299 | name = RSFloatInputView; 300 | target = A39C9458A888EA9318C897957AA8CA2A /* RSFloatInputView */; 301 | targetProxy = 937E0B780C0FB5B7139328AD3AA925A6 /* PBXContainerItemProxy */; 302 | }; 303 | /* End PBXTargetDependency section */ 304 | 305 | /* Begin XCBuildConfiguration section */ 306 | 03977D31285D5EC383D1CD71D0635E5F /* Debug */ = { 307 | isa = XCBuildConfiguration; 308 | baseConfigurationReference = 4D747615DC283CB57302F00F2DB7296A /* RSFloatInputView.xcconfig */; 309 | buildSettings = { 310 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 311 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 312 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 313 | CURRENT_PROJECT_VERSION = 1; 314 | DEBUG_INFORMATION_FORMAT = dwarf; 315 | DEFINES_MODULE = YES; 316 | DYLIB_COMPATIBILITY_VERSION = 1; 317 | DYLIB_CURRENT_VERSION = 1; 318 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 319 | ENABLE_STRICT_OBJC_MSGSEND = YES; 320 | GCC_NO_COMMON_BLOCKS = YES; 321 | GCC_PREFIX_HEADER = "Target Support Files/RSFloatInputView/RSFloatInputView-prefix.pch"; 322 | INFOPLIST_FILE = "Target Support Files/RSFloatInputView/Info.plist"; 323 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 324 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 325 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 326 | MODULEMAP_FILE = "Target Support Files/RSFloatInputView/RSFloatInputView.modulemap"; 327 | MTL_ENABLE_DEBUG_INFO = YES; 328 | PRODUCT_NAME = RSFloatInputView; 329 | SDKROOT = iphoneos; 330 | SKIP_INSTALL = YES; 331 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 332 | SWIFT_SWIFT3_OBJC_INFERENCE = On; 333 | SWIFT_VERSION = 4.0; 334 | TARGETED_DEVICE_FAMILY = "1,2"; 335 | VERSIONING_SYSTEM = "apple-generic"; 336 | VERSION_INFO_PREFIX = ""; 337 | }; 338 | name = Debug; 339 | }; 340 | 144F170353A2211D32A5AFE6EAC8A245 /* Debug */ = { 341 | isa = XCBuildConfiguration; 342 | baseConfigurationReference = 79B9C9560272D6F6BCB6B45AAA55D7E7 /* Pods-RSFloatInputView_Example.debug.xcconfig */; 343 | buildSettings = { 344 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 345 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 346 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 347 | CURRENT_PROJECT_VERSION = 1; 348 | DEBUG_INFORMATION_FORMAT = dwarf; 349 | DEFINES_MODULE = YES; 350 | DYLIB_COMPATIBILITY_VERSION = 1; 351 | DYLIB_CURRENT_VERSION = 1; 352 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 353 | ENABLE_STRICT_OBJC_MSGSEND = YES; 354 | GCC_NO_COMMON_BLOCKS = YES; 355 | INFOPLIST_FILE = "Target Support Files/Pods-RSFloatInputView_Example/Info.plist"; 356 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 357 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 358 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 359 | MACH_O_TYPE = staticlib; 360 | MODULEMAP_FILE = "Target Support Files/Pods-RSFloatInputView_Example/Pods-RSFloatInputView_Example.modulemap"; 361 | MTL_ENABLE_DEBUG_INFO = YES; 362 | OTHER_LDFLAGS = ""; 363 | OTHER_LIBTOOLFLAGS = ""; 364 | PODS_ROOT = "$(SRCROOT)"; 365 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 366 | PRODUCT_NAME = Pods_RSFloatInputView_Example; 367 | SDKROOT = iphoneos; 368 | SKIP_INSTALL = YES; 369 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 370 | TARGETED_DEVICE_FAMILY = "1,2"; 371 | VERSIONING_SYSTEM = "apple-generic"; 372 | VERSION_INFO_PREFIX = ""; 373 | }; 374 | name = Debug; 375 | }; 376 | 4483D36817C287E0B2B12D51426A2D9B /* Release */ = { 377 | isa = XCBuildConfiguration; 378 | baseConfigurationReference = 6EDF4A8B6550486B092CD8EE79A73AC4 /* Pods-RSFloatInputView_Example.release.xcconfig */; 379 | buildSettings = { 380 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 381 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 382 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 383 | CURRENT_PROJECT_VERSION = 1; 384 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 385 | DEFINES_MODULE = YES; 386 | DYLIB_COMPATIBILITY_VERSION = 1; 387 | DYLIB_CURRENT_VERSION = 1; 388 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 389 | ENABLE_STRICT_OBJC_MSGSEND = YES; 390 | GCC_NO_COMMON_BLOCKS = YES; 391 | INFOPLIST_FILE = "Target Support Files/Pods-RSFloatInputView_Example/Info.plist"; 392 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 393 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 394 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 395 | MACH_O_TYPE = staticlib; 396 | MODULEMAP_FILE = "Target Support Files/Pods-RSFloatInputView_Example/Pods-RSFloatInputView_Example.modulemap"; 397 | MTL_ENABLE_DEBUG_INFO = NO; 398 | OTHER_LDFLAGS = ""; 399 | OTHER_LIBTOOLFLAGS = ""; 400 | PODS_ROOT = "$(SRCROOT)"; 401 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 402 | PRODUCT_NAME = Pods_RSFloatInputView_Example; 403 | SDKROOT = iphoneos; 404 | SKIP_INSTALL = YES; 405 | TARGETED_DEVICE_FAMILY = "1,2"; 406 | VERSIONING_SYSTEM = "apple-generic"; 407 | VERSION_INFO_PREFIX = ""; 408 | }; 409 | name = Release; 410 | }; 411 | 59B042A655B7C20CBAB90E385BF4E4C7 /* Debug */ = { 412 | isa = XCBuildConfiguration; 413 | buildSettings = { 414 | ALWAYS_SEARCH_USER_PATHS = NO; 415 | CLANG_ANALYZER_NONNULL = YES; 416 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 417 | CLANG_CXX_LIBRARY = "libc++"; 418 | CLANG_ENABLE_MODULES = YES; 419 | CLANG_ENABLE_OBJC_ARC = YES; 420 | CLANG_WARN_BOOL_CONVERSION = YES; 421 | CLANG_WARN_CONSTANT_CONVERSION = YES; 422 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 423 | CLANG_WARN_EMPTY_BODY = YES; 424 | CLANG_WARN_ENUM_CONVERSION = YES; 425 | CLANG_WARN_INT_CONVERSION = YES; 426 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 427 | CLANG_WARN_UNREACHABLE_CODE = YES; 428 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 429 | CODE_SIGNING_REQUIRED = NO; 430 | COPY_PHASE_STRIP = NO; 431 | ENABLE_TESTABILITY = YES; 432 | GCC_C_LANGUAGE_STANDARD = gnu99; 433 | GCC_DYNAMIC_NO_PIC = NO; 434 | GCC_OPTIMIZATION_LEVEL = 0; 435 | GCC_PREPROCESSOR_DEFINITIONS = ( 436 | "POD_CONFIGURATION_DEBUG=1", 437 | "DEBUG=1", 438 | "$(inherited)", 439 | ); 440 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 441 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 442 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 443 | GCC_WARN_UNDECLARED_SELECTOR = YES; 444 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 445 | GCC_WARN_UNUSED_FUNCTION = YES; 446 | GCC_WARN_UNUSED_VARIABLE = YES; 447 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 448 | ONLY_ACTIVE_ARCH = YES; 449 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 450 | STRIP_INSTALLED_PRODUCT = NO; 451 | SYMROOT = "${SRCROOT}/../build"; 452 | }; 453 | name = Debug; 454 | }; 455 | 857FC3409D3C25E08A734F2FA74312DE /* Release */ = { 456 | isa = XCBuildConfiguration; 457 | baseConfigurationReference = 4D747615DC283CB57302F00F2DB7296A /* RSFloatInputView.xcconfig */; 458 | buildSettings = { 459 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 460 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 461 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 462 | CURRENT_PROJECT_VERSION = 1; 463 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 464 | DEFINES_MODULE = YES; 465 | DYLIB_COMPATIBILITY_VERSION = 1; 466 | DYLIB_CURRENT_VERSION = 1; 467 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 468 | ENABLE_STRICT_OBJC_MSGSEND = YES; 469 | GCC_NO_COMMON_BLOCKS = YES; 470 | GCC_PREFIX_HEADER = "Target Support Files/RSFloatInputView/RSFloatInputView-prefix.pch"; 471 | INFOPLIST_FILE = "Target Support Files/RSFloatInputView/Info.plist"; 472 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 473 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 474 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 475 | MODULEMAP_FILE = "Target Support Files/RSFloatInputView/RSFloatInputView.modulemap"; 476 | MTL_ENABLE_DEBUG_INFO = NO; 477 | PRODUCT_NAME = RSFloatInputView; 478 | SDKROOT = iphoneos; 479 | SKIP_INSTALL = YES; 480 | SWIFT_SWIFT3_OBJC_INFERENCE = On; 481 | SWIFT_VERSION = 4.0; 482 | TARGETED_DEVICE_FAMILY = "1,2"; 483 | VERSIONING_SYSTEM = "apple-generic"; 484 | VERSION_INFO_PREFIX = ""; 485 | }; 486 | name = Release; 487 | }; 488 | B7324857C38B065FEB1EEE3105C2367A /* Release */ = { 489 | isa = XCBuildConfiguration; 490 | buildSettings = { 491 | ALWAYS_SEARCH_USER_PATHS = NO; 492 | CLANG_ANALYZER_NONNULL = YES; 493 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 494 | CLANG_CXX_LIBRARY = "libc++"; 495 | CLANG_ENABLE_MODULES = YES; 496 | CLANG_ENABLE_OBJC_ARC = YES; 497 | CLANG_WARN_BOOL_CONVERSION = YES; 498 | CLANG_WARN_CONSTANT_CONVERSION = YES; 499 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 500 | CLANG_WARN_EMPTY_BODY = YES; 501 | CLANG_WARN_ENUM_CONVERSION = YES; 502 | CLANG_WARN_INT_CONVERSION = YES; 503 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 504 | CLANG_WARN_UNREACHABLE_CODE = YES; 505 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 506 | CODE_SIGNING_REQUIRED = NO; 507 | COPY_PHASE_STRIP = YES; 508 | ENABLE_NS_ASSERTIONS = NO; 509 | GCC_C_LANGUAGE_STANDARD = gnu99; 510 | GCC_PREPROCESSOR_DEFINITIONS = ( 511 | "POD_CONFIGURATION_RELEASE=1", 512 | "$(inherited)", 513 | ); 514 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 515 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 516 | GCC_WARN_UNDECLARED_SELECTOR = YES; 517 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 518 | GCC_WARN_UNUSED_FUNCTION = YES; 519 | GCC_WARN_UNUSED_VARIABLE = YES; 520 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 521 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 522 | STRIP_INSTALLED_PRODUCT = NO; 523 | SYMROOT = "${SRCROOT}/../build"; 524 | VALIDATE_PRODUCT = YES; 525 | }; 526 | name = Release; 527 | }; 528 | /* End XCBuildConfiguration section */ 529 | 530 | /* Begin XCConfigurationList section */ 531 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 532 | isa = XCConfigurationList; 533 | buildConfigurations = ( 534 | 59B042A655B7C20CBAB90E385BF4E4C7 /* Debug */, 535 | B7324857C38B065FEB1EEE3105C2367A /* Release */, 536 | ); 537 | defaultConfigurationIsVisible = 0; 538 | defaultConfigurationName = Release; 539 | }; 540 | 430F140BBA8F6D4E5222A89BF37FC80C /* Build configuration list for PBXNativeTarget "RSFloatInputView" */ = { 541 | isa = XCConfigurationList; 542 | buildConfigurations = ( 543 | 03977D31285D5EC383D1CD71D0635E5F /* Debug */, 544 | 857FC3409D3C25E08A734F2FA74312DE /* Release */, 545 | ); 546 | defaultConfigurationIsVisible = 0; 547 | defaultConfigurationName = Release; 548 | }; 549 | E58804C9C868308D9A483FAC784FC582 /* Build configuration list for PBXNativeTarget "Pods-RSFloatInputView_Example" */ = { 550 | isa = XCConfigurationList; 551 | buildConfigurations = ( 552 | 144F170353A2211D32A5AFE6EAC8A245 /* Debug */, 553 | 4483D36817C287E0B2B12D51426A2D9B /* Release */, 554 | ); 555 | defaultConfigurationIsVisible = 0; 556 | defaultConfigurationName = Release; 557 | }; 558 | /* End XCConfigurationList section */ 559 | }; 560 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 561 | } 562 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-RSFloatInputView_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-RSFloatInputView_Example/Pods-RSFloatInputView_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## RSFloatInputView 5 | 6 | Copyright (c) 2017 roytornado 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-RSFloatInputView_Example/Pods-RSFloatInputView_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) 2017 roytornado <roytornado@gmail.com> 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | License 38 | MIT 39 | Title 40 | RSFloatInputView 41 | Type 42 | PSGroupSpecifier 43 | 44 | 45 | FooterText 46 | Generated by CocoaPods - https://cocoapods.org 47 | Title 48 | 49 | Type 50 | PSGroupSpecifier 51 | 52 | 53 | StringsTable 54 | Acknowledgements 55 | Title 56 | Acknowledgements 57 | 58 | 59 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-RSFloatInputView_Example/Pods-RSFloatInputView_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_RSFloatInputView_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_RSFloatInputView_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-RSFloatInputView_Example/Pods-RSFloatInputView_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 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements "$1"" 63 | 64 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 65 | code_sign_cmd="$code_sign_cmd &" 66 | fi 67 | echo "$code_sign_cmd" 68 | eval "$code_sign_cmd" 69 | fi 70 | } 71 | 72 | # Strip invalid architectures 73 | strip_invalid_archs() { 74 | binary="$1" 75 | # Get architectures for current file 76 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 77 | stripped="" 78 | for arch in $archs; do 79 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 80 | # Strip non-valid architectures in-place 81 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 82 | stripped="$stripped $arch" 83 | fi 84 | done 85 | if [[ "$stripped" ]]; then 86 | echo "Stripped $binary of architectures:$stripped" 87 | fi 88 | } 89 | 90 | 91 | if [[ "$CONFIGURATION" == "Debug" ]]; then 92 | install_framework "$BUILT_PRODUCTS_DIR/RSFloatInputView/RSFloatInputView.framework" 93 | fi 94 | if [[ "$CONFIGURATION" == "Release" ]]; then 95 | install_framework "$BUILT_PRODUCTS_DIR/RSFloatInputView/RSFloatInputView.framework" 96 | fi 97 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 98 | wait 99 | fi 100 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-RSFloatInputView_Example/Pods-RSFloatInputView_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 | 3) 22 | TARGET_DEVICE_ARGS="--target-device tv" 23 | ;; 24 | *) 25 | TARGET_DEVICE_ARGS="--target-device mac" 26 | ;; 27 | esac 28 | 29 | install_resource() 30 | { 31 | if [[ "$1" = /* ]] ; then 32 | RESOURCE_PATH="$1" 33 | else 34 | RESOURCE_PATH="${PODS_ROOT}/$1" 35 | fi 36 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 37 | cat << EOM 38 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 39 | EOM 40 | exit 1 41 | fi 42 | case $RESOURCE_PATH in 43 | *.storyboard) 44 | 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}" 45 | 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} 46 | ;; 47 | *.xib) 48 | 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}" 49 | 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} 50 | ;; 51 | *.framework) 52 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 53 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 54 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 55 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | ;; 57 | *.xcdatamodel) 58 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 59 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 60 | ;; 61 | *.xcdatamodeld) 62 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 63 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 64 | ;; 65 | *.xcmappingmodel) 66 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 67 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 68 | ;; 69 | *.xcassets) 70 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 71 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 72 | ;; 73 | *) 74 | echo "$RESOURCE_PATH" 75 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 76 | ;; 77 | esac 78 | } 79 | 80 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 81 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 82 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 83 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | fi 86 | rm -f "$RESOURCES_TO_COPY" 87 | 88 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 89 | then 90 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 91 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 92 | while read line; do 93 | if [[ $line != "${PODS_ROOT}*" ]]; then 94 | XCASSET_FILES+=("$line") 95 | fi 96 | done <<<"$OTHER_XCASSETS" 97 | 98 | 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}" 99 | fi 100 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-RSFloatInputView_Example/Pods-RSFloatInputView_Example-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_RSFloatInputView_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_RSFloatInputView_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-RSFloatInputView_Example/Pods-RSFloatInputView_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/RSFloatInputView" 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/RSFloatInputView/RSFloatInputView.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "RSFloatInputView" 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-RSFloatInputView_Example/Pods-RSFloatInputView_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_RSFloatInputView_Example { 2 | umbrella header "Pods-RSFloatInputView_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-RSFloatInputView_Example/Pods-RSFloatInputView_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/RSFloatInputView" 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/RSFloatInputView/RSFloatInputView.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "RSFloatInputView" 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/RSFloatInputView/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/RSFloatInputView/RSFloatInputView-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_RSFloatInputView : NSObject 3 | @end 4 | @implementation PodsDummy_RSFloatInputView 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/RSFloatInputView/RSFloatInputView-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/RSFloatInputView/RSFloatInputView-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double RSFloatInputViewVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char RSFloatInputViewVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/RSFloatInputView/RSFloatInputView.modulemap: -------------------------------------------------------------------------------- 1 | framework module RSFloatInputView { 2 | umbrella header "RSFloatInputView-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/RSFloatInputView/RSFloatInputView.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/RSFloatInputView 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /Example/RSFloatInputView.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 27C03E4629DBF021CBB97685 /* Pods_RSFloatInputView_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F36E93DBBC978321C9F3261A /* Pods_RSFloatInputView_Example.framework */; }; 11 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 12 | 607FACD81AFB9204008FA782 /* LightViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* LightViewController.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 | B0D730571E4CAE07003ACA11 /* DarkViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B0D730561E4CAE07003ACA11 /* DarkViewController.swift */; }; 17 | /* End PBXBuildFile section */ 18 | 19 | /* Begin PBXFileReference section */ 20 | 23DF6BAB364A8F585303F0C8 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 21 | 42DB70F2A9860C7BE601F225 /* Pods-RSFloatInputView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RSFloatInputView_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-RSFloatInputView_Example/Pods-RSFloatInputView_Example.debug.xcconfig"; sourceTree = ""; }; 22 | 607FACD01AFB9204008FA782 /* RSFloatInputView_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RSFloatInputView_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 23 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 24 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 25 | 607FACD71AFB9204008FA782 /* LightViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LightViewController.swift; sourceTree = ""; }; 26 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 27 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 28 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 29 | 7F8277F37C8F17A4BC92AFA8 /* RSFloatInputView.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = RSFloatInputView.podspec; path = ../RSFloatInputView.podspec; sourceTree = ""; }; 30 | 8A4D371F6258DB4B78559028 /* Pods_RSFloatInputView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RSFloatInputView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 31 | AB6B1F96F7AA17EE92B0CE62 /* Pods-RSFloatInputView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RSFloatInputView_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-RSFloatInputView_Example/Pods-RSFloatInputView_Example.release.xcconfig"; sourceTree = ""; }; 32 | B0D730561E4CAE07003ACA11 /* DarkViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DarkViewController.swift; sourceTree = ""; }; 33 | E80587D43027BEB944A01C55 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 34 | F36E93DBBC978321C9F3261A /* Pods_RSFloatInputView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RSFloatInputView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 35 | /* End PBXFileReference section */ 36 | 37 | /* Begin PBXFrameworksBuildPhase section */ 38 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 39 | isa = PBXFrameworksBuildPhase; 40 | buildActionMask = 2147483647; 41 | files = ( 42 | 27C03E4629DBF021CBB97685 /* Pods_RSFloatInputView_Example.framework in Frameworks */, 43 | ); 44 | runOnlyForDeploymentPostprocessing = 0; 45 | }; 46 | /* End PBXFrameworksBuildPhase section */ 47 | 48 | /* Begin PBXGroup section */ 49 | 607FACC71AFB9204008FA782 = { 50 | isa = PBXGroup; 51 | children = ( 52 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 53 | 607FACD21AFB9204008FA782 /* Example for RSFloatInputView */, 54 | 607FACD11AFB9204008FA782 /* Products */, 55 | 95A83CB896278BBAA09B858B /* Pods */, 56 | EC50F84F5DDFEC512FDD17E7 /* Frameworks */, 57 | ); 58 | sourceTree = ""; 59 | }; 60 | 607FACD11AFB9204008FA782 /* Products */ = { 61 | isa = PBXGroup; 62 | children = ( 63 | 607FACD01AFB9204008FA782 /* RSFloatInputView_Example.app */, 64 | ); 65 | name = Products; 66 | sourceTree = ""; 67 | }; 68 | 607FACD21AFB9204008FA782 /* Example for RSFloatInputView */ = { 69 | isa = PBXGroup; 70 | children = ( 71 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 72 | B0D730561E4CAE07003ACA11 /* DarkViewController.swift */, 73 | 607FACD71AFB9204008FA782 /* LightViewController.swift */, 74 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 75 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 76 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 77 | 607FACD31AFB9204008FA782 /* Supporting Files */, 78 | ); 79 | name = "Example for RSFloatInputView"; 80 | path = RSFloatInputView; 81 | sourceTree = ""; 82 | }; 83 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 84 | isa = PBXGroup; 85 | children = ( 86 | 607FACD41AFB9204008FA782 /* Info.plist */, 87 | ); 88 | name = "Supporting Files"; 89 | sourceTree = ""; 90 | }; 91 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 92 | isa = PBXGroup; 93 | children = ( 94 | 7F8277F37C8F17A4BC92AFA8 /* RSFloatInputView.podspec */, 95 | 23DF6BAB364A8F585303F0C8 /* README.md */, 96 | E80587D43027BEB944A01C55 /* LICENSE */, 97 | ); 98 | name = "Podspec Metadata"; 99 | sourceTree = ""; 100 | }; 101 | 95A83CB896278BBAA09B858B /* Pods */ = { 102 | isa = PBXGroup; 103 | children = ( 104 | 42DB70F2A9860C7BE601F225 /* Pods-RSFloatInputView_Example.debug.xcconfig */, 105 | AB6B1F96F7AA17EE92B0CE62 /* Pods-RSFloatInputView_Example.release.xcconfig */, 106 | ); 107 | name = Pods; 108 | sourceTree = ""; 109 | }; 110 | EC50F84F5DDFEC512FDD17E7 /* Frameworks */ = { 111 | isa = PBXGroup; 112 | children = ( 113 | F36E93DBBC978321C9F3261A /* Pods_RSFloatInputView_Example.framework */, 114 | 8A4D371F6258DB4B78559028 /* Pods_RSFloatInputView_Tests.framework */, 115 | ); 116 | name = Frameworks; 117 | sourceTree = ""; 118 | }; 119 | /* End PBXGroup section */ 120 | 121 | /* Begin PBXNativeTarget section */ 122 | 607FACCF1AFB9204008FA782 /* RSFloatInputView_Example */ = { 123 | isa = PBXNativeTarget; 124 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "RSFloatInputView_Example" */; 125 | buildPhases = ( 126 | B2F48C739EF1B81F44E5AD96 /* [CP] Check Pods Manifest.lock */, 127 | 607FACCC1AFB9204008FA782 /* Sources */, 128 | 607FACCD1AFB9204008FA782 /* Frameworks */, 129 | 607FACCE1AFB9204008FA782 /* Resources */, 130 | 33FC98220F7E600827598DB8 /* [CP] Embed Pods Frameworks */, 131 | F4DEF07D93489150C23168C1 /* [CP] Copy Pods Resources */, 132 | ); 133 | buildRules = ( 134 | ); 135 | dependencies = ( 136 | ); 137 | name = RSFloatInputView_Example; 138 | productName = RSFloatInputView; 139 | productReference = 607FACD01AFB9204008FA782 /* RSFloatInputView_Example.app */; 140 | productType = "com.apple.product-type.application"; 141 | }; 142 | /* End PBXNativeTarget section */ 143 | 144 | /* Begin PBXProject section */ 145 | 607FACC81AFB9204008FA782 /* Project object */ = { 146 | isa = PBXProject; 147 | attributes = { 148 | LastSwiftUpdateCheck = 0720; 149 | LastUpgradeCheck = 0820; 150 | ORGANIZATIONNAME = CocoaPods; 151 | TargetAttributes = { 152 | 607FACCF1AFB9204008FA782 = { 153 | CreatedOnToolsVersion = 6.3.1; 154 | LastSwiftMigration = 0820; 155 | }; 156 | }; 157 | }; 158 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "RSFloatInputView" */; 159 | compatibilityVersion = "Xcode 3.2"; 160 | developmentRegion = English; 161 | hasScannedForEncodings = 0; 162 | knownRegions = ( 163 | en, 164 | Base, 165 | ); 166 | mainGroup = 607FACC71AFB9204008FA782; 167 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 168 | projectDirPath = ""; 169 | projectRoot = ""; 170 | targets = ( 171 | 607FACCF1AFB9204008FA782 /* RSFloatInputView_Example */, 172 | ); 173 | }; 174 | /* End PBXProject section */ 175 | 176 | /* Begin PBXResourcesBuildPhase section */ 177 | 607FACCE1AFB9204008FA782 /* Resources */ = { 178 | isa = PBXResourcesBuildPhase; 179 | buildActionMask = 2147483647; 180 | files = ( 181 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 182 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 183 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 184 | ); 185 | runOnlyForDeploymentPostprocessing = 0; 186 | }; 187 | /* End PBXResourcesBuildPhase section */ 188 | 189 | /* Begin PBXShellScriptBuildPhase section */ 190 | 33FC98220F7E600827598DB8 /* [CP] Embed Pods Frameworks */ = { 191 | isa = PBXShellScriptBuildPhase; 192 | buildActionMask = 2147483647; 193 | files = ( 194 | ); 195 | inputPaths = ( 196 | ); 197 | name = "[CP] Embed Pods Frameworks"; 198 | outputPaths = ( 199 | ); 200 | runOnlyForDeploymentPostprocessing = 0; 201 | shellPath = /bin/sh; 202 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-RSFloatInputView_Example/Pods-RSFloatInputView_Example-frameworks.sh\"\n"; 203 | showEnvVarsInLog = 0; 204 | }; 205 | B2F48C739EF1B81F44E5AD96 /* [CP] Check Pods Manifest.lock */ = { 206 | isa = PBXShellScriptBuildPhase; 207 | buildActionMask = 2147483647; 208 | files = ( 209 | ); 210 | inputPaths = ( 211 | ); 212 | name = "[CP] Check Pods Manifest.lock"; 213 | outputPaths = ( 214 | ); 215 | runOnlyForDeploymentPostprocessing = 0; 216 | shellPath = /bin/sh; 217 | shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n"; 218 | showEnvVarsInLog = 0; 219 | }; 220 | F4DEF07D93489150C23168C1 /* [CP] Copy Pods Resources */ = { 221 | isa = PBXShellScriptBuildPhase; 222 | buildActionMask = 2147483647; 223 | files = ( 224 | ); 225 | inputPaths = ( 226 | ); 227 | name = "[CP] Copy Pods Resources"; 228 | outputPaths = ( 229 | ); 230 | runOnlyForDeploymentPostprocessing = 0; 231 | shellPath = /bin/sh; 232 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-RSFloatInputView_Example/Pods-RSFloatInputView_Example-resources.sh\"\n"; 233 | showEnvVarsInLog = 0; 234 | }; 235 | /* End PBXShellScriptBuildPhase section */ 236 | 237 | /* Begin PBXSourcesBuildPhase section */ 238 | 607FACCC1AFB9204008FA782 /* Sources */ = { 239 | isa = PBXSourcesBuildPhase; 240 | buildActionMask = 2147483647; 241 | files = ( 242 | 607FACD81AFB9204008FA782 /* LightViewController.swift in Sources */, 243 | B0D730571E4CAE07003ACA11 /* DarkViewController.swift in Sources */, 244 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 245 | ); 246 | runOnlyForDeploymentPostprocessing = 0; 247 | }; 248 | /* End PBXSourcesBuildPhase section */ 249 | 250 | /* Begin PBXVariantGroup section */ 251 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 252 | isa = PBXVariantGroup; 253 | children = ( 254 | 607FACDA1AFB9204008FA782 /* Base */, 255 | ); 256 | name = Main.storyboard; 257 | sourceTree = ""; 258 | }; 259 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 260 | isa = PBXVariantGroup; 261 | children = ( 262 | 607FACDF1AFB9204008FA782 /* Base */, 263 | ); 264 | name = LaunchScreen.xib; 265 | sourceTree = ""; 266 | }; 267 | /* End PBXVariantGroup section */ 268 | 269 | /* Begin XCBuildConfiguration section */ 270 | 607FACED1AFB9204008FA782 /* Debug */ = { 271 | isa = XCBuildConfiguration; 272 | buildSettings = { 273 | ALWAYS_SEARCH_USER_PATHS = NO; 274 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 275 | CLANG_CXX_LIBRARY = "libc++"; 276 | CLANG_ENABLE_MODULES = YES; 277 | CLANG_ENABLE_OBJC_ARC = YES; 278 | CLANG_WARN_BOOL_CONVERSION = YES; 279 | CLANG_WARN_CONSTANT_CONVERSION = YES; 280 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 281 | CLANG_WARN_EMPTY_BODY = YES; 282 | CLANG_WARN_ENUM_CONVERSION = YES; 283 | CLANG_WARN_INFINITE_RECURSION = YES; 284 | CLANG_WARN_INT_CONVERSION = YES; 285 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 286 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 287 | CLANG_WARN_UNREACHABLE_CODE = YES; 288 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 289 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 290 | COPY_PHASE_STRIP = NO; 291 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 292 | ENABLE_STRICT_OBJC_MSGSEND = YES; 293 | ENABLE_TESTABILITY = YES; 294 | GCC_C_LANGUAGE_STANDARD = gnu99; 295 | GCC_DYNAMIC_NO_PIC = NO; 296 | GCC_NO_COMMON_BLOCKS = YES; 297 | GCC_OPTIMIZATION_LEVEL = 0; 298 | GCC_PREPROCESSOR_DEFINITIONS = ( 299 | "DEBUG=1", 300 | "$(inherited)", 301 | ); 302 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 303 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 304 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 305 | GCC_WARN_UNDECLARED_SELECTOR = YES; 306 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 307 | GCC_WARN_UNUSED_FUNCTION = YES; 308 | GCC_WARN_UNUSED_VARIABLE = YES; 309 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 310 | MTL_ENABLE_DEBUG_INFO = YES; 311 | ONLY_ACTIVE_ARCH = YES; 312 | SDKROOT = iphoneos; 313 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 314 | }; 315 | name = Debug; 316 | }; 317 | 607FACEE1AFB9204008FA782 /* Release */ = { 318 | isa = XCBuildConfiguration; 319 | buildSettings = { 320 | ALWAYS_SEARCH_USER_PATHS = NO; 321 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 322 | CLANG_CXX_LIBRARY = "libc++"; 323 | CLANG_ENABLE_MODULES = YES; 324 | CLANG_ENABLE_OBJC_ARC = YES; 325 | CLANG_WARN_BOOL_CONVERSION = YES; 326 | CLANG_WARN_CONSTANT_CONVERSION = YES; 327 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 328 | CLANG_WARN_EMPTY_BODY = YES; 329 | CLANG_WARN_ENUM_CONVERSION = YES; 330 | CLANG_WARN_INFINITE_RECURSION = YES; 331 | CLANG_WARN_INT_CONVERSION = YES; 332 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 333 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 334 | CLANG_WARN_UNREACHABLE_CODE = YES; 335 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 336 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 337 | COPY_PHASE_STRIP = NO; 338 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 339 | ENABLE_NS_ASSERTIONS = NO; 340 | ENABLE_STRICT_OBJC_MSGSEND = YES; 341 | GCC_C_LANGUAGE_STANDARD = gnu99; 342 | GCC_NO_COMMON_BLOCKS = YES; 343 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 344 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 345 | GCC_WARN_UNDECLARED_SELECTOR = YES; 346 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 347 | GCC_WARN_UNUSED_FUNCTION = YES; 348 | GCC_WARN_UNUSED_VARIABLE = YES; 349 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 350 | MTL_ENABLE_DEBUG_INFO = NO; 351 | SDKROOT = iphoneos; 352 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 353 | VALIDATE_PRODUCT = YES; 354 | }; 355 | name = Release; 356 | }; 357 | 607FACF01AFB9204008FA782 /* Debug */ = { 358 | isa = XCBuildConfiguration; 359 | baseConfigurationReference = 42DB70F2A9860C7BE601F225 /* Pods-RSFloatInputView_Example.debug.xcconfig */; 360 | buildSettings = { 361 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 362 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 363 | INFOPLIST_FILE = RSFloatInputView/Info.plist; 364 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 365 | MODULE_NAME = ExampleApp; 366 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 367 | PRODUCT_NAME = "$(TARGET_NAME)"; 368 | SWIFT_VERSION = 4.0; 369 | }; 370 | name = Debug; 371 | }; 372 | 607FACF11AFB9204008FA782 /* Release */ = { 373 | isa = XCBuildConfiguration; 374 | baseConfigurationReference = AB6B1F96F7AA17EE92B0CE62 /* Pods-RSFloatInputView_Example.release.xcconfig */; 375 | buildSettings = { 376 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 377 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 378 | INFOPLIST_FILE = RSFloatInputView/Info.plist; 379 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 380 | MODULE_NAME = ExampleApp; 381 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 382 | PRODUCT_NAME = "$(TARGET_NAME)"; 383 | SWIFT_VERSION = 4.0; 384 | }; 385 | name = Release; 386 | }; 387 | /* End XCBuildConfiguration section */ 388 | 389 | /* Begin XCConfigurationList section */ 390 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "RSFloatInputView" */ = { 391 | isa = XCConfigurationList; 392 | buildConfigurations = ( 393 | 607FACED1AFB9204008FA782 /* Debug */, 394 | 607FACEE1AFB9204008FA782 /* Release */, 395 | ); 396 | defaultConfigurationIsVisible = 0; 397 | defaultConfigurationName = Release; 398 | }; 399 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "RSFloatInputView_Example" */ = { 400 | isa = XCConfigurationList; 401 | buildConfigurations = ( 402 | 607FACF01AFB9204008FA782 /* Debug */, 403 | 607FACF11AFB9204008FA782 /* Release */, 404 | ); 405 | defaultConfigurationIsVisible = 0; 406 | defaultConfigurationName = Release; 407 | }; 408 | /* End XCConfigurationList section */ 409 | }; 410 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 411 | } 412 | -------------------------------------------------------------------------------- /Example/RSFloatInputView.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/RSFloatInputView.xcodeproj/xcshareddata/xcschemes/RSFloatInputView-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 67 | 68 | 78 | 80 | 86 | 87 | 88 | 89 | 90 | 91 | 97 | 99 | 105 | 106 | 107 | 108 | 110 | 111 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /Example/RSFloatInputView.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/RSFloatInputView.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/RSFloatInputView/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import RSFloatInputView 3 | 4 | @UIApplicationMain 5 | class AppDelegate: UIResponder, UIApplicationDelegate { 6 | 7 | var window: UIWindow? 8 | 9 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { 10 | RSFloatInputView.stringTransformer = { 11 | orginal in 12 | // Transform the place holder string configured in XIB with your own way. 13 | // e.g return NSLocalizedString(orginal, comment: orginal) 14 | return orginal.replacingOccurrences(of: "TXT_", with: "") 15 | } 16 | RSFloatInputView.instanceTransformer = { 17 | instance in 18 | // Support multi-styles in one place using the tag 19 | if instance.tag == 0 { 20 | instance.floatPlaceHolderColor = UIColor.brown 21 | instance.textColor = UIColor.darkText 22 | instance.tintColor = UIColor.brown 23 | } 24 | if instance.tag == 1 { 25 | instance.floatPlaceHolderColor = UIColor.blue 26 | instance.textColor = UIColor.darkText 27 | instance.tintColor = UIColor.blue 28 | } 29 | } 30 | return true 31 | } 32 | 33 | func applicationWillResignActive(_ application: UIApplication) { 34 | // 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. 35 | // 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. 36 | } 37 | 38 | func applicationDidEnterBackground(_ application: UIApplication) { 39 | // 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. 40 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 41 | } 42 | 43 | func applicationWillEnterForeground(_ application: UIApplication) { 44 | // 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. 45 | } 46 | 47 | func applicationDidBecomeActive(_ application: UIApplication) { 48 | // 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. 49 | } 50 | 51 | func applicationWillTerminate(_ application: UIApplication) { 52 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 53 | } 54 | 55 | 56 | } 57 | 58 | -------------------------------------------------------------------------------- /Example/RSFloatInputView/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/RSFloatInputView/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | -------------------------------------------------------------------------------- /Example/RSFloatInputView/DarkViewController.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import RSFloatInputView 3 | 4 | class DarkViewController: UIViewController, UITextFieldDelegate { 5 | 6 | @IBOutlet weak var phoneInputView: RSFloatInputView! 7 | @IBOutlet weak var whatsappInputView: RSFloatInputView! 8 | @IBOutlet weak var facebookInputView: RSFloatInputView! 9 | 10 | override func viewDidLoad() { 11 | super.viewDidLoad() 12 | phoneInputView.textField.delegate = self 13 | whatsappInputView.textField.delegate = self 14 | facebookInputView.textField.delegate = self 15 | } 16 | 17 | func textFieldShouldReturn(_ textField: UITextField) -> Bool { 18 | textField.resignFirstResponder() 19 | return true 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Example/RSFloatInputView/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | } 43 | ], 44 | "info" : { 45 | "version" : 1, 46 | "author" : "xcode" 47 | } 48 | } -------------------------------------------------------------------------------- /Example/RSFloatInputView/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/RSFloatInputView/Images.xcassets/icWidgetFb.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "icWidgetFb.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "icWidgetFb@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x", 16 | "filename" : "icWidgetFb@3x.png" 17 | } 18 | ], 19 | "info" : { 20 | "author" : "zeplin", 21 | "version" : "1" 22 | } 23 | } -------------------------------------------------------------------------------- /Example/RSFloatInputView/Images.xcassets/icWidgetFb.imageset/icWidgetFb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roytornado/RSFloatInputView/9fb10344fb3e3a38eb860863aaa565ef5ad31ed2/Example/RSFloatInputView/Images.xcassets/icWidgetFb.imageset/icWidgetFb.png -------------------------------------------------------------------------------- /Example/RSFloatInputView/Images.xcassets/icWidgetFb.imageset/icWidgetFb@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roytornado/RSFloatInputView/9fb10344fb3e3a38eb860863aaa565ef5ad31ed2/Example/RSFloatInputView/Images.xcassets/icWidgetFb.imageset/icWidgetFb@2x.png -------------------------------------------------------------------------------- /Example/RSFloatInputView/Images.xcassets/icWidgetFb.imageset/icWidgetFb@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roytornado/RSFloatInputView/9fb10344fb3e3a38eb860863aaa565ef5ad31ed2/Example/RSFloatInputView/Images.xcassets/icWidgetFb.imageset/icWidgetFb@3x.png -------------------------------------------------------------------------------- /Example/RSFloatInputView/Images.xcassets/icWidgetPhone.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "icWidgetPhone.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "icWidgetPhone@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x", 16 | "filename" : "icWidgetPhone@3x.png" 17 | } 18 | ], 19 | "info" : { 20 | "author" : "zeplin", 21 | "version" : "1" 22 | } 23 | } -------------------------------------------------------------------------------- /Example/RSFloatInputView/Images.xcassets/icWidgetPhone.imageset/icWidgetPhone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roytornado/RSFloatInputView/9fb10344fb3e3a38eb860863aaa565ef5ad31ed2/Example/RSFloatInputView/Images.xcassets/icWidgetPhone.imageset/icWidgetPhone.png -------------------------------------------------------------------------------- /Example/RSFloatInputView/Images.xcassets/icWidgetPhone.imageset/icWidgetPhone@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roytornado/RSFloatInputView/9fb10344fb3e3a38eb860863aaa565ef5ad31ed2/Example/RSFloatInputView/Images.xcassets/icWidgetPhone.imageset/icWidgetPhone@2x.png -------------------------------------------------------------------------------- /Example/RSFloatInputView/Images.xcassets/icWidgetPhone.imageset/icWidgetPhone@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roytornado/RSFloatInputView/9fb10344fb3e3a38eb860863aaa565ef5ad31ed2/Example/RSFloatInputView/Images.xcassets/icWidgetPhone.imageset/icWidgetPhone@3x.png -------------------------------------------------------------------------------- /Example/RSFloatInputView/Images.xcassets/icWidgetWhatsapp.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "icWidgetWhatsapp.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "icWidgetWhatsapp@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x", 16 | "filename" : "icWidgetWhatsapp@3x.png" 17 | } 18 | ], 19 | "info" : { 20 | "author" : "zeplin", 21 | "version" : "1" 22 | } 23 | } -------------------------------------------------------------------------------- /Example/RSFloatInputView/Images.xcassets/icWidgetWhatsapp.imageset/icWidgetWhatsapp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roytornado/RSFloatInputView/9fb10344fb3e3a38eb860863aaa565ef5ad31ed2/Example/RSFloatInputView/Images.xcassets/icWidgetWhatsapp.imageset/icWidgetWhatsapp.png -------------------------------------------------------------------------------- /Example/RSFloatInputView/Images.xcassets/icWidgetWhatsapp.imageset/icWidgetWhatsapp@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roytornado/RSFloatInputView/9fb10344fb3e3a38eb860863aaa565ef5ad31ed2/Example/RSFloatInputView/Images.xcassets/icWidgetWhatsapp.imageset/icWidgetWhatsapp@2x.png -------------------------------------------------------------------------------- /Example/RSFloatInputView/Images.xcassets/icWidgetWhatsapp.imageset/icWidgetWhatsapp@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roytornado/RSFloatInputView/9fb10344fb3e3a38eb860863aaa565ef5ad31ed2/Example/RSFloatInputView/Images.xcassets/icWidgetWhatsapp.imageset/icWidgetWhatsapp@3x.png -------------------------------------------------------------------------------- /Example/RSFloatInputView/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 | UIStatusBarStyle 34 | UIStatusBarStyleLightContent 35 | UISupportedInterfaceOrientations 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationLandscapeLeft 39 | 40 | UIViewControllerBasedStatusBarAppearance 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /Example/RSFloatInputView/LightViewController.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import RSFloatInputView 3 | 4 | class LightViewController: UIViewController, UITextFieldDelegate { 5 | 6 | @IBOutlet weak var phoneInputView: RSFloatInputView! 7 | @IBOutlet weak var whatsappInputView: RSFloatInputView! 8 | @IBOutlet weak var facebookInputView: RSFloatInputView! 9 | 10 | override func viewDidLoad() { 11 | super.viewDidLoad() 12 | phoneInputView.textField.delegate = self 13 | whatsappInputView.textField.delegate = self 14 | facebookInputView.textField.delegate = self 15 | } 16 | 17 | func textFieldShouldReturn(_ textField: UITextField) -> Bool { 18 | textField.resignFirstResponder() 19 | return true 20 | } 21 | } 22 | 23 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017 roytornado 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # RSFloatInputView 2 | 3 | [![Version](https://img.shields.io/cocoapods/v/RSFloatInputView.svg?style=flat)](http://cocoapods.org/pods/RSFloatInputView) 4 | [![License](https://img.shields.io/cocoapods/l/RSFloatInputView.svg?style=flat)](http://cocoapods.org/pods/RSFloatInputView) 5 | [![Platform](https://img.shields.io/cocoapods/p/RSFloatInputView.svg?style=flat)](http://cocoapods.org/pods/RSFloatInputView) 6 | 7 | ## Features 8 | * Smooth animation using CoreText 9 | * Support optional left icon 10 | * Support optional seperator 11 | * Configurable padding, size, fonts and colors 12 | * Ready for multi styles 13 | * Ready for string localization 14 | * Configurable in interface builder 15 | 16 | ## Demo 17 | 18 | [Yotube Video Demo](https://youtu.be/_08pUzXVp5s "Youtube") 19 | 20 | 21 | 22 | 23 | 24 | 25 | ## Customization 26 | 27 | ``` 28 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { 29 | RSFloatInputView.stringTransformer = { 30 | orginal in 31 | // Transform the place holder string configured in XIB with your own way. 32 | // e.g return NSLocalizedString(orginal, comment: orginal) 33 | return orginal.replacingOccurrences(of: "TXT_", with: "") 34 | } 35 | RSFloatInputView.instanceTransformer = { 36 | instance in 37 | // Support multi-styles in one place using the tag 38 | if instance.tag == 0 { 39 | instance.floatPlaceHolderColor = UIColor.brown 40 | instance.textColor = UIColor.darkText 41 | instance.tintColor = UIColor.brown 42 | } 43 | if instance.tag == 1 { 44 | instance.floatPlaceHolderColor = UIColor.blue 45 | instance.textColor = UIColor.darkText 46 | instance.tintColor = UIColor.blue 47 | } 48 | } 49 | return true 50 | } 51 | ``` 52 | 53 | ## Requirements 54 | * iOS 8.0 55 | * Swift 4.1 56 | 57 | ## Installation 58 | 59 | RSFloatInputView is available through [CocoaPods](http://cocoapods.org). To install it, simply add the following line to your Podfile: 60 | 61 | ```ruby 62 | pod "RSFloatInputView" 63 | ``` 64 | 65 | ## Author 66 | 67 | Roy Ng, roytornado@gmail.com 68 | @ Redso, https://www.redso.com.hk/ 69 | 70 | Linkedin: https://www.linkedin.com/in/roy-ng-19427735/ 71 | 72 | ## License 73 | 74 | RSFloatInputView is available under the MIT license. See the LICENSE file for more info. 75 | -------------------------------------------------------------------------------- /RSFloatInputView.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint RSFloatInputView.podspec' to ensure this is a 3 | # valid spec before submitting. 4 | # 5 | # Any lines starting with a # are optional, but their use is encouraged 6 | # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | s.name = 'RSFloatInputView' 11 | s.version = '1.1.0' 12 | s.summary = 'A Float Input View with smooth animation and supporting icon and seperator written with Swift' 13 | 14 | # This description is used to generate tags and improve search results. 15 | # * Think: What does it do? Why did you write it? What is the focus? 16 | # * Try to keep it short, snappy and to the point. 17 | # * Write the description between the DESC delimiters below. 18 | # * Finally, don't worry about the indent, CocoaPods strips it! 19 | 20 | s.description = <<-DESC 21 | A Float Input View with smooth animation and supporting icon and seperator written with Swift 22 | 23 | Features: 24 | * Smooth animation using CoreText 25 | * Support optional left icon 26 | * Support optional seperator 27 | * Configurable padding, size, fonts and colors 28 | * Ready for multi styles 29 | * Ready for string localization 30 | 31 | DESC 32 | 33 | s.homepage = 'https://github.com/roytornado/RSFloatInputView' 34 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 35 | s.license = { :type => 'MIT', :file => 'LICENSE' } 36 | s.author = { 'roytornado' => 'roytornado@gmail.com' } 37 | s.source = { :git => 'https://github.com/roytornado/RSFloatInputView.git', :tag => s.version.to_s } 38 | # s.social_media_url = 'https://twitter.com/' 39 | 40 | s.ios.deployment_target = '8.0' 41 | 42 | s.source_files = 'RSFloatInputView/Classes/**/*' 43 | s.swift_version = '4.1' 44 | 45 | # s.resource_bundles = { 46 | # 'RSFloatInputView' => ['RSFloatInputView/Assets/*.png'] 47 | # } 48 | 49 | # s.public_header_files = 'Pod/Classes/**/*.h' 50 | # s.frameworks = 'UIKit', 'MapKit' 51 | # s.dependency 'AFNetworking', '~> 2.3' 52 | end 53 | -------------------------------------------------------------------------------- /RSFloatInputView/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roytornado/RSFloatInputView/9fb10344fb3e3a38eb860863aaa565ef5ad31ed2/RSFloatInputView/Assets/.gitkeep -------------------------------------------------------------------------------- /RSFloatInputView/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roytornado/RSFloatInputView/9fb10344fb3e3a38eb860863aaa565ef5ad31ed2/RSFloatInputView/Classes/.gitkeep -------------------------------------------------------------------------------- /RSFloatInputView/Classes/RSFloatInputView.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import CoreText 3 | 4 | open class RSFloatInputView: UIView { 5 | open static var stringTransformer: ((String) -> String?)! = { 6 | orginal in 7 | return orginal 8 | } 9 | open static var instanceTransformer: ((RSFloatInputView) -> Void)! = { 10 | orginal in 11 | } 12 | 13 | public enum State { 14 | case idle, float 15 | } 16 | 17 | @IBInspectable open var applyTransform: Bool = true 18 | @IBInspectable open var leftInset: CGFloat = 16 19 | @IBInspectable open var rightInset: CGFloat = 16 20 | @IBInspectable open var textInnerPadding: CGFloat = 2 21 | @IBInspectable open var imageInnerPadding: CGFloat = 8 22 | 23 | @IBInspectable open var iconImage: UIImage? = nil 24 | @IBInspectable open var iconSize: CGFloat = 30 25 | 26 | @IBInspectable open var idlePlaceHolderColor: UIColor = UIColor.lightGray 27 | @IBInspectable open var floatPlaceHolderColor: UIColor = UIColor.blue 28 | @IBInspectable open var textColor: UIColor = UIColor.darkGray 29 | @IBInspectable open var placeHolderStringKey: String = "" { 30 | didSet { 31 | placeHolderLabel.string = RSFloatInputView.stringTransformer(placeHolderStringKey) 32 | } 33 | } 34 | @IBInspectable open var placeHolderFontKey: String = "HelveticaNeue" 35 | @IBInspectable open var idlePlaceHolderFontSize: CGFloat = 16 36 | @IBInspectable open var floatPlaceHolderFontSize: CGFloat = 14 37 | @IBInspectable open var inputFontName: String = "HelveticaNeue" 38 | @IBInspectable open var inputFontSize: CGFloat = 16 39 | @IBInspectable open var separatorEnabled: Bool = true 40 | @IBInspectable open var separatorColor: UIColor = UIColor.lightGray 41 | @IBInspectable open var separatorLeftInset: CGFloat = 0 42 | @IBInspectable open var separatorRightInset: CGFloat = 0 43 | 44 | @IBInspectable open var animationDuration: Double = 0.45 45 | 46 | open var iconImageView = UIImageView() 47 | open var placeHolderLabel = CATextLayer() 48 | open var textField = UITextField() 49 | open var separatorView = UIView() 50 | open var state: State = State.idle 51 | 52 | override open func awakeFromNib() { 53 | super.awakeFromNib() 54 | build() 55 | } 56 | 57 | open func build() { 58 | placeHolderLabel.contentsScale = UIScreen.main.scale 59 | addSubview(textField) 60 | addSubview(iconImageView) 61 | addSubview(separatorView) 62 | layer.addSublayer(placeHolderLabel) 63 | addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(focus))) 64 | textField.addTarget(self, action: #selector(editingDidEnd), for: .editingDidEnd) 65 | if applyTransform { RSFloatInputView.instanceTransformer(self) } 66 | configFontsAndColors() 67 | changeToIdle(animated: false) 68 | } 69 | 70 | open func configFontsAndColors() { 71 | placeHolderLabel.font = CGFont(placeHolderFontKey as CFString) 72 | textField.textColor = textColor 73 | textField.font = UIFont(name: inputFontName, size: inputFontSize) 74 | textField.tintColor = tintColor 75 | separatorView.backgroundColor = separatorColor 76 | } 77 | 78 | override open func layoutSubviews() { 79 | super.layoutSubviews() 80 | layout() 81 | } 82 | 83 | open func layout() { 84 | var currentX: CGFloat = leftInset 85 | if let iconImage = iconImage { 86 | iconImageView.isHidden = false 87 | iconImageView.image = iconImage 88 | iconImageView.frame = CGRect(x: currentX, y: viewHeight.half - iconSize.half, width: iconSize, height: iconSize) 89 | currentX += iconSize + imageInnerPadding 90 | } else { 91 | iconImageView.isHidden = true 92 | } 93 | let placeHolderUIFont = state == .idle ? UIFont(name: placeHolderFontKey, size: idlePlaceHolderFontSize) : UIFont(name: placeHolderFontKey, size: floatPlaceHolderFontSize) 94 | let placeHolderHeight: CGFloat = placeHolderUIFont!.lineHeight + 2 95 | let textFieldHeight = textField.font!.lineHeight + 2 96 | let inputHeight = placeHolderHeight + textInnerPadding + textFieldHeight 97 | let widthForInput = viewWidth - currentX - rightInset 98 | if state == .idle { 99 | placeHolderLabel.frame = CGRect(x: currentX, y: viewHeight.half - placeHolderHeight.half, width: widthForInput, height: idlePlaceHolderFontSize + 4) 100 | } else { 101 | placeHolderLabel.frame = CGRect(x: currentX, y: viewHeight.half - inputHeight.half, width: widthForInput, height: idlePlaceHolderFontSize + 4) 102 | } 103 | textField.frame = CGRect(x: currentX, y: viewHeight.half + inputHeight.half - textFieldHeight, width: widthForInput, height: textFieldHeight) 104 | 105 | separatorView.isHidden = !separatorEnabled 106 | separatorView.frame = CGRect(x: separatorLeftInset, y: viewHeight - 1, width: viewWidth - separatorLeftInset - separatorRightInset, height: 1) 107 | } 108 | 109 | open func changeToFloat(animated: Bool) { 110 | let animationDuration = animated ? self.animationDuration : 0.0 111 | state = .float 112 | CATransaction.begin() 113 | CATransaction.setAnimationDuration(animationDuration) 114 | CATransaction.setAnimationTimingFunction(CAMediaTimingFunction(name: kCAMediaTimingFunctionEaseOut)) 115 | placeHolderLabel.foregroundColor = floatPlaceHolderColor.cgColor 116 | placeHolderLabel.fontSize = floatPlaceHolderFontSize 117 | layout() 118 | CATransaction.commit() 119 | UIView.animate(withDuration: animationDuration, delay: 0.0, options: .curveEaseOut 120 | , animations: { 121 | self.textField.alpha = 1.0 122 | } 123 | , completion: { 124 | _ in 125 | 126 | }) 127 | } 128 | 129 | open func changeToIdle(animated: Bool) { 130 | let animationDuration = animated ? self.animationDuration : 0.0 131 | state = .idle 132 | CATransaction.begin() 133 | CATransaction.setAnimationDuration(animationDuration) 134 | CATransaction.setAnimationTimingFunction(CAMediaTimingFunction(name: kCAMediaTimingFunctionEaseOut)) 135 | placeHolderLabel.foregroundColor = idlePlaceHolderColor.cgColor 136 | placeHolderLabel.fontSize = idlePlaceHolderFontSize 137 | layout() 138 | CATransaction.commit() 139 | UIView.animate(withDuration: animationDuration, delay: 0.0, options: .curveEaseOut 140 | , animations: { 141 | self.textField.alpha = 0.0 142 | } 143 | , completion: { 144 | _ in 145 | 146 | }) 147 | } 148 | 149 | @objc open func focus() { 150 | textField.becomeFirstResponder() 151 | changeToFloat(animated: true) 152 | } 153 | 154 | @objc open func editingDidEnd() { 155 | if let text = textField.text, text.count > 0 { 156 | changeToFloat(animated: true) 157 | } else { 158 | changeToIdle(animated: true) 159 | } 160 | } 161 | 162 | } 163 | -------------------------------------------------------------------------------- /RSFloatInputView/Classes/RSFloatInputViewUtils.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | 3 | extension UIView { 4 | var ending: CGPoint { return CGPoint(x: frame.origin.x + frame.width, y: frame.origin.y + frame.height) } 5 | var viewWidth: CGFloat { return frame.width } 6 | var viewHeight: CGFloat { return frame.height } 7 | } 8 | 9 | extension CGFloat { 10 | var half: CGFloat { return self / 2 } 11 | var double: CGFloat { return self * 2 } 12 | } 13 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /ss_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roytornado/RSFloatInputView/9fb10344fb3e3a38eb860863aaa565ef5ad31ed2/ss_dark.png -------------------------------------------------------------------------------- /ss_gif.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roytornado/RSFloatInputView/9fb10344fb3e3a38eb860863aaa565ef5ad31ed2/ss_gif.gif -------------------------------------------------------------------------------- /ss_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roytornado/RSFloatInputView/9fb10344fb3e3a38eb860863aaa565ef5ad31ed2/ss_light.png --------------------------------------------------------------------------------