├── NSJTextField ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ └── NSJTextField.swift ├── _Pods.xcodeproj ├── demo.gif ├── Example ├── Pods │ ├── Target Support Files │ │ ├── NSJTextField │ │ │ ├── NSJTextField.modulemap │ │ │ ├── NSJTextField-dummy.m │ │ │ ├── NSJTextField-prefix.pch │ │ │ ├── NSJTextField-umbrella.h │ │ │ ├── NSJTextField.xcconfig │ │ │ └── Info.plist │ │ ├── Pods-NSJTextField_Tests │ │ │ ├── Pods-NSJTextField_Tests-acknowledgements.markdown │ │ │ ├── Pods-NSJTextField_Tests.modulemap │ │ │ ├── Pods-NSJTextField_Tests-dummy.m │ │ │ ├── Pods-NSJTextField_Tests-umbrella.h │ │ │ ├── Pods-NSJTextField_Tests.debug.xcconfig │ │ │ ├── Pods-NSJTextField_Tests.release.xcconfig │ │ │ ├── Info.plist │ │ │ ├── Pods-NSJTextField_Tests-acknowledgements.plist │ │ │ ├── Pods-NSJTextField_Tests-frameworks.sh │ │ │ └── Pods-NSJTextField_Tests-resources.sh │ │ └── Pods-NSJTextField_Example │ │ │ ├── Pods-NSJTextField_Example.modulemap │ │ │ ├── Pods-NSJTextField_Example-dummy.m │ │ │ ├── Pods-NSJTextField_Example-umbrella.h │ │ │ ├── Pods-NSJTextField_Example.debug.xcconfig │ │ │ ├── Pods-NSJTextField_Example.release.xcconfig │ │ │ ├── Info.plist │ │ │ ├── Pods-NSJTextField_Example-acknowledgements.markdown │ │ │ ├── Pods-NSJTextField_Example-acknowledgements.plist │ │ │ ├── Pods-NSJTextField_Example-frameworks.sh │ │ │ └── Pods-NSJTextField_Example-resources.sh │ ├── Manifest.lock │ ├── Local Podspecs │ │ └── NSJTextField.podspec.json │ └── Pods.xcodeproj │ │ └── project.pbxproj ├── Podfile ├── NSJTextField.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── NSJTextField-Example.xcscheme │ └── project.pbxproj ├── NSJTextField.xcworkspace │ └── contents.xcworkspacedata ├── Podfile.lock ├── NSJTextField │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ ├── Base.lproj │ │ ├── Main.storyboard │ │ └── LaunchScreen.xib │ ├── ViewController.swift │ └── AppDelegate.swift └── Tests │ ├── Info.plist │ └── Tests.swift ├── .travis.yml ├── .gitignore ├── LICENSE ├── README.md └── NSJTextField.podspec /NSJTextField/Assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /NSJTextField/Classes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NSJoker/NSJTextField/HEAD/demo.gif -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/NSJTextField/NSJTextField.modulemap: -------------------------------------------------------------------------------- 1 | framework module NSJTextField { 2 | umbrella header "NSJTextField-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/NSJTextField/NSJTextField-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_NSJTextField : NSObject 3 | @end 4 | @implementation PodsDummy_NSJTextField 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'NSJTextField_Example' do 4 | pod 'NSJTextField', :path => '../' 5 | 6 | target 'NSJTextField_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NSJTextField_Tests/Pods-NSJTextField_Tests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | Generated by CocoaPods - https://cocoapods.org 4 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NSJTextField_Tests/Pods-NSJTextField_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_NSJTextField_Tests { 2 | umbrella header "Pods-NSJTextField_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/NSJTextField.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NSJTextField_Example/Pods-NSJTextField_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_NSJTextField_Example { 2 | umbrella header "Pods-NSJTextField_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NSJTextField_Tests/Pods-NSJTextField_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_NSJTextField_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_NSJTextField_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NSJTextField_Example/Pods-NSJTextField_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_NSJTextField_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_NSJTextField_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/NSJTextField/NSJTextField-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/NSJTextField.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - NSJTextField (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - NSJTextField (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | NSJTextField: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | NSJTextField: 43a322049f5cef1ba66a7e03e00715d15183315f 13 | 14 | PODFILE CHECKSUM: 374e3860b9cb0a53c714da73381a53efb86eb271 15 | 16 | COCOAPODS: 1.2.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - NSJTextField (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - NSJTextField (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | NSJTextField: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | NSJTextField: 43a322049f5cef1ba66a7e03e00715d15183315f 13 | 14 | PODFILE CHECKSUM: 374e3860b9cb0a53c714da73381a53efb86eb271 15 | 16 | COCOAPODS: 1.2.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/NSJTextField/NSJTextField-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 NSJTextFieldVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char NSJTextFieldVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NSJTextField_Tests/Pods-NSJTextField_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_NSJTextField_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_NSJTextField_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NSJTextField_Example/Pods-NSJTextField_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_NSJTextField_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_NSJTextField_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 -workspace Example/NSJTextField.xcworkspace -scheme NSJTextField-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/NSJTextField/NSJTextField.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/NSJTextField 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NSJTextField_Tests/Pods-NSJTextField_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/NSJTextField" 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/NSJTextField/NSJTextField.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-NSJTextField_Tests/Pods-NSJTextField_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/NSJTextField" 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/NSJTextField/NSJTextField.framework/Headers" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/NSJTextField.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "NSJTextField", 3 | "version": "0.1.0", 4 | "summary": "A short description of NSJTextField.", 5 | "description": "TODO: Add long description of the pod here.", 6 | "homepage": "https://github.com/laughofnsjoker@gmail.com/NSJTextField", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "laughofnsjoker@gmail.com": "laughofnsjoker@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/laughofnsjoker@gmail.com/NSJTextField.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "8.0" 20 | }, 21 | "source_files": "NSJTextField/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OS X 2 | .DS_Store 3 | 4 | # Xcode 5 | build/ 6 | *.pbxuser 7 | !default.pbxuser 8 | *.mode1v3 9 | !default.mode1v3 10 | *.mode2v3 11 | !default.mode2v3 12 | *.perspectivev3 13 | !default.perspectivev3 14 | xcuserdata/ 15 | *.xccheckout 16 | profile 17 | *.moved-aside 18 | DerivedData 19 | *.hmap 20 | *.ipa 21 | 22 | # Bundler 23 | .bundle 24 | 25 | Carthage 26 | # We recommend against adding the Pods directory to your .gitignore. However 27 | # you should judge for yourself, the pros and cons are mentioned at: 28 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 29 | # 30 | # Note: if you ignore the Pods directory, make sure to uncomment 31 | # `pod install` in .travis.yml 32 | # 33 | # Pods/ 34 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NSJTextField_Example/Pods-NSJTextField_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/NSJTextField" 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/NSJTextField/NSJTextField.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "NSJTextField" 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-NSJTextField_Example/Pods-NSJTextField_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/NSJTextField" 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/NSJTextField/NSJTextField.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "NSJTextField" 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/NSJTextField/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /Example/Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Tests/Tests.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import XCTest 3 | import NSJTextField 4 | 5 | class Tests: XCTestCase { 6 | 7 | override func setUp() { 8 | super.setUp() 9 | // Put setup code here. This method is called before the invocation of each test method in the class. 10 | } 11 | 12 | override func tearDown() { 13 | // Put teardown code here. This method is called after the invocation of each test method in the class. 14 | super.tearDown() 15 | } 16 | 17 | func testExample() { 18 | // This is an example of a functional test case. 19 | XCTAssert(true, "Pass") 20 | } 21 | 22 | func testPerformanceExample() { 23 | // This is an example of a performance test case. 24 | self.measure() { 25 | // Put the code you want to measure the time of here. 26 | } 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/NSJTextField/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NSJTextField_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-NSJTextField_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-NSJTextField_Tests/Pods-NSJTextField_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) 2017 laughofnsjoker@gmail.com 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/NSJTextField/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-NSJTextField_Example/Pods-NSJTextField_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## NSJTextField 5 | 6 | Copyright (c) 2017 laughofnsjoker@gmail.com 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 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # NSJTextField 2 | 3 | [![CI Status](http://img.shields.io/travis/laughofnsjoker@gmail.com/NSJTextField.svg?style=flat)](https://travis-ci.org/laughofnsjoker@gmail.com/NSJTextField) 4 | [![Version](https://img.shields.io/cocoapods/v/NSJTextField.svg?style=flat)](http://cocoapods.org/pods/NSJTextField) 5 | [![License](https://img.shields.io/cocoapods/l/NSJTextField.svg?style=flat)](http://cocoapods.org/pods/NSJTextField) 6 | [![Platform](https://img.shields.io/cocoapods/p/NSJTextField.svg?style=flat)](http://cocoapods.org/pods/NSJTextField) 7 | 8 | ## Problem 9 | 10 | Placeholder text works great for a simple username and password form, but not so much when there is more information. It's easy to forget which field is which once you've typed into all of the inputs. 11 | 12 | ## Demo 13 | NSJTextField 14 | 15 | ## Example 16 | 17 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 18 | 19 | ## Requirements 20 | 21 | ## Installation 22 | 23 | NSJTextField is available through [CocoaPods](http://cocoapods.org). To install 24 | it, simply add the following lines to your Podfile: 25 | 26 | ```ruby 27 | source 'https://github.com/NSJoker/NSJTextFieldSpecs.git' 28 | pod 'NSJTextField' 29 | ``` 30 | 31 | ## Author 32 | 33 | NSJoker, laughofnsjoker@gmail.com 34 | 35 | ## License 36 | 37 | NSJTextField is available under the MIT license. See the LICENSE file for more info. 38 | -------------------------------------------------------------------------------- /Example/NSJTextField/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 | -------------------------------------------------------------------------------- /NSJTextField.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint NSJTextField.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 = 'NSJTextField' 11 | s.version = '0.1.0' 12 | s.summary = 'A custom textfield.' 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 = 'A custom textfield with the placeholder displayed on top when text entered.' 21 | 22 | s.homepage = 'https://github.com/NSJoker/NSJTextField' 23 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 24 | s.license = { :type => 'MIT', :file => 'LICENSE' } 25 | s.author = { 'NSJoker' => 'laughofnsjoker@gmail.com' } 26 | s.source = { :git => 'https://github.com/NSJoker/NSJTextField.git', :tag => s.version.to_s } 27 | # s.social_media_url = 'https://twitter.com/chandrachudh' 28 | 29 | s.ios.deployment_target = '8.0' 30 | 31 | s.source_files = 'NSJTextField/Classes/**/*' 32 | 33 | # s.resource_bundles = { 34 | # 'NSJTextField' => ['NSJTextField/Assets/*.png'] 35 | # } 36 | 37 | # s.public_header_files = 'Pod/Classes/**/*.h' 38 | # s.frameworks = 'UIKit', 'MapKit' 39 | # s.dependency 'AFNetworking', '~> 2.3' 40 | end 41 | -------------------------------------------------------------------------------- /Example/NSJTextField/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // NSJTextField 4 | // 5 | // Created by laughofnsjoker@gmail.com on 05/14/2017. 6 | // Copyright (c) 2017 laughofnsjoker@gmail.com. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import NSJTextField 11 | 12 | class ViewController: UIViewController { 13 | 14 | let txtTitle = NSJTextField() 15 | 16 | override func viewDidLoad() { 17 | super.viewDidLoad() 18 | // Do any additional setup after loading the view, typically from a nib. 19 | 20 | txtTitle.frame = CGRect(x: 10, y: 100, width: view.bounds.width - 20, height: 40); 21 | 22 | let title = "Title Here" 23 | let range = NSRange.init(location: 0, length: title.characters.count) 24 | 25 | let attributedString = NSMutableAttributedString.init(string: "Title Here") 26 | attributedString.addAttribute(NSFontAttributeName, value: UIFont.systemFont(ofSize: 10), range: range) 27 | attributedString.addAttribute(NSForegroundColorAttributeName, value: colorFromRGBA(fromHex: 0x3498db, alpha: 1.0), range: range) 28 | 29 | txtTitle.customTitleAttributedString = attributedString 30 | 31 | 32 | view.addSubview(txtTitle) 33 | 34 | } 35 | 36 | override func didReceiveMemoryWarning() { 37 | super.didReceiveMemoryWarning() 38 | // Dispose of any resources that can be recreated. 39 | } 40 | 41 | func colorFromRGBA(fromHex: Int, alpha: CGFloat) -> UIColor { 42 | let red = CGFloat((fromHex & 0xFF0000) >> 16) / 0xFF 43 | let green = CGFloat((fromHex & 0x00FF00) >> 8) / 0xFF 44 | let blue = CGFloat(fromHex & 0x0000FF) / 0xFF 45 | 46 | return UIColor(red: red, green: green, blue: blue, alpha: alpha) 47 | } 48 | } 49 | 50 | -------------------------------------------------------------------------------- /Example/NSJTextField/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // NSJTextField 4 | // 5 | // Created by laughofnsjoker@gmail.com on 05/14/2017. 6 | // Copyright (c) 2017 laughofnsjoker@gmail.com. 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-NSJTextField_Example/Pods-NSJTextField_Example-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2017 laughofnsjoker@gmail.com <laughofnsjoker@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 | NSJTextField 41 | Type 42 | PSGroupSpecifier 43 | 44 | 45 | FooterText 46 | Generated by CocoaPods - https://cocoapods.org 47 | Title 48 | 49 | Type 50 | PSGroupSpecifier 51 | 52 | 53 | StringsTable 54 | Acknowledgements 55 | Title 56 | Acknowledgements 57 | 58 | 59 | -------------------------------------------------------------------------------- /Example/NSJTextField/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 20 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NSJTextField_Tests/Pods-NSJTextField_Tests-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 63 | 64 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 65 | code_sign_cmd="$code_sign_cmd &" 66 | fi 67 | echo "$code_sign_cmd" 68 | eval "$code_sign_cmd" 69 | fi 70 | } 71 | 72 | # Strip invalid architectures 73 | strip_invalid_archs() { 74 | binary="$1" 75 | # Get architectures for current file 76 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 77 | stripped="" 78 | for arch in $archs; do 79 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 80 | # Strip non-valid architectures in-place 81 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 82 | stripped="$stripped $arch" 83 | fi 84 | done 85 | if [[ "$stripped" ]]; then 86 | echo "Stripped $binary of architectures:$stripped" 87 | fi 88 | } 89 | 90 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 91 | wait 92 | fi 93 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NSJTextField_Example/Pods-NSJTextField_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 63 | 64 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 65 | code_sign_cmd="$code_sign_cmd &" 66 | fi 67 | echo "$code_sign_cmd" 68 | eval "$code_sign_cmd" 69 | fi 70 | } 71 | 72 | # Strip invalid architectures 73 | strip_invalid_archs() { 74 | binary="$1" 75 | # Get architectures for current file 76 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 77 | stripped="" 78 | for arch in $archs; do 79 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 80 | # Strip non-valid architectures in-place 81 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 82 | stripped="$stripped $arch" 83 | fi 84 | done 85 | if [[ "$stripped" ]]; then 86 | echo "Stripped $binary of architectures:$stripped" 87 | fi 88 | } 89 | 90 | 91 | if [[ "$CONFIGURATION" == "Debug" ]]; then 92 | install_framework "$BUILT_PRODUCTS_DIR/NSJTextField/NSJTextField.framework" 93 | fi 94 | if [[ "$CONFIGURATION" == "Release" ]]; then 95 | install_framework "$BUILT_PRODUCTS_DIR/NSJTextField/NSJTextField.framework" 96 | fi 97 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 98 | wait 99 | fi 100 | -------------------------------------------------------------------------------- /Example/NSJTextField.xcodeproj/xcshareddata/xcschemes/NSJTextField-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 67 | 68 | 78 | 80 | 86 | 87 | 88 | 89 | 90 | 91 | 97 | 99 | 105 | 106 | 107 | 108 | 110 | 111 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /NSJTextField/Classes/NSJTextField.swift: -------------------------------------------------------------------------------- 1 | // 2 | // NSJTextField.swift 3 | // NSJTextField 4 | // 5 | // Created by NSJoker on 13/05/17. 6 | // Copyright © 2017 NSJoker. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | ///A custom textfield with the placeholder displayed on top when text entered. 12 | /// - **textField**: The UITextField where you can enter text. _Feel free to write your own delegates for this one_. 13 | /// 14 | /// - **customTitleAttributedString**: In case you require custom attributes to your _title_. 15 | /// 16 | ///--- 17 | ///ABOUT NSJTextField 18 | ///======== 19 | ///**Created By** : _NSJoker_ [github](https://github.com/NSJoker) 20 | /// 21 | ///**Original Idea From** : [dribble.com](https://dribbble.com/shots/1254439--GIF-Float-Label-Form-Interaction) 22 | 23 | public class NSJTextField: UIView { 24 | 25 | private let lblTitle = UILabel() 26 | private let animationDuration:Double = 0.25 27 | private let titleHeight:CGFloat = 10.0 28 | 29 | ///The UITextField where you can enter text. Feel free to write your own delegates for this one. 30 | public let textField = UITextField() 31 | 32 | ///In case you require custom attributes to your title. 33 | public var customTitleAttributedString:NSAttributedString? 34 | 35 | override public init(frame:CGRect) { 36 | super.init(frame: frame) 37 | } 38 | 39 | convenience public init(){ 40 | self.init(frame:.zero) 41 | self.createViews() 42 | } 43 | 44 | required public init?(coder aDecoder: NSCoder) { 45 | fatalError("init(coder:) has not been implemented. Please try another way.\nYour's truely NSJoker!") 46 | } 47 | 48 | private func createViews() { 49 | lblTitle.text = "" 50 | lblTitle.textColor = UIColor.lightGray 51 | lblTitle.font = UIFont.systemFont(ofSize: 8) 52 | lblTitle.numberOfLines = 0 53 | lblTitle.textAlignment = .left 54 | lblTitle.isHidden = true 55 | lblTitle.frame = CGRect(x: 0, y: 0, width: bounds.width, height: titleHeight) 56 | lblTitle.autoresizingMask = [.flexibleWidth, .flexibleHeight] 57 | addSubview(lblTitle) 58 | 59 | textField.placeholder = "Enter text here" 60 | textField.addTarget(self, action: #selector(textFieldDidChange), for: .editingChanged) 61 | textField.addTarget(self, action: #selector(textFieldDidChange), for: .valueChanged) 62 | textField.backgroundColor = .clear 63 | addSubview(textField) 64 | } 65 | 66 | override public func layoutSubviews() { 67 | super.layoutSubviews() 68 | textField.frame = CGRect(x: 0, y: titleHeight, width: bounds.width, height: bounds.height-titleHeight) 69 | textFieldDidChange() 70 | } 71 | 72 | @objc private func textFieldDidChange() { 73 | if textField.text?.characters.count == 0 { 74 | hideTitle() 75 | } else { 76 | showTitle() 77 | } 78 | 79 | if let attributedString = customTitleAttributedString { 80 | lblTitle.attributedText = attributedString 81 | } 82 | else { 83 | lblTitle.text = textField.placeholder 84 | 85 | if let attributedText = textField.attributedPlaceholder { 86 | lblTitle.text = attributedText.string 87 | } 88 | } 89 | } 90 | 91 | private func showTitle() { 92 | if lblTitle.isHidden == false { 93 | return 94 | } 95 | 96 | lblTitle.isHidden = false 97 | lblTitle.alpha = 0.0 98 | lblTitle.frame = CGRect(x: 0, y: titleHeight, width: bounds.width, height: titleHeight) 99 | 100 | UIView.animate(withDuration: animationDuration, delay: 0.0, options: .curveEaseInOut, animations: { 101 | self.lblTitle.alpha = 1.0 102 | self.lblTitle.frame = CGRect(x: 0, y: 0, width: self.bounds.width, height: self.titleHeight) 103 | }) { (finished) in 104 | if self.textField.text?.characters.count == 0 { 105 | self.lblTitle.isHidden = true 106 | self.lblTitle.frame = CGRect(x: 0, y: self.titleHeight, width: self.bounds.width, height: self.titleHeight) 107 | } 108 | } 109 | } 110 | 111 | private func hideTitle() { 112 | if lblTitle.isHidden == true { 113 | return 114 | } 115 | 116 | lblTitle.frame = CGRect(x: 0, y: 0, width: bounds.width, height: titleHeight) 117 | 118 | UIView.animate(withDuration: animationDuration, delay: 0.0, options: .curveEaseInOut, animations: { 119 | self.lblTitle.alpha = 0.0 120 | self.lblTitle.frame = CGRect(x: 0, y: self.titleHeight, width: self.bounds.width, height: self.titleHeight) 121 | }) { (finished) in 122 | self.lblTitle.isHidden = true 123 | self.lblTitle.alpha = 1.0 124 | if self.textField.text?.characters.count != 0 { 125 | self.lblTitle.isHidden = false 126 | self.lblTitle.frame = CGRect(x: 0, y: 0, width: self.bounds.width, height: self.titleHeight) 127 | } 128 | } 129 | } 130 | } 131 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NSJTextField_Example/Pods-NSJTextField_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | 3) 22 | TARGET_DEVICE_ARGS="--target-device tv" 23 | ;; 24 | 4) 25 | TARGET_DEVICE_ARGS="--target-device watch" 26 | ;; 27 | *) 28 | TARGET_DEVICE_ARGS="--target-device mac" 29 | ;; 30 | esac 31 | 32 | install_resource() 33 | { 34 | if [[ "$1" = /* ]] ; then 35 | RESOURCE_PATH="$1" 36 | else 37 | RESOURCE_PATH="${PODS_ROOT}/$1" 38 | fi 39 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 40 | cat << EOM 41 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 42 | EOM 43 | exit 1 44 | fi 45 | case $RESOURCE_PATH in 46 | *.storyboard) 47 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 48 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 49 | ;; 50 | *.xib) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.framework) 55 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 57 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 58 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 59 | ;; 60 | *.xcdatamodel) 61 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 62 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 63 | ;; 64 | *.xcdatamodeld) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 67 | ;; 68 | *.xcmappingmodel) 69 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 70 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 71 | ;; 72 | *.xcassets) 73 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 74 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 75 | ;; 76 | *) 77 | echo "$RESOURCE_PATH" 78 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 79 | ;; 80 | esac 81 | } 82 | 83 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 86 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 87 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | fi 89 | rm -f "$RESOURCES_TO_COPY" 90 | 91 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 92 | then 93 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 94 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 95 | while read line; do 96 | if [[ $line != "${PODS_ROOT}*" ]]; then 97 | XCASSET_FILES+=("$line") 98 | fi 99 | done <<<"$OTHER_XCASSETS" 100 | 101 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 102 | fi 103 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NSJTextField_Tests/Pods-NSJTextField_Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | 3) 22 | TARGET_DEVICE_ARGS="--target-device tv" 23 | ;; 24 | 4) 25 | TARGET_DEVICE_ARGS="--target-device watch" 26 | ;; 27 | *) 28 | TARGET_DEVICE_ARGS="--target-device mac" 29 | ;; 30 | esac 31 | 32 | install_resource() 33 | { 34 | if [[ "$1" = /* ]] ; then 35 | RESOURCE_PATH="$1" 36 | else 37 | RESOURCE_PATH="${PODS_ROOT}/$1" 38 | fi 39 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 40 | cat << EOM 41 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 42 | EOM 43 | exit 1 44 | fi 45 | case $RESOURCE_PATH in 46 | *.storyboard) 47 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 48 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 49 | ;; 50 | *.xib) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.framework) 55 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 57 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 58 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 59 | ;; 60 | *.xcdatamodel) 61 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 62 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 63 | ;; 64 | *.xcdatamodeld) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 67 | ;; 68 | *.xcmappingmodel) 69 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 70 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 71 | ;; 72 | *.xcassets) 73 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 74 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 75 | ;; 76 | *) 77 | echo "$RESOURCE_PATH" 78 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 79 | ;; 80 | esac 81 | } 82 | 83 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 86 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 87 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | fi 89 | rm -f "$RESOURCES_TO_COPY" 90 | 91 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 92 | then 93 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 94 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 95 | while read line; do 96 | if [[ $line != "${PODS_ROOT}*" ]]; then 97 | XCASSET_FILES+=("$line") 98 | fi 99 | done <<<"$OTHER_XCASSETS" 100 | 101 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 102 | fi 103 | -------------------------------------------------------------------------------- /Example/NSJTextField.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 11 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 12 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 13 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 14 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 15 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 16 | B8FD0E03203D219F6E7AADA7 /* Pods_NSJTextField_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 317C1FF85F792BE5BE536FBE /* Pods_NSJTextField_Example.framework */; }; 17 | BE03B6321E738BB59989215E /* Pods_NSJTextField_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D8DBCE6F62117E1215CD19A3 /* Pods_NSJTextField_Tests.framework */; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXContainerItemProxy section */ 21 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 22 | isa = PBXContainerItemProxy; 23 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 24 | proxyType = 1; 25 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 26 | remoteInfo = NSJTextField; 27 | }; 28 | /* End PBXContainerItemProxy section */ 29 | 30 | /* Begin PBXFileReference section */ 31 | 098F632A13EE62D1875CB4DB /* NSJTextField.podspec */ = {isa = PBXFileReference; includeInIndex = 1; name = NSJTextField.podspec; path = ../NSJTextField.podspec; sourceTree = ""; }; 32 | 317C1FF85F792BE5BE536FBE /* Pods_NSJTextField_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_NSJTextField_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 33 | 607FACD01AFB9204008FA782 /* NSJTextField_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = NSJTextField_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 34 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 35 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 36 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 37 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 38 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 39 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 40 | 607FACE51AFB9204008FA782 /* NSJTextField_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = NSJTextField_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 41 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 42 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 43 | 7957BFD1939A655D8BAC9734 /* Pods-NSJTextField_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NSJTextField_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-NSJTextField_Example/Pods-NSJTextField_Example.release.xcconfig"; sourceTree = ""; }; 44 | 946EE0F3C4653452DFCC44B4 /* Pods-NSJTextField_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NSJTextField_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-NSJTextField_Tests/Pods-NSJTextField_Tests.release.xcconfig"; sourceTree = ""; }; 45 | A3FE5E06D104E7CAD2879AC8 /* Pods-NSJTextField_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NSJTextField_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-NSJTextField_Example/Pods-NSJTextField_Example.debug.xcconfig"; sourceTree = ""; }; 46 | BBCC1CA69857F531C4190518 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; name = README.md; path = ../README.md; sourceTree = ""; }; 47 | C244F2B154E3247DBB05A089 /* Pods-NSJTextField_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NSJTextField_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-NSJTextField_Tests/Pods-NSJTextField_Tests.debug.xcconfig"; sourceTree = ""; }; 48 | CC25F9DA27618B2C506BF065 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 49 | D8DBCE6F62117E1215CD19A3 /* Pods_NSJTextField_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_NSJTextField_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 50 | /* End PBXFileReference section */ 51 | 52 | /* Begin PBXFrameworksBuildPhase section */ 53 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 54 | isa = PBXFrameworksBuildPhase; 55 | buildActionMask = 2147483647; 56 | files = ( 57 | B8FD0E03203D219F6E7AADA7 /* Pods_NSJTextField_Example.framework in Frameworks */, 58 | ); 59 | runOnlyForDeploymentPostprocessing = 0; 60 | }; 61 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 62 | isa = PBXFrameworksBuildPhase; 63 | buildActionMask = 2147483647; 64 | files = ( 65 | BE03B6321E738BB59989215E /* Pods_NSJTextField_Tests.framework in Frameworks */, 66 | ); 67 | runOnlyForDeploymentPostprocessing = 0; 68 | }; 69 | /* End PBXFrameworksBuildPhase section */ 70 | 71 | /* Begin PBXGroup section */ 72 | 4F97EE5AD7680F6FDDF1222E /* Frameworks */ = { 73 | isa = PBXGroup; 74 | children = ( 75 | 317C1FF85F792BE5BE536FBE /* Pods_NSJTextField_Example.framework */, 76 | D8DBCE6F62117E1215CD19A3 /* Pods_NSJTextField_Tests.framework */, 77 | ); 78 | name = Frameworks; 79 | sourceTree = ""; 80 | }; 81 | 607FACC71AFB9204008FA782 = { 82 | isa = PBXGroup; 83 | children = ( 84 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 85 | 607FACD21AFB9204008FA782 /* Example for NSJTextField */, 86 | 607FACE81AFB9204008FA782 /* Tests */, 87 | 607FACD11AFB9204008FA782 /* Products */, 88 | 68A8C4549326B3B656A50FF1 /* Pods */, 89 | 4F97EE5AD7680F6FDDF1222E /* Frameworks */, 90 | ); 91 | sourceTree = ""; 92 | }; 93 | 607FACD11AFB9204008FA782 /* Products */ = { 94 | isa = PBXGroup; 95 | children = ( 96 | 607FACD01AFB9204008FA782 /* NSJTextField_Example.app */, 97 | 607FACE51AFB9204008FA782 /* NSJTextField_Tests.xctest */, 98 | ); 99 | name = Products; 100 | sourceTree = ""; 101 | }; 102 | 607FACD21AFB9204008FA782 /* Example for NSJTextField */ = { 103 | isa = PBXGroup; 104 | children = ( 105 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 106 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 107 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 108 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 109 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 110 | 607FACD31AFB9204008FA782 /* Supporting Files */, 111 | ); 112 | name = "Example for NSJTextField"; 113 | path = NSJTextField; 114 | sourceTree = ""; 115 | }; 116 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 117 | isa = PBXGroup; 118 | children = ( 119 | 607FACD41AFB9204008FA782 /* Info.plist */, 120 | ); 121 | name = "Supporting Files"; 122 | sourceTree = ""; 123 | }; 124 | 607FACE81AFB9204008FA782 /* Tests */ = { 125 | isa = PBXGroup; 126 | children = ( 127 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 128 | 607FACE91AFB9204008FA782 /* Supporting Files */, 129 | ); 130 | path = Tests; 131 | sourceTree = ""; 132 | }; 133 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 134 | isa = PBXGroup; 135 | children = ( 136 | 607FACEA1AFB9204008FA782 /* Info.plist */, 137 | ); 138 | name = "Supporting Files"; 139 | sourceTree = ""; 140 | }; 141 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 142 | isa = PBXGroup; 143 | children = ( 144 | 098F632A13EE62D1875CB4DB /* NSJTextField.podspec */, 145 | BBCC1CA69857F531C4190518 /* README.md */, 146 | CC25F9DA27618B2C506BF065 /* LICENSE */, 147 | ); 148 | name = "Podspec Metadata"; 149 | sourceTree = ""; 150 | }; 151 | 68A8C4549326B3B656A50FF1 /* Pods */ = { 152 | isa = PBXGroup; 153 | children = ( 154 | A3FE5E06D104E7CAD2879AC8 /* Pods-NSJTextField_Example.debug.xcconfig */, 155 | 7957BFD1939A655D8BAC9734 /* Pods-NSJTextField_Example.release.xcconfig */, 156 | C244F2B154E3247DBB05A089 /* Pods-NSJTextField_Tests.debug.xcconfig */, 157 | 946EE0F3C4653452DFCC44B4 /* Pods-NSJTextField_Tests.release.xcconfig */, 158 | ); 159 | name = Pods; 160 | sourceTree = ""; 161 | }; 162 | /* End PBXGroup section */ 163 | 164 | /* Begin PBXNativeTarget section */ 165 | 607FACCF1AFB9204008FA782 /* NSJTextField_Example */ = { 166 | isa = PBXNativeTarget; 167 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "NSJTextField_Example" */; 168 | buildPhases = ( 169 | 1E842128ABDA5ECE41B1A99E /* [CP] Check Pods Manifest.lock */, 170 | 607FACCC1AFB9204008FA782 /* Sources */, 171 | 607FACCD1AFB9204008FA782 /* Frameworks */, 172 | 607FACCE1AFB9204008FA782 /* Resources */, 173 | C889BE1F3CAF02DBFF3777D3 /* [CP] Embed Pods Frameworks */, 174 | A4FB772D611B2AA70373F2D7 /* [CP] Copy Pods Resources */, 175 | ); 176 | buildRules = ( 177 | ); 178 | dependencies = ( 179 | ); 180 | name = NSJTextField_Example; 181 | productName = NSJTextField; 182 | productReference = 607FACD01AFB9204008FA782 /* NSJTextField_Example.app */; 183 | productType = "com.apple.product-type.application"; 184 | }; 185 | 607FACE41AFB9204008FA782 /* NSJTextField_Tests */ = { 186 | isa = PBXNativeTarget; 187 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "NSJTextField_Tests" */; 188 | buildPhases = ( 189 | CC405FAFCE26FA2662F65C9A /* [CP] Check Pods Manifest.lock */, 190 | 607FACE11AFB9204008FA782 /* Sources */, 191 | 607FACE21AFB9204008FA782 /* Frameworks */, 192 | 607FACE31AFB9204008FA782 /* Resources */, 193 | 3E0CF24C37466829027621B7 /* [CP] Embed Pods Frameworks */, 194 | 1C534059E358C97736DCCF0B /* [CP] Copy Pods Resources */, 195 | ); 196 | buildRules = ( 197 | ); 198 | dependencies = ( 199 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 200 | ); 201 | name = NSJTextField_Tests; 202 | productName = Tests; 203 | productReference = 607FACE51AFB9204008FA782 /* NSJTextField_Tests.xctest */; 204 | productType = "com.apple.product-type.bundle.unit-test"; 205 | }; 206 | /* End PBXNativeTarget section */ 207 | 208 | /* Begin PBXProject section */ 209 | 607FACC81AFB9204008FA782 /* Project object */ = { 210 | isa = PBXProject; 211 | attributes = { 212 | LastSwiftUpdateCheck = 0720; 213 | LastUpgradeCheck = 0820; 214 | ORGANIZATIONNAME = CocoaPods; 215 | TargetAttributes = { 216 | 607FACCF1AFB9204008FA782 = { 217 | CreatedOnToolsVersion = 6.3.1; 218 | LastSwiftMigration = 0820; 219 | }; 220 | 607FACE41AFB9204008FA782 = { 221 | CreatedOnToolsVersion = 6.3.1; 222 | LastSwiftMigration = 0820; 223 | TestTargetID = 607FACCF1AFB9204008FA782; 224 | }; 225 | }; 226 | }; 227 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "NSJTextField" */; 228 | compatibilityVersion = "Xcode 3.2"; 229 | developmentRegion = English; 230 | hasScannedForEncodings = 0; 231 | knownRegions = ( 232 | en, 233 | Base, 234 | ); 235 | mainGroup = 607FACC71AFB9204008FA782; 236 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 237 | projectDirPath = ""; 238 | projectRoot = ""; 239 | targets = ( 240 | 607FACCF1AFB9204008FA782 /* NSJTextField_Example */, 241 | 607FACE41AFB9204008FA782 /* NSJTextField_Tests */, 242 | ); 243 | }; 244 | /* End PBXProject section */ 245 | 246 | /* Begin PBXResourcesBuildPhase section */ 247 | 607FACCE1AFB9204008FA782 /* Resources */ = { 248 | isa = PBXResourcesBuildPhase; 249 | buildActionMask = 2147483647; 250 | files = ( 251 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 252 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 253 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 254 | ); 255 | runOnlyForDeploymentPostprocessing = 0; 256 | }; 257 | 607FACE31AFB9204008FA782 /* Resources */ = { 258 | isa = PBXResourcesBuildPhase; 259 | buildActionMask = 2147483647; 260 | files = ( 261 | ); 262 | runOnlyForDeploymentPostprocessing = 0; 263 | }; 264 | /* End PBXResourcesBuildPhase section */ 265 | 266 | /* Begin PBXShellScriptBuildPhase section */ 267 | 1C534059E358C97736DCCF0B /* [CP] Copy Pods Resources */ = { 268 | isa = PBXShellScriptBuildPhase; 269 | buildActionMask = 2147483647; 270 | files = ( 271 | ); 272 | inputPaths = ( 273 | ); 274 | name = "[CP] Copy Pods Resources"; 275 | outputPaths = ( 276 | ); 277 | runOnlyForDeploymentPostprocessing = 0; 278 | shellPath = /bin/sh; 279 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-NSJTextField_Tests/Pods-NSJTextField_Tests-resources.sh\"\n"; 280 | showEnvVarsInLog = 0; 281 | }; 282 | 1E842128ABDA5ECE41B1A99E /* [CP] Check Pods Manifest.lock */ = { 283 | isa = PBXShellScriptBuildPhase; 284 | buildActionMask = 2147483647; 285 | files = ( 286 | ); 287 | inputPaths = ( 288 | ); 289 | name = "[CP] Check Pods Manifest.lock"; 290 | outputPaths = ( 291 | ); 292 | runOnlyForDeploymentPostprocessing = 0; 293 | shellPath = /bin/sh; 294 | 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"; 295 | showEnvVarsInLog = 0; 296 | }; 297 | 3E0CF24C37466829027621B7 /* [CP] Embed Pods Frameworks */ = { 298 | isa = PBXShellScriptBuildPhase; 299 | buildActionMask = 2147483647; 300 | files = ( 301 | ); 302 | inputPaths = ( 303 | ); 304 | name = "[CP] Embed Pods Frameworks"; 305 | outputPaths = ( 306 | ); 307 | runOnlyForDeploymentPostprocessing = 0; 308 | shellPath = /bin/sh; 309 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-NSJTextField_Tests/Pods-NSJTextField_Tests-frameworks.sh\"\n"; 310 | showEnvVarsInLog = 0; 311 | }; 312 | A4FB772D611B2AA70373F2D7 /* [CP] Copy Pods Resources */ = { 313 | isa = PBXShellScriptBuildPhase; 314 | buildActionMask = 2147483647; 315 | files = ( 316 | ); 317 | inputPaths = ( 318 | ); 319 | name = "[CP] Copy Pods Resources"; 320 | outputPaths = ( 321 | ); 322 | runOnlyForDeploymentPostprocessing = 0; 323 | shellPath = /bin/sh; 324 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-NSJTextField_Example/Pods-NSJTextField_Example-resources.sh\"\n"; 325 | showEnvVarsInLog = 0; 326 | }; 327 | C889BE1F3CAF02DBFF3777D3 /* [CP] Embed Pods Frameworks */ = { 328 | isa = PBXShellScriptBuildPhase; 329 | buildActionMask = 2147483647; 330 | files = ( 331 | ); 332 | inputPaths = ( 333 | ); 334 | name = "[CP] Embed Pods Frameworks"; 335 | outputPaths = ( 336 | ); 337 | runOnlyForDeploymentPostprocessing = 0; 338 | shellPath = /bin/sh; 339 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-NSJTextField_Example/Pods-NSJTextField_Example-frameworks.sh\"\n"; 340 | showEnvVarsInLog = 0; 341 | }; 342 | CC405FAFCE26FA2662F65C9A /* [CP] Check Pods Manifest.lock */ = { 343 | isa = PBXShellScriptBuildPhase; 344 | buildActionMask = 2147483647; 345 | files = ( 346 | ); 347 | inputPaths = ( 348 | ); 349 | name = "[CP] Check Pods Manifest.lock"; 350 | outputPaths = ( 351 | ); 352 | runOnlyForDeploymentPostprocessing = 0; 353 | shellPath = /bin/sh; 354 | 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"; 355 | showEnvVarsInLog = 0; 356 | }; 357 | /* End PBXShellScriptBuildPhase section */ 358 | 359 | /* Begin PBXSourcesBuildPhase section */ 360 | 607FACCC1AFB9204008FA782 /* Sources */ = { 361 | isa = PBXSourcesBuildPhase; 362 | buildActionMask = 2147483647; 363 | files = ( 364 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 365 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 366 | ); 367 | runOnlyForDeploymentPostprocessing = 0; 368 | }; 369 | 607FACE11AFB9204008FA782 /* Sources */ = { 370 | isa = PBXSourcesBuildPhase; 371 | buildActionMask = 2147483647; 372 | files = ( 373 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 374 | ); 375 | runOnlyForDeploymentPostprocessing = 0; 376 | }; 377 | /* End PBXSourcesBuildPhase section */ 378 | 379 | /* Begin PBXTargetDependency section */ 380 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 381 | isa = PBXTargetDependency; 382 | target = 607FACCF1AFB9204008FA782 /* NSJTextField_Example */; 383 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 384 | }; 385 | /* End PBXTargetDependency section */ 386 | 387 | /* Begin PBXVariantGroup section */ 388 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 389 | isa = PBXVariantGroup; 390 | children = ( 391 | 607FACDA1AFB9204008FA782 /* Base */, 392 | ); 393 | name = Main.storyboard; 394 | sourceTree = ""; 395 | }; 396 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 397 | isa = PBXVariantGroup; 398 | children = ( 399 | 607FACDF1AFB9204008FA782 /* Base */, 400 | ); 401 | name = LaunchScreen.xib; 402 | sourceTree = ""; 403 | }; 404 | /* End PBXVariantGroup section */ 405 | 406 | /* Begin XCBuildConfiguration section */ 407 | 607FACED1AFB9204008FA782 /* Debug */ = { 408 | isa = XCBuildConfiguration; 409 | buildSettings = { 410 | ALWAYS_SEARCH_USER_PATHS = NO; 411 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 412 | CLANG_CXX_LIBRARY = "libc++"; 413 | CLANG_ENABLE_MODULES = YES; 414 | CLANG_ENABLE_OBJC_ARC = YES; 415 | CLANG_WARN_BOOL_CONVERSION = YES; 416 | CLANG_WARN_CONSTANT_CONVERSION = YES; 417 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 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_OBJC_ROOT_CLASS = YES_ERROR; 423 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 424 | CLANG_WARN_UNREACHABLE_CODE = YES; 425 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 426 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 427 | COPY_PHASE_STRIP = NO; 428 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 429 | ENABLE_STRICT_OBJC_MSGSEND = YES; 430 | ENABLE_TESTABILITY = YES; 431 | GCC_C_LANGUAGE_STANDARD = gnu99; 432 | GCC_DYNAMIC_NO_PIC = NO; 433 | GCC_NO_COMMON_BLOCKS = YES; 434 | GCC_OPTIMIZATION_LEVEL = 0; 435 | GCC_PREPROCESSOR_DEFINITIONS = ( 436 | "DEBUG=1", 437 | "$(inherited)", 438 | ); 439 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 440 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 441 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 442 | GCC_WARN_UNDECLARED_SELECTOR = YES; 443 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 444 | GCC_WARN_UNUSED_FUNCTION = YES; 445 | GCC_WARN_UNUSED_VARIABLE = YES; 446 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 447 | MTL_ENABLE_DEBUG_INFO = YES; 448 | ONLY_ACTIVE_ARCH = YES; 449 | SDKROOT = iphoneos; 450 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 451 | }; 452 | name = Debug; 453 | }; 454 | 607FACEE1AFB9204008FA782 /* Release */ = { 455 | isa = XCBuildConfiguration; 456 | buildSettings = { 457 | ALWAYS_SEARCH_USER_PATHS = NO; 458 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 459 | CLANG_CXX_LIBRARY = "libc++"; 460 | CLANG_ENABLE_MODULES = YES; 461 | CLANG_ENABLE_OBJC_ARC = YES; 462 | CLANG_WARN_BOOL_CONVERSION = YES; 463 | CLANG_WARN_CONSTANT_CONVERSION = YES; 464 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 465 | CLANG_WARN_EMPTY_BODY = YES; 466 | CLANG_WARN_ENUM_CONVERSION = YES; 467 | CLANG_WARN_INFINITE_RECURSION = YES; 468 | CLANG_WARN_INT_CONVERSION = YES; 469 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 470 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 471 | CLANG_WARN_UNREACHABLE_CODE = YES; 472 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 473 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 474 | COPY_PHASE_STRIP = NO; 475 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 476 | ENABLE_NS_ASSERTIONS = NO; 477 | ENABLE_STRICT_OBJC_MSGSEND = YES; 478 | GCC_C_LANGUAGE_STANDARD = gnu99; 479 | GCC_NO_COMMON_BLOCKS = YES; 480 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 481 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 482 | GCC_WARN_UNDECLARED_SELECTOR = YES; 483 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 484 | GCC_WARN_UNUSED_FUNCTION = YES; 485 | GCC_WARN_UNUSED_VARIABLE = YES; 486 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 487 | MTL_ENABLE_DEBUG_INFO = NO; 488 | SDKROOT = iphoneos; 489 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 490 | VALIDATE_PRODUCT = YES; 491 | }; 492 | name = Release; 493 | }; 494 | 607FACF01AFB9204008FA782 /* Debug */ = { 495 | isa = XCBuildConfiguration; 496 | baseConfigurationReference = A3FE5E06D104E7CAD2879AC8 /* Pods-NSJTextField_Example.debug.xcconfig */; 497 | buildSettings = { 498 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 499 | INFOPLIST_FILE = NSJTextField/Info.plist; 500 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 501 | MODULE_NAME = ExampleApp; 502 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 503 | PRODUCT_NAME = "$(TARGET_NAME)"; 504 | SWIFT_VERSION = 3.0; 505 | }; 506 | name = Debug; 507 | }; 508 | 607FACF11AFB9204008FA782 /* Release */ = { 509 | isa = XCBuildConfiguration; 510 | baseConfigurationReference = 7957BFD1939A655D8BAC9734 /* Pods-NSJTextField_Example.release.xcconfig */; 511 | buildSettings = { 512 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 513 | INFOPLIST_FILE = NSJTextField/Info.plist; 514 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 515 | MODULE_NAME = ExampleApp; 516 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 517 | PRODUCT_NAME = "$(TARGET_NAME)"; 518 | SWIFT_VERSION = 3.0; 519 | }; 520 | name = Release; 521 | }; 522 | 607FACF31AFB9204008FA782 /* Debug */ = { 523 | isa = XCBuildConfiguration; 524 | baseConfigurationReference = C244F2B154E3247DBB05A089 /* Pods-NSJTextField_Tests.debug.xcconfig */; 525 | buildSettings = { 526 | FRAMEWORK_SEARCH_PATHS = ( 527 | "$(SDKROOT)/Developer/Library/Frameworks", 528 | "$(inherited)", 529 | ); 530 | GCC_PREPROCESSOR_DEFINITIONS = ( 531 | "DEBUG=1", 532 | "$(inherited)", 533 | ); 534 | INFOPLIST_FILE = Tests/Info.plist; 535 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 536 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 537 | PRODUCT_NAME = "$(TARGET_NAME)"; 538 | SWIFT_VERSION = 3.0; 539 | }; 540 | name = Debug; 541 | }; 542 | 607FACF41AFB9204008FA782 /* Release */ = { 543 | isa = XCBuildConfiguration; 544 | baseConfigurationReference = 946EE0F3C4653452DFCC44B4 /* Pods-NSJTextField_Tests.release.xcconfig */; 545 | buildSettings = { 546 | FRAMEWORK_SEARCH_PATHS = ( 547 | "$(SDKROOT)/Developer/Library/Frameworks", 548 | "$(inherited)", 549 | ); 550 | INFOPLIST_FILE = Tests/Info.plist; 551 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 552 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 553 | PRODUCT_NAME = "$(TARGET_NAME)"; 554 | SWIFT_VERSION = 3.0; 555 | }; 556 | name = Release; 557 | }; 558 | /* End XCBuildConfiguration section */ 559 | 560 | /* Begin XCConfigurationList section */ 561 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "NSJTextField" */ = { 562 | isa = XCConfigurationList; 563 | buildConfigurations = ( 564 | 607FACED1AFB9204008FA782 /* Debug */, 565 | 607FACEE1AFB9204008FA782 /* Release */, 566 | ); 567 | defaultConfigurationIsVisible = 0; 568 | defaultConfigurationName = Release; 569 | }; 570 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "NSJTextField_Example" */ = { 571 | isa = XCConfigurationList; 572 | buildConfigurations = ( 573 | 607FACF01AFB9204008FA782 /* Debug */, 574 | 607FACF11AFB9204008FA782 /* Release */, 575 | ); 576 | defaultConfigurationIsVisible = 0; 577 | defaultConfigurationName = Release; 578 | }; 579 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "NSJTextField_Tests" */ = { 580 | isa = XCConfigurationList; 581 | buildConfigurations = ( 582 | 607FACF31AFB9204008FA782 /* Debug */, 583 | 607FACF41AFB9204008FA782 /* Release */, 584 | ); 585 | defaultConfigurationIsVisible = 0; 586 | defaultConfigurationName = Release; 587 | }; 588 | /* End XCConfigurationList section */ 589 | }; 590 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 591 | } 592 | -------------------------------------------------------------------------------- /Example/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 | 15F2DE080DA92B632832C1C2A9088710 /* Pods-NSJTextField_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 911053E1B9BCCE7E9C41084B2C69A2D0 /* Pods-NSJTextField_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 11 | 1D26DA456C57A739420F2B43176DA6AF /* Pods-NSJTextField_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = C00A660C5785AE81CF1AB89610F61D53 /* Pods-NSJTextField_Tests-dummy.m */; }; 12 | 325F74A76742D54E58AE2243578AC2CB /* NSJTextField-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 75E030FE1D57962CA2F9BB0010B8E404 /* NSJTextField-dummy.m */; }; 13 | 42D9C92EE983C634085B960CC752669D /* Pods-NSJTextField_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 213A3C49F8CB94415A3865058A70ADDF /* Pods-NSJTextField_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 14 | 6713289927A45FA21FFA3CEE3009D067 /* NSJTextField.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2BF87D3E616EF363153BED90E4766953 /* NSJTextField.swift */; }; 15 | ABAF9630BF3F4C0AB0F0E493D55457D8 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 16 | AF41624ADEF05553BDA60541F1CEF059 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 17 | B5BBFB94760A33432DA29D9735C3F6D9 /* Pods-NSJTextField_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 679009B7A41B0988115B24377795138C /* Pods-NSJTextField_Example-dummy.m */; }; 18 | B8D32324A8F26A02BA5224C9ECF0FA84 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 19 | F8BCD5A865CC526C3A9DDC52585A4E14 /* NSJTextField-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 793B338048E92F7A43DE73A054F0AA29 /* NSJTextField-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 20 | /* End PBXBuildFile section */ 21 | 22 | /* Begin PBXContainerItemProxy section */ 23 | 39B9C034FE698E9F17E36D3C9B740426 /* PBXContainerItemProxy */ = { 24 | isa = PBXContainerItemProxy; 25 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 26 | proxyType = 1; 27 | remoteGlobalIDString = 9829CA5CE403EC2328338DF8A3CBEF23; 28 | remoteInfo = NSJTextField; 29 | }; 30 | /* End PBXContainerItemProxy section */ 31 | 32 | /* Begin PBXFileReference section */ 33 | 0139A1B39F0962D6E3B65D4FD9304B62 /* Pods-NSJTextField_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-NSJTextField_Tests-frameworks.sh"; sourceTree = ""; }; 34 | 0FD52CA3FC822804FAB5BCC5B7A3991F /* Pods_NSJTextField_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_NSJTextField_Tests.framework; path = "Pods-NSJTextField_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 35 | 123E9B5B60ADCCA822E6B0F4265EE2B7 /* NSJTextField.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = NSJTextField.modulemap; sourceTree = ""; }; 36 | 213A3C49F8CB94415A3865058A70ADDF /* Pods-NSJTextField_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-NSJTextField_Example-umbrella.h"; sourceTree = ""; }; 37 | 23F6E416FB6072F7E47FD460E3138248 /* Pods-NSJTextField_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-NSJTextField_Example.debug.xcconfig"; sourceTree = ""; }; 38 | 24A99F1CCF2F9A34E8510C1525F4B871 /* NSJTextField.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = NSJTextField.xcconfig; sourceTree = ""; }; 39 | 2BD4AA63C69BFD8003876B5839F950CF /* Pods_NSJTextField_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_NSJTextField_Example.framework; path = "Pods-NSJTextField_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 40 | 2BF87D3E616EF363153BED90E4766953 /* NSJTextField.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = NSJTextField.swift; sourceTree = ""; }; 41 | 2E6FDC7600B05873042B04ACB463DC2C /* Pods-NSJTextField_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-NSJTextField_Example-frameworks.sh"; sourceTree = ""; }; 42 | 319D194635AEBEB9C36D27F65B3915F7 /* Pods-NSJTextField_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-NSJTextField_Tests-acknowledgements.plist"; sourceTree = ""; }; 43 | 3CEDAA532932CD35326D99368799E2E0 /* Pods-NSJTextField_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-NSJTextField_Example-resources.sh"; sourceTree = ""; }; 44 | 46474D60F053935B362A839C4F84A01C /* Pods-NSJTextField_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-NSJTextField_Tests.modulemap"; sourceTree = ""; }; 45 | 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; }; 46 | 679009B7A41B0988115B24377795138C /* Pods-NSJTextField_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-NSJTextField_Example-dummy.m"; sourceTree = ""; }; 47 | 714BFEEBAB788B914EEF700A99835C1A /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 48 | 7432FE8154D932493A29A933BB6EB76B /* NSJTextField.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = NSJTextField.framework; path = NSJTextField.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 49 | 75E030FE1D57962CA2F9BB0010B8E404 /* NSJTextField-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "NSJTextField-dummy.m"; sourceTree = ""; }; 50 | 793B338048E92F7A43DE73A054F0AA29 /* NSJTextField-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "NSJTextField-umbrella.h"; sourceTree = ""; }; 51 | 8CC50757C575B48B4D11BA22CA2D5FBB /* Pods-NSJTextField_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-NSJTextField_Example.modulemap"; sourceTree = ""; }; 52 | 911053E1B9BCCE7E9C41084B2C69A2D0 /* Pods-NSJTextField_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-NSJTextField_Tests-umbrella.h"; sourceTree = ""; }; 53 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 54 | 9A7C10528294FF97E63FF3F2AFA6C046 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 55 | B0359F15FC445939A2BEB20FF7FA3983 /* Pods-NSJTextField_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-NSJTextField_Example.release.xcconfig"; sourceTree = ""; }; 56 | C00A660C5785AE81CF1AB89610F61D53 /* Pods-NSJTextField_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-NSJTextField_Tests-dummy.m"; sourceTree = ""; }; 57 | C11E0A25BBAF7599A84995D0DB9B38CB /* Pods-NSJTextField_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-NSJTextField_Tests.debug.xcconfig"; sourceTree = ""; }; 58 | C1EF7270AD8C55D601E6F9403A73884A /* Pods-NSJTextField_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-NSJTextField_Tests-acknowledgements.markdown"; sourceTree = ""; }; 59 | CF1BF8AF047ECB83057C706FFB685346 /* Pods-NSJTextField_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-NSJTextField_Tests.release.xcconfig"; sourceTree = ""; }; 60 | CFF4B38761AA13EA350DDFD735127933 /* NSJTextField-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "NSJTextField-prefix.pch"; sourceTree = ""; }; 61 | D816E92BF0205CEB6FD76EF067C26379 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 62 | DF4F336D4E1F098C8690EF601BE738E6 /* Pods-NSJTextField_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-NSJTextField_Example-acknowledgements.markdown"; sourceTree = ""; }; 63 | FC0445781EFA80EF676E26470EE4FBD2 /* Pods-NSJTextField_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-NSJTextField_Example-acknowledgements.plist"; sourceTree = ""; }; 64 | FDD29EF7B5D0FE0A569D46806E8082D6 /* Pods-NSJTextField_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-NSJTextField_Tests-resources.sh"; sourceTree = ""; }; 65 | /* End PBXFileReference section */ 66 | 67 | /* Begin PBXFrameworksBuildPhase section */ 68 | 91E94253F6CC9628D07B4BBCDC6EBC5A /* Frameworks */ = { 69 | isa = PBXFrameworksBuildPhase; 70 | buildActionMask = 2147483647; 71 | files = ( 72 | ABAF9630BF3F4C0AB0F0E493D55457D8 /* Foundation.framework in Frameworks */, 73 | ); 74 | runOnlyForDeploymentPostprocessing = 0; 75 | }; 76 | A76A1B77B492A47F9AEE76C3BE3B5B5B /* Frameworks */ = { 77 | isa = PBXFrameworksBuildPhase; 78 | buildActionMask = 2147483647; 79 | files = ( 80 | AF41624ADEF05553BDA60541F1CEF059 /* Foundation.framework in Frameworks */, 81 | ); 82 | runOnlyForDeploymentPostprocessing = 0; 83 | }; 84 | D436BD055A95196776D071E8F828D1B0 /* Frameworks */ = { 85 | isa = PBXFrameworksBuildPhase; 86 | buildActionMask = 2147483647; 87 | files = ( 88 | B8D32324A8F26A02BA5224C9ECF0FA84 /* Foundation.framework in Frameworks */, 89 | ); 90 | runOnlyForDeploymentPostprocessing = 0; 91 | }; 92 | /* End PBXFrameworksBuildPhase section */ 93 | 94 | /* Begin PBXGroup section */ 95 | 0684F38F91C64F40587EA60EEF675945 /* Pods-NSJTextField_Example */ = { 96 | isa = PBXGroup; 97 | children = ( 98 | 9A7C10528294FF97E63FF3F2AFA6C046 /* Info.plist */, 99 | 8CC50757C575B48B4D11BA22CA2D5FBB /* Pods-NSJTextField_Example.modulemap */, 100 | DF4F336D4E1F098C8690EF601BE738E6 /* Pods-NSJTextField_Example-acknowledgements.markdown */, 101 | FC0445781EFA80EF676E26470EE4FBD2 /* Pods-NSJTextField_Example-acknowledgements.plist */, 102 | 679009B7A41B0988115B24377795138C /* Pods-NSJTextField_Example-dummy.m */, 103 | 2E6FDC7600B05873042B04ACB463DC2C /* Pods-NSJTextField_Example-frameworks.sh */, 104 | 3CEDAA532932CD35326D99368799E2E0 /* Pods-NSJTextField_Example-resources.sh */, 105 | 213A3C49F8CB94415A3865058A70ADDF /* Pods-NSJTextField_Example-umbrella.h */, 106 | 23F6E416FB6072F7E47FD460E3138248 /* Pods-NSJTextField_Example.debug.xcconfig */, 107 | B0359F15FC445939A2BEB20FF7FA3983 /* Pods-NSJTextField_Example.release.xcconfig */, 108 | ); 109 | name = "Pods-NSJTextField_Example"; 110 | path = "Target Support Files/Pods-NSJTextField_Example"; 111 | sourceTree = ""; 112 | }; 113 | 071DA94FF89F48217EE846FF12BCEC24 /* Products */ = { 114 | isa = PBXGroup; 115 | children = ( 116 | 7432FE8154D932493A29A933BB6EB76B /* NSJTextField.framework */, 117 | 2BD4AA63C69BFD8003876B5839F950CF /* Pods_NSJTextField_Example.framework */, 118 | 0FD52CA3FC822804FAB5BCC5B7A3991F /* Pods_NSJTextField_Tests.framework */, 119 | ); 120 | name = Products; 121 | sourceTree = ""; 122 | }; 123 | 4756666A5BB0443483D6C01995607BE1 /* Classes */ = { 124 | isa = PBXGroup; 125 | children = ( 126 | 2BF87D3E616EF363153BED90E4766953 /* NSJTextField.swift */, 127 | ); 128 | name = Classes; 129 | path = Classes; 130 | sourceTree = ""; 131 | }; 132 | 74B18D6B6F7E8086B5A7B63FE81308A7 /* NSJTextField */ = { 133 | isa = PBXGroup; 134 | children = ( 135 | B5DC7C5DD7233B4652D653F4A0733681 /* NSJTextField */, 136 | 94CB9DF6F2517146648D1EA097FB2C3D /* Support Files */, 137 | ); 138 | name = NSJTextField; 139 | path = ../..; 140 | sourceTree = ""; 141 | }; 142 | 7DB346D0F39D3F0E887471402A8071AB = { 143 | isa = PBXGroup; 144 | children = ( 145 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 146 | E65B55B98593EE5612BE4AAB60AEB5E8 /* Development Pods */, 147 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 148 | 071DA94FF89F48217EE846FF12BCEC24 /* Products */, 149 | FF34DDE297A462365484BBF956976982 /* Targets Support Files */, 150 | ); 151 | sourceTree = ""; 152 | }; 153 | 948DEC2AE8EF993E228F302E8B75B7F0 /* Pods-NSJTextField_Tests */ = { 154 | isa = PBXGroup; 155 | children = ( 156 | 714BFEEBAB788B914EEF700A99835C1A /* Info.plist */, 157 | 46474D60F053935B362A839C4F84A01C /* Pods-NSJTextField_Tests.modulemap */, 158 | C1EF7270AD8C55D601E6F9403A73884A /* Pods-NSJTextField_Tests-acknowledgements.markdown */, 159 | 319D194635AEBEB9C36D27F65B3915F7 /* Pods-NSJTextField_Tests-acknowledgements.plist */, 160 | C00A660C5785AE81CF1AB89610F61D53 /* Pods-NSJTextField_Tests-dummy.m */, 161 | 0139A1B39F0962D6E3B65D4FD9304B62 /* Pods-NSJTextField_Tests-frameworks.sh */, 162 | FDD29EF7B5D0FE0A569D46806E8082D6 /* Pods-NSJTextField_Tests-resources.sh */, 163 | 911053E1B9BCCE7E9C41084B2C69A2D0 /* Pods-NSJTextField_Tests-umbrella.h */, 164 | C11E0A25BBAF7599A84995D0DB9B38CB /* Pods-NSJTextField_Tests.debug.xcconfig */, 165 | CF1BF8AF047ECB83057C706FFB685346 /* Pods-NSJTextField_Tests.release.xcconfig */, 166 | ); 167 | name = "Pods-NSJTextField_Tests"; 168 | path = "Target Support Files/Pods-NSJTextField_Tests"; 169 | sourceTree = ""; 170 | }; 171 | 94CB9DF6F2517146648D1EA097FB2C3D /* Support Files */ = { 172 | isa = PBXGroup; 173 | children = ( 174 | D816E92BF0205CEB6FD76EF067C26379 /* Info.plist */, 175 | 123E9B5B60ADCCA822E6B0F4265EE2B7 /* NSJTextField.modulemap */, 176 | 24A99F1CCF2F9A34E8510C1525F4B871 /* NSJTextField.xcconfig */, 177 | 75E030FE1D57962CA2F9BB0010B8E404 /* NSJTextField-dummy.m */, 178 | CFF4B38761AA13EA350DDFD735127933 /* NSJTextField-prefix.pch */, 179 | 793B338048E92F7A43DE73A054F0AA29 /* NSJTextField-umbrella.h */, 180 | ); 181 | name = "Support Files"; 182 | path = "Example/Pods/Target Support Files/NSJTextField"; 183 | sourceTree = ""; 184 | }; 185 | B5DC7C5DD7233B4652D653F4A0733681 /* NSJTextField */ = { 186 | isa = PBXGroup; 187 | children = ( 188 | 4756666A5BB0443483D6C01995607BE1 /* Classes */, 189 | ); 190 | name = NSJTextField; 191 | path = NSJTextField; 192 | sourceTree = ""; 193 | }; 194 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 195 | isa = PBXGroup; 196 | children = ( 197 | D35AF013A5F0BAD4F32504907A52519E /* iOS */, 198 | ); 199 | name = Frameworks; 200 | sourceTree = ""; 201 | }; 202 | D35AF013A5F0BAD4F32504907A52519E /* iOS */ = { 203 | isa = PBXGroup; 204 | children = ( 205 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */, 206 | ); 207 | name = iOS; 208 | sourceTree = ""; 209 | }; 210 | E65B55B98593EE5612BE4AAB60AEB5E8 /* Development Pods */ = { 211 | isa = PBXGroup; 212 | children = ( 213 | 74B18D6B6F7E8086B5A7B63FE81308A7 /* NSJTextField */, 214 | ); 215 | name = "Development Pods"; 216 | sourceTree = ""; 217 | }; 218 | FF34DDE297A462365484BBF956976982 /* Targets Support Files */ = { 219 | isa = PBXGroup; 220 | children = ( 221 | 0684F38F91C64F40587EA60EEF675945 /* Pods-NSJTextField_Example */, 222 | 948DEC2AE8EF993E228F302E8B75B7F0 /* Pods-NSJTextField_Tests */, 223 | ); 224 | name = "Targets Support Files"; 225 | sourceTree = ""; 226 | }; 227 | /* End PBXGroup section */ 228 | 229 | /* Begin PBXHeadersBuildPhase section */ 230 | 39E158E711362CB5D02FF4882601784E /* Headers */ = { 231 | isa = PBXHeadersBuildPhase; 232 | buildActionMask = 2147483647; 233 | files = ( 234 | F8BCD5A865CC526C3A9DDC52585A4E14 /* NSJTextField-umbrella.h in Headers */, 235 | ); 236 | runOnlyForDeploymentPostprocessing = 0; 237 | }; 238 | 3C216173A4509E197CFC9FEF1945F904 /* Headers */ = { 239 | isa = PBXHeadersBuildPhase; 240 | buildActionMask = 2147483647; 241 | files = ( 242 | 15F2DE080DA92B632832C1C2A9088710 /* Pods-NSJTextField_Tests-umbrella.h in Headers */, 243 | ); 244 | runOnlyForDeploymentPostprocessing = 0; 245 | }; 246 | E21FC460F448EAECF4ADDF3979D03C40 /* Headers */ = { 247 | isa = PBXHeadersBuildPhase; 248 | buildActionMask = 2147483647; 249 | files = ( 250 | 42D9C92EE983C634085B960CC752669D /* Pods-NSJTextField_Example-umbrella.h in Headers */, 251 | ); 252 | runOnlyForDeploymentPostprocessing = 0; 253 | }; 254 | /* End PBXHeadersBuildPhase section */ 255 | 256 | /* Begin PBXNativeTarget section */ 257 | 44017E0821ACA8E2915AEA58FAE60CE5 /* Pods-NSJTextField_Example */ = { 258 | isa = PBXNativeTarget; 259 | buildConfigurationList = 06456DE2AB00BF80FFEFE13CE0869788 /* Build configuration list for PBXNativeTarget "Pods-NSJTextField_Example" */; 260 | buildPhases = ( 261 | 1678FAE3FE9DD7C438D30D1150F7D89D /* Sources */, 262 | A76A1B77B492A47F9AEE76C3BE3B5B5B /* Frameworks */, 263 | E21FC460F448EAECF4ADDF3979D03C40 /* Headers */, 264 | ); 265 | buildRules = ( 266 | ); 267 | dependencies = ( 268 | C1153086300D5CDF6F217EA636FFCBB6 /* PBXTargetDependency */, 269 | ); 270 | name = "Pods-NSJTextField_Example"; 271 | productName = "Pods-NSJTextField_Example"; 272 | productReference = 2BD4AA63C69BFD8003876B5839F950CF /* Pods_NSJTextField_Example.framework */; 273 | productType = "com.apple.product-type.framework"; 274 | }; 275 | 9829CA5CE403EC2328338DF8A3CBEF23 /* NSJTextField */ = { 276 | isa = PBXNativeTarget; 277 | buildConfigurationList = C3362A6E4DFA9CC4DF19C3B359288913 /* Build configuration list for PBXNativeTarget "NSJTextField" */; 278 | buildPhases = ( 279 | DCBE7CAC23335A6A3C9DCFAACE57EBED /* Sources */, 280 | D436BD055A95196776D071E8F828D1B0 /* Frameworks */, 281 | 39E158E711362CB5D02FF4882601784E /* Headers */, 282 | ); 283 | buildRules = ( 284 | ); 285 | dependencies = ( 286 | ); 287 | name = NSJTextField; 288 | productName = NSJTextField; 289 | productReference = 7432FE8154D932493A29A933BB6EB76B /* NSJTextField.framework */; 290 | productType = "com.apple.product-type.framework"; 291 | }; 292 | B8D3D7F6AE1E7BCC69DADD2AF9F0D4DA /* Pods-NSJTextField_Tests */ = { 293 | isa = PBXNativeTarget; 294 | buildConfigurationList = 82015C106E5E0FF0FB234A9644BB7502 /* Build configuration list for PBXNativeTarget "Pods-NSJTextField_Tests" */; 295 | buildPhases = ( 296 | 780613306A839E88504F8CB44ED0B358 /* Sources */, 297 | 91E94253F6CC9628D07B4BBCDC6EBC5A /* Frameworks */, 298 | 3C216173A4509E197CFC9FEF1945F904 /* Headers */, 299 | ); 300 | buildRules = ( 301 | ); 302 | dependencies = ( 303 | ); 304 | name = "Pods-NSJTextField_Tests"; 305 | productName = "Pods-NSJTextField_Tests"; 306 | productReference = 0FD52CA3FC822804FAB5BCC5B7A3991F /* Pods_NSJTextField_Tests.framework */; 307 | productType = "com.apple.product-type.framework"; 308 | }; 309 | /* End PBXNativeTarget section */ 310 | 311 | /* Begin PBXProject section */ 312 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 313 | isa = PBXProject; 314 | attributes = { 315 | LastSwiftUpdateCheck = 0830; 316 | LastUpgradeCheck = 0700; 317 | }; 318 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 319 | compatibilityVersion = "Xcode 3.2"; 320 | developmentRegion = English; 321 | hasScannedForEncodings = 0; 322 | knownRegions = ( 323 | en, 324 | ); 325 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 326 | productRefGroup = 071DA94FF89F48217EE846FF12BCEC24 /* Products */; 327 | projectDirPath = ""; 328 | projectRoot = ""; 329 | targets = ( 330 | 9829CA5CE403EC2328338DF8A3CBEF23 /* NSJTextField */, 331 | 44017E0821ACA8E2915AEA58FAE60CE5 /* Pods-NSJTextField_Example */, 332 | B8D3D7F6AE1E7BCC69DADD2AF9F0D4DA /* Pods-NSJTextField_Tests */, 333 | ); 334 | }; 335 | /* End PBXProject section */ 336 | 337 | /* Begin PBXSourcesBuildPhase section */ 338 | 1678FAE3FE9DD7C438D30D1150F7D89D /* Sources */ = { 339 | isa = PBXSourcesBuildPhase; 340 | buildActionMask = 2147483647; 341 | files = ( 342 | B5BBFB94760A33432DA29D9735C3F6D9 /* Pods-NSJTextField_Example-dummy.m in Sources */, 343 | ); 344 | runOnlyForDeploymentPostprocessing = 0; 345 | }; 346 | 780613306A839E88504F8CB44ED0B358 /* Sources */ = { 347 | isa = PBXSourcesBuildPhase; 348 | buildActionMask = 2147483647; 349 | files = ( 350 | 1D26DA456C57A739420F2B43176DA6AF /* Pods-NSJTextField_Tests-dummy.m in Sources */, 351 | ); 352 | runOnlyForDeploymentPostprocessing = 0; 353 | }; 354 | DCBE7CAC23335A6A3C9DCFAACE57EBED /* Sources */ = { 355 | isa = PBXSourcesBuildPhase; 356 | buildActionMask = 2147483647; 357 | files = ( 358 | 325F74A76742D54E58AE2243578AC2CB /* NSJTextField-dummy.m in Sources */, 359 | 6713289927A45FA21FFA3CEE3009D067 /* NSJTextField.swift in Sources */, 360 | ); 361 | runOnlyForDeploymentPostprocessing = 0; 362 | }; 363 | /* End PBXSourcesBuildPhase section */ 364 | 365 | /* Begin PBXTargetDependency section */ 366 | C1153086300D5CDF6F217EA636FFCBB6 /* PBXTargetDependency */ = { 367 | isa = PBXTargetDependency; 368 | name = NSJTextField; 369 | target = 9829CA5CE403EC2328338DF8A3CBEF23 /* NSJTextField */; 370 | targetProxy = 39B9C034FE698E9F17E36D3C9B740426 /* PBXContainerItemProxy */; 371 | }; 372 | /* End PBXTargetDependency section */ 373 | 374 | /* Begin XCBuildConfiguration section */ 375 | 171560D7A7B8E5285D73DEA2791110D9 /* Release */ = { 376 | isa = XCBuildConfiguration; 377 | baseConfigurationReference = B0359F15FC445939A2BEB20FF7FA3983 /* Pods-NSJTextField_Example.release.xcconfig */; 378 | buildSettings = { 379 | CODE_SIGN_IDENTITY = ""; 380 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 381 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 382 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 383 | CURRENT_PROJECT_VERSION = 1; 384 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 385 | DEFINES_MODULE = YES; 386 | DYLIB_COMPATIBILITY_VERSION = 1; 387 | DYLIB_CURRENT_VERSION = 1; 388 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 389 | ENABLE_STRICT_OBJC_MSGSEND = YES; 390 | GCC_NO_COMMON_BLOCKS = YES; 391 | INFOPLIST_FILE = "Target Support Files/Pods-NSJTextField_Example/Info.plist"; 392 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 393 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 394 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 395 | MACH_O_TYPE = staticlib; 396 | MODULEMAP_FILE = "Target Support Files/Pods-NSJTextField_Example/Pods-NSJTextField_Example.modulemap"; 397 | MTL_ENABLE_DEBUG_INFO = NO; 398 | OTHER_LDFLAGS = ""; 399 | OTHER_LIBTOOLFLAGS = ""; 400 | PODS_ROOT = "$(SRCROOT)"; 401 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 402 | PRODUCT_NAME = Pods_NSJTextField_Example; 403 | SDKROOT = iphoneos; 404 | SKIP_INSTALL = YES; 405 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 406 | SWIFT_VERSION = 3.0; 407 | TARGETED_DEVICE_FAMILY = "1,2"; 408 | VERSIONING_SYSTEM = "apple-generic"; 409 | VERSION_INFO_PREFIX = ""; 410 | }; 411 | name = Release; 412 | }; 413 | 345CC476DF4A7516DBD2220CF5035FF3 /* Debug */ = { 414 | isa = XCBuildConfiguration; 415 | buildSettings = { 416 | ALWAYS_SEARCH_USER_PATHS = NO; 417 | CLANG_ANALYZER_NONNULL = YES; 418 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; 419 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 420 | CLANG_CXX_LIBRARY = "libc++"; 421 | CLANG_ENABLE_MODULES = YES; 422 | CLANG_ENABLE_OBJC_ARC = YES; 423 | CLANG_WARN_BOOL_CONVERSION = YES; 424 | CLANG_WARN_CONSTANT_CONVERSION = YES; 425 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 426 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 427 | CLANG_WARN_EMPTY_BODY = YES; 428 | CLANG_WARN_ENUM_CONVERSION = YES; 429 | CLANG_WARN_INFINITE_RECURSION = YES; 430 | CLANG_WARN_INT_CONVERSION = YES; 431 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 432 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 433 | CLANG_WARN_UNREACHABLE_CODE = YES; 434 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 435 | CODE_SIGNING_REQUIRED = NO; 436 | COPY_PHASE_STRIP = NO; 437 | ENABLE_TESTABILITY = YES; 438 | GCC_C_LANGUAGE_STANDARD = gnu99; 439 | GCC_DYNAMIC_NO_PIC = NO; 440 | GCC_OPTIMIZATION_LEVEL = 0; 441 | GCC_PREPROCESSOR_DEFINITIONS = ( 442 | "POD_CONFIGURATION_DEBUG=1", 443 | "DEBUG=1", 444 | "$(inherited)", 445 | ); 446 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 447 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 448 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 449 | GCC_WARN_UNDECLARED_SELECTOR = YES; 450 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 451 | GCC_WARN_UNUSED_FUNCTION = YES; 452 | GCC_WARN_UNUSED_VARIABLE = YES; 453 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 454 | ONLY_ACTIVE_ARCH = YES; 455 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 456 | STRIP_INSTALLED_PRODUCT = NO; 457 | SYMROOT = "${SRCROOT}/../build"; 458 | }; 459 | name = Debug; 460 | }; 461 | 6CA26DFA5DBA967A9F5B2D9335375AF0 /* Debug */ = { 462 | isa = XCBuildConfiguration; 463 | baseConfigurationReference = 23F6E416FB6072F7E47FD460E3138248 /* Pods-NSJTextField_Example.debug.xcconfig */; 464 | buildSettings = { 465 | CODE_SIGN_IDENTITY = ""; 466 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 467 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 468 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 469 | CURRENT_PROJECT_VERSION = 1; 470 | DEBUG_INFORMATION_FORMAT = dwarf; 471 | DEFINES_MODULE = YES; 472 | DYLIB_COMPATIBILITY_VERSION = 1; 473 | DYLIB_CURRENT_VERSION = 1; 474 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 475 | ENABLE_STRICT_OBJC_MSGSEND = YES; 476 | GCC_NO_COMMON_BLOCKS = YES; 477 | INFOPLIST_FILE = "Target Support Files/Pods-NSJTextField_Example/Info.plist"; 478 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 479 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 480 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 481 | MACH_O_TYPE = staticlib; 482 | MODULEMAP_FILE = "Target Support Files/Pods-NSJTextField_Example/Pods-NSJTextField_Example.modulemap"; 483 | MTL_ENABLE_DEBUG_INFO = YES; 484 | OTHER_LDFLAGS = ""; 485 | OTHER_LIBTOOLFLAGS = ""; 486 | PODS_ROOT = "$(SRCROOT)"; 487 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 488 | PRODUCT_NAME = Pods_NSJTextField_Example; 489 | SDKROOT = iphoneos; 490 | SKIP_INSTALL = YES; 491 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 492 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 493 | SWIFT_VERSION = 3.0; 494 | TARGETED_DEVICE_FAMILY = "1,2"; 495 | VERSIONING_SYSTEM = "apple-generic"; 496 | VERSION_INFO_PREFIX = ""; 497 | }; 498 | name = Debug; 499 | }; 500 | 717E77604BFBB04BEAF56608A1CB2EDE /* Release */ = { 501 | isa = XCBuildConfiguration; 502 | buildSettings = { 503 | ALWAYS_SEARCH_USER_PATHS = NO; 504 | CLANG_ANALYZER_NONNULL = YES; 505 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; 506 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 507 | CLANG_CXX_LIBRARY = "libc++"; 508 | CLANG_ENABLE_MODULES = YES; 509 | CLANG_ENABLE_OBJC_ARC = YES; 510 | CLANG_WARN_BOOL_CONVERSION = YES; 511 | CLANG_WARN_CONSTANT_CONVERSION = YES; 512 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 513 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 514 | CLANG_WARN_EMPTY_BODY = YES; 515 | CLANG_WARN_ENUM_CONVERSION = YES; 516 | CLANG_WARN_INFINITE_RECURSION = YES; 517 | CLANG_WARN_INT_CONVERSION = YES; 518 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 519 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 520 | CLANG_WARN_UNREACHABLE_CODE = YES; 521 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 522 | CODE_SIGNING_REQUIRED = NO; 523 | COPY_PHASE_STRIP = YES; 524 | ENABLE_NS_ASSERTIONS = NO; 525 | GCC_C_LANGUAGE_STANDARD = gnu99; 526 | GCC_PREPROCESSOR_DEFINITIONS = ( 527 | "POD_CONFIGURATION_RELEASE=1", 528 | "$(inherited)", 529 | ); 530 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 531 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 532 | GCC_WARN_UNDECLARED_SELECTOR = YES; 533 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 534 | GCC_WARN_UNUSED_FUNCTION = YES; 535 | GCC_WARN_UNUSED_VARIABLE = YES; 536 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 537 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 538 | STRIP_INSTALLED_PRODUCT = NO; 539 | SYMROOT = "${SRCROOT}/../build"; 540 | VALIDATE_PRODUCT = YES; 541 | }; 542 | name = Release; 543 | }; 544 | 730C9641FB8EFECEAD69CA97A33FADC6 /* Release */ = { 545 | isa = XCBuildConfiguration; 546 | baseConfigurationReference = CF1BF8AF047ECB83057C706FFB685346 /* Pods-NSJTextField_Tests.release.xcconfig */; 547 | buildSettings = { 548 | CODE_SIGN_IDENTITY = ""; 549 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 550 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 551 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 552 | CURRENT_PROJECT_VERSION = 1; 553 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 554 | DEFINES_MODULE = YES; 555 | DYLIB_COMPATIBILITY_VERSION = 1; 556 | DYLIB_CURRENT_VERSION = 1; 557 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 558 | ENABLE_STRICT_OBJC_MSGSEND = YES; 559 | GCC_NO_COMMON_BLOCKS = YES; 560 | INFOPLIST_FILE = "Target Support Files/Pods-NSJTextField_Tests/Info.plist"; 561 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 562 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 563 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 564 | MACH_O_TYPE = staticlib; 565 | MODULEMAP_FILE = "Target Support Files/Pods-NSJTextField_Tests/Pods-NSJTextField_Tests.modulemap"; 566 | MTL_ENABLE_DEBUG_INFO = NO; 567 | OTHER_LDFLAGS = ""; 568 | OTHER_LIBTOOLFLAGS = ""; 569 | PODS_ROOT = "$(SRCROOT)"; 570 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 571 | PRODUCT_NAME = Pods_NSJTextField_Tests; 572 | SDKROOT = iphoneos; 573 | SKIP_INSTALL = YES; 574 | TARGETED_DEVICE_FAMILY = "1,2"; 575 | VERSIONING_SYSTEM = "apple-generic"; 576 | VERSION_INFO_PREFIX = ""; 577 | }; 578 | name = Release; 579 | }; 580 | 787AAF772205CC33EEF6DE93FAF73BE4 /* Debug */ = { 581 | isa = XCBuildConfiguration; 582 | baseConfigurationReference = 24A99F1CCF2F9A34E8510C1525F4B871 /* NSJTextField.xcconfig */; 583 | buildSettings = { 584 | CODE_SIGN_IDENTITY = ""; 585 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 586 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 587 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 588 | CURRENT_PROJECT_VERSION = 1; 589 | DEBUG_INFORMATION_FORMAT = dwarf; 590 | DEFINES_MODULE = YES; 591 | DYLIB_COMPATIBILITY_VERSION = 1; 592 | DYLIB_CURRENT_VERSION = 1; 593 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 594 | ENABLE_STRICT_OBJC_MSGSEND = YES; 595 | GCC_NO_COMMON_BLOCKS = YES; 596 | GCC_PREFIX_HEADER = "Target Support Files/NSJTextField/NSJTextField-prefix.pch"; 597 | INFOPLIST_FILE = "Target Support Files/NSJTextField/Info.plist"; 598 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 599 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 600 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 601 | MODULEMAP_FILE = "Target Support Files/NSJTextField/NSJTextField.modulemap"; 602 | MTL_ENABLE_DEBUG_INFO = YES; 603 | PRODUCT_NAME = NSJTextField; 604 | SDKROOT = iphoneos; 605 | SKIP_INSTALL = YES; 606 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 607 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 608 | SWIFT_VERSION = 3.0; 609 | TARGETED_DEVICE_FAMILY = "1,2"; 610 | VERSIONING_SYSTEM = "apple-generic"; 611 | VERSION_INFO_PREFIX = ""; 612 | }; 613 | name = Debug; 614 | }; 615 | BB65D26344BBFD84E6888D3BC2096631 /* Release */ = { 616 | isa = XCBuildConfiguration; 617 | baseConfigurationReference = 24A99F1CCF2F9A34E8510C1525F4B871 /* NSJTextField.xcconfig */; 618 | buildSettings = { 619 | CODE_SIGN_IDENTITY = ""; 620 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 621 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 622 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 623 | CURRENT_PROJECT_VERSION = 1; 624 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 625 | DEFINES_MODULE = YES; 626 | DYLIB_COMPATIBILITY_VERSION = 1; 627 | DYLIB_CURRENT_VERSION = 1; 628 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 629 | ENABLE_STRICT_OBJC_MSGSEND = YES; 630 | GCC_NO_COMMON_BLOCKS = YES; 631 | GCC_PREFIX_HEADER = "Target Support Files/NSJTextField/NSJTextField-prefix.pch"; 632 | INFOPLIST_FILE = "Target Support Files/NSJTextField/Info.plist"; 633 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 634 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 635 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 636 | MODULEMAP_FILE = "Target Support Files/NSJTextField/NSJTextField.modulemap"; 637 | MTL_ENABLE_DEBUG_INFO = NO; 638 | PRODUCT_NAME = NSJTextField; 639 | SDKROOT = iphoneos; 640 | SKIP_INSTALL = YES; 641 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 642 | SWIFT_VERSION = 3.0; 643 | TARGETED_DEVICE_FAMILY = "1,2"; 644 | VERSIONING_SYSTEM = "apple-generic"; 645 | VERSION_INFO_PREFIX = ""; 646 | }; 647 | name = Release; 648 | }; 649 | EE1EEA8C818DEA9F90A102246B9C0E56 /* Debug */ = { 650 | isa = XCBuildConfiguration; 651 | baseConfigurationReference = C11E0A25BBAF7599A84995D0DB9B38CB /* Pods-NSJTextField_Tests.debug.xcconfig */; 652 | buildSettings = { 653 | CODE_SIGN_IDENTITY = ""; 654 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 655 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 656 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 657 | CURRENT_PROJECT_VERSION = 1; 658 | DEBUG_INFORMATION_FORMAT = dwarf; 659 | DEFINES_MODULE = YES; 660 | DYLIB_COMPATIBILITY_VERSION = 1; 661 | DYLIB_CURRENT_VERSION = 1; 662 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 663 | ENABLE_STRICT_OBJC_MSGSEND = YES; 664 | GCC_NO_COMMON_BLOCKS = YES; 665 | INFOPLIST_FILE = "Target Support Files/Pods-NSJTextField_Tests/Info.plist"; 666 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 667 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 668 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 669 | MACH_O_TYPE = staticlib; 670 | MODULEMAP_FILE = "Target Support Files/Pods-NSJTextField_Tests/Pods-NSJTextField_Tests.modulemap"; 671 | MTL_ENABLE_DEBUG_INFO = YES; 672 | OTHER_LDFLAGS = ""; 673 | OTHER_LIBTOOLFLAGS = ""; 674 | PODS_ROOT = "$(SRCROOT)"; 675 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 676 | PRODUCT_NAME = Pods_NSJTextField_Tests; 677 | SDKROOT = iphoneos; 678 | SKIP_INSTALL = YES; 679 | TARGETED_DEVICE_FAMILY = "1,2"; 680 | VERSIONING_SYSTEM = "apple-generic"; 681 | VERSION_INFO_PREFIX = ""; 682 | }; 683 | name = Debug; 684 | }; 685 | /* End XCBuildConfiguration section */ 686 | 687 | /* Begin XCConfigurationList section */ 688 | 06456DE2AB00BF80FFEFE13CE0869788 /* Build configuration list for PBXNativeTarget "Pods-NSJTextField_Example" */ = { 689 | isa = XCConfigurationList; 690 | buildConfigurations = ( 691 | 6CA26DFA5DBA967A9F5B2D9335375AF0 /* Debug */, 692 | 171560D7A7B8E5285D73DEA2791110D9 /* Release */, 693 | ); 694 | defaultConfigurationIsVisible = 0; 695 | defaultConfigurationName = Release; 696 | }; 697 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 698 | isa = XCConfigurationList; 699 | buildConfigurations = ( 700 | 345CC476DF4A7516DBD2220CF5035FF3 /* Debug */, 701 | 717E77604BFBB04BEAF56608A1CB2EDE /* Release */, 702 | ); 703 | defaultConfigurationIsVisible = 0; 704 | defaultConfigurationName = Release; 705 | }; 706 | 82015C106E5E0FF0FB234A9644BB7502 /* Build configuration list for PBXNativeTarget "Pods-NSJTextField_Tests" */ = { 707 | isa = XCConfigurationList; 708 | buildConfigurations = ( 709 | EE1EEA8C818DEA9F90A102246B9C0E56 /* Debug */, 710 | 730C9641FB8EFECEAD69CA97A33FADC6 /* Release */, 711 | ); 712 | defaultConfigurationIsVisible = 0; 713 | defaultConfigurationName = Release; 714 | }; 715 | C3362A6E4DFA9CC4DF19C3B359288913 /* Build configuration list for PBXNativeTarget "NSJTextField" */ = { 716 | isa = XCConfigurationList; 717 | buildConfigurations = ( 718 | 787AAF772205CC33EEF6DE93FAF73BE4 /* Debug */, 719 | BB65D26344BBFD84E6888D3BC2096631 /* Release */, 720 | ); 721 | defaultConfigurationIsVisible = 0; 722 | defaultConfigurationName = Release; 723 | }; 724 | /* End XCConfigurationList section */ 725 | }; 726 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 727 | } 728 | --------------------------------------------------------------------------------