├── TLFloatLabelTextField ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ ├── TLFloatLabelTextField.swift │ └── TLFloatLabelTextView.swift ├── _Pods.xcodeproj ├── Example ├── TLFloatLabelTextField │ ├── Images.xcassets │ │ ├── Contents.json │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── ViewController.swift │ ├── Info.plist │ ├── AppDelegate.swift │ └── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard ├── Pods │ ├── Target Support Files │ │ ├── TLFloatLabelTextField │ │ │ ├── TLFloatLabelTextField.modulemap │ │ │ ├── TLFloatLabelTextField-dummy.m │ │ │ ├── TLFloatLabelTextField-prefix.pch │ │ │ ├── TLFloatLabelTextField-umbrella.h │ │ │ ├── TLFloatLabelTextField.xcconfig │ │ │ └── Info.plist │ │ ├── Pods-TLFloatLabelTextField_Tests │ │ │ ├── Pods-TLFloatLabelTextField_Tests-acknowledgements.markdown │ │ │ ├── Pods-TLFloatLabelTextField_Tests.modulemap │ │ │ ├── Pods-TLFloatLabelTextField_Tests-dummy.m │ │ │ ├── Pods-TLFloatLabelTextField_Tests-umbrella.h │ │ │ ├── Pods-TLFloatLabelTextField_Tests.debug.xcconfig │ │ │ ├── Pods-TLFloatLabelTextField_Tests.release.xcconfig │ │ │ ├── Info.plist │ │ │ ├── Pods-TLFloatLabelTextField_Tests-acknowledgements.plist │ │ │ ├── Pods-TLFloatLabelTextField_Tests-resources.sh │ │ │ └── Pods-TLFloatLabelTextField_Tests-frameworks.sh │ │ └── Pods-TLFloatLabelTextField_Example │ │ │ ├── Pods-TLFloatLabelTextField_Example.modulemap │ │ │ ├── Pods-TLFloatLabelTextField_Example-dummy.m │ │ │ ├── Pods-TLFloatLabelTextField_Example-umbrella.h │ │ │ ├── Pods-TLFloatLabelTextField_Example.debug.xcconfig │ │ │ ├── Pods-TLFloatLabelTextField_Example.release.xcconfig │ │ │ ├── Info.plist │ │ │ ├── Pods-TLFloatLabelTextField_Example-acknowledgements.markdown │ │ │ ├── Pods-TLFloatLabelTextField_Example-acknowledgements.plist │ │ │ ├── Pods-TLFloatLabelTextField_Example-resources.sh │ │ │ └── Pods-TLFloatLabelTextField_Example-frameworks.sh │ ├── Manifest.lock │ ├── TLFloatLabelTextField │ │ ├── TLFloatLabelTextField │ │ │ └── Classes │ │ │ │ ├── Sample.swift │ │ │ │ ├── TLFloatLabelTextField.swift │ │ │ │ └── TLFloatLabelTextView.swift │ │ ├── LICENSE │ │ └── README.md │ ├── Local Podspecs │ │ └── TLFloatLabelTextField.podspec.json │ └── Pods.xcodeproj │ │ └── project.pbxproj ├── Podfile ├── TLFloatLabelTextField.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── TLFloatLabelTextField-Example.xcscheme │ └── project.pbxproj ├── Podfile.lock ├── TLFloatLabelTextField.xcworkspace │ └── contents.xcworkspacedata └── Tests │ ├── Info.plist │ └── Tests.swift ├── .travis.yml ├── .gitignore ├── LICENSE ├── TLFloatLabelTextField.podspec └── README.md /TLFloatLabelTextField/Assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /TLFloatLabelTextField/Classes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /Example/TLFloatLabelTextField/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/TLFloatLabelTextField/TLFloatLabelTextField.modulemap: -------------------------------------------------------------------------------- 1 | framework module TLFloatLabelTextField { 2 | umbrella header "TLFloatLabelTextField-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'TLFloatLabelTextField_Example' do 4 | pod 'TLFloatLabelTextField' 5 | 6 | target 'TLFloatLabelTextField_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/TLFloatLabelTextField/TLFloatLabelTextField-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_TLFloatLabelTextField : NSObject 3 | @end 4 | @implementation PodsDummy_TLFloatLabelTextField 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TLFloatLabelTextField_Tests/Pods-TLFloatLabelTextField_Tests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | Generated by CocoaPods - https://cocoapods.org 4 | -------------------------------------------------------------------------------- /Example/TLFloatLabelTextField.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TLFloatLabelTextField_Tests/Pods-TLFloatLabelTextField_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_TLFloatLabelTextField_Tests { 2 | umbrella header "Pods-TLFloatLabelTextField_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TLFloatLabelTextField_Example/Pods-TLFloatLabelTextField_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_TLFloatLabelTextField_Example { 2 | umbrella header "Pods-TLFloatLabelTextField_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TLFloatLabelTextField_Tests/Pods-TLFloatLabelTextField_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_TLFloatLabelTextField_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_TLFloatLabelTextField_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TLFloatLabelTextField_Example/Pods-TLFloatLabelTextField_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_TLFloatLabelTextField_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_TLFloatLabelTextField_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - TLFloatLabelTextField (0.1.1) 3 | 4 | DEPENDENCIES: 5 | - TLFloatLabelTextField 6 | 7 | SPEC CHECKSUMS: 8 | TLFloatLabelTextField: b2759dba7494c5e3432b1f0d61e25f8ca661546f 9 | 10 | PODFILE CHECKSUM: cb4e5405db8be8e3418ae430e26b8e958552a999 11 | 12 | COCOAPODS: 1.4.0 13 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - TLFloatLabelTextField (0.1.1) 3 | 4 | DEPENDENCIES: 5 | - TLFloatLabelTextField 6 | 7 | SPEC CHECKSUMS: 8 | TLFloatLabelTextField: b2759dba7494c5e3432b1f0d61e25f8ca661546f 9 | 10 | PODFILE CHECKSUM: cb4e5405db8be8e3418ae430e26b8e958552a999 11 | 12 | COCOAPODS: 1.4.0 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/TLFloatLabelTextField/TLFloatLabelTextField-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/TLFloatLabelTextField/TLFloatLabelTextField/Classes/Sample.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Sample.swift 3 | // Pods-TLFloatLabelTextField_Example 4 | // 5 | // Created by apple on 05/02/18. 6 | // 7 | 8 | import Foundation 9 | 10 | public class Sample { 11 | public func printHello() { 12 | print("sample") 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Example/TLFloatLabelTextField.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/TLFloatLabelTextField/TLFloatLabelTextField-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 TLFloatLabelTextFieldVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char TLFloatLabelTextFieldVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TLFloatLabelTextField_Tests/Pods-TLFloatLabelTextField_Tests-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_TLFloatLabelTextField_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_TLFloatLabelTextField_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TLFloatLabelTextField_Example/Pods-TLFloatLabelTextField_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_TLFloatLabelTextField_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_TLFloatLabelTextField_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * http://www.objc.io/issue-6/travis-ci.html 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | osx_image: xcode7.3 6 | language: objective-c 7 | # cache: cocoapods 8 | # podfile: Example/Podfile 9 | # before_install: 10 | # - gem install cocoapods # Since Travis is not always on latest version 11 | # - pod install --project-directory=Example 12 | script: 13 | - set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/TLFloatLabelTextField.xcworkspace -scheme TLFloatLabelTextField-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/TLFloatLabelTextField/TLFloatLabelTextField.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/TLFloatLabelTextField 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}/TLFloatLabelTextField 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TLFloatLabelTextField_Tests/Pods-TLFloatLabelTextField_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/TLFloatLabelTextField" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/TLFloatLabelTextField/TLFloatLabelTextField.framework/Headers" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TLFloatLabelTextField_Tests/Pods-TLFloatLabelTextField_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/TLFloatLabelTextField" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/TLFloatLabelTextField/TLFloatLabelTextField.framework/Headers" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/TLFloatLabelTextField/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // TLFloatLabelTextField 4 | // 5 | // Created by Myanamwar on 02/05/2018. 6 | // Copyright (c) 2018 Myanamwar. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import TLFloatLabelTextField 11 | 12 | class ViewController: UIViewController { 13 | 14 | override func viewDidLoad() { 15 | super.viewDidLoad() 16 | // Do any additional setup after loading the view, typically from a nib. 17 | } 18 | 19 | override func didReceiveMemoryWarning() { 20 | super.didReceiveMemoryWarning() 21 | // Dispose of any resources that can be recreated. 22 | } 23 | 24 | } 25 | 26 | -------------------------------------------------------------------------------- /Example/Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TLFloatLabelTextField_Example/Pods-TLFloatLabelTextField_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/TLFloatLabelTextField" 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}/TLFloatLabelTextField/TLFloatLabelTextField.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "TLFloatLabelTextField" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TLFloatLabelTextField_Example/Pods-TLFloatLabelTextField_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/TLFloatLabelTextField" 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}/TLFloatLabelTextField/TLFloatLabelTextField.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "TLFloatLabelTextField" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OS X 2 | .DS_Store 3 | 4 | # Xcode 5 | build/ 6 | *.pbxuser 7 | !default.pbxuser 8 | *.mode1v3 9 | !default.mode1v3 10 | *.mode2v3 11 | !default.mode2v3 12 | *.perspectivev3 13 | !default.perspectivev3 14 | xcuserdata/ 15 | *.xccheckout 16 | profile 17 | *.moved-aside 18 | DerivedData 19 | *.hmap 20 | *.ipa 21 | 22 | # Bundler 23 | .bundle 24 | 25 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 26 | # Carthage/Checkouts 27 | 28 | Carthage/Build 29 | 30 | # We recommend against adding the Pods directory to your .gitignore. However 31 | # you should judge for yourself, the pros and cons are mentioned at: 32 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 33 | # 34 | # Note: if you ignore the Pods directory, make sure to uncomment 35 | # `pod install` in .travis.yml 36 | # 37 | # Pods/ 38 | -------------------------------------------------------------------------------- /Example/Tests/Tests.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import XCTest 3 | import TLFloatLabelTextField 4 | 5 | class Tests: XCTestCase { 6 | 7 | override func setUp() { 8 | super.setUp() 9 | // Put setup code here. This method is called before the invocation of each test method in the class. 10 | } 11 | 12 | override func tearDown() { 13 | // Put teardown code here. This method is called after the invocation of each test method in the class. 14 | super.tearDown() 15 | } 16 | 17 | func testExample() { 18 | // This is an example of a functional test case. 19 | XCTAssert(true, "Pass") 20 | } 21 | 22 | func testPerformanceExample() { 23 | // This is an example of a performance test case. 24 | self.measure() { 25 | // Put the code you want to measure the time of here. 26 | } 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/TLFloatLabelTextField.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "TLFloatLabelTextField", 3 | "version": "0.1.0", 4 | "summary": "TLFloatLabelTextField with bottom line for UITextField and UITextView.", 5 | "description": "A TLFloatLabelTextField is the Swift implementation. UITextField and UITextView subclasses with placeholders along with the bottom line that change into floating labels when the fields are populated with text.", 6 | "homepage": "https://github.com/TekysLabPvtLtd/TLFloatLabelTextField", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "TekysLabPvtLtd": "bhagyashree14mt@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/TekysLabPvtLtd/TLFloatLabelTextField.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "8.0" 20 | }, 21 | "swift_version": "4.0", 22 | "source_files": "TLFloatLabelTextField/Classes/**/*" 23 | } 24 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/TLFloatLabelTextField/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.1 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TLFloatLabelTextField_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-TLFloatLabelTextField_Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TLFloatLabelTextField_Tests/Pods-TLFloatLabelTextField_Tests-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Generated by CocoaPods - https://cocoapods.org 18 | Title 19 | 20 | Type 21 | PSGroupSpecifier 22 | 23 | 24 | StringsTable 25 | Acknowledgements 26 | Title 27 | Acknowledgements 28 | 29 | 30 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2018 Myanamwar 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /Example/TLFloatLabelTextField/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | }, 43 | { 44 | "idiom" : "ios-marketing", 45 | "size" : "1024x1024", 46 | "scale" : "1x" 47 | } 48 | ], 49 | "info" : { 50 | "version" : 1, 51 | "author" : "xcode" 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /Example/Pods/TLFloatLabelTextField/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2018 Myanamwar 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /Example/TLFloatLabelTextField/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TLFloatLabelTextField_Example/Pods-TLFloatLabelTextField_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## TLFloatLabelTextField 5 | 6 | Copyright (c) 2018 Myanamwar 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/TLFloatLabelTextField/README.md: -------------------------------------------------------------------------------- 1 | # TLFloatLabelTextField 2 | 3 | [![CI Status](http://img.shields.io/travis/Myanamwar/TLFloatLabelTextField.svg?style=flat)](https://travis-ci.org/Myanamwar/TLFloatLabelTextField) 4 | [![Version](https://img.shields.io/cocoapods/v/TLFloatLabelTextField.svg?style=flat)](http://cocoapods.org/pods/TLFloatLabelTextField) 5 | [![License](https://img.shields.io/cocoapods/l/TLFloatLabelTextField.svg?style=flat)](http://cocoapods.org/pods/TLFloatLabelTextField) 6 | [![Platform](https://img.shields.io/cocoapods/p/TLFloatLabelTextField.svg?style=flat)](http://cocoapods.org/pods/TLFloatLabelTextField) 7 | 8 | A TLFloatLabelTextField is the Swift implementation. UITextField and UITextView subclasses with placeholders that change into floating labels when the fields are populated with text. 9 | ## Example 10 | 11 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 12 | 13 | ## Requirements 14 | 15 | ## Installation 16 | Add 'TLFloatLabelTextField' and 'TLFloatLabelTextView' files to your project and subclass the textfield and textview with FloatTextField and FloatTextView. 17 | (or) 18 | TLFloatLabelTextField is available through [CocoaPods](http://cocoapods.org). To install 19 | it, simply add the following line to your Podfile: 20 | 21 | ```ruby 22 | pod 'TLFloatLabelTextField' 23 | ``` 24 | 25 | ## Author 26 | 27 | Myanamwar, bhagyashree14mt@gmail.com 28 | 29 | ## License 30 | 31 | TLFloatLabelTextField is available under the MIT license. See the LICENSE file for more info. 32 | -------------------------------------------------------------------------------- /TLFloatLabelTextField.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint TLFloatLabelTextField.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 = 'TLFloatLabelTextField' 11 | s.version = '0.1.3' 12 | s.summary = 'TLFloatLabelTextField with bottom line for UITextField and UITextView.' 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 TLFloatLabelTextField is the Swift implementation. UITextField and UITextView subclasses with placeholders along with the bottom line that change into floating labels when the fields are populated with text. 22 | DESC 23 | 24 | s.homepage = 'https://github.com/TekysLabPvtLtd/TLFloatLabelTextField' 25 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 26 | s.license = { :type => 'MIT', :file => 'LICENSE' } 27 | s.author = { 'TekysLabPvtLtd' => 'bhagyashree14mt@gmail.com' } 28 | s.source = { :git => 'https://github.com/TekysLabPvtLtd/TLFloatLabelTextField.git', :tag => s.version.to_s } 29 | # s.social_media_url = 'https://twitter.com/' 30 | 31 | s.ios.deployment_target = '8.0' 32 | s.swift_version = '4.0' 33 | s.source_files = 'TLFloatLabelTextField/Classes/**/*' 34 | 35 | # s.resource_bundles = { 36 | # 'TLFloatLabelTextField' => ['TLFloatLabelTextField/Assets/*.png'] 37 | # } 38 | 39 | # s.public_header_files = 'Pod/Classes/**/*.h' 40 | # s.frameworks = 'UIKit', 'MapKit' 41 | # s.dependency 'AFNetworking', '~> 2.3' 42 | end 43 | -------------------------------------------------------------------------------- /Example/TLFloatLabelTextField/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // TLFloatLabelTextField 4 | // 5 | // Created by Myanamwar on 02/05/2018. 6 | // Copyright (c) 2018 Myanamwar. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(_ application: UIApplication) { 23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 24 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 25 | } 26 | 27 | func applicationDidEnterBackground(_ application: UIApplication) { 28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 30 | } 31 | 32 | func applicationWillEnterForeground(_ application: UIApplication) { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | func applicationDidBecomeActive(_ application: UIApplication) { 37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 38 | } 39 | 40 | func applicationWillTerminate(_ application: UIApplication) { 41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 42 | } 43 | 44 | 45 | } 46 | 47 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TLFloatLabelTextField_Example/Pods-TLFloatLabelTextField_Example-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2018 Myanamwar <bhagyashree14mt@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 | TLFloatLabelTextField 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 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # TLFloatLabelTextField 2 | 3 | [![CI Status](http://img.shields.io/travis/Myanamwar/TLFloatLabelTextField.svg?style=flat)](https://travis-ci.org/Myanamwar/TLFloatLabelTextField) 4 | [![Version](https://img.shields.io/cocoapods/v/TLFloatLabelTextField.svg?style=flat)](http://cocoapods.org/pods/TLFloatLabelTextField) 5 | [![License](https://img.shields.io/cocoapods/l/TLFloatLabelTextField.svg?style=flat)](http://cocoapods.org/pods/TLFloatLabelTextField) 6 | [![Platform](https://img.shields.io/cocoapods/p/TLFloatLabelTextField.svg?style=flat)](http://cocoapods.org/pods/TLFloatLabelTextField) 7 | 8 | A TLFloatLabelTextField is the Swift implementation. UITextField and UITextView subclasses with placeholders that change into floating labels when the fields are populated with text. 9 | 10 | ![tlfloattextfielddemo](https://user-images.githubusercontent.com/35949138/35852020-b8be1322-0b4f-11e8-8a6b-2a9089f0fe1b.gif) 11 | 12 | 13 | 14 | ## Example 15 | 16 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 17 | 18 | ## Requirements 19 | 20 | ## Installation 21 | TLFloatLabelTextField is a beautiful, flexible and customizable implementation of the space saving "Float Label Pattern". 22 | 23 | You can install the TLFloatLabelField components two ways: 24 | 25 | Add 'TLFloatLabelTextField' and 'TLFloatLabelTextView' files to your project and subclass your textfield and textview in Storyboard with TLFloatLabelTextField and TLFloatLabelTextView. 26 | 27 | (or) 28 | 29 | TLFloatLabelTextField is available through [CocoaPods](http://cocoapods.org). To install 30 | it, simply add the following line to your Podfile: 31 | 32 | ```ruby 33 | pod 'TLFloatLabelTextField' 34 | ``` 35 | 36 | Next, switch to the Attributes Inspector tab and set the necessary attributes to configure your text field or text view. The Placeholder attribute (or Hint in the case of a UITextView) defines the actual title which will be used for your field. 37 | 38 | Using TLFloatLabelTextField via code works the same as you would do to set up a UITextField or UITextView instance. Simply create an instance of the class, set the necessary properties, and then add the field to your view. 39 | 40 | For TextField 41 | 42 | ``` 43 | let customTextField = TLFloatLabelTextField(frame:parentView.bounds) 44 | customTextField.placeholder = "Comments" 45 | parentView.addSubview(customTextField) 46 | ``` 47 | For TextView 48 | 49 | ``` 50 | let customTextView = TLFloatLabelTextView(frame:parentView.bounds) 51 | customTextView.placeholder = "Comments" 52 | parentView.addSubview(customTextView) 53 | ``` 54 | 55 | ## Credits 56 | This project derives inspiration from JVFloatLabeledTextField project. 57 | 58 | ## Author 59 | 60 | Myanamwar, bhagyashree14mt@gmail.com 61 | 62 | ## License 63 | 64 | TLFloatLabelTextField is available under the MIT license. See the LICENSE file for more info. 65 | -------------------------------------------------------------------------------- /Example/TLFloatLabelTextField/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 25 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /Example/TLFloatLabelTextField/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 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 | -------------------------------------------------------------------------------- /Example/TLFloatLabelTextField.xcodeproj/xcshareddata/xcschemes/TLFloatLabelTextField-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 45 | 46 | 48 | 54 | 55 | 56 | 57 | 58 | 64 | 65 | 66 | 67 | 68 | 69 | 80 | 82 | 88 | 89 | 90 | 91 | 92 | 93 | 99 | 101 | 107 | 108 | 109 | 110 | 112 | 113 | 116 | 117 | 118 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TLFloatLabelTextField_Tests/Pods-TLFloatLabelTextField_Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 12 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 13 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 14 | 15 | case "${TARGETED_DEVICE_FAMILY}" in 16 | 1,2) 17 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 18 | ;; 19 | 1) 20 | TARGET_DEVICE_ARGS="--target-device iphone" 21 | ;; 22 | 2) 23 | TARGET_DEVICE_ARGS="--target-device ipad" 24 | ;; 25 | 3) 26 | TARGET_DEVICE_ARGS="--target-device tv" 27 | ;; 28 | 4) 29 | TARGET_DEVICE_ARGS="--target-device watch" 30 | ;; 31 | *) 32 | TARGET_DEVICE_ARGS="--target-device mac" 33 | ;; 34 | esac 35 | 36 | install_resource() 37 | { 38 | if [[ "$1" = /* ]] ; then 39 | RESOURCE_PATH="$1" 40 | else 41 | RESOURCE_PATH="${PODS_ROOT}/$1" 42 | fi 43 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 44 | cat << EOM 45 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 46 | EOM 47 | exit 1 48 | fi 49 | case $RESOURCE_PATH in 50 | *.storyboard) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.xib) 55 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 56 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 57 | ;; 58 | *.framework) 59 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 60 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 61 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 62 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 63 | ;; 64 | *.xcdatamodel) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 67 | ;; 68 | *.xcdatamodeld) 69 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 70 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 71 | ;; 72 | *.xcmappingmodel) 73 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 74 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 75 | ;; 76 | *.xcassets) 77 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 78 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 79 | ;; 80 | *) 81 | echo "$RESOURCE_PATH" || true 82 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 83 | ;; 84 | esac 85 | } 86 | 87 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 89 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 90 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 91 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 92 | fi 93 | rm -f "$RESOURCES_TO_COPY" 94 | 95 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 96 | then 97 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 98 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 99 | while read line; do 100 | if [[ $line != "${PODS_ROOT}*" ]]; then 101 | XCASSET_FILES+=("$line") 102 | fi 103 | done <<<"$OTHER_XCASSETS" 104 | 105 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 106 | fi 107 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TLFloatLabelTextField_Example/Pods-TLFloatLabelTextField_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 12 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 13 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 14 | 15 | case "${TARGETED_DEVICE_FAMILY}" in 16 | 1,2) 17 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 18 | ;; 19 | 1) 20 | TARGET_DEVICE_ARGS="--target-device iphone" 21 | ;; 22 | 2) 23 | TARGET_DEVICE_ARGS="--target-device ipad" 24 | ;; 25 | 3) 26 | TARGET_DEVICE_ARGS="--target-device tv" 27 | ;; 28 | 4) 29 | TARGET_DEVICE_ARGS="--target-device watch" 30 | ;; 31 | *) 32 | TARGET_DEVICE_ARGS="--target-device mac" 33 | ;; 34 | esac 35 | 36 | install_resource() 37 | { 38 | if [[ "$1" = /* ]] ; then 39 | RESOURCE_PATH="$1" 40 | else 41 | RESOURCE_PATH="${PODS_ROOT}/$1" 42 | fi 43 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 44 | cat << EOM 45 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 46 | EOM 47 | exit 1 48 | fi 49 | case $RESOURCE_PATH in 50 | *.storyboard) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.xib) 55 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 56 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 57 | ;; 58 | *.framework) 59 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 60 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 61 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 62 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 63 | ;; 64 | *.xcdatamodel) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 67 | ;; 68 | *.xcdatamodeld) 69 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 70 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 71 | ;; 72 | *.xcmappingmodel) 73 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 74 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 75 | ;; 76 | *.xcassets) 77 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 78 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 79 | ;; 80 | *) 81 | echo "$RESOURCE_PATH" || true 82 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 83 | ;; 84 | esac 85 | } 86 | 87 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 89 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 90 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 91 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 92 | fi 93 | rm -f "$RESOURCES_TO_COPY" 94 | 95 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 96 | then 97 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 98 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 99 | while read line; do 100 | if [[ $line != "${PODS_ROOT}*" ]]; then 101 | XCASSET_FILES+=("$line") 102 | fi 103 | done <<<"$OTHER_XCASSETS" 104 | 105 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 106 | fi 107 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TLFloatLabelTextField_Tests/Pods-TLFloatLabelTextField_Tests-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | # Used as a return value for each invocation of `strip_invalid_archs` function. 10 | STRIP_BINARY_RETVAL=0 11 | 12 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 13 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 14 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 15 | 16 | # Copies and strips a vendored framework 17 | install_framework() 18 | { 19 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 20 | local source="${BUILT_PRODUCTS_DIR}/$1" 21 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 22 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 23 | elif [ -r "$1" ]; then 24 | local source="$1" 25 | fi 26 | 27 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 28 | 29 | if [ -L "${source}" ]; then 30 | echo "Symlinked..." 31 | source="$(readlink "${source}")" 32 | fi 33 | 34 | # Use filter instead of exclude so missing patterns don't throw errors. 35 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 36 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 37 | 38 | local basename 39 | basename="$(basename -s .framework "$1")" 40 | binary="${destination}/${basename}.framework/${basename}" 41 | if ! [ -r "$binary" ]; then 42 | binary="${destination}/${basename}" 43 | fi 44 | 45 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 46 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 47 | strip_invalid_archs "$binary" 48 | fi 49 | 50 | # Resign the code if required by the build settings to avoid unstable apps 51 | code_sign_if_enabled "${destination}/$(basename "$1")" 52 | 53 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 54 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 55 | local swift_runtime_libs 56 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 57 | for lib in $swift_runtime_libs; do 58 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 59 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 60 | code_sign_if_enabled "${destination}/${lib}" 61 | done 62 | fi 63 | } 64 | 65 | # Copies and strips a vendored dSYM 66 | install_dsym() { 67 | local source="$1" 68 | if [ -r "$source" ]; then 69 | # Copy the dSYM into a the targets temp dir. 70 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" 71 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" 72 | 73 | local basename 74 | basename="$(basename -s .framework.dSYM "$source")" 75 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 76 | 77 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 78 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 79 | strip_invalid_archs "$binary" 80 | fi 81 | 82 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 83 | # Move the stripped file into its final destination. 84 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 85 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 86 | else 87 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. 88 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 89 | fi 90 | fi 91 | } 92 | 93 | # Signs a framework with the provided identity 94 | code_sign_if_enabled() { 95 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 96 | # Use the current code_sign_identitiy 97 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 98 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 99 | 100 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 101 | code_sign_cmd="$code_sign_cmd &" 102 | fi 103 | echo "$code_sign_cmd" 104 | eval "$code_sign_cmd" 105 | fi 106 | } 107 | 108 | # Strip invalid architectures 109 | strip_invalid_archs() { 110 | binary="$1" 111 | # Get architectures for current target binary 112 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 113 | # Intersect them with the architectures we are building for 114 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 115 | # If there are no archs supported by this binary then warn the user 116 | if [[ -z "$intersected_archs" ]]; then 117 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 118 | STRIP_BINARY_RETVAL=0 119 | return 120 | fi 121 | stripped="" 122 | for arch in $binary_archs; do 123 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 124 | # Strip non-valid architectures in-place 125 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 126 | stripped="$stripped $arch" 127 | fi 128 | done 129 | if [[ "$stripped" ]]; then 130 | echo "Stripped $binary of architectures:$stripped" 131 | fi 132 | STRIP_BINARY_RETVAL=1 133 | } 134 | 135 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 136 | wait 137 | fi 138 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TLFloatLabelTextField_Example/Pods-TLFloatLabelTextField_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | # Used as a return value for each invocation of `strip_invalid_archs` function. 10 | STRIP_BINARY_RETVAL=0 11 | 12 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 13 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 14 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 15 | 16 | # Copies and strips a vendored framework 17 | install_framework() 18 | { 19 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 20 | local source="${BUILT_PRODUCTS_DIR}/$1" 21 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 22 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 23 | elif [ -r "$1" ]; then 24 | local source="$1" 25 | fi 26 | 27 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 28 | 29 | if [ -L "${source}" ]; then 30 | echo "Symlinked..." 31 | source="$(readlink "${source}")" 32 | fi 33 | 34 | # Use filter instead of exclude so missing patterns don't throw errors. 35 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 36 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 37 | 38 | local basename 39 | basename="$(basename -s .framework "$1")" 40 | binary="${destination}/${basename}.framework/${basename}" 41 | if ! [ -r "$binary" ]; then 42 | binary="${destination}/${basename}" 43 | fi 44 | 45 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 46 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 47 | strip_invalid_archs "$binary" 48 | fi 49 | 50 | # Resign the code if required by the build settings to avoid unstable apps 51 | code_sign_if_enabled "${destination}/$(basename "$1")" 52 | 53 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 54 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 55 | local swift_runtime_libs 56 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 57 | for lib in $swift_runtime_libs; do 58 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 59 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 60 | code_sign_if_enabled "${destination}/${lib}" 61 | done 62 | fi 63 | } 64 | 65 | # Copies and strips a vendored dSYM 66 | install_dsym() { 67 | local source="$1" 68 | if [ -r "$source" ]; then 69 | # Copy the dSYM into a the targets temp dir. 70 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" 71 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" 72 | 73 | local basename 74 | basename="$(basename -s .framework.dSYM "$source")" 75 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 76 | 77 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 78 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 79 | strip_invalid_archs "$binary" 80 | fi 81 | 82 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 83 | # Move the stripped file into its final destination. 84 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 85 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 86 | else 87 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. 88 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 89 | fi 90 | fi 91 | } 92 | 93 | # Signs a framework with the provided identity 94 | code_sign_if_enabled() { 95 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 96 | # Use the current code_sign_identitiy 97 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 98 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 99 | 100 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 101 | code_sign_cmd="$code_sign_cmd &" 102 | fi 103 | echo "$code_sign_cmd" 104 | eval "$code_sign_cmd" 105 | fi 106 | } 107 | 108 | # Strip invalid architectures 109 | strip_invalid_archs() { 110 | binary="$1" 111 | # Get architectures for current target binary 112 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 113 | # Intersect them with the architectures we are building for 114 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 115 | # If there are no archs supported by this binary then warn the user 116 | if [[ -z "$intersected_archs" ]]; then 117 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 118 | STRIP_BINARY_RETVAL=0 119 | return 120 | fi 121 | stripped="" 122 | for arch in $binary_archs; do 123 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 124 | # Strip non-valid architectures in-place 125 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 126 | stripped="$stripped $arch" 127 | fi 128 | done 129 | if [[ "$stripped" ]]; then 130 | echo "Stripped $binary of architectures:$stripped" 131 | fi 132 | STRIP_BINARY_RETVAL=1 133 | } 134 | 135 | 136 | if [[ "$CONFIGURATION" == "Debug" ]]; then 137 | install_framework "${BUILT_PRODUCTS_DIR}/TLFloatLabelTextField/TLFloatLabelTextField.framework" 138 | fi 139 | if [[ "$CONFIGURATION" == "Release" ]]; then 140 | install_framework "${BUILT_PRODUCTS_DIR}/TLFloatLabelTextField/TLFloatLabelTextField.framework" 141 | fi 142 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 143 | wait 144 | fi 145 | -------------------------------------------------------------------------------- /Example/Pods/TLFloatLabelTextField/TLFloatLabelTextField/Classes/TLFloatLabelTextField.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | 3 | @IBDesignable class TLFloatLabelTextField: UITextField { 4 | var _titleLabel = UILabel() 5 | let bottomLineView = UIView() 6 | 7 | // MARK:- Properties 8 | override var accessibilityLabel:String? { 9 | get { 10 | if let txt = text , txt.isEmpty { 11 | return _titleLabel.text 12 | } else { 13 | return text 14 | } 15 | } 16 | set { 17 | self.accessibilityLabel = newValue 18 | } 19 | } 20 | 21 | override var placeholder:String? { 22 | didSet { 23 | _titleLabel.text = placeholder 24 | _titleLabel.sizeToFit() 25 | } 26 | } 27 | @IBInspectable var placeHolderColor: UIColor = .white { 28 | didSet { 29 | self.attributedPlaceholder = NSAttributedString(string:self.placeholder != nil ? self.placeholder! : "", attributes:[NSAttributedStringKey.foregroundColor: placeHolderColor]) 30 | } 31 | } 32 | override var attributedPlaceholder:NSAttributedString? { 33 | didSet { 34 | _titleLabel.text = attributedPlaceholder?.string 35 | _titleLabel.sizeToFit() 36 | } 37 | } 38 | 39 | var titleFont:UIFont = UIFont.boldSystemFont(ofSize: 17.0) { 40 | didSet { 41 | _titleLabel.font = titleFont 42 | _titleLabel.sizeToFit() 43 | } 44 | } 45 | 46 | @IBInspectable var hintLabelYPadding:CGFloat = 0.0 47 | 48 | @IBInspectable var titleLabelYPadding:CGFloat = 0.0 { 49 | didSet { 50 | var r = _titleLabel.frame 51 | r.origin.y = titleLabelYPadding 52 | _titleLabel.frame = r 53 | } 54 | } 55 | 56 | @IBInspectable var titleTextColour:UIColor = UIColor.gray { 57 | didSet { 58 | if !isFirstResponder { 59 | _titleLabel.textColor = titleTextColour 60 | bottomLineView.backgroundColor = _titleLabel.textColor 61 | } 62 | } 63 | } 64 | @IBInspectable var titleActiveTextColour:UIColor = .white { 65 | didSet { 66 | if isFirstResponder { 67 | _titleLabel.textColor = titleActiveTextColour 68 | bottomLineView.backgroundColor = _titleLabel.textColor 69 | 70 | } 71 | } 72 | } 73 | 74 | // MARK:- Init 75 | required init?(coder aDecoder:NSCoder) { 76 | super.init(coder:aDecoder) 77 | setup() 78 | } 79 | 80 | override init(frame:CGRect) { 81 | super.init(frame:frame) 82 | setup() 83 | } 84 | 85 | // MARK:- Overrides 86 | override func layoutSubviews() { 87 | super.layoutSubviews() 88 | setTitlePositionForTextAlignment() 89 | setViewPosition() 90 | let isResp = isFirstResponder 91 | if let _ = text , isResp { 92 | _titleLabel.textColor = titleActiveTextColour 93 | } else { 94 | _titleLabel.textColor = titleTextColour 95 | } 96 | bottomLineView.backgroundColor = _titleLabel.textColor 97 | // Should we show or hide the title label? 98 | if let txt = text , txt.isEmpty { 99 | // Hide 100 | if isResp { 101 | showTitleLabel(isResp) 102 | } else { 103 | hideTitleLabel(isResp) 104 | } 105 | } else { 106 | // Show 107 | showTitleLabel(isResp) 108 | } 109 | } 110 | 111 | override func textRect(forBounds bounds:CGRect) -> CGRect { 112 | var r = super.textRect(forBounds: bounds) 113 | var top = ceil(_titleLabel.font.lineHeight + hintLabelYPadding) 114 | top = min(top, maxTopInset()) 115 | r = UIEdgeInsetsInsetRect(r, UIEdgeInsetsMake(top, 0.0, 0.0, 0.0)) 116 | return r.integral 117 | } 118 | 119 | override func editingRect(forBounds bounds:CGRect) -> CGRect { 120 | var r = super.editingRect(forBounds: bounds) 121 | var top = ceil(_titleLabel.font.lineHeight + hintLabelYPadding) 122 | top = min(top, maxTopInset()) 123 | r = UIEdgeInsetsInsetRect(r, UIEdgeInsetsMake(top, 0.0, 0.0, 0.0)) 124 | return r.integral 125 | } 126 | 127 | override func clearButtonRect(forBounds bounds:CGRect) -> CGRect { 128 | var r = super.clearButtonRect(forBounds: bounds) 129 | var top = ceil(_titleLabel.font.lineHeight + hintLabelYPadding) 130 | top = min(top, maxTopInset()) 131 | r = CGRect(x:r.origin.x, y:r.origin.y + (top * 0.5), width:r.size.width, height:r.size.height) 132 | return r.integral 133 | } 134 | 135 | // MARK:- Public Methods 136 | 137 | // MARK:- Private Methods 138 | fileprivate func setup() { 139 | 140 | borderStyle = UITextBorderStyle.none 141 | titleActiveTextColour = tintColor 142 | // Set up title label 143 | _titleLabel.alpha = 0.0 144 | _titleLabel.font = titleFont 145 | _titleLabel.textColor = titleTextColour 146 | bottomLineView.backgroundColor = _titleLabel.textColor 147 | if let str = placeholder , !str.isEmpty { 148 | _titleLabel.text = str 149 | _titleLabel.sizeToFit() 150 | } 151 | self.addSubview(_titleLabel) 152 | self.addSubview(bottomLineView) 153 | self.layer.masksToBounds = true 154 | 155 | } 156 | fileprivate func maxTopInset()->CGFloat { 157 | if let fnt = font { 158 | return max(0, floor(bounds.size.height - fnt.lineHeight - 4.0)) 159 | } 160 | return 0 161 | } 162 | 163 | fileprivate func setTitlePositionForTextAlignment() { 164 | let r = textRect(forBounds: bounds) 165 | var x = r.origin.x 166 | if textAlignment == NSTextAlignment.center { 167 | x = r.origin.x + (r.size.width * 0.5) - _titleLabel.frame.size.width 168 | } else if textAlignment == NSTextAlignment.right { 169 | x = r.origin.x + r.size.width - _titleLabel.frame.size.width 170 | } 171 | _titleLabel.frame = CGRect(x:x, y:_titleLabel.frame.origin.y, width:_titleLabel.frame.size.width, height:_titleLabel.frame.size.height) 172 | } 173 | fileprivate func setViewPosition() { 174 | let width = CGFloat(2.0) 175 | bottomLineView.frame = CGRect(x: 0, y: self.frame.size.height - width - 5, width: self.frame.size.width, height: 1) 176 | } 177 | fileprivate func showTitleLabel(_ animated:Bool) { 178 | 179 | let dur = animated ? 0.3 : 0 180 | UIView.animate(withDuration: dur, delay:0, options: [UIViewAnimationOptions.beginFromCurrentState, UIViewAnimationOptions.curveEaseOut], animations:{ 181 | // Animation 182 | self._titleLabel.alpha = 1.0 183 | var r = self._titleLabel.frame 184 | r.origin.y = self.titleLabelYPadding 185 | self._titleLabel.frame = r 186 | }, completion:nil) 187 | } 188 | 189 | fileprivate func hideTitleLabel(_ animated:Bool) { 190 | let dur = animated ? 0.3 : 0 191 | UIView.animate(withDuration: dur, delay:0, options: [UIViewAnimationOptions.beginFromCurrentState, UIViewAnimationOptions.curveEaseIn], animations:{ 192 | // Animation 193 | self._titleLabel.alpha = 0.0 194 | var r = self._titleLabel.frame 195 | r.origin.y = self._titleLabel.font.lineHeight + self.hintLabelYPadding 196 | self._titleLabel.frame = r 197 | }, completion:nil) 198 | } 199 | } 200 | -------------------------------------------------------------------------------- /TLFloatLabelTextField/Classes/TLFloatLabelTextField.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | 3 | @IBDesignable public class TLFloatLabelTextField: UITextField { 4 | var _titleLabel = UILabel() 5 | let bottomLineView = UIView() 6 | 7 | // MARK:- Properties 8 | override public var accessibilityLabel:String? { 9 | get { 10 | if let txt = text , txt.isEmpty { 11 | return _titleLabel.text 12 | } else { 13 | return text 14 | } 15 | } 16 | set { 17 | self.accessibilityLabel = newValue 18 | } 19 | } 20 | 21 | override public var placeholder:String? { 22 | didSet { 23 | _titleLabel.text = placeholder 24 | _titleLabel.sizeToFit() 25 | } 26 | } 27 | @IBInspectable var placeHolderColor: UIColor = .white { 28 | didSet { 29 | self.attributedPlaceholder = NSAttributedString(string:self.placeholder != nil ? self.placeholder! : "", attributes:[NSAttributedStringKey.foregroundColor: placeHolderColor]) 30 | } 31 | } 32 | override public var attributedPlaceholder:NSAttributedString? { 33 | didSet { 34 | _titleLabel.text = attributedPlaceholder?.string 35 | _titleLabel.sizeToFit() 36 | } 37 | } 38 | 39 | var titleFont:UIFont = UIFont.boldSystemFont(ofSize: 17.0) { 40 | didSet { 41 | _titleLabel.font = titleFont 42 | _titleLabel.sizeToFit() 43 | } 44 | } 45 | 46 | @IBInspectable var hintLabelYPadding:CGFloat = 0.0 47 | 48 | @IBInspectable var titleLabelYPadding:CGFloat = 0.0 { 49 | didSet { 50 | var r = _titleLabel.frame 51 | r.origin.y = titleLabelYPadding 52 | _titleLabel.frame = r 53 | } 54 | } 55 | 56 | @IBInspectable var titleTextColour:UIColor = UIColor.gray { 57 | didSet { 58 | if !isFirstResponder { 59 | _titleLabel.textColor = titleTextColour 60 | bottomLineView.backgroundColor = _titleLabel.textColor 61 | } 62 | } 63 | } 64 | @IBInspectable var titleActiveTextColour:UIColor = .white { 65 | didSet { 66 | if isFirstResponder { 67 | _titleLabel.textColor = titleActiveTextColour 68 | bottomLineView.backgroundColor = _titleLabel.textColor 69 | 70 | } 71 | } 72 | } 73 | 74 | // MARK:- Init 75 | required public init?(coder aDecoder:NSCoder) { 76 | super.init(coder:aDecoder) 77 | setup() 78 | } 79 | 80 | override init(frame:CGRect) { 81 | super.init(frame:frame) 82 | setup() 83 | } 84 | 85 | // MARK:- Overrides 86 | override public func layoutSubviews() { 87 | super.layoutSubviews() 88 | setTitlePositionForTextAlignment() 89 | setViewPosition() 90 | let isResp = isFirstResponder 91 | if let _ = text , isResp { 92 | _titleLabel.textColor = titleActiveTextColour 93 | } else { 94 | _titleLabel.textColor = titleTextColour 95 | } 96 | bottomLineView.backgroundColor = _titleLabel.textColor 97 | // Should we show or hide the title label? 98 | if let txt = text , txt.isEmpty { 99 | // Hide 100 | if isResp { 101 | showTitleLabel(isResp) 102 | } else { 103 | hideTitleLabel(isResp) 104 | } 105 | } else { 106 | // Show 107 | showTitleLabel(isResp) 108 | } 109 | } 110 | 111 | override public func textRect(forBounds bounds:CGRect) -> CGRect { 112 | var r = super.textRect(forBounds: bounds) 113 | var top = ceil(_titleLabel.font.lineHeight + hintLabelYPadding) 114 | top = min(top, maxTopInset()) 115 | r = UIEdgeInsetsInsetRect(r, UIEdgeInsetsMake(top, 0.0, 0.0, 0.0)) 116 | return r.integral 117 | } 118 | 119 | override public func editingRect(forBounds bounds:CGRect) -> CGRect { 120 | var r = super.editingRect(forBounds: bounds) 121 | var top = ceil(_titleLabel.font.lineHeight + hintLabelYPadding) 122 | top = min(top, maxTopInset()) 123 | r = UIEdgeInsetsInsetRect(r, UIEdgeInsetsMake(top, 0.0, 0.0, 0.0)) 124 | return r.integral 125 | } 126 | 127 | override public func clearButtonRect(forBounds bounds:CGRect) -> CGRect { 128 | var r = super.clearButtonRect(forBounds: bounds) 129 | var top = ceil(_titleLabel.font.lineHeight + hintLabelYPadding) 130 | top = min(top, maxTopInset()) 131 | r = CGRect(x:r.origin.x, y:r.origin.y + (top * 0.5), width:r.size.width, height:r.size.height) 132 | return r.integral 133 | } 134 | 135 | // MARK:- Public Methods 136 | 137 | // MARK:- Private Methods 138 | fileprivate func setup() { 139 | 140 | borderStyle = UITextBorderStyle.none 141 | titleActiveTextColour = tintColor 142 | // Set up title label 143 | _titleLabel.alpha = 0.0 144 | _titleLabel.font = titleFont 145 | _titleLabel.textColor = titleTextColour 146 | bottomLineView.backgroundColor = _titleLabel.textColor 147 | if let str = placeholder , !str.isEmpty { 148 | _titleLabel.text = str 149 | _titleLabel.sizeToFit() 150 | } 151 | self.addSubview(_titleLabel) 152 | self.addSubview(bottomLineView) 153 | self.layer.masksToBounds = true 154 | 155 | } 156 | fileprivate func maxTopInset()->CGFloat { 157 | if let fnt = font { 158 | return max(0, floor(bounds.size.height - fnt.lineHeight - 4.0)) 159 | } 160 | return 0 161 | } 162 | 163 | fileprivate func setTitlePositionForTextAlignment() { 164 | let r = textRect(forBounds: bounds) 165 | var x = r.origin.x 166 | if textAlignment == NSTextAlignment.center { 167 | x = r.origin.x + (r.size.width * 0.5) - _titleLabel.frame.size.width 168 | } else if textAlignment == NSTextAlignment.right { 169 | x = r.origin.x + r.size.width - _titleLabel.frame.size.width 170 | } 171 | _titleLabel.frame = CGRect(x:x, y:_titleLabel.frame.origin.y, width:_titleLabel.frame.size.width, height:_titleLabel.frame.size.height) 172 | } 173 | fileprivate func setViewPosition() { 174 | let width = CGFloat(2.0) 175 | bottomLineView.frame = CGRect(x: 0, y: self.frame.size.height - width - 5, width: self.frame.size.width, height: 1) 176 | } 177 | fileprivate func showTitleLabel(_ animated:Bool) { 178 | 179 | let dur = animated ? 0.3 : 0 180 | UIView.animate(withDuration: dur, delay:0, options: [UIViewAnimationOptions.beginFromCurrentState, UIViewAnimationOptions.curveEaseOut], animations:{ 181 | // Animation 182 | self._titleLabel.alpha = 1.0 183 | var r = self._titleLabel.frame 184 | r.origin.y = self.titleLabelYPadding 185 | self._titleLabel.frame = r 186 | }, completion:nil) 187 | } 188 | 189 | fileprivate func hideTitleLabel(_ animated:Bool) { 190 | let dur = animated ? 0.3 : 0 191 | UIView.animate(withDuration: dur, delay:0, options: [UIViewAnimationOptions.beginFromCurrentState, UIViewAnimationOptions.curveEaseIn], animations:{ 192 | // Animation 193 | self._titleLabel.alpha = 0.0 194 | var r = self._titleLabel.frame 195 | r.origin.y = self._titleLabel.font.lineHeight + self.hintLabelYPadding 196 | self._titleLabel.frame = r 197 | }, completion:nil) 198 | } 199 | } 200 | -------------------------------------------------------------------------------- /Example/Pods/TLFloatLabelTextField/TLFloatLabelTextField/Classes/TLFloatLabelTextView.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | 3 | @IBDesignable class TLFloatLabelTextView: UITextView { 4 | let animationDuration = 0.0 5 | let placeholderTextColor = UIColor.lightGray.withAlphaComponent(0.65) 6 | fileprivate var isIB = false 7 | fileprivate var titleLabel = UILabel() 8 | fileprivate var hintLabel = UILabel() 9 | fileprivate var initialTopInset:CGFloat = 0 10 | let bottomLineView = UIView() 11 | // MARK:- Properties 12 | override var accessibilityLabel:String? { 13 | get { 14 | if text.isEmpty { 15 | return titleLabel.text! 16 | } else { 17 | return text 18 | } 19 | } 20 | set { 21 | } 22 | } 23 | 24 | var titleFont:UIFont = UIFont.boldSystemFont(ofSize: 15.0) { 25 | didSet { 26 | titleLabel.font = titleFont 27 | } 28 | } 29 | 30 | @IBInspectable var hint:String = "" { 31 | didSet { 32 | titleLabel.text = hint 33 | titleLabel.sizeToFit() 34 | var r = titleLabel.frame 35 | r.size.width = frame.size.width 36 | titleLabel.frame = r 37 | hintLabel.text = hint 38 | hintLabel.sizeToFit() 39 | } 40 | } 41 | 42 | @IBInspectable var hintYPadding:CGFloat = 0.0 { 43 | didSet { 44 | adjustTopTextInset() 45 | } 46 | } 47 | 48 | @IBInspectable var titleYPadding:CGFloat = 0.0 { 49 | didSet { 50 | var r = titleLabel.frame 51 | r.origin.y = titleYPadding 52 | titleLabel.frame = r 53 | } 54 | } 55 | 56 | @IBInspectable var titleTextColour:UIColor = UIColor.gray { 57 | didSet { 58 | if !isFirstResponder { 59 | titleLabel.textColor = titleTextColour 60 | bottomLineView.backgroundColor = titleLabel.textColor 61 | } 62 | } 63 | } 64 | 65 | @IBInspectable var titleActiveTextColour:UIColor = UIColor.cyan { 66 | didSet { 67 | if isFirstResponder { 68 | titleLabel.textColor = titleActiveTextColour 69 | bottomLineView.backgroundColor = titleLabel.textColor 70 | } 71 | } 72 | } 73 | 74 | // MARK:- Init 75 | required init?(coder aDecoder:NSCoder) { 76 | super.init(coder:aDecoder) 77 | setup() 78 | } 79 | 80 | override init(frame:CGRect, textContainer:NSTextContainer?) { 81 | super.init(frame:frame, textContainer:textContainer) 82 | setup() 83 | } 84 | 85 | deinit { 86 | if !isIB { 87 | let nc = NotificationCenter.default 88 | nc.removeObserver(self, name:NSNotification.Name.UITextViewTextDidChange, object:self) 89 | nc.removeObserver(self, name:NSNotification.Name.UITextViewTextDidBeginEditing, object:self) 90 | nc.removeObserver(self, name:NSNotification.Name.UITextViewTextDidEndEditing, object:self) 91 | } 92 | } 93 | 94 | // MARK:- Overrides 95 | override func prepareForInterfaceBuilder() { 96 | isIB = true 97 | setup() 98 | } 99 | fileprivate func setYPositionOfBottomLineView() { 100 | let r = textRect() 101 | let fixedWidth = self.frame.size.width 102 | let newSize = self.sizeThatFits(CGSize(width: fixedWidth, height: CGFloat.greatestFiniteMagnitude)) 103 | var newFrame = self.frame 104 | newFrame.size = CGSize(width: max(newSize.width, fixedWidth), height: newSize.height) 105 | if newFrame.size.height > self.frame.height { 106 | bottomLineView.frame = CGRect(x: r.origin.x, y:newFrame.size.height - 1 , width:r.size.width, height:1) 107 | } else { 108 | bottomLineView.frame = CGRect(x: r.origin.x, y:self.frame.height - 1 , width:r.size.width, height:1) 109 | } 110 | 111 | } 112 | override func layoutSubviews() { 113 | super.layoutSubviews() 114 | adjustTopTextInset() 115 | hintLabel.alpha = text.isEmpty ? 1.0 : 0.0 116 | let r = textRect() 117 | hintLabel.frame = CGRect(x:r.origin.x, y:r.origin.y, width:hintLabel.frame.size.width, height:hintLabel.frame.size.height) 118 | setTitlePositionForTextAlignment() 119 | setYPositionOfBottomLineView() 120 | let isResp = isFirstResponder 121 | if isResp { 122 | titleLabel.textColor = titleActiveTextColour 123 | bottomLineView.backgroundColor = titleLabel.textColor 124 | } else { 125 | titleLabel.textColor = titleTextColour 126 | bottomLineView.backgroundColor = titleLabel.textColor 127 | } 128 | // Should we show or hide the title label? 129 | if text.isEmpty { 130 | if isResp { 131 | showTitle(isResp) 132 | } else { 133 | // Hide 134 | hideTitle(isResp) 135 | } 136 | } else { 137 | // Show 138 | showTitle(isResp) 139 | } 140 | } 141 | 142 | // MARK:- Private Methods 143 | 144 | fileprivate func setup() { 145 | initialTopInset = textContainerInset.top 146 | textContainer.lineFragmentPadding = 0.0 147 | titleActiveTextColour = tintColor 148 | // Placeholder label 149 | hintLabel.font = font 150 | hintLabel.text = hint 151 | hintLabel.numberOfLines = 0 152 | hintLabel.lineBreakMode = NSLineBreakMode.byWordWrapping 153 | hintLabel.textColor = placeholderTextColor 154 | insertSubview(hintLabel, at:0) 155 | insertSubview(bottomLineView, at:1) 156 | // Set up title label 157 | titleLabel.alpha = 0.0 158 | titleLabel.font = titleFont 159 | titleLabel.textColor = titleTextColour 160 | bottomLineView.backgroundColor = titleLabel.textColor 161 | if !hint.isEmpty { 162 | titleLabel.text = hint 163 | titleLabel.sizeToFit() 164 | } 165 | self.addSubview(titleLabel) 166 | 167 | // Observers 168 | if !isIB { 169 | let nc = NotificationCenter.default 170 | nc.addObserver(self, selector:#selector(UIView.layoutSubviews), name:NSNotification.Name.UITextViewTextDidChange, object:self) 171 | nc.addObserver(self, selector:#selector(UIView.layoutSubviews), name:NSNotification.Name.UITextViewTextDidBeginEditing, object:self) 172 | nc.addObserver(self, selector:#selector(UIView.layoutSubviews), name:NSNotification.Name.UITextViewTextDidEndEditing, object:self) 173 | } 174 | } 175 | 176 | fileprivate func adjustTopTextInset() { 177 | var inset = textContainerInset 178 | inset.top = initialTopInset + titleLabel.font.lineHeight + hintYPadding 179 | textContainerInset = inset 180 | } 181 | 182 | fileprivate func textRect()->CGRect { 183 | var r = UIEdgeInsetsInsetRect(bounds, contentInset) 184 | r.origin.x += textContainer.lineFragmentPadding 185 | r.origin.y += textContainerInset.top 186 | return r.integral 187 | } 188 | 189 | fileprivate func setTitlePositionForTextAlignment() { 190 | var titleLabelX = textRect().origin.x 191 | var placeholderX = titleLabelX 192 | if textAlignment == NSTextAlignment.center { 193 | titleLabelX = (frame.size.width - titleLabel.frame.size.width) * 0.5 194 | placeholderX = (frame.size.width - hintLabel.frame.size.width) * 0.5 195 | } else if textAlignment == NSTextAlignment.right { 196 | titleLabelX = frame.size.width - titleLabel.frame.size.width 197 | placeholderX = frame.size.width - hintLabel.frame.size.width 198 | } 199 | var r = titleLabel.frame 200 | r.origin.x = titleLabelX 201 | titleLabel.frame = r 202 | r = hintLabel.frame 203 | r.origin.x = placeholderX 204 | hintLabel.frame = r 205 | } 206 | fileprivate func showTitle(_ animated:Bool) { 207 | let dur = animated ? animationDuration : 0 208 | UIView.animate(withDuration: dur, delay:0, options: [UIViewAnimationOptions.beginFromCurrentState, UIViewAnimationOptions.curveEaseOut], animations:{ 209 | // Animation 210 | self.titleLabel.alpha = 1.0 211 | 212 | // set your superview's background color 213 | self.titleLabel.backgroundColor = self.superview?.backgroundColor 214 | var r = self.titleLabel.frame 215 | r.origin.y = self.titleYPadding + self.contentOffset.y 216 | self.titleLabel.frame = r 217 | 218 | }, completion:nil) 219 | } 220 | 221 | fileprivate func hideTitle(_ animated:Bool) { 222 | let dur = animated ? animationDuration : 0 223 | UIView.animate(withDuration: dur, delay:0, options: [UIViewAnimationOptions.beginFromCurrentState, UIViewAnimationOptions.curveEaseIn], animations:{ 224 | // Animation 225 | self.titleLabel.alpha = 0.0 226 | self.titleLabel.backgroundColor = self.backgroundColor 227 | var r = self.titleLabel.frame 228 | r.origin.y = self.titleLabel.font.lineHeight + self.hintYPadding 229 | self.titleLabel.frame = r 230 | 231 | }, completion:nil) 232 | } 233 | } 234 | -------------------------------------------------------------------------------- /TLFloatLabelTextField/Classes/TLFloatLabelTextView.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | 3 | @IBDesignable public class TLFloatLabelTextView: UITextView { 4 | let animationDuration = 0.0 5 | let placeholderTextColor = UIColor.lightGray.withAlphaComponent(0.65) 6 | fileprivate var isIB = false 7 | fileprivate var titleLabel = UILabel() 8 | fileprivate var hintLabel = UILabel() 9 | fileprivate var initialTopInset:CGFloat = 0 10 | let bottomLineView = UIView() 11 | // MARK:- Properties 12 | override public var accessibilityLabel:String? { 13 | get { 14 | if text.isEmpty { 15 | return titleLabel.text! 16 | } else { 17 | return text 18 | } 19 | } 20 | set { 21 | } 22 | } 23 | 24 | var titleFont:UIFont = UIFont.boldSystemFont(ofSize: 15.0) { 25 | didSet { 26 | titleLabel.font = titleFont 27 | } 28 | } 29 | 30 | @IBInspectable var hint:String = "" { 31 | didSet { 32 | titleLabel.text = hint 33 | titleLabel.sizeToFit() 34 | var r = titleLabel.frame 35 | r.size.width = frame.size.width 36 | titleLabel.frame = r 37 | hintLabel.text = hint 38 | hintLabel.sizeToFit() 39 | } 40 | } 41 | 42 | @IBInspectable var hintYPadding:CGFloat = 0.0 { 43 | didSet { 44 | adjustTopTextInset() 45 | } 46 | } 47 | 48 | @IBInspectable var titleYPadding:CGFloat = 0.0 { 49 | didSet { 50 | var r = titleLabel.frame 51 | r.origin.y = titleYPadding 52 | titleLabel.frame = r 53 | } 54 | } 55 | 56 | @IBInspectable var titleTextColour:UIColor = UIColor.gray { 57 | didSet { 58 | if !isFirstResponder { 59 | titleLabel.textColor = titleTextColour 60 | bottomLineView.backgroundColor = titleLabel.textColor 61 | } 62 | } 63 | } 64 | 65 | @IBInspectable var titleActiveTextColour:UIColor = UIColor.cyan { 66 | didSet { 67 | if isFirstResponder { 68 | titleLabel.textColor = titleActiveTextColour 69 | bottomLineView.backgroundColor = titleLabel.textColor 70 | } 71 | } 72 | } 73 | 74 | // MARK:- Init 75 | required public init?(coder aDecoder:NSCoder) { 76 | super.init(coder:aDecoder) 77 | setup() 78 | } 79 | 80 | override init(frame:CGRect, textContainer:NSTextContainer?) { 81 | super.init(frame:frame, textContainer:textContainer) 82 | setup() 83 | } 84 | 85 | deinit { 86 | if !isIB { 87 | let nc = NotificationCenter.default 88 | nc.removeObserver(self, name:NSNotification.Name.UITextViewTextDidChange, object:self) 89 | nc.removeObserver(self, name:NSNotification.Name.UITextViewTextDidBeginEditing, object:self) 90 | nc.removeObserver(self, name:NSNotification.Name.UITextViewTextDidEndEditing, object:self) 91 | } 92 | } 93 | 94 | // MARK:- Overrides 95 | override public func prepareForInterfaceBuilder() { 96 | isIB = true 97 | setup() 98 | } 99 | fileprivate func setYPositionOfBottomLineView() { 100 | let r = textRect() 101 | let fixedWidth = self.frame.size.width 102 | let newSize = self.sizeThatFits(CGSize(width: fixedWidth, height: CGFloat.greatestFiniteMagnitude)) 103 | var newFrame = self.frame 104 | newFrame.size = CGSize(width: max(newSize.width, fixedWidth), height: newSize.height) 105 | if newFrame.size.height > self.frame.height { 106 | bottomLineView.frame = CGRect(x: r.origin.x, y:newFrame.size.height - 1 , width:r.size.width, height:1) 107 | } else { 108 | bottomLineView.frame = CGRect(x: r.origin.x, y:self.frame.height - 1 , width:r.size.width, height:1) 109 | } 110 | 111 | } 112 | override public func layoutSubviews() { 113 | super.layoutSubviews() 114 | adjustTopTextInset() 115 | hintLabel.alpha = text.isEmpty ? 1.0 : 0.0 116 | let r = textRect() 117 | hintLabel.frame = CGRect(x:r.origin.x, y:r.origin.y, width:hintLabel.frame.size.width, height:hintLabel.frame.size.height) 118 | setTitlePositionForTextAlignment() 119 | setYPositionOfBottomLineView() 120 | let isResp = isFirstResponder 121 | if isResp { 122 | titleLabel.textColor = titleActiveTextColour 123 | bottomLineView.backgroundColor = titleLabel.textColor 124 | } else { 125 | titleLabel.textColor = titleTextColour 126 | bottomLineView.backgroundColor = titleLabel.textColor 127 | } 128 | // Should we show or hide the title label? 129 | if text.isEmpty { 130 | if isResp { 131 | showTitle(isResp) 132 | } else { 133 | // Hide 134 | hideTitle(isResp) 135 | } 136 | } else { 137 | // Show 138 | showTitle(isResp) 139 | } 140 | } 141 | 142 | // MARK:- Private Methods 143 | 144 | fileprivate func setup() { 145 | initialTopInset = textContainerInset.top 146 | textContainer.lineFragmentPadding = 0.0 147 | titleActiveTextColour = tintColor 148 | // Placeholder label 149 | hintLabel.font = font 150 | hintLabel.text = hint 151 | hintLabel.numberOfLines = 0 152 | hintLabel.lineBreakMode = NSLineBreakMode.byWordWrapping 153 | hintLabel.textColor = placeholderTextColor 154 | insertSubview(hintLabel, at:0) 155 | insertSubview(bottomLineView, at:1) 156 | // Set up title label 157 | titleLabel.alpha = 0.0 158 | titleLabel.font = titleFont 159 | titleLabel.textColor = titleTextColour 160 | bottomLineView.backgroundColor = titleLabel.textColor 161 | if !hint.isEmpty { 162 | titleLabel.text = hint 163 | titleLabel.sizeToFit() 164 | } 165 | self.addSubview(titleLabel) 166 | 167 | // Observers 168 | if !isIB { 169 | let nc = NotificationCenter.default 170 | nc.addObserver(self, selector:#selector(UIView.layoutSubviews), name:NSNotification.Name.UITextViewTextDidChange, object:self) 171 | nc.addObserver(self, selector:#selector(UIView.layoutSubviews), name:NSNotification.Name.UITextViewTextDidBeginEditing, object:self) 172 | nc.addObserver(self, selector:#selector(UIView.layoutSubviews), name:NSNotification.Name.UITextViewTextDidEndEditing, object:self) 173 | } 174 | } 175 | 176 | fileprivate func adjustTopTextInset() { 177 | var inset = textContainerInset 178 | inset.top = initialTopInset + titleLabel.font.lineHeight + hintYPadding 179 | textContainerInset = inset 180 | } 181 | 182 | fileprivate func textRect()->CGRect { 183 | var r = UIEdgeInsetsInsetRect(bounds, contentInset) 184 | r.origin.x += textContainer.lineFragmentPadding 185 | r.origin.y += textContainerInset.top 186 | return r.integral 187 | } 188 | 189 | fileprivate func setTitlePositionForTextAlignment() { 190 | var titleLabelX = textRect().origin.x 191 | var placeholderX = titleLabelX 192 | if textAlignment == NSTextAlignment.center { 193 | titleLabelX = (frame.size.width - titleLabel.frame.size.width) * 0.5 194 | placeholderX = (frame.size.width - hintLabel.frame.size.width) * 0.5 195 | } else if textAlignment == NSTextAlignment.right { 196 | titleLabelX = frame.size.width - titleLabel.frame.size.width 197 | placeholderX = frame.size.width - hintLabel.frame.size.width 198 | } 199 | var r = titleLabel.frame 200 | r.origin.x = titleLabelX 201 | titleLabel.frame = r 202 | r = hintLabel.frame 203 | r.origin.x = placeholderX 204 | hintLabel.frame = r 205 | } 206 | fileprivate func showTitle(_ animated:Bool) { 207 | let dur = animated ? animationDuration : 0 208 | UIView.animate(withDuration: dur, delay:0, options: [UIViewAnimationOptions.beginFromCurrentState, UIViewAnimationOptions.curveEaseOut], animations:{ 209 | // Animation 210 | self.titleLabel.alpha = 1.0 211 | 212 | // set your superview's background color 213 | self.titleLabel.backgroundColor = self.superview?.backgroundColor 214 | var r = self.titleLabel.frame 215 | r.origin.y = self.titleYPadding + self.contentOffset.y 216 | self.titleLabel.frame = r 217 | 218 | }, completion:nil) 219 | } 220 | 221 | fileprivate func hideTitle(_ animated:Bool) { 222 | let dur = animated ? animationDuration : 0 223 | UIView.animate(withDuration: dur, delay:0, options: [UIViewAnimationOptions.beginFromCurrentState, UIViewAnimationOptions.curveEaseIn], animations:{ 224 | // Animation 225 | self.titleLabel.alpha = 0.0 226 | self.titleLabel.backgroundColor = self.backgroundColor 227 | var r = self.titleLabel.frame 228 | r.origin.y = self.titleLabel.font.lineHeight + self.hintYPadding 229 | self.titleLabel.frame = r 230 | 231 | }, completion:nil) 232 | } 233 | } 234 | -------------------------------------------------------------------------------- /Example/TLFloatLabelTextField.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 183C9363202840D9003C1084 /* TLFloatLabelTextField.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 183C9364202840D9003C1084 /* TLFloatLabelTextField.framework */; }; 11 | 5E866234D64BDE2E49B9DC24 /* Pods_TLFloatLabelTextField_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D65762D3A2B16EF6921C6A04 /* Pods_TLFloatLabelTextField_Example.framework */; }; 12 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 13 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 14 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 15 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 16 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 17 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 18 | AA252C92CB9DB1E8E0B63712 /* Pods_TLFloatLabelTextField_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0B508772F171C0831D670AA9 /* Pods_TLFloatLabelTextField_Tests.framework */; }; 19 | /* End PBXBuildFile section */ 20 | 21 | /* Begin PBXContainerItemProxy section */ 22 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 23 | isa = PBXContainerItemProxy; 24 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 25 | proxyType = 1; 26 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 27 | remoteInfo = TLFloatLabelTextField; 28 | }; 29 | /* End PBXContainerItemProxy section */ 30 | 31 | /* Begin PBXFileReference section */ 32 | 04BF10A6DFFB041B96F67DD8 /* Pods-TLFloatLabelTextField_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TLFloatLabelTextField_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-TLFloatLabelTextField_Tests/Pods-TLFloatLabelTextField_Tests.debug.xcconfig"; sourceTree = ""; }; 33 | 0B508772F171C0831D670AA9 /* Pods_TLFloatLabelTextField_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_TLFloatLabelTextField_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 34 | 183C9364202840D9003C1084 /* TLFloatLabelTextField.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = TLFloatLabelTextField.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 35 | 607FACD01AFB9204008FA782 /* TLFloatLabelTextField_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TLFloatLabelTextField_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 36 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 37 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 38 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 39 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 40 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 41 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 42 | 607FACE51AFB9204008FA782 /* TLFloatLabelTextField_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TLFloatLabelTextField_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 43 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 44 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 45 | 742B7C263D3AFD8F969FC3EB /* Pods-TLFloatLabelTextField_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TLFloatLabelTextField_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-TLFloatLabelTextField_Tests/Pods-TLFloatLabelTextField_Tests.release.xcconfig"; sourceTree = ""; }; 46 | 7D28570AC01CB6762FD101FB /* Pods-TLFloatLabelTextField_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TLFloatLabelTextField_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-TLFloatLabelTextField_Example/Pods-TLFloatLabelTextField_Example.release.xcconfig"; sourceTree = ""; }; 47 | 95247C8BDADFC07D4766A3A5 /* TLFloatLabelTextField.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = TLFloatLabelTextField.podspec; path = ../TLFloatLabelTextField.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 48 | 99F9183C66A19536C1FAA2CF /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 49 | A6A0AEDE1ACEE422BAA546DC /* Pods-TLFloatLabelTextField_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TLFloatLabelTextField_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-TLFloatLabelTextField_Example/Pods-TLFloatLabelTextField_Example.debug.xcconfig"; sourceTree = ""; }; 50 | B2EC56A8D13FE48F898EEE7C /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 51 | D65762D3A2B16EF6921C6A04 /* Pods_TLFloatLabelTextField_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_TLFloatLabelTextField_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 52 | /* End PBXFileReference section */ 53 | 54 | /* Begin PBXFrameworksBuildPhase section */ 55 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 56 | isa = PBXFrameworksBuildPhase; 57 | buildActionMask = 2147483647; 58 | files = ( 59 | 183C9363202840D9003C1084 /* TLFloatLabelTextField.framework in Frameworks */, 60 | 5E866234D64BDE2E49B9DC24 /* Pods_TLFloatLabelTextField_Example.framework in Frameworks */, 61 | ); 62 | runOnlyForDeploymentPostprocessing = 0; 63 | }; 64 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 65 | isa = PBXFrameworksBuildPhase; 66 | buildActionMask = 2147483647; 67 | files = ( 68 | AA252C92CB9DB1E8E0B63712 /* Pods_TLFloatLabelTextField_Tests.framework in Frameworks */, 69 | ); 70 | runOnlyForDeploymentPostprocessing = 0; 71 | }; 72 | /* End PBXFrameworksBuildPhase section */ 73 | 74 | /* Begin PBXGroup section */ 75 | 607FACC71AFB9204008FA782 = { 76 | isa = PBXGroup; 77 | children = ( 78 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 79 | 607FACD21AFB9204008FA782 /* Example for TLFloatLabelTextField */, 80 | 607FACE81AFB9204008FA782 /* Tests */, 81 | 607FACD11AFB9204008FA782 /* Products */, 82 | 7ACFEE4B0E143DC180BCDE17 /* Pods */, 83 | A930A98D6D4DA60313F7B254 /* Frameworks */, 84 | ); 85 | sourceTree = ""; 86 | }; 87 | 607FACD11AFB9204008FA782 /* Products */ = { 88 | isa = PBXGroup; 89 | children = ( 90 | 607FACD01AFB9204008FA782 /* TLFloatLabelTextField_Example.app */, 91 | 607FACE51AFB9204008FA782 /* TLFloatLabelTextField_Tests.xctest */, 92 | ); 93 | name = Products; 94 | sourceTree = ""; 95 | }; 96 | 607FACD21AFB9204008FA782 /* Example for TLFloatLabelTextField */ = { 97 | isa = PBXGroup; 98 | children = ( 99 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 100 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 101 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 102 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 103 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 104 | 607FACD31AFB9204008FA782 /* Supporting Files */, 105 | ); 106 | name = "Example for TLFloatLabelTextField"; 107 | path = TLFloatLabelTextField; 108 | sourceTree = ""; 109 | }; 110 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 111 | isa = PBXGroup; 112 | children = ( 113 | 607FACD41AFB9204008FA782 /* Info.plist */, 114 | ); 115 | name = "Supporting Files"; 116 | sourceTree = ""; 117 | }; 118 | 607FACE81AFB9204008FA782 /* Tests */ = { 119 | isa = PBXGroup; 120 | children = ( 121 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 122 | 607FACE91AFB9204008FA782 /* Supporting Files */, 123 | ); 124 | path = Tests; 125 | sourceTree = ""; 126 | }; 127 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 128 | isa = PBXGroup; 129 | children = ( 130 | 607FACEA1AFB9204008FA782 /* Info.plist */, 131 | ); 132 | name = "Supporting Files"; 133 | sourceTree = ""; 134 | }; 135 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 136 | isa = PBXGroup; 137 | children = ( 138 | 95247C8BDADFC07D4766A3A5 /* TLFloatLabelTextField.podspec */, 139 | B2EC56A8D13FE48F898EEE7C /* README.md */, 140 | 99F9183C66A19536C1FAA2CF /* LICENSE */, 141 | ); 142 | name = "Podspec Metadata"; 143 | sourceTree = ""; 144 | }; 145 | 7ACFEE4B0E143DC180BCDE17 /* Pods */ = { 146 | isa = PBXGroup; 147 | children = ( 148 | A6A0AEDE1ACEE422BAA546DC /* Pods-TLFloatLabelTextField_Example.debug.xcconfig */, 149 | 7D28570AC01CB6762FD101FB /* Pods-TLFloatLabelTextField_Example.release.xcconfig */, 150 | 04BF10A6DFFB041B96F67DD8 /* Pods-TLFloatLabelTextField_Tests.debug.xcconfig */, 151 | 742B7C263D3AFD8F969FC3EB /* Pods-TLFloatLabelTextField_Tests.release.xcconfig */, 152 | ); 153 | name = Pods; 154 | sourceTree = ""; 155 | }; 156 | A930A98D6D4DA60313F7B254 /* Frameworks */ = { 157 | isa = PBXGroup; 158 | children = ( 159 | 183C9364202840D9003C1084 /* TLFloatLabelTextField.framework */, 160 | D65762D3A2B16EF6921C6A04 /* Pods_TLFloatLabelTextField_Example.framework */, 161 | 0B508772F171C0831D670AA9 /* Pods_TLFloatLabelTextField_Tests.framework */, 162 | ); 163 | name = Frameworks; 164 | sourceTree = ""; 165 | }; 166 | /* End PBXGroup section */ 167 | 168 | /* Begin PBXNativeTarget section */ 169 | 607FACCF1AFB9204008FA782 /* TLFloatLabelTextField_Example */ = { 170 | isa = PBXNativeTarget; 171 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "TLFloatLabelTextField_Example" */; 172 | buildPhases = ( 173 | 7F28AD90FAE4E5F02DC7457F /* [CP] Check Pods Manifest.lock */, 174 | 607FACCC1AFB9204008FA782 /* Sources */, 175 | 607FACCD1AFB9204008FA782 /* Frameworks */, 176 | 607FACCE1AFB9204008FA782 /* Resources */, 177 | 8013EACF8E91EE748F48D362 /* [CP] Embed Pods Frameworks */, 178 | C0EB067299161E1DF9A9E888 /* [CP] Copy Pods Resources */, 179 | ); 180 | buildRules = ( 181 | ); 182 | dependencies = ( 183 | ); 184 | name = TLFloatLabelTextField_Example; 185 | productName = TLFloatLabelTextField; 186 | productReference = 607FACD01AFB9204008FA782 /* TLFloatLabelTextField_Example.app */; 187 | productType = "com.apple.product-type.application"; 188 | }; 189 | 607FACE41AFB9204008FA782 /* TLFloatLabelTextField_Tests */ = { 190 | isa = PBXNativeTarget; 191 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "TLFloatLabelTextField_Tests" */; 192 | buildPhases = ( 193 | D8868DE9538C61829E85C73F /* [CP] Check Pods Manifest.lock */, 194 | 607FACE11AFB9204008FA782 /* Sources */, 195 | 607FACE21AFB9204008FA782 /* Frameworks */, 196 | 607FACE31AFB9204008FA782 /* Resources */, 197 | 8B11645DFE0BEE29886289B5 /* [CP] Embed Pods Frameworks */, 198 | CD0679353895D1965DFE6AE4 /* [CP] Copy Pods Resources */, 199 | ); 200 | buildRules = ( 201 | ); 202 | dependencies = ( 203 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 204 | ); 205 | name = TLFloatLabelTextField_Tests; 206 | productName = Tests; 207 | productReference = 607FACE51AFB9204008FA782 /* TLFloatLabelTextField_Tests.xctest */; 208 | productType = "com.apple.product-type.bundle.unit-test"; 209 | }; 210 | /* End PBXNativeTarget section */ 211 | 212 | /* Begin PBXProject section */ 213 | 607FACC81AFB9204008FA782 /* Project object */ = { 214 | isa = PBXProject; 215 | attributes = { 216 | LastSwiftUpdateCheck = 0830; 217 | LastUpgradeCheck = 0830; 218 | ORGANIZATIONNAME = CocoaPods; 219 | TargetAttributes = { 220 | 607FACCF1AFB9204008FA782 = { 221 | CreatedOnToolsVersion = 6.3.1; 222 | DevelopmentTeam = 7KT628TBJQ; 223 | LastSwiftMigration = 0900; 224 | }; 225 | 607FACE41AFB9204008FA782 = { 226 | CreatedOnToolsVersion = 6.3.1; 227 | LastSwiftMigration = 0900; 228 | TestTargetID = 607FACCF1AFB9204008FA782; 229 | }; 230 | }; 231 | }; 232 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "TLFloatLabelTextField" */; 233 | compatibilityVersion = "Xcode 3.2"; 234 | developmentRegion = English; 235 | hasScannedForEncodings = 0; 236 | knownRegions = ( 237 | en, 238 | Base, 239 | ); 240 | mainGroup = 607FACC71AFB9204008FA782; 241 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 242 | projectDirPath = ""; 243 | projectRoot = ""; 244 | targets = ( 245 | 607FACCF1AFB9204008FA782 /* TLFloatLabelTextField_Example */, 246 | 607FACE41AFB9204008FA782 /* TLFloatLabelTextField_Tests */, 247 | ); 248 | }; 249 | /* End PBXProject section */ 250 | 251 | /* Begin PBXResourcesBuildPhase section */ 252 | 607FACCE1AFB9204008FA782 /* Resources */ = { 253 | isa = PBXResourcesBuildPhase; 254 | buildActionMask = 2147483647; 255 | files = ( 256 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 257 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 258 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 259 | ); 260 | runOnlyForDeploymentPostprocessing = 0; 261 | }; 262 | 607FACE31AFB9204008FA782 /* Resources */ = { 263 | isa = PBXResourcesBuildPhase; 264 | buildActionMask = 2147483647; 265 | files = ( 266 | ); 267 | runOnlyForDeploymentPostprocessing = 0; 268 | }; 269 | /* End PBXResourcesBuildPhase section */ 270 | 271 | /* Begin PBXShellScriptBuildPhase section */ 272 | 7F28AD90FAE4E5F02DC7457F /* [CP] Check Pods Manifest.lock */ = { 273 | isa = PBXShellScriptBuildPhase; 274 | buildActionMask = 2147483647; 275 | files = ( 276 | ); 277 | inputPaths = ( 278 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 279 | "${PODS_ROOT}/Manifest.lock", 280 | ); 281 | name = "[CP] Check Pods Manifest.lock"; 282 | outputPaths = ( 283 | "$(DERIVED_FILE_DIR)/Pods-TLFloatLabelTextField_Example-checkManifestLockResult.txt", 284 | ); 285 | runOnlyForDeploymentPostprocessing = 0; 286 | shellPath = /bin/sh; 287 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 288 | showEnvVarsInLog = 0; 289 | }; 290 | 8013EACF8E91EE748F48D362 /* [CP] Embed Pods Frameworks */ = { 291 | isa = PBXShellScriptBuildPhase; 292 | buildActionMask = 2147483647; 293 | files = ( 294 | ); 295 | inputPaths = ( 296 | "${SRCROOT}/Pods/Target Support Files/Pods-TLFloatLabelTextField_Example/Pods-TLFloatLabelTextField_Example-frameworks.sh", 297 | "${BUILT_PRODUCTS_DIR}/TLFloatLabelTextField/TLFloatLabelTextField.framework", 298 | ); 299 | name = "[CP] Embed Pods Frameworks"; 300 | outputPaths = ( 301 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/TLFloatLabelTextField.framework", 302 | ); 303 | runOnlyForDeploymentPostprocessing = 0; 304 | shellPath = /bin/sh; 305 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-TLFloatLabelTextField_Example/Pods-TLFloatLabelTextField_Example-frameworks.sh\"\n"; 306 | showEnvVarsInLog = 0; 307 | }; 308 | 8B11645DFE0BEE29886289B5 /* [CP] Embed Pods Frameworks */ = { 309 | isa = PBXShellScriptBuildPhase; 310 | buildActionMask = 2147483647; 311 | files = ( 312 | ); 313 | inputPaths = ( 314 | ); 315 | name = "[CP] Embed Pods Frameworks"; 316 | outputPaths = ( 317 | ); 318 | runOnlyForDeploymentPostprocessing = 0; 319 | shellPath = /bin/sh; 320 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-TLFloatLabelTextField_Tests/Pods-TLFloatLabelTextField_Tests-frameworks.sh\"\n"; 321 | showEnvVarsInLog = 0; 322 | }; 323 | C0EB067299161E1DF9A9E888 /* [CP] Copy Pods Resources */ = { 324 | isa = PBXShellScriptBuildPhase; 325 | buildActionMask = 2147483647; 326 | files = ( 327 | ); 328 | inputPaths = ( 329 | ); 330 | name = "[CP] Copy Pods Resources"; 331 | outputPaths = ( 332 | ); 333 | runOnlyForDeploymentPostprocessing = 0; 334 | shellPath = /bin/sh; 335 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-TLFloatLabelTextField_Example/Pods-TLFloatLabelTextField_Example-resources.sh\"\n"; 336 | showEnvVarsInLog = 0; 337 | }; 338 | CD0679353895D1965DFE6AE4 /* [CP] Copy Pods Resources */ = { 339 | isa = PBXShellScriptBuildPhase; 340 | buildActionMask = 2147483647; 341 | files = ( 342 | ); 343 | inputPaths = ( 344 | ); 345 | name = "[CP] Copy Pods Resources"; 346 | outputPaths = ( 347 | ); 348 | runOnlyForDeploymentPostprocessing = 0; 349 | shellPath = /bin/sh; 350 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-TLFloatLabelTextField_Tests/Pods-TLFloatLabelTextField_Tests-resources.sh\"\n"; 351 | showEnvVarsInLog = 0; 352 | }; 353 | D8868DE9538C61829E85C73F /* [CP] Check Pods Manifest.lock */ = { 354 | isa = PBXShellScriptBuildPhase; 355 | buildActionMask = 2147483647; 356 | files = ( 357 | ); 358 | inputPaths = ( 359 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 360 | "${PODS_ROOT}/Manifest.lock", 361 | ); 362 | name = "[CP] Check Pods Manifest.lock"; 363 | outputPaths = ( 364 | "$(DERIVED_FILE_DIR)/Pods-TLFloatLabelTextField_Tests-checkManifestLockResult.txt", 365 | ); 366 | runOnlyForDeploymentPostprocessing = 0; 367 | shellPath = /bin/sh; 368 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 369 | showEnvVarsInLog = 0; 370 | }; 371 | /* End PBXShellScriptBuildPhase section */ 372 | 373 | /* Begin PBXSourcesBuildPhase section */ 374 | 607FACCC1AFB9204008FA782 /* Sources */ = { 375 | isa = PBXSourcesBuildPhase; 376 | buildActionMask = 2147483647; 377 | files = ( 378 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 379 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 380 | ); 381 | runOnlyForDeploymentPostprocessing = 0; 382 | }; 383 | 607FACE11AFB9204008FA782 /* Sources */ = { 384 | isa = PBXSourcesBuildPhase; 385 | buildActionMask = 2147483647; 386 | files = ( 387 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 388 | ); 389 | runOnlyForDeploymentPostprocessing = 0; 390 | }; 391 | /* End PBXSourcesBuildPhase section */ 392 | 393 | /* Begin PBXTargetDependency section */ 394 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 395 | isa = PBXTargetDependency; 396 | target = 607FACCF1AFB9204008FA782 /* TLFloatLabelTextField_Example */; 397 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 398 | }; 399 | /* End PBXTargetDependency section */ 400 | 401 | /* Begin PBXVariantGroup section */ 402 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 403 | isa = PBXVariantGroup; 404 | children = ( 405 | 607FACDA1AFB9204008FA782 /* Base */, 406 | ); 407 | name = Main.storyboard; 408 | sourceTree = ""; 409 | }; 410 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 411 | isa = PBXVariantGroup; 412 | children = ( 413 | 607FACDF1AFB9204008FA782 /* Base */, 414 | ); 415 | name = LaunchScreen.xib; 416 | sourceTree = ""; 417 | }; 418 | /* End PBXVariantGroup section */ 419 | 420 | /* Begin XCBuildConfiguration section */ 421 | 607FACED1AFB9204008FA782 /* Debug */ = { 422 | isa = XCBuildConfiguration; 423 | buildSettings = { 424 | ALWAYS_SEARCH_USER_PATHS = NO; 425 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 426 | CLANG_CXX_LIBRARY = "libc++"; 427 | CLANG_ENABLE_MODULES = YES; 428 | CLANG_ENABLE_OBJC_ARC = YES; 429 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 430 | CLANG_WARN_BOOL_CONVERSION = YES; 431 | CLANG_WARN_COMMA = YES; 432 | CLANG_WARN_CONSTANT_CONVERSION = YES; 433 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 434 | CLANG_WARN_EMPTY_BODY = YES; 435 | CLANG_WARN_ENUM_CONVERSION = YES; 436 | CLANG_WARN_INFINITE_RECURSION = YES; 437 | CLANG_WARN_INT_CONVERSION = YES; 438 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 439 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 440 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 441 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 442 | CLANG_WARN_STRICT_PROTOTYPES = YES; 443 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 444 | CLANG_WARN_UNREACHABLE_CODE = YES; 445 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 446 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 447 | COPY_PHASE_STRIP = NO; 448 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 449 | ENABLE_STRICT_OBJC_MSGSEND = YES; 450 | ENABLE_TESTABILITY = YES; 451 | GCC_C_LANGUAGE_STANDARD = gnu99; 452 | GCC_DYNAMIC_NO_PIC = NO; 453 | GCC_NO_COMMON_BLOCKS = YES; 454 | GCC_OPTIMIZATION_LEVEL = 0; 455 | GCC_PREPROCESSOR_DEFINITIONS = ( 456 | "DEBUG=1", 457 | "$(inherited)", 458 | ); 459 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 460 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 461 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 462 | GCC_WARN_UNDECLARED_SELECTOR = YES; 463 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 464 | GCC_WARN_UNUSED_FUNCTION = YES; 465 | GCC_WARN_UNUSED_VARIABLE = YES; 466 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 467 | MTL_ENABLE_DEBUG_INFO = YES; 468 | ONLY_ACTIVE_ARCH = YES; 469 | SDKROOT = iphoneos; 470 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 471 | SWIFT_VERSION = 4.0; 472 | }; 473 | name = Debug; 474 | }; 475 | 607FACEE1AFB9204008FA782 /* Release */ = { 476 | isa = XCBuildConfiguration; 477 | buildSettings = { 478 | ALWAYS_SEARCH_USER_PATHS = NO; 479 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 480 | CLANG_CXX_LIBRARY = "libc++"; 481 | CLANG_ENABLE_MODULES = YES; 482 | CLANG_ENABLE_OBJC_ARC = YES; 483 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 484 | CLANG_WARN_BOOL_CONVERSION = YES; 485 | CLANG_WARN_COMMA = YES; 486 | CLANG_WARN_CONSTANT_CONVERSION = YES; 487 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 488 | CLANG_WARN_EMPTY_BODY = YES; 489 | CLANG_WARN_ENUM_CONVERSION = YES; 490 | CLANG_WARN_INFINITE_RECURSION = YES; 491 | CLANG_WARN_INT_CONVERSION = YES; 492 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 493 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 494 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 495 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 496 | CLANG_WARN_STRICT_PROTOTYPES = YES; 497 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 498 | CLANG_WARN_UNREACHABLE_CODE = YES; 499 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 500 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 501 | COPY_PHASE_STRIP = NO; 502 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 503 | ENABLE_NS_ASSERTIONS = NO; 504 | ENABLE_STRICT_OBJC_MSGSEND = YES; 505 | GCC_C_LANGUAGE_STANDARD = gnu99; 506 | GCC_NO_COMMON_BLOCKS = YES; 507 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 508 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 509 | GCC_WARN_UNDECLARED_SELECTOR = YES; 510 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 511 | GCC_WARN_UNUSED_FUNCTION = YES; 512 | GCC_WARN_UNUSED_VARIABLE = YES; 513 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 514 | MTL_ENABLE_DEBUG_INFO = NO; 515 | SDKROOT = iphoneos; 516 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 517 | SWIFT_VERSION = 4.0; 518 | VALIDATE_PRODUCT = YES; 519 | }; 520 | name = Release; 521 | }; 522 | 607FACF01AFB9204008FA782 /* Debug */ = { 523 | isa = XCBuildConfiguration; 524 | baseConfigurationReference = A6A0AEDE1ACEE422BAA546DC /* Pods-TLFloatLabelTextField_Example.debug.xcconfig */; 525 | buildSettings = { 526 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 527 | DEVELOPMENT_TEAM = 7KT628TBJQ; 528 | INFOPLIST_FILE = TLFloatLabelTextField/Info.plist; 529 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 530 | MODULE_NAME = ExampleApp; 531 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 532 | PRODUCT_NAME = "$(TARGET_NAME)"; 533 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 534 | SWIFT_VERSION = 4.0; 535 | }; 536 | name = Debug; 537 | }; 538 | 607FACF11AFB9204008FA782 /* Release */ = { 539 | isa = XCBuildConfiguration; 540 | baseConfigurationReference = 7D28570AC01CB6762FD101FB /* Pods-TLFloatLabelTextField_Example.release.xcconfig */; 541 | buildSettings = { 542 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 543 | DEVELOPMENT_TEAM = 7KT628TBJQ; 544 | INFOPLIST_FILE = TLFloatLabelTextField/Info.plist; 545 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 546 | MODULE_NAME = ExampleApp; 547 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 548 | PRODUCT_NAME = "$(TARGET_NAME)"; 549 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 550 | SWIFT_VERSION = 4.0; 551 | }; 552 | name = Release; 553 | }; 554 | 607FACF31AFB9204008FA782 /* Debug */ = { 555 | isa = XCBuildConfiguration; 556 | baseConfigurationReference = 04BF10A6DFFB041B96F67DD8 /* Pods-TLFloatLabelTextField_Tests.debug.xcconfig */; 557 | buildSettings = { 558 | FRAMEWORK_SEARCH_PATHS = ( 559 | "$(SDKROOT)/Developer/Library/Frameworks", 560 | "$(inherited)", 561 | ); 562 | GCC_PREPROCESSOR_DEFINITIONS = ( 563 | "DEBUG=1", 564 | "$(inherited)", 565 | ); 566 | INFOPLIST_FILE = Tests/Info.plist; 567 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 568 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 569 | PRODUCT_NAME = "$(TARGET_NAME)"; 570 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 571 | SWIFT_VERSION = 4.0; 572 | }; 573 | name = Debug; 574 | }; 575 | 607FACF41AFB9204008FA782 /* Release */ = { 576 | isa = XCBuildConfiguration; 577 | baseConfigurationReference = 742B7C263D3AFD8F969FC3EB /* Pods-TLFloatLabelTextField_Tests.release.xcconfig */; 578 | buildSettings = { 579 | FRAMEWORK_SEARCH_PATHS = ( 580 | "$(SDKROOT)/Developer/Library/Frameworks", 581 | "$(inherited)", 582 | ); 583 | INFOPLIST_FILE = Tests/Info.plist; 584 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 585 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 586 | PRODUCT_NAME = "$(TARGET_NAME)"; 587 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 588 | SWIFT_VERSION = 4.0; 589 | }; 590 | name = Release; 591 | }; 592 | /* End XCBuildConfiguration section */ 593 | 594 | /* Begin XCConfigurationList section */ 595 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "TLFloatLabelTextField" */ = { 596 | isa = XCConfigurationList; 597 | buildConfigurations = ( 598 | 607FACED1AFB9204008FA782 /* Debug */, 599 | 607FACEE1AFB9204008FA782 /* Release */, 600 | ); 601 | defaultConfigurationIsVisible = 0; 602 | defaultConfigurationName = Release; 603 | }; 604 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "TLFloatLabelTextField_Example" */ = { 605 | isa = XCConfigurationList; 606 | buildConfigurations = ( 607 | 607FACF01AFB9204008FA782 /* Debug */, 608 | 607FACF11AFB9204008FA782 /* Release */, 609 | ); 610 | defaultConfigurationIsVisible = 0; 611 | defaultConfigurationName = Release; 612 | }; 613 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "TLFloatLabelTextField_Tests" */ = { 614 | isa = XCConfigurationList; 615 | buildConfigurations = ( 616 | 607FACF31AFB9204008FA782 /* Debug */, 617 | 607FACF41AFB9204008FA782 /* Release */, 618 | ); 619 | defaultConfigurationIsVisible = 0; 620 | defaultConfigurationName = Release; 621 | }; 622 | /* End XCConfigurationList section */ 623 | }; 624 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 625 | } 626 | -------------------------------------------------------------------------------- /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 | 090B4CEF556B1E7C1D0726B31EB964F1 /* TLFloatLabelTextField-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 8EE583F3AFAD08FBCA6C71D0C48B9E68 /* TLFloatLabelTextField-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 11 | 183C9366202873AC003C1084 /* Sample.swift in Sources */ = {isa = PBXBuildFile; fileRef = 183C9365202873AC003C1084 /* Sample.swift */; }; 12 | 1F4AF61D1EE388462C6484E7201814F2 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 13 | 8096A1409FB7518002290AFCA81EA327 /* TLFloatLabelTextField.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7ACE391AB0DCAAF07BE4CBDB9E01194D /* TLFloatLabelTextField.swift */; }; 14 | 92ACE88F8450A7A335B94B1AC917AA43 /* TLFloatLabelTextField-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = FF0BD5FB3C83219C7886A6F1ADD29CA9 /* TLFloatLabelTextField-dummy.m */; }; 15 | 95455BA4634DFF8B1D03B38641CAC4E1 /* Pods-TLFloatLabelTextField_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = CE7CAB784CAA341DD2EC2D9FD399D266 /* Pods-TLFloatLabelTextField_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 16 | 964CD7588642A7D1F17318FFF6081AE4 /* Pods-TLFloatLabelTextField_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 34E5D914E826157169C6C864CA2564F0 /* Pods-TLFloatLabelTextField_Tests-dummy.m */; }; 17 | C486501685EC9B7627D16448702D83F5 /* Pods-TLFloatLabelTextField_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 266F359748EF82494C07443512092469 /* Pods-TLFloatLabelTextField_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 18 | D122F7A9E84FE596EC4FEDD2511068AC /* Pods-TLFloatLabelTextField_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = E7A51903888F096AA161EB8A759524A7 /* Pods-TLFloatLabelTextField_Example-dummy.m */; }; 19 | DCAC52282C7185B9BE4B2A5168496696 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 20 | E77B7620A1FB91D7D037691E4867DF07 /* TLFloatLabelTextView.swift in Sources */ = {isa = PBXBuildFile; fileRef = BA7233CE6473E2D3600730623A662AA8 /* TLFloatLabelTextView.swift */; }; 21 | F77420EA6776FB661AD6AEFE9BB69832 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 22 | /* End PBXBuildFile section */ 23 | 24 | /* Begin PBXContainerItemProxy section */ 25 | 490CD182737964F945E21E8A38CD1902 /* PBXContainerItemProxy */ = { 26 | isa = PBXContainerItemProxy; 27 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 28 | proxyType = 1; 29 | remoteGlobalIDString = E668FF2047416DCC337D49C88F7660C4; 30 | remoteInfo = TLFloatLabelTextField; 31 | }; 32 | /* End PBXContainerItemProxy section */ 33 | 34 | /* Begin PBXFileReference section */ 35 | 0D79124F932BAB8F5BA49AF9FCD6948A /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 36 | 183C9365202873AC003C1084 /* Sample.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = Sample.swift; path = TLFloatLabelTextField/Classes/Sample.swift; sourceTree = ""; }; 37 | 19832900D7CB76467A6C20AAC9921B8E /* Pods-TLFloatLabelTextField_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-TLFloatLabelTextField_Example-acknowledgements.markdown"; sourceTree = ""; }; 38 | 1BBEC268D1A67BCA72B746BF64DE8E1A /* Pods-TLFloatLabelTextField_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-TLFloatLabelTextField_Example.debug.xcconfig"; sourceTree = ""; }; 39 | 209C86C8A869C0C1EC15A38124437584 /* Pods-TLFloatLabelTextField_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-TLFloatLabelTextField_Example.release.xcconfig"; sourceTree = ""; }; 40 | 266F359748EF82494C07443512092469 /* Pods-TLFloatLabelTextField_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-TLFloatLabelTextField_Example-umbrella.h"; sourceTree = ""; }; 41 | 2A156DE6304ACBB3C0B6B1100F7438A6 /* Pods-TLFloatLabelTextField_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-TLFloatLabelTextField_Example-frameworks.sh"; sourceTree = ""; }; 42 | 30BBB0C676A096E932F93CEAB5943890 /* Pods-TLFloatLabelTextField_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-TLFloatLabelTextField_Tests-acknowledgements.markdown"; sourceTree = ""; }; 43 | 34E5D914E826157169C6C864CA2564F0 /* Pods-TLFloatLabelTextField_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-TLFloatLabelTextField_Tests-dummy.m"; sourceTree = ""; }; 44 | 3981C931138A43A2147C4431A72CDE40 /* TLFloatLabelTextField.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = TLFloatLabelTextField.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 45 | 497E288E61C10113FB2E741FA243F403 /* Pods-TLFloatLabelTextField_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-TLFloatLabelTextField_Example.modulemap"; sourceTree = ""; }; 46 | 59B5013C42768ED7C095DCE4E3601EE7 /* Pods-TLFloatLabelTextField_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-TLFloatLabelTextField_Tests-frameworks.sh"; sourceTree = ""; }; 47 | 5EA94CE64BAF984FC0CE8F278096930B /* Pods_TLFloatLabelTextField_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_TLFloatLabelTextField_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 48 | 60F8E805B2733BAA10509A38F69FAE82 /* Pods-TLFloatLabelTextField_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-TLFloatLabelTextField_Example-acknowledgements.plist"; sourceTree = ""; }; 49 | 62EB39EC10611EBCA337D6127C2C8647 /* TLFloatLabelTextField.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = TLFloatLabelTextField.xcconfig; sourceTree = ""; }; 50 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 51 | 706B52CB2FF554EE0298DA1E6B75A5DC /* Pods-TLFloatLabelTextField_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-TLFloatLabelTextField_Tests.debug.xcconfig"; sourceTree = ""; }; 52 | 7ACE391AB0DCAAF07BE4CBDB9E01194D /* TLFloatLabelTextField.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TLFloatLabelTextField.swift; path = TLFloatLabelTextField/Classes/TLFloatLabelTextField.swift; sourceTree = ""; }; 53 | 7FA1D7BB6AFAC1FD1133C817314FEFEC /* Pods-TLFloatLabelTextField_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-TLFloatLabelTextField_Tests-acknowledgements.plist"; sourceTree = ""; }; 54 | 86B0B5EE441652E036AB8855131260F7 /* TLFloatLabelTextField.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = TLFloatLabelTextField.modulemap; sourceTree = ""; }; 55 | 8EE583F3AFAD08FBCA6C71D0C48B9E68 /* TLFloatLabelTextField-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "TLFloatLabelTextField-umbrella.h"; sourceTree = ""; }; 56 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 57 | 95810D89BDC40293818E9D816C9B1ADF /* TLFloatLabelTextField-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "TLFloatLabelTextField-prefix.pch"; sourceTree = ""; }; 58 | 9A7E9CDFAEFAF6F77EEAC6161B6054C2 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 59 | AA9CB71A849DA83D58B2B84559C6F9CF /* Pods_TLFloatLabelTextField_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_TLFloatLabelTextField_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 60 | B913E3F322288C9AF034067EC93D2FEF /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 61 | BA7233CE6473E2D3600730623A662AA8 /* TLFloatLabelTextView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TLFloatLabelTextView.swift; path = TLFloatLabelTextField/Classes/TLFloatLabelTextView.swift; sourceTree = ""; }; 62 | BE080E367ADCE3BAF8B2B04163E26688 /* Pods-TLFloatLabelTextField_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-TLFloatLabelTextField_Tests.modulemap"; sourceTree = ""; }; 63 | BE744345C136C6F7F8E757B8091A975B /* Pods-TLFloatLabelTextField_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-TLFloatLabelTextField_Tests-resources.sh"; sourceTree = ""; }; 64 | CCDDAA091FA54627AB866D1E3616837C /* Pods-TLFloatLabelTextField_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-TLFloatLabelTextField_Example-resources.sh"; sourceTree = ""; }; 65 | CE7CAB784CAA341DD2EC2D9FD399D266 /* Pods-TLFloatLabelTextField_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-TLFloatLabelTextField_Tests-umbrella.h"; sourceTree = ""; }; 66 | E7A51903888F096AA161EB8A759524A7 /* Pods-TLFloatLabelTextField_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-TLFloatLabelTextField_Example-dummy.m"; sourceTree = ""; }; 67 | EFA92103A95E8DFCD033FCA2BA5F3E4A /* Pods-TLFloatLabelTextField_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-TLFloatLabelTextField_Tests.release.xcconfig"; sourceTree = ""; }; 68 | FF0BD5FB3C83219C7886A6F1ADD29CA9 /* TLFloatLabelTextField-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "TLFloatLabelTextField-dummy.m"; sourceTree = ""; }; 69 | /* End PBXFileReference section */ 70 | 71 | /* Begin PBXFrameworksBuildPhase section */ 72 | 06671FDC6E271A06AF63522ACDE03143 /* Frameworks */ = { 73 | isa = PBXFrameworksBuildPhase; 74 | buildActionMask = 2147483647; 75 | files = ( 76 | DCAC52282C7185B9BE4B2A5168496696 /* Foundation.framework in Frameworks */, 77 | ); 78 | runOnlyForDeploymentPostprocessing = 0; 79 | }; 80 | D565269762B21403497A055CDF0CA4AF /* Frameworks */ = { 81 | isa = PBXFrameworksBuildPhase; 82 | buildActionMask = 2147483647; 83 | files = ( 84 | F77420EA6776FB661AD6AEFE9BB69832 /* Foundation.framework in Frameworks */, 85 | ); 86 | runOnlyForDeploymentPostprocessing = 0; 87 | }; 88 | FB58ACF7404A7E9D39BE50792135C2D9 /* Frameworks */ = { 89 | isa = PBXFrameworksBuildPhase; 90 | buildActionMask = 2147483647; 91 | files = ( 92 | 1F4AF61D1EE388462C6484E7201814F2 /* Foundation.framework in Frameworks */, 93 | ); 94 | runOnlyForDeploymentPostprocessing = 0; 95 | }; 96 | /* End PBXFrameworksBuildPhase section */ 97 | 98 | /* Begin PBXGroup section */ 99 | 26E8E9B0744F4BBCE411B5B2C83E365B /* Products */ = { 100 | isa = PBXGroup; 101 | children = ( 102 | AA9CB71A849DA83D58B2B84559C6F9CF /* Pods_TLFloatLabelTextField_Example.framework */, 103 | 5EA94CE64BAF984FC0CE8F278096930B /* Pods_TLFloatLabelTextField_Tests.framework */, 104 | 3981C931138A43A2147C4431A72CDE40 /* TLFloatLabelTextField.framework */, 105 | ); 106 | name = Products; 107 | sourceTree = ""; 108 | }; 109 | 6346FAC33C02F80EC5140378DB3E2E50 /* Pods-TLFloatLabelTextField_Tests */ = { 110 | isa = PBXGroup; 111 | children = ( 112 | 0D79124F932BAB8F5BA49AF9FCD6948A /* Info.plist */, 113 | BE080E367ADCE3BAF8B2B04163E26688 /* Pods-TLFloatLabelTextField_Tests.modulemap */, 114 | 30BBB0C676A096E932F93CEAB5943890 /* Pods-TLFloatLabelTextField_Tests-acknowledgements.markdown */, 115 | 7FA1D7BB6AFAC1FD1133C817314FEFEC /* Pods-TLFloatLabelTextField_Tests-acknowledgements.plist */, 116 | 34E5D914E826157169C6C864CA2564F0 /* Pods-TLFloatLabelTextField_Tests-dummy.m */, 117 | 59B5013C42768ED7C095DCE4E3601EE7 /* Pods-TLFloatLabelTextField_Tests-frameworks.sh */, 118 | BE744345C136C6F7F8E757B8091A975B /* Pods-TLFloatLabelTextField_Tests-resources.sh */, 119 | CE7CAB784CAA341DD2EC2D9FD399D266 /* Pods-TLFloatLabelTextField_Tests-umbrella.h */, 120 | 706B52CB2FF554EE0298DA1E6B75A5DC /* Pods-TLFloatLabelTextField_Tests.debug.xcconfig */, 121 | EFA92103A95E8DFCD033FCA2BA5F3E4A /* Pods-TLFloatLabelTextField_Tests.release.xcconfig */, 122 | ); 123 | name = "Pods-TLFloatLabelTextField_Tests"; 124 | path = "Target Support Files/Pods-TLFloatLabelTextField_Tests"; 125 | sourceTree = ""; 126 | }; 127 | 676E0E8E81E7B1BC91BF8A09228C339D /* Pods-TLFloatLabelTextField_Example */ = { 128 | isa = PBXGroup; 129 | children = ( 130 | B913E3F322288C9AF034067EC93D2FEF /* Info.plist */, 131 | 497E288E61C10113FB2E741FA243F403 /* Pods-TLFloatLabelTextField_Example.modulemap */, 132 | 19832900D7CB76467A6C20AAC9921B8E /* Pods-TLFloatLabelTextField_Example-acknowledgements.markdown */, 133 | 60F8E805B2733BAA10509A38F69FAE82 /* Pods-TLFloatLabelTextField_Example-acknowledgements.plist */, 134 | E7A51903888F096AA161EB8A759524A7 /* Pods-TLFloatLabelTextField_Example-dummy.m */, 135 | 2A156DE6304ACBB3C0B6B1100F7438A6 /* Pods-TLFloatLabelTextField_Example-frameworks.sh */, 136 | CCDDAA091FA54627AB866D1E3616837C /* Pods-TLFloatLabelTextField_Example-resources.sh */, 137 | 266F359748EF82494C07443512092469 /* Pods-TLFloatLabelTextField_Example-umbrella.h */, 138 | 1BBEC268D1A67BCA72B746BF64DE8E1A /* Pods-TLFloatLabelTextField_Example.debug.xcconfig */, 139 | 209C86C8A869C0C1EC15A38124437584 /* Pods-TLFloatLabelTextField_Example.release.xcconfig */, 140 | ); 141 | name = "Pods-TLFloatLabelTextField_Example"; 142 | path = "Target Support Files/Pods-TLFloatLabelTextField_Example"; 143 | sourceTree = ""; 144 | }; 145 | 68A55A3F418B37F9DC0C6578AEBE10D1 /* Targets Support Files */ = { 146 | isa = PBXGroup; 147 | children = ( 148 | 676E0E8E81E7B1BC91BF8A09228C339D /* Pods-TLFloatLabelTextField_Example */, 149 | 6346FAC33C02F80EC5140378DB3E2E50 /* Pods-TLFloatLabelTextField_Tests */, 150 | ); 151 | name = "Targets Support Files"; 152 | sourceTree = ""; 153 | }; 154 | 74C68E78CFDB8C7B1AB170753540D74B /* TLFloatLabelTextField */ = { 155 | isa = PBXGroup; 156 | children = ( 157 | 7ACE391AB0DCAAF07BE4CBDB9E01194D /* TLFloatLabelTextField.swift */, 158 | BA7233CE6473E2D3600730623A662AA8 /* TLFloatLabelTextView.swift */, 159 | 183C9365202873AC003C1084 /* Sample.swift */, 160 | C0CB69437179A9F7BA99368A639F4E27 /* Support Files */, 161 | ); 162 | path = TLFloatLabelTextField; 163 | sourceTree = ""; 164 | }; 165 | 7DB346D0F39D3F0E887471402A8071AB = { 166 | isa = PBXGroup; 167 | children = ( 168 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 169 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 170 | E1A148DADCB6817F5B47FDD07818CC80 /* Pods */, 171 | 26E8E9B0744F4BBCE411B5B2C83E365B /* Products */, 172 | 68A55A3F418B37F9DC0C6578AEBE10D1 /* Targets Support Files */, 173 | ); 174 | sourceTree = ""; 175 | }; 176 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 177 | isa = PBXGroup; 178 | children = ( 179 | D35AF013A5F0BAD4F32504907A52519E /* iOS */, 180 | ); 181 | name = Frameworks; 182 | sourceTree = ""; 183 | }; 184 | C0CB69437179A9F7BA99368A639F4E27 /* Support Files */ = { 185 | isa = PBXGroup; 186 | children = ( 187 | 9A7E9CDFAEFAF6F77EEAC6161B6054C2 /* Info.plist */, 188 | 86B0B5EE441652E036AB8855131260F7 /* TLFloatLabelTextField.modulemap */, 189 | 62EB39EC10611EBCA337D6127C2C8647 /* TLFloatLabelTextField.xcconfig */, 190 | FF0BD5FB3C83219C7886A6F1ADD29CA9 /* TLFloatLabelTextField-dummy.m */, 191 | 95810D89BDC40293818E9D816C9B1ADF /* TLFloatLabelTextField-prefix.pch */, 192 | 8EE583F3AFAD08FBCA6C71D0C48B9E68 /* TLFloatLabelTextField-umbrella.h */, 193 | ); 194 | name = "Support Files"; 195 | path = "../Target Support Files/TLFloatLabelTextField"; 196 | sourceTree = ""; 197 | }; 198 | D35AF013A5F0BAD4F32504907A52519E /* iOS */ = { 199 | isa = PBXGroup; 200 | children = ( 201 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */, 202 | ); 203 | name = iOS; 204 | sourceTree = ""; 205 | }; 206 | E1A148DADCB6817F5B47FDD07818CC80 /* Pods */ = { 207 | isa = PBXGroup; 208 | children = ( 209 | 74C68E78CFDB8C7B1AB170753540D74B /* TLFloatLabelTextField */, 210 | ); 211 | name = Pods; 212 | sourceTree = ""; 213 | }; 214 | /* End PBXGroup section */ 215 | 216 | /* Begin PBXHeadersBuildPhase section */ 217 | 000EDFDFBB42F6042D52EB0719AEAF8A /* Headers */ = { 218 | isa = PBXHeadersBuildPhase; 219 | buildActionMask = 2147483647; 220 | files = ( 221 | C486501685EC9B7627D16448702D83F5 /* Pods-TLFloatLabelTextField_Example-umbrella.h in Headers */, 222 | ); 223 | runOnlyForDeploymentPostprocessing = 0; 224 | }; 225 | 377A0F2C09986ADB0A6E2125F9DAC81E /* Headers */ = { 226 | isa = PBXHeadersBuildPhase; 227 | buildActionMask = 2147483647; 228 | files = ( 229 | 090B4CEF556B1E7C1D0726B31EB964F1 /* TLFloatLabelTextField-umbrella.h in Headers */, 230 | ); 231 | runOnlyForDeploymentPostprocessing = 0; 232 | }; 233 | B306AB08B15785F95B76D6803570CEA5 /* Headers */ = { 234 | isa = PBXHeadersBuildPhase; 235 | buildActionMask = 2147483647; 236 | files = ( 237 | 95455BA4634DFF8B1D03B38641CAC4E1 /* Pods-TLFloatLabelTextField_Tests-umbrella.h in Headers */, 238 | ); 239 | runOnlyForDeploymentPostprocessing = 0; 240 | }; 241 | /* End PBXHeadersBuildPhase section */ 242 | 243 | /* Begin PBXNativeTarget section */ 244 | 000136B0FF6A55C0985067E7A1D56129 /* Pods-TLFloatLabelTextField_Example */ = { 245 | isa = PBXNativeTarget; 246 | buildConfigurationList = A049317845077389A45221C15708B185 /* Build configuration list for PBXNativeTarget "Pods-TLFloatLabelTextField_Example" */; 247 | buildPhases = ( 248 | FE7BBE4B4C362389919FB31FD0AF7961 /* Sources */, 249 | 06671FDC6E271A06AF63522ACDE03143 /* Frameworks */, 250 | 000EDFDFBB42F6042D52EB0719AEAF8A /* Headers */, 251 | ); 252 | buildRules = ( 253 | ); 254 | dependencies = ( 255 | E17FA494AC6D1F3719500203787C4524 /* PBXTargetDependency */, 256 | ); 257 | name = "Pods-TLFloatLabelTextField_Example"; 258 | productName = "Pods-TLFloatLabelTextField_Example"; 259 | productReference = AA9CB71A849DA83D58B2B84559C6F9CF /* Pods_TLFloatLabelTextField_Example.framework */; 260 | productType = "com.apple.product-type.framework"; 261 | }; 262 | 1EB076BA3458FDD1AC5850B445BA2B6F /* Pods-TLFloatLabelTextField_Tests */ = { 263 | isa = PBXNativeTarget; 264 | buildConfigurationList = 4DE5BEF99116D6A6FABCB1C516FD86FE /* Build configuration list for PBXNativeTarget "Pods-TLFloatLabelTextField_Tests" */; 265 | buildPhases = ( 266 | 40F41172C3CF73D8FCD54B0AAE8C58F7 /* Sources */, 267 | D565269762B21403497A055CDF0CA4AF /* Frameworks */, 268 | B306AB08B15785F95B76D6803570CEA5 /* Headers */, 269 | ); 270 | buildRules = ( 271 | ); 272 | dependencies = ( 273 | ); 274 | name = "Pods-TLFloatLabelTextField_Tests"; 275 | productName = "Pods-TLFloatLabelTextField_Tests"; 276 | productReference = 5EA94CE64BAF984FC0CE8F278096930B /* Pods_TLFloatLabelTextField_Tests.framework */; 277 | productType = "com.apple.product-type.framework"; 278 | }; 279 | E668FF2047416DCC337D49C88F7660C4 /* TLFloatLabelTextField */ = { 280 | isa = PBXNativeTarget; 281 | buildConfigurationList = 90944D5C34DF4766DC198BF9B65B0ACD /* Build configuration list for PBXNativeTarget "TLFloatLabelTextField" */; 282 | buildPhases = ( 283 | 9A2DAB663CAB9FB115AB951A2EEAACFA /* Sources */, 284 | FB58ACF7404A7E9D39BE50792135C2D9 /* Frameworks */, 285 | 377A0F2C09986ADB0A6E2125F9DAC81E /* Headers */, 286 | ); 287 | buildRules = ( 288 | ); 289 | dependencies = ( 290 | ); 291 | name = TLFloatLabelTextField; 292 | productName = TLFloatLabelTextField; 293 | productReference = 3981C931138A43A2147C4431A72CDE40 /* TLFloatLabelTextField.framework */; 294 | productType = "com.apple.product-type.framework"; 295 | }; 296 | /* End PBXNativeTarget section */ 297 | 298 | /* Begin PBXProject section */ 299 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 300 | isa = PBXProject; 301 | attributes = { 302 | LastSwiftUpdateCheck = 0830; 303 | LastUpgradeCheck = 0700; 304 | TargetAttributes = { 305 | 000136B0FF6A55C0985067E7A1D56129 = { 306 | LastSwiftMigration = 0920; 307 | }; 308 | }; 309 | }; 310 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 311 | compatibilityVersion = "Xcode 3.2"; 312 | developmentRegion = English; 313 | hasScannedForEncodings = 0; 314 | knownRegions = ( 315 | en, 316 | ); 317 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 318 | productRefGroup = 26E8E9B0744F4BBCE411B5B2C83E365B /* Products */; 319 | projectDirPath = ""; 320 | projectRoot = ""; 321 | targets = ( 322 | 000136B0FF6A55C0985067E7A1D56129 /* Pods-TLFloatLabelTextField_Example */, 323 | 1EB076BA3458FDD1AC5850B445BA2B6F /* Pods-TLFloatLabelTextField_Tests */, 324 | E668FF2047416DCC337D49C88F7660C4 /* TLFloatLabelTextField */, 325 | ); 326 | }; 327 | /* End PBXProject section */ 328 | 329 | /* Begin PBXSourcesBuildPhase section */ 330 | 40F41172C3CF73D8FCD54B0AAE8C58F7 /* Sources */ = { 331 | isa = PBXSourcesBuildPhase; 332 | buildActionMask = 2147483647; 333 | files = ( 334 | 964CD7588642A7D1F17318FFF6081AE4 /* Pods-TLFloatLabelTextField_Tests-dummy.m in Sources */, 335 | ); 336 | runOnlyForDeploymentPostprocessing = 0; 337 | }; 338 | 9A2DAB663CAB9FB115AB951A2EEAACFA /* Sources */ = { 339 | isa = PBXSourcesBuildPhase; 340 | buildActionMask = 2147483647; 341 | files = ( 342 | 92ACE88F8450A7A335B94B1AC917AA43 /* TLFloatLabelTextField-dummy.m in Sources */, 343 | 8096A1409FB7518002290AFCA81EA327 /* TLFloatLabelTextField.swift in Sources */, 344 | E77B7620A1FB91D7D037691E4867DF07 /* TLFloatLabelTextView.swift in Sources */, 345 | ); 346 | runOnlyForDeploymentPostprocessing = 0; 347 | }; 348 | FE7BBE4B4C362389919FB31FD0AF7961 /* Sources */ = { 349 | isa = PBXSourcesBuildPhase; 350 | buildActionMask = 2147483647; 351 | files = ( 352 | D122F7A9E84FE596EC4FEDD2511068AC /* Pods-TLFloatLabelTextField_Example-dummy.m in Sources */, 353 | 183C9366202873AC003C1084 /* Sample.swift in Sources */, 354 | ); 355 | runOnlyForDeploymentPostprocessing = 0; 356 | }; 357 | /* End PBXSourcesBuildPhase section */ 358 | 359 | /* Begin PBXTargetDependency section */ 360 | E17FA494AC6D1F3719500203787C4524 /* PBXTargetDependency */ = { 361 | isa = PBXTargetDependency; 362 | name = TLFloatLabelTextField; 363 | target = E668FF2047416DCC337D49C88F7660C4 /* TLFloatLabelTextField */; 364 | targetProxy = 490CD182737964F945E21E8A38CD1902 /* PBXContainerItemProxy */; 365 | }; 366 | /* End PBXTargetDependency section */ 367 | 368 | /* Begin XCBuildConfiguration section */ 369 | 287D1D47DF14AD8A9FF0B00C04C10727 /* Release */ = { 370 | isa = XCBuildConfiguration; 371 | baseConfigurationReference = EFA92103A95E8DFCD033FCA2BA5F3E4A /* Pods-TLFloatLabelTextField_Tests.release.xcconfig */; 372 | buildSettings = { 373 | CODE_SIGN_IDENTITY = ""; 374 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 375 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 376 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 377 | CURRENT_PROJECT_VERSION = 1; 378 | DEFINES_MODULE = YES; 379 | DYLIB_COMPATIBILITY_VERSION = 1; 380 | DYLIB_CURRENT_VERSION = 1; 381 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 382 | INFOPLIST_FILE = "Target Support Files/Pods-TLFloatLabelTextField_Tests/Info.plist"; 383 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 384 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 385 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 386 | MACH_O_TYPE = staticlib; 387 | MODULEMAP_FILE = "Target Support Files/Pods-TLFloatLabelTextField_Tests/Pods-TLFloatLabelTextField_Tests.modulemap"; 388 | OTHER_LDFLAGS = ""; 389 | OTHER_LIBTOOLFLAGS = ""; 390 | PODS_ROOT = "$(SRCROOT)"; 391 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 392 | PRODUCT_NAME = Pods_TLFloatLabelTextField_Tests; 393 | SDKROOT = iphoneos; 394 | SKIP_INSTALL = YES; 395 | TARGETED_DEVICE_FAMILY = "1,2"; 396 | VALIDATE_PRODUCT = YES; 397 | VERSIONING_SYSTEM = "apple-generic"; 398 | VERSION_INFO_PREFIX = ""; 399 | }; 400 | name = Release; 401 | }; 402 | 33DA7F43A1D2FA3C74A8C8FC246E1FA6 /* Debug */ = { 403 | isa = XCBuildConfiguration; 404 | buildSettings = { 405 | ALWAYS_SEARCH_USER_PATHS = NO; 406 | CLANG_ANALYZER_NONNULL = YES; 407 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 408 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 409 | CLANG_CXX_LIBRARY = "libc++"; 410 | CLANG_ENABLE_MODULES = YES; 411 | CLANG_ENABLE_OBJC_ARC = YES; 412 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 413 | CLANG_WARN_BOOL_CONVERSION = YES; 414 | CLANG_WARN_COMMA = YES; 415 | CLANG_WARN_CONSTANT_CONVERSION = YES; 416 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 417 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 418 | CLANG_WARN_EMPTY_BODY = YES; 419 | CLANG_WARN_ENUM_CONVERSION = YES; 420 | CLANG_WARN_INFINITE_RECURSION = YES; 421 | CLANG_WARN_INT_CONVERSION = YES; 422 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 423 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 424 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 425 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 426 | CLANG_WARN_STRICT_PROTOTYPES = YES; 427 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 428 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 429 | CLANG_WARN_UNREACHABLE_CODE = YES; 430 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 431 | CODE_SIGNING_REQUIRED = NO; 432 | COPY_PHASE_STRIP = NO; 433 | DEBUG_INFORMATION_FORMAT = dwarf; 434 | ENABLE_STRICT_OBJC_MSGSEND = YES; 435 | ENABLE_TESTABILITY = YES; 436 | GCC_C_LANGUAGE_STANDARD = gnu11; 437 | GCC_DYNAMIC_NO_PIC = NO; 438 | GCC_NO_COMMON_BLOCKS = YES; 439 | GCC_OPTIMIZATION_LEVEL = 0; 440 | GCC_PREPROCESSOR_DEFINITIONS = ( 441 | "POD_CONFIGURATION_DEBUG=1", 442 | "DEBUG=1", 443 | "$(inherited)", 444 | ); 445 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 446 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 447 | GCC_WARN_UNDECLARED_SELECTOR = YES; 448 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 449 | GCC_WARN_UNUSED_FUNCTION = YES; 450 | GCC_WARN_UNUSED_VARIABLE = YES; 451 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 452 | MTL_ENABLE_DEBUG_INFO = YES; 453 | ONLY_ACTIVE_ARCH = YES; 454 | PRODUCT_NAME = "$(TARGET_NAME)"; 455 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 456 | STRIP_INSTALLED_PRODUCT = NO; 457 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 458 | SYMROOT = "${SRCROOT}/../build"; 459 | }; 460 | name = Debug; 461 | }; 462 | 3CC00DCC3AA2D4DB3036E174678D2358 /* Release */ = { 463 | isa = XCBuildConfiguration; 464 | baseConfigurationReference = 209C86C8A869C0C1EC15A38124437584 /* Pods-TLFloatLabelTextField_Example.release.xcconfig */; 465 | buildSettings = { 466 | CLANG_ENABLE_MODULES = YES; 467 | CODE_SIGN_IDENTITY = ""; 468 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 469 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 470 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 471 | CURRENT_PROJECT_VERSION = 1; 472 | DEFINES_MODULE = YES; 473 | DYLIB_COMPATIBILITY_VERSION = 1; 474 | DYLIB_CURRENT_VERSION = 1; 475 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 476 | INFOPLIST_FILE = "Target Support Files/Pods-TLFloatLabelTextField_Example/Info.plist"; 477 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 478 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 479 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 480 | MACH_O_TYPE = staticlib; 481 | MODULEMAP_FILE = "Target Support Files/Pods-TLFloatLabelTextField_Example/Pods-TLFloatLabelTextField_Example.modulemap"; 482 | OTHER_LDFLAGS = ""; 483 | OTHER_LIBTOOLFLAGS = ""; 484 | PODS_ROOT = "$(SRCROOT)"; 485 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 486 | PRODUCT_NAME = Pods_TLFloatLabelTextField_Example; 487 | SDKROOT = iphoneos; 488 | SKIP_INSTALL = YES; 489 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 490 | SWIFT_VERSION = 3.0; 491 | TARGETED_DEVICE_FAMILY = "1,2"; 492 | VALIDATE_PRODUCT = YES; 493 | VERSIONING_SYSTEM = "apple-generic"; 494 | VERSION_INFO_PREFIX = ""; 495 | }; 496 | name = Release; 497 | }; 498 | 58E9805DC7CD187F8ED67EFD50E26255 /* Release */ = { 499 | isa = XCBuildConfiguration; 500 | baseConfigurationReference = 62EB39EC10611EBCA337D6127C2C8647 /* TLFloatLabelTextField.xcconfig */; 501 | buildSettings = { 502 | CODE_SIGN_IDENTITY = ""; 503 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 504 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 505 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 506 | CURRENT_PROJECT_VERSION = 1; 507 | DEFINES_MODULE = YES; 508 | DYLIB_COMPATIBILITY_VERSION = 1; 509 | DYLIB_CURRENT_VERSION = 1; 510 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 511 | GCC_PREFIX_HEADER = "Target Support Files/TLFloatLabelTextField/TLFloatLabelTextField-prefix.pch"; 512 | INFOPLIST_FILE = "Target Support Files/TLFloatLabelTextField/Info.plist"; 513 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 514 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 515 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 516 | MODULEMAP_FILE = "Target Support Files/TLFloatLabelTextField/TLFloatLabelTextField.modulemap"; 517 | PRODUCT_NAME = TLFloatLabelTextField; 518 | SDKROOT = iphoneos; 519 | SKIP_INSTALL = YES; 520 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 521 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 522 | SWIFT_VERSION = 4.0; 523 | TARGETED_DEVICE_FAMILY = "1,2"; 524 | VALIDATE_PRODUCT = YES; 525 | VERSIONING_SYSTEM = "apple-generic"; 526 | VERSION_INFO_PREFIX = ""; 527 | }; 528 | name = Release; 529 | }; 530 | 731DC216E1A58545B559F6E0A2418060 /* Release */ = { 531 | isa = XCBuildConfiguration; 532 | buildSettings = { 533 | ALWAYS_SEARCH_USER_PATHS = NO; 534 | CLANG_ANALYZER_NONNULL = YES; 535 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 536 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 537 | CLANG_CXX_LIBRARY = "libc++"; 538 | CLANG_ENABLE_MODULES = YES; 539 | CLANG_ENABLE_OBJC_ARC = YES; 540 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 541 | CLANG_WARN_BOOL_CONVERSION = YES; 542 | CLANG_WARN_COMMA = YES; 543 | CLANG_WARN_CONSTANT_CONVERSION = YES; 544 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 545 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 546 | CLANG_WARN_EMPTY_BODY = YES; 547 | CLANG_WARN_ENUM_CONVERSION = YES; 548 | CLANG_WARN_INFINITE_RECURSION = YES; 549 | CLANG_WARN_INT_CONVERSION = YES; 550 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 551 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 552 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 553 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 554 | CLANG_WARN_STRICT_PROTOTYPES = YES; 555 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 556 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 557 | CLANG_WARN_UNREACHABLE_CODE = YES; 558 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 559 | CODE_SIGNING_REQUIRED = NO; 560 | COPY_PHASE_STRIP = NO; 561 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 562 | ENABLE_NS_ASSERTIONS = NO; 563 | ENABLE_STRICT_OBJC_MSGSEND = YES; 564 | GCC_C_LANGUAGE_STANDARD = gnu11; 565 | GCC_NO_COMMON_BLOCKS = YES; 566 | GCC_PREPROCESSOR_DEFINITIONS = ( 567 | "POD_CONFIGURATION_RELEASE=1", 568 | "$(inherited)", 569 | ); 570 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 571 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 572 | GCC_WARN_UNDECLARED_SELECTOR = YES; 573 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 574 | GCC_WARN_UNUSED_FUNCTION = YES; 575 | GCC_WARN_UNUSED_VARIABLE = YES; 576 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 577 | MTL_ENABLE_DEBUG_INFO = NO; 578 | PRODUCT_NAME = "$(TARGET_NAME)"; 579 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 580 | STRIP_INSTALLED_PRODUCT = NO; 581 | SYMROOT = "${SRCROOT}/../build"; 582 | }; 583 | name = Release; 584 | }; 585 | BCAE69BA2ED26ED8D884C1457DB6EE85 /* Debug */ = { 586 | isa = XCBuildConfiguration; 587 | baseConfigurationReference = 1BBEC268D1A67BCA72B746BF64DE8E1A /* Pods-TLFloatLabelTextField_Example.debug.xcconfig */; 588 | buildSettings = { 589 | CLANG_ENABLE_MODULES = YES; 590 | CODE_SIGN_IDENTITY = ""; 591 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 592 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 593 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 594 | CURRENT_PROJECT_VERSION = 1; 595 | DEFINES_MODULE = YES; 596 | DYLIB_COMPATIBILITY_VERSION = 1; 597 | DYLIB_CURRENT_VERSION = 1; 598 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 599 | INFOPLIST_FILE = "Target Support Files/Pods-TLFloatLabelTextField_Example/Info.plist"; 600 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 601 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 602 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 603 | MACH_O_TYPE = staticlib; 604 | MODULEMAP_FILE = "Target Support Files/Pods-TLFloatLabelTextField_Example/Pods-TLFloatLabelTextField_Example.modulemap"; 605 | OTHER_LDFLAGS = ""; 606 | OTHER_LIBTOOLFLAGS = ""; 607 | PODS_ROOT = "$(SRCROOT)"; 608 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 609 | PRODUCT_NAME = Pods_TLFloatLabelTextField_Example; 610 | SDKROOT = iphoneos; 611 | SKIP_INSTALL = YES; 612 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 613 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 614 | SWIFT_VERSION = 3.0; 615 | TARGETED_DEVICE_FAMILY = "1,2"; 616 | VERSIONING_SYSTEM = "apple-generic"; 617 | VERSION_INFO_PREFIX = ""; 618 | }; 619 | name = Debug; 620 | }; 621 | C7F7BA7DA4586C9F361A8D23A8AE6B93 /* Debug */ = { 622 | isa = XCBuildConfiguration; 623 | baseConfigurationReference = 706B52CB2FF554EE0298DA1E6B75A5DC /* Pods-TLFloatLabelTextField_Tests.debug.xcconfig */; 624 | buildSettings = { 625 | CODE_SIGN_IDENTITY = ""; 626 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 627 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 628 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 629 | CURRENT_PROJECT_VERSION = 1; 630 | DEFINES_MODULE = YES; 631 | DYLIB_COMPATIBILITY_VERSION = 1; 632 | DYLIB_CURRENT_VERSION = 1; 633 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 634 | INFOPLIST_FILE = "Target Support Files/Pods-TLFloatLabelTextField_Tests/Info.plist"; 635 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 636 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 637 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 638 | MACH_O_TYPE = staticlib; 639 | MODULEMAP_FILE = "Target Support Files/Pods-TLFloatLabelTextField_Tests/Pods-TLFloatLabelTextField_Tests.modulemap"; 640 | OTHER_LDFLAGS = ""; 641 | OTHER_LIBTOOLFLAGS = ""; 642 | PODS_ROOT = "$(SRCROOT)"; 643 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 644 | PRODUCT_NAME = Pods_TLFloatLabelTextField_Tests; 645 | SDKROOT = iphoneos; 646 | SKIP_INSTALL = YES; 647 | TARGETED_DEVICE_FAMILY = "1,2"; 648 | VERSIONING_SYSTEM = "apple-generic"; 649 | VERSION_INFO_PREFIX = ""; 650 | }; 651 | name = Debug; 652 | }; 653 | C99A6E051396E3740048849D077065CB /* Debug */ = { 654 | isa = XCBuildConfiguration; 655 | baseConfigurationReference = 62EB39EC10611EBCA337D6127C2C8647 /* TLFloatLabelTextField.xcconfig */; 656 | buildSettings = { 657 | CODE_SIGN_IDENTITY = ""; 658 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 659 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 660 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 661 | CURRENT_PROJECT_VERSION = 1; 662 | DEFINES_MODULE = YES; 663 | DYLIB_COMPATIBILITY_VERSION = 1; 664 | DYLIB_CURRENT_VERSION = 1; 665 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 666 | GCC_PREFIX_HEADER = "Target Support Files/TLFloatLabelTextField/TLFloatLabelTextField-prefix.pch"; 667 | INFOPLIST_FILE = "Target Support Files/TLFloatLabelTextField/Info.plist"; 668 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 669 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 670 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 671 | MODULEMAP_FILE = "Target Support Files/TLFloatLabelTextField/TLFloatLabelTextField.modulemap"; 672 | PRODUCT_NAME = TLFloatLabelTextField; 673 | SDKROOT = iphoneos; 674 | SKIP_INSTALL = YES; 675 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 676 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 677 | SWIFT_VERSION = 4.0; 678 | TARGETED_DEVICE_FAMILY = "1,2"; 679 | VERSIONING_SYSTEM = "apple-generic"; 680 | VERSION_INFO_PREFIX = ""; 681 | }; 682 | name = Debug; 683 | }; 684 | /* End XCBuildConfiguration section */ 685 | 686 | /* Begin XCConfigurationList section */ 687 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 688 | isa = XCConfigurationList; 689 | buildConfigurations = ( 690 | 33DA7F43A1D2FA3C74A8C8FC246E1FA6 /* Debug */, 691 | 731DC216E1A58545B559F6E0A2418060 /* Release */, 692 | ); 693 | defaultConfigurationIsVisible = 0; 694 | defaultConfigurationName = Release; 695 | }; 696 | 4DE5BEF99116D6A6FABCB1C516FD86FE /* Build configuration list for PBXNativeTarget "Pods-TLFloatLabelTextField_Tests" */ = { 697 | isa = XCConfigurationList; 698 | buildConfigurations = ( 699 | C7F7BA7DA4586C9F361A8D23A8AE6B93 /* Debug */, 700 | 287D1D47DF14AD8A9FF0B00C04C10727 /* Release */, 701 | ); 702 | defaultConfigurationIsVisible = 0; 703 | defaultConfigurationName = Release; 704 | }; 705 | 90944D5C34DF4766DC198BF9B65B0ACD /* Build configuration list for PBXNativeTarget "TLFloatLabelTextField" */ = { 706 | isa = XCConfigurationList; 707 | buildConfigurations = ( 708 | C99A6E051396E3740048849D077065CB /* Debug */, 709 | 58E9805DC7CD187F8ED67EFD50E26255 /* Release */, 710 | ); 711 | defaultConfigurationIsVisible = 0; 712 | defaultConfigurationName = Release; 713 | }; 714 | A049317845077389A45221C15708B185 /* Build configuration list for PBXNativeTarget "Pods-TLFloatLabelTextField_Example" */ = { 715 | isa = XCConfigurationList; 716 | buildConfigurations = ( 717 | BCAE69BA2ED26ED8D884C1457DB6EE85 /* Debug */, 718 | 3CC00DCC3AA2D4DB3036E174678D2358 /* Release */, 719 | ); 720 | defaultConfigurationIsVisible = 0; 721 | defaultConfigurationName = Release; 722 | }; 723 | /* End XCConfigurationList section */ 724 | }; 725 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 726 | } 727 | --------------------------------------------------------------------------------