diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e7b722d --- /dev/null +++ b/.gitignore @@ -0,0 +1,33 @@ +# OS X +.DS_Store + +# Xcode +build/ +*.pbxuser +!default.pbxuser +*.mode1v3 +!default.mode1v3 +*.mode2v3 +!default.mode2v3 +*.perspectivev3 +!default.perspectivev3 +xcuserdata/ +*.xccheckout +profile +*.moved-aside +DerivedData +*.hmap +*.ipa + +# Bundler +.bundle + +Carthage +# We recommend against adding the Pods directory to your .gitignore. However +# you should judge for yourself, the pros and cons are mentioned at: +# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control +# +# Note: if you ignore the Pods directory, make sure to uncomment +# `pod install` in .travis.yml +# +# Pods/ diff --git a/.swift-version b/.swift-version new file mode 100644 index 0000000..5186d07 --- /dev/null +++ b/.swift-version @@ -0,0 +1 @@ +4.0 diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..6e626bf --- /dev/null +++ b/.travis.yml @@ -0,0 +1,14 @@ +# references: +# * http://www.objc.io/issue-6/travis-ci.html +# * https://github.com/supermarin/xcpretty#usage + +osx_image: xcode7.3 +language: objective-c +# cache: cocoapods +# podfile: Example/Podfile +# before_install: +# - gem install cocoapods # Since Travis is not always on latest version +# - pod install --project-directory=Example +script: +- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/KeyboardMaster.xcworkspace -scheme KeyboardMaster-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty +- pod lib lint diff --git a/Example/KeyboardMaster.xcodeproj/project.pbxproj b/Example/KeyboardMaster.xcodeproj/project.pbxproj new file mode 100644 index 0000000..4dbb1df --- /dev/null +++ b/Example/KeyboardMaster.xcodeproj/project.pbxproj @@ -0,0 +1,616 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; + 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; + 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; + 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; + 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; + 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; + A882F17608C5BD9A98FCFF61 /* Pods_KeyboardMaster_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 467BB237214D36F2998BDE2A /* Pods_KeyboardMaster_Tests.framework */; }; + A9087E8540FCE8CE0102BC5F /* Pods_KeyboardMaster_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E261620630B9C7EB7225DB5D /* Pods_KeyboardMaster_Example.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 607FACC81AFB9204008FA782 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 607FACCF1AFB9204008FA782; + remoteInfo = KeyboardMaster; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 05C898C051AC6BF66308FEE5 /* Pods-KeyboardMaster_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KeyboardMaster_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example.release.xcconfig"; sourceTree = ""; }; + 2945F8758F64518E369F3798 /* KeyboardMaster.podspec */ = {isa = PBXFileReference; includeInIndex = 1; name = KeyboardMaster.podspec; path = ../KeyboardMaster.podspec; sourceTree = ""; }; + 467BB237214D36F2998BDE2A /* Pods_KeyboardMaster_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_KeyboardMaster_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 4F0B3F31D446F5CD11B023F3 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; name = README.md; path = ../README.md; sourceTree = ""; }; + 607FACD01AFB9204008FA782 /* KeyboardMaster_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = KeyboardMaster_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; + 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; + 607FACE51AFB9204008FA782 /* KeyboardMaster_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = KeyboardMaster_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; + 9372B66D8065DF5267178A80 /* Pods-KeyboardMaster_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KeyboardMaster_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests.debug.xcconfig"; sourceTree = ""; }; + D1FC2BBB87CC997E2454A782 /* Pods-KeyboardMaster_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KeyboardMaster_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example.debug.xcconfig"; sourceTree = ""; }; + D7A8ED54286C081435335748 /* Pods-KeyboardMaster_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KeyboardMaster_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests.release.xcconfig"; sourceTree = ""; }; + E261620630B9C7EB7225DB5D /* Pods_KeyboardMaster_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_KeyboardMaster_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + E6AF1D7BAECEF1C72F54984D /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 607FACCD1AFB9204008FA782 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + A9087E8540FCE8CE0102BC5F /* Pods_KeyboardMaster_Example.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 607FACE21AFB9204008FA782 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + A882F17608C5BD9A98FCFF61 /* Pods_KeyboardMaster_Tests.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 5609EC9B1A8A3FEA3B59CB8E /* Frameworks */ = { + isa = PBXGroup; + children = ( + E261620630B9C7EB7225DB5D /* Pods_KeyboardMaster_Example.framework */, + 467BB237214D36F2998BDE2A /* Pods_KeyboardMaster_Tests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 607FACC71AFB9204008FA782 = { + isa = PBXGroup; + children = ( + 607FACF51AFB993E008FA782 /* Podspec Metadata */, + 607FACD21AFB9204008FA782 /* Example for KeyboardMaster */, + 607FACE81AFB9204008FA782 /* Tests */, + 607FACD11AFB9204008FA782 /* Products */, + 8CFA900BF394E68A6F767457 /* Pods */, + 5609EC9B1A8A3FEA3B59CB8E /* Frameworks */, + ); + sourceTree = ""; + }; + 607FACD11AFB9204008FA782 /* Products */ = { + isa = PBXGroup; + children = ( + 607FACD01AFB9204008FA782 /* KeyboardMaster_Example.app */, + 607FACE51AFB9204008FA782 /* KeyboardMaster_Tests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 607FACD21AFB9204008FA782 /* Example for KeyboardMaster */ = { + isa = PBXGroup; + children = ( + 607FACD51AFB9204008FA782 /* AppDelegate.swift */, + 607FACD71AFB9204008FA782 /* ViewController.swift */, + 607FACD91AFB9204008FA782 /* Main.storyboard */, + 607FACDC1AFB9204008FA782 /* Images.xcassets */, + 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, + 607FACD31AFB9204008FA782 /* Supporting Files */, + ); + name = "Example for KeyboardMaster"; + path = KeyboardMaster; + sourceTree = ""; + }; + 607FACD31AFB9204008FA782 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 607FACD41AFB9204008FA782 /* Info.plist */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + 607FACE81AFB9204008FA782 /* Tests */ = { + isa = PBXGroup; + children = ( + 607FACEB1AFB9204008FA782 /* Tests.swift */, + 607FACE91AFB9204008FA782 /* Supporting Files */, + ); + path = Tests; + sourceTree = ""; + }; + 607FACE91AFB9204008FA782 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 607FACEA1AFB9204008FA782 /* Info.plist */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { + isa = PBXGroup; + children = ( + 2945F8758F64518E369F3798 /* KeyboardMaster.podspec */, + 4F0B3F31D446F5CD11B023F3 /* README.md */, + E6AF1D7BAECEF1C72F54984D /* LICENSE */, + ); + name = "Podspec Metadata"; + sourceTree = ""; + }; + 8CFA900BF394E68A6F767457 /* Pods */ = { + isa = PBXGroup; + children = ( + D1FC2BBB87CC997E2454A782 /* Pods-KeyboardMaster_Example.debug.xcconfig */, + 05C898C051AC6BF66308FEE5 /* Pods-KeyboardMaster_Example.release.xcconfig */, + 9372B66D8065DF5267178A80 /* Pods-KeyboardMaster_Tests.debug.xcconfig */, + D7A8ED54286C081435335748 /* Pods-KeyboardMaster_Tests.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 607FACCF1AFB9204008FA782 /* KeyboardMaster_Example */ = { + isa = PBXNativeTarget; + buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "KeyboardMaster_Example" */; + buildPhases = ( + 1805D672EB27756F8BE8AD75 /* [CP] Check Pods Manifest.lock */, + 607FACCC1AFB9204008FA782 /* Sources */, + 607FACCD1AFB9204008FA782 /* Frameworks */, + 607FACCE1AFB9204008FA782 /* Resources */, + 4BB789B5AC07B9A07C98787D /* [CP] Embed Pods Frameworks */, + E1ACA1C1BD7CFF2B162E2A9D /* [CP] Copy Pods Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = KeyboardMaster_Example; + productName = KeyboardMaster; + productReference = 607FACD01AFB9204008FA782 /* KeyboardMaster_Example.app */; + productType = "com.apple.product-type.application"; + }; + 607FACE41AFB9204008FA782 /* KeyboardMaster_Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "KeyboardMaster_Tests" */; + buildPhases = ( + 376DD56D0A4922D5D907D682 /* [CP] Check Pods Manifest.lock */, + 607FACE11AFB9204008FA782 /* Sources */, + 607FACE21AFB9204008FA782 /* Frameworks */, + 607FACE31AFB9204008FA782 /* Resources */, + AA366ECAFAAA9D5174EF677C /* [CP] Embed Pods Frameworks */, + 2BFD2F74E6D2F10068AE6152 /* [CP] Copy Pods Resources */, + ); + buildRules = ( + ); + dependencies = ( + 607FACE71AFB9204008FA782 /* PBXTargetDependency */, + ); + name = KeyboardMaster_Tests; + productName = Tests; + productReference = 607FACE51AFB9204008FA782 /* KeyboardMaster_Tests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 607FACC81AFB9204008FA782 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0830; + LastUpgradeCheck = 0830; + ORGANIZATIONNAME = CocoaPods; + TargetAttributes = { + 607FACCF1AFB9204008FA782 = { + CreatedOnToolsVersion = 6.3.1; + LastSwiftMigration = 0900; + }; + 607FACE41AFB9204008FA782 = { + CreatedOnToolsVersion = 6.3.1; + LastSwiftMigration = 0900; + TestTargetID = 607FACCF1AFB9204008FA782; + }; + }; + }; + buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "KeyboardMaster" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 607FACC71AFB9204008FA782; + productRefGroup = 607FACD11AFB9204008FA782 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 607FACCF1AFB9204008FA782 /* KeyboardMaster_Example */, + 607FACE41AFB9204008FA782 /* KeyboardMaster_Tests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 607FACCE1AFB9204008FA782 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, + 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, + 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 607FACE31AFB9204008FA782 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 1805D672EB27756F8BE8AD75 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-KeyboardMaster_Example-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; + 2BFD2F74E6D2F10068AE6152 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + 376DD56D0A4922D5D907D682 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-KeyboardMaster_Tests-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; + 4BB789B5AC07B9A07C98787D /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/KeyboardMaster/KeyboardMaster.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/KeyboardMaster.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + AA366ECAFAAA9D5174EF677C /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + E1ACA1C1BD7CFF2B162E2A9D /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 607FACCC1AFB9204008FA782 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, + 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 607FACE11AFB9204008FA782 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 607FACCF1AFB9204008FA782 /* KeyboardMaster_Example */; + targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 607FACD91AFB9204008FA782 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 607FACDA1AFB9204008FA782 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { + isa = PBXVariantGroup; + children = ( + 607FACDF1AFB9204008FA782 /* Base */, + ); + name = LaunchScreen.xib; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 607FACED1AFB9204008FA782 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 9.3; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 607FACEE1AFB9204008FA782 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 9.3; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 607FACF01AFB9204008FA782 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = D1FC2BBB87CC997E2454A782 /* Pods-KeyboardMaster_Example.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + INFOPLIST_FILE = KeyboardMaster/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + MODULE_NAME = ExampleApp; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_SWIFT3_OBJC_INFERENCE = Default; + SWIFT_VERSION = 4.0; + }; + name = Debug; + }; + 607FACF11AFB9204008FA782 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 05C898C051AC6BF66308FEE5 /* Pods-KeyboardMaster_Example.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + INFOPLIST_FILE = KeyboardMaster/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + MODULE_NAME = ExampleApp; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_SWIFT3_OBJC_INFERENCE = Default; + SWIFT_VERSION = 4.0; + }; + name = Release; + }; + 607FACF31AFB9204008FA782 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 9372B66D8065DF5267178A80 /* Pods-KeyboardMaster_Tests.debug.xcconfig */; + buildSettings = { + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(inherited)", + ); + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + INFOPLIST_FILE = Tests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_SWIFT3_OBJC_INFERENCE = Default; + SWIFT_VERSION = 4.0; + }; + name = Debug; + }; + 607FACF41AFB9204008FA782 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = D7A8ED54286C081435335748 /* Pods-KeyboardMaster_Tests.release.xcconfig */; + buildSettings = { + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(inherited)", + ); + INFOPLIST_FILE = Tests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_SWIFT3_OBJC_INFERENCE = Default; + SWIFT_VERSION = 4.0; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "KeyboardMaster" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 607FACED1AFB9204008FA782 /* Debug */, + 607FACEE1AFB9204008FA782 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "KeyboardMaster_Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 607FACF01AFB9204008FA782 /* Debug */, + 607FACF11AFB9204008FA782 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "KeyboardMaster_Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 607FACF31AFB9204008FA782 /* Debug */, + 607FACF41AFB9204008FA782 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 607FACC81AFB9204008FA782 /* Project object */; +} diff --git a/Example/KeyboardMaster.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Example/KeyboardMaster.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..3667355 --- /dev/null +++ b/Example/KeyboardMaster.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Example/KeyboardMaster.xcodeproj/xcshareddata/xcschemes/KeyboardMaster-Example.xcscheme b/Example/KeyboardMaster.xcodeproj/xcshareddata/xcschemes/KeyboardMaster-Example.xcscheme new file mode 100644 index 0000000..c4297f4 --- /dev/null +++ b/Example/KeyboardMaster.xcodeproj/xcshareddata/xcschemes/KeyboardMaster-Example.xcscheme @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example/KeyboardMaster.xcworkspace/contents.xcworkspacedata b/Example/KeyboardMaster.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..f8c90a7 --- /dev/null +++ b/Example/KeyboardMaster.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/Example/KeyboardMaster/AppDelegate.swift b/Example/KeyboardMaster/AppDelegate.swift new file mode 100644 index 0000000..8799f96 --- /dev/null +++ b/Example/KeyboardMaster/AppDelegate.swift @@ -0,0 +1,46 @@ +// +// AppDelegate.swift +// KeyboardMaster +// +// Created by Lucas Best on 12/06/2017. +// Copyright (c) 2017 Lucas Best. All rights reserved. +// + +import UIKit + +@UIApplicationMain +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + // Override point for customization after application launch. + return true + } + + func applicationWillResignActive(_ application: UIApplication) { + // 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. + // 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. + } + + func applicationDidEnterBackground(_ application: UIApplication) { + // 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. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. + } + + func applicationWillEnterForeground(_ application: UIApplication) { + // 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. + } + + func applicationDidBecomeActive(_ application: UIApplication) { + // 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. + } + + func applicationWillTerminate(_ application: UIApplication) { + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. + } + + +} + diff --git a/Example/KeyboardMaster/Base.lproj/LaunchScreen.xib b/Example/KeyboardMaster/Base.lproj/LaunchScreen.xib new file mode 100644 index 0000000..fbe299f --- /dev/null +++ b/Example/KeyboardMaster/Base.lproj/LaunchScreen.xib @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example/KeyboardMaster/Base.lproj/Main.storyboard b/Example/KeyboardMaster/Base.lproj/Main.storyboard new file mode 100644 index 0000000..52ea29e --- /dev/null +++ b/Example/KeyboardMaster/Base.lproj/Main.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example/KeyboardMaster/Images.xcassets/AppIcon.appiconset/Contents.json b/Example/KeyboardMaster/Images.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..d3942e9 --- /dev/null +++ b/Example/KeyboardMaster/Images.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,38 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} diff --git a/Example/KeyboardMaster/Info.plist b/Example/KeyboardMaster/Info.plist new file mode 100644 index 0000000..eb18faa --- /dev/null +++ b/Example/KeyboardMaster/Info.plist @@ -0,0 +1,39 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + LSRequiresIPhoneOS + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + + + diff --git a/Example/KeyboardMaster/ViewController.swift b/Example/KeyboardMaster/ViewController.swift new file mode 100644 index 0000000..826292a --- /dev/null +++ b/Example/KeyboardMaster/ViewController.swift @@ -0,0 +1,24 @@ +// +// ViewController.swift +// KeyboardMaster +// +// Created by Lucas Best on 12/06/2017. +// Copyright (c) 2017 Lucas Best. All rights reserved. +// + +import UIKit + +class ViewController: UIViewController { + + override func viewDidLoad() { + super.viewDidLoad() + // Do any additional setup after loading the view, typically from a nib. + } + + override func didReceiveMemoryWarning() { + super.didReceiveMemoryWarning() + // Dispose of any resources that can be recreated. + } + +} + diff --git a/Example/Podfile b/Example/Podfile new file mode 100644 index 0000000..94958b7 --- /dev/null +++ b/Example/Podfile @@ -0,0 +1,11 @@ +use_frameworks! + +target 'KeyboardMaster_Example' do + pod 'KeyboardMaster', :path => '../' + + target 'KeyboardMaster_Tests' do + inherit! :search_paths + + + end +end diff --git a/Example/Podfile.lock b/Example/Podfile.lock new file mode 100644 index 0000000..2002a65 --- /dev/null +++ b/Example/Podfile.lock @@ -0,0 +1,16 @@ +PODS: + - KeyboardMaster (0.1.0) + +DEPENDENCIES: + - KeyboardMaster (from `../`) + +EXTERNAL SOURCES: + KeyboardMaster: + :path: ../ + +SPEC CHECKSUMS: + KeyboardMaster: 2dd859418fcb57b9681fc702d178c852e1566aec + +PODFILE CHECKSUM: 9b4bb09f47915acbaa7bb6f013587347bc61d5b4 + +COCOAPODS: 1.3.1 diff --git a/Example/Pods/Local Podspecs/KeyboardMaster.podspec.json b/Example/Pods/Local Podspecs/KeyboardMaster.podspec.json new file mode 100644 index 0000000..61f5a4a --- /dev/null +++ b/Example/Pods/Local Podspecs/KeyboardMaster.podspec.json @@ -0,0 +1,22 @@ +{ + "name": "KeyboardMaster", + "version": "0.1.0", + "summary": "A short description of KeyboardMaster.", + "description": "TODO: Add long description of the pod here.", + "homepage": "https://github.com/lucas.best.5@gmail.com/KeyboardMaster", + "license": { + "type": "MIT", + "file": "LICENSE" + }, + "authors": { + "lucas.best.5@gmail.com": "lucas.best.5@gmail.com" + }, + "source": { + "git": "https://github.com/lucas.best.5@gmail.com/KeyboardMaster.git", + "tag": "0.1.0" + }, + "platforms": { + "ios": "8.0" + }, + "source_files": "KeyboardMaster/Classes/**/*" +} diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock new file mode 100644 index 0000000..2002a65 --- /dev/null +++ b/Example/Pods/Manifest.lock @@ -0,0 +1,16 @@ +PODS: + - KeyboardMaster (0.1.0) + +DEPENDENCIES: + - KeyboardMaster (from `../`) + +EXTERNAL SOURCES: + KeyboardMaster: + :path: ../ + +SPEC CHECKSUMS: + KeyboardMaster: 2dd859418fcb57b9681fc702d178c852e1566aec + +PODFILE CHECKSUM: 9b4bb09f47915acbaa7bb6f013587347bc61d5b4 + +COCOAPODS: 1.3.1 diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj new file mode 100644 index 0000000..32218ab --- /dev/null +++ b/Example/Pods/Pods.xcodeproj/project.pbxproj @@ -0,0 +1,717 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 16F7B7C9895F4B9162F6581B4722C65B /* Pods-KeyboardMaster_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 173532F3C0859E91D03AD5D7949D446A /* Pods-KeyboardMaster_Example-dummy.m */; }; + 2AF411500B7DA9262AE86E27B559B9AB /* KeyboardMaster-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 8353C761A9FA6EBDFB029AF8A78AE94D /* KeyboardMaster-dummy.m */; }; + 375AECC82B6AD11EF4BA16A897B54970 /* KeyboardMaster-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 183353B9A69022F061A3F1234AEF11A3 /* KeyboardMaster-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4F459065436E6F5FD3864C4D00979A0C /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; + 7F1E3AC913C4A20AC6320AABEBF30223 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; + 9B0F0B65146EEC187B8CB0720F52D975 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; + 9C7A3B561FD9777F006D2BFE /* UIScrollView+Keyboard.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9C7A3B551FD9777F006D2BFE /* UIScrollView+Keyboard.swift */; }; + EB17D315A5F89BE316182487C03E7442 /* Pods-KeyboardMaster_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 92D5980A739BC2EA21040B019D9E2349 /* Pods-KeyboardMaster_Tests-dummy.m */; }; + EFF155173EB956BF9B4C99BEDDB80E22 /* Pods-KeyboardMaster_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = BFCA880F5E64226EF6987C71B6309022 /* Pods-KeyboardMaster_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F048A05DCDAC4BDF721B3B1EC5B5895E /* Pods-KeyboardMaster_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 0642A05970C791383DE3065FDC5F303D /* Pods-KeyboardMaster_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 27D68C685BB5F32358C3941E3B96A439 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 36936431E5A97BDA1F2A88FDD41A7988; + remoteInfo = KeyboardMaster; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 0642A05970C791383DE3065FDC5F303D /* Pods-KeyboardMaster_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-KeyboardMaster_Example-umbrella.h"; sourceTree = ""; }; + 173532F3C0859E91D03AD5D7949D446A /* Pods-KeyboardMaster_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-KeyboardMaster_Example-dummy.m"; sourceTree = ""; }; + 183353B9A69022F061A3F1234AEF11A3 /* KeyboardMaster-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "KeyboardMaster-umbrella.h"; sourceTree = ""; }; + 2372A3F4F50A46303C63F463F9C03E8C /* Pods-KeyboardMaster_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-KeyboardMaster_Tests.modulemap"; sourceTree = ""; }; + 2EAE4D6FF12387831C0BA6513E4A49D3 /* Pods_KeyboardMaster_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_KeyboardMaster_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 355E6259AD8D89ADC3999586A3BEF15D /* Pods-KeyboardMaster_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-KeyboardMaster_Tests.release.xcconfig"; sourceTree = ""; }; + 3C089EC8C8E50A7F5143A3873640ECB2 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 50E978D4BF2DB5F11898547BDD720659 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 5618EDAE08DAF69B8730DBED9913C9FF /* Pods-KeyboardMaster_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-KeyboardMaster_Example.release.xcconfig"; sourceTree = ""; }; + 5BC5C55901A0A0E16D1BEB7A0F52C1B5 /* Pods-KeyboardMaster_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-KeyboardMaster_Tests-acknowledgements.plist"; sourceTree = ""; }; + 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; }; + 731F49DF786F0F27FC8E00BA9D59F774 /* Pods_KeyboardMaster_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_KeyboardMaster_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 7699AA95FCDA5B238B4B09FDB9C5FDBF /* Pods-KeyboardMaster_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-KeyboardMaster_Example-acknowledgements.plist"; sourceTree = ""; }; + 8353C761A9FA6EBDFB029AF8A78AE94D /* KeyboardMaster-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "KeyboardMaster-dummy.m"; sourceTree = ""; }; + 859EF81234B795EC1463657687B19172 /* Pods-KeyboardMaster_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-KeyboardMaster_Example-resources.sh"; sourceTree = ""; }; + 86AC80AA4C266E276677C8956B5E1D8F /* Pods-KeyboardMaster_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-KeyboardMaster_Example.modulemap"; sourceTree = ""; }; + 92D5980A739BC2EA21040B019D9E2349 /* Pods-KeyboardMaster_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-KeyboardMaster_Tests-dummy.m"; sourceTree = ""; }; + 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + 9AF6F651D4ACA362E1593D448E7F6A83 /* Pods-KeyboardMaster_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-KeyboardMaster_Example-frameworks.sh"; sourceTree = ""; }; + 9C7A3B551FD9777F006D2BFE /* UIScrollView+Keyboard.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = "UIScrollView+Keyboard.swift"; path = "KeyboardMaster/Classes/UIScrollView+Keyboard.swift"; sourceTree = ""; }; + 9E58B49A8180E81A57A918286BDEC745 /* Pods-KeyboardMaster_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-KeyboardMaster_Example.debug.xcconfig"; sourceTree = ""; }; + A7F9A7D098C83BC9CED8A1719DF5E29D /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + AD5198876B53E428211EE2FB561E7031 /* Pods-KeyboardMaster_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-KeyboardMaster_Example-acknowledgements.markdown"; sourceTree = ""; }; + BFCA880F5E64226EF6987C71B6309022 /* Pods-KeyboardMaster_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-KeyboardMaster_Tests-umbrella.h"; sourceTree = ""; }; + D2261CB3DA178E75A68EF25E157E59AE /* Pods-KeyboardMaster_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-KeyboardMaster_Tests-acknowledgements.markdown"; sourceTree = ""; }; + DC8080A96D36BF76A60B7B9379880770 /* KeyboardMaster-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "KeyboardMaster-prefix.pch"; sourceTree = ""; }; + DE9C6DAD5405B5C59D05BF70BA0E515A /* Pods-KeyboardMaster_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-KeyboardMaster_Tests-resources.sh"; sourceTree = ""; }; + E5C4EC783D60D0403FC6E295CDF8D380 /* Pods-KeyboardMaster_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-KeyboardMaster_Tests.debug.xcconfig"; sourceTree = ""; }; + ED630980D0504E516E26A2C5A020C2CB /* KeyboardMaster.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = KeyboardMaster.modulemap; sourceTree = ""; }; + F11A6CFD745C546FA2B6788143294425 /* KeyboardMaster.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = KeyboardMaster.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + F54BCF8A67EE3BEE8CF5B2C58C9F3662 /* Pods-KeyboardMaster_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-KeyboardMaster_Tests-frameworks.sh"; sourceTree = ""; }; + FD461F93BD452E59D56442B8E3724B53 /* KeyboardMaster.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = KeyboardMaster.xcconfig; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 53DE2F0A234FA2B6E955F497016DA331 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 9B0F0B65146EEC187B8CB0720F52D975 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6C04E23F7A6276AD7BE02435152174A7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 7F1E3AC913C4A20AC6320AABEBF30223 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 95D2B303025EF76EB9F3E7E75789B658 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 4F459065436E6F5FD3864C4D00979A0C /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 16D010BB227858E17BC3B77F9A795EF3 /* Support Files */ = { + isa = PBXGroup; + children = ( + 50E978D4BF2DB5F11898547BDD720659 /* Info.plist */, + ED630980D0504E516E26A2C5A020C2CB /* KeyboardMaster.modulemap */, + FD461F93BD452E59D56442B8E3724B53 /* KeyboardMaster.xcconfig */, + 8353C761A9FA6EBDFB029AF8A78AE94D /* KeyboardMaster-dummy.m */, + DC8080A96D36BF76A60B7B9379880770 /* KeyboardMaster-prefix.pch */, + 183353B9A69022F061A3F1234AEF11A3 /* KeyboardMaster-umbrella.h */, + ); + name = "Support Files"; + path = "Example/Pods/Target Support Files/KeyboardMaster"; + sourceTree = ""; + }; + 43BFFAB3E24BFA2AC3EECAFEF86BFF3C /* Development Pods */ = { + isa = PBXGroup; + children = ( + 808412B26938688D7C23AEB8B7F8731A /* KeyboardMaster */, + ); + name = "Development Pods"; + sourceTree = ""; + }; + 71244FCEE8C4145121DA277124579EA1 /* Pods-KeyboardMaster_Tests */ = { + isa = PBXGroup; + children = ( + A7F9A7D098C83BC9CED8A1719DF5E29D /* Info.plist */, + 2372A3F4F50A46303C63F463F9C03E8C /* Pods-KeyboardMaster_Tests.modulemap */, + D2261CB3DA178E75A68EF25E157E59AE /* Pods-KeyboardMaster_Tests-acknowledgements.markdown */, + 5BC5C55901A0A0E16D1BEB7A0F52C1B5 /* Pods-KeyboardMaster_Tests-acknowledgements.plist */, + 92D5980A739BC2EA21040B019D9E2349 /* Pods-KeyboardMaster_Tests-dummy.m */, + F54BCF8A67EE3BEE8CF5B2C58C9F3662 /* Pods-KeyboardMaster_Tests-frameworks.sh */, + DE9C6DAD5405B5C59D05BF70BA0E515A /* Pods-KeyboardMaster_Tests-resources.sh */, + BFCA880F5E64226EF6987C71B6309022 /* Pods-KeyboardMaster_Tests-umbrella.h */, + E5C4EC783D60D0403FC6E295CDF8D380 /* Pods-KeyboardMaster_Tests.debug.xcconfig */, + 355E6259AD8D89ADC3999586A3BEF15D /* Pods-KeyboardMaster_Tests.release.xcconfig */, + ); + name = "Pods-KeyboardMaster_Tests"; + path = "Target Support Files/Pods-KeyboardMaster_Tests"; + sourceTree = ""; + }; + 7DB346D0F39D3F0E887471402A8071AB = { + isa = PBXGroup; + children = ( + 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, + 43BFFAB3E24BFA2AC3EECAFEF86BFF3C /* Development Pods */, + BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, + A4B09B20D8D4376A1E4D660180636211 /* Products */, + BA023C30FD884C90B331D7FFA47C3C29 /* Targets Support Files */, + ); + sourceTree = ""; + }; + 808412B26938688D7C23AEB8B7F8731A /* KeyboardMaster */ = { + isa = PBXGroup; + children = ( + 9C7A3B551FD9777F006D2BFE /* UIScrollView+Keyboard.swift */, + 16D010BB227858E17BC3B77F9A795EF3 /* Support Files */, + ); + name = KeyboardMaster; + path = ../..; + sourceTree = ""; + }; + A4B09B20D8D4376A1E4D660180636211 /* Products */ = { + isa = PBXGroup; + children = ( + F11A6CFD745C546FA2B6788143294425 /* KeyboardMaster.framework */, + 731F49DF786F0F27FC8E00BA9D59F774 /* Pods_KeyboardMaster_Example.framework */, + 2EAE4D6FF12387831C0BA6513E4A49D3 /* Pods_KeyboardMaster_Tests.framework */, + ); + name = Products; + sourceTree = ""; + }; + BA023C30FD884C90B331D7FFA47C3C29 /* Targets Support Files */ = { + isa = PBXGroup; + children = ( + BF231A5364FBBEB4CB620E708455820C /* Pods-KeyboardMaster_Example */, + 71244FCEE8C4145121DA277124579EA1 /* Pods-KeyboardMaster_Tests */, + ); + name = "Targets Support Files"; + sourceTree = ""; + }; + BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { + isa = PBXGroup; + children = ( + D35AF013A5F0BAD4F32504907A52519E /* iOS */, + ); + name = Frameworks; + sourceTree = ""; + }; + BF231A5364FBBEB4CB620E708455820C /* Pods-KeyboardMaster_Example */ = { + isa = PBXGroup; + children = ( + 3C089EC8C8E50A7F5143A3873640ECB2 /* Info.plist */, + 86AC80AA4C266E276677C8956B5E1D8F /* Pods-KeyboardMaster_Example.modulemap */, + AD5198876B53E428211EE2FB561E7031 /* Pods-KeyboardMaster_Example-acknowledgements.markdown */, + 7699AA95FCDA5B238B4B09FDB9C5FDBF /* Pods-KeyboardMaster_Example-acknowledgements.plist */, + 173532F3C0859E91D03AD5D7949D446A /* Pods-KeyboardMaster_Example-dummy.m */, + 9AF6F651D4ACA362E1593D448E7F6A83 /* Pods-KeyboardMaster_Example-frameworks.sh */, + 859EF81234B795EC1463657687B19172 /* Pods-KeyboardMaster_Example-resources.sh */, + 0642A05970C791383DE3065FDC5F303D /* Pods-KeyboardMaster_Example-umbrella.h */, + 9E58B49A8180E81A57A918286BDEC745 /* Pods-KeyboardMaster_Example.debug.xcconfig */, + 5618EDAE08DAF69B8730DBED9913C9FF /* Pods-KeyboardMaster_Example.release.xcconfig */, + ); + name = "Pods-KeyboardMaster_Example"; + path = "Target Support Files/Pods-KeyboardMaster_Example"; + sourceTree = ""; + }; + D35AF013A5F0BAD4F32504907A52519E /* iOS */ = { + isa = PBXGroup; + children = ( + 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */, + ); + name = iOS; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 1D73B2DC07E33B91FF677731F271C0C1 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 375AECC82B6AD11EF4BA16A897B54970 /* KeyboardMaster-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 97A1B29175BD1B3EB10F03A5D4D06826 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + EFF155173EB956BF9B4C99BEDDB80E22 /* Pods-KeyboardMaster_Tests-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + F030AD68DF6706B2C17CF30C808FB4C3 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + F048A05DCDAC4BDF721B3B1EC5B5895E /* Pods-KeyboardMaster_Example-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 36936431E5A97BDA1F2A88FDD41A7988 /* KeyboardMaster */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2036046E54CFCF3BE493355A30EB7E81 /* Build configuration list for PBXNativeTarget "KeyboardMaster" */; + buildPhases = ( + 385F9646CECF9334C31E0738A30ED098 /* Sources */, + 6C04E23F7A6276AD7BE02435152174A7 /* Frameworks */, + 1D73B2DC07E33B91FF677731F271C0C1 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = KeyboardMaster; + productName = KeyboardMaster; + productReference = F11A6CFD745C546FA2B6788143294425 /* KeyboardMaster.framework */; + productType = "com.apple.product-type.framework"; + }; + 945C94E58308F8E87552F2DB1CDBBA28 /* Pods-KeyboardMaster_Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = C2079507F1B90C39F8FC8B1EC3D74BED /* Build configuration list for PBXNativeTarget "Pods-KeyboardMaster_Tests" */; + buildPhases = ( + DCA02205B26228F964166B3112365116 /* Sources */, + 53DE2F0A234FA2B6E955F497016DA331 /* Frameworks */, + 97A1B29175BD1B3EB10F03A5D4D06826 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "Pods-KeyboardMaster_Tests"; + productName = "Pods-KeyboardMaster_Tests"; + productReference = 2EAE4D6FF12387831C0BA6513E4A49D3 /* Pods_KeyboardMaster_Tests.framework */; + productType = "com.apple.product-type.framework"; + }; + ACA4A34CEF820F44CE2CA36482CDB48E /* Pods-KeyboardMaster_Example */ = { + isa = PBXNativeTarget; + buildConfigurationList = 243C5EFB181D7212A756B42890A419FC /* Build configuration list for PBXNativeTarget "Pods-KeyboardMaster_Example" */; + buildPhases = ( + CD35853FF72EC0FED007DBFFB687631B /* Sources */, + 95D2B303025EF76EB9F3E7E75789B658 /* Frameworks */, + F030AD68DF6706B2C17CF30C808FB4C3 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + 71CA4BD96D1921F67988154B7B9CFFAC /* PBXTargetDependency */, + ); + name = "Pods-KeyboardMaster_Example"; + productName = "Pods-KeyboardMaster_Example"; + productReference = 731F49DF786F0F27FC8E00BA9D59F774 /* Pods_KeyboardMaster_Example.framework */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0830; + LastUpgradeCheck = 0700; + TargetAttributes = { + 36936431E5A97BDA1F2A88FDD41A7988 = { + LastSwiftMigration = 0910; + }; + }; + }; + buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 7DB346D0F39D3F0E887471402A8071AB; + productRefGroup = A4B09B20D8D4376A1E4D660180636211 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 36936431E5A97BDA1F2A88FDD41A7988 /* KeyboardMaster */, + ACA4A34CEF820F44CE2CA36482CDB48E /* Pods-KeyboardMaster_Example */, + 945C94E58308F8E87552F2DB1CDBBA28 /* Pods-KeyboardMaster_Tests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXSourcesBuildPhase section */ + 385F9646CECF9334C31E0738A30ED098 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 9C7A3B561FD9777F006D2BFE /* UIScrollView+Keyboard.swift in Sources */, + 2AF411500B7DA9262AE86E27B559B9AB /* KeyboardMaster-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + CD35853FF72EC0FED007DBFFB687631B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 16F7B7C9895F4B9162F6581B4722C65B /* Pods-KeyboardMaster_Example-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DCA02205B26228F964166B3112365116 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + EB17D315A5F89BE316182487C03E7442 /* Pods-KeyboardMaster_Tests-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 71CA4BD96D1921F67988154B7B9CFFAC /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = KeyboardMaster; + target = 36936431E5A97BDA1F2A88FDD41A7988 /* KeyboardMaster */; + targetProxy = 27D68C685BB5F32358C3941E3B96A439 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 0DA1FD857D0984B29D68FBD37A532F1E /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = FD461F93BD452E59D56442B8E3724B53 /* KeyboardMaster.xcconfig */; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/KeyboardMaster/KeyboardMaster-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/KeyboardMaster/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/KeyboardMaster/KeyboardMaster.modulemap"; + PRODUCT_NAME = KeyboardMaster; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 33DA7F43A1D2FA3C74A8C8FC246E1FA6 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGNING_REQUIRED = NO; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "POD_CONFIGURATION_DEBUG=1", + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 9.3; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; + STRIP_INSTALLED_PRODUCT = NO; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SYMROOT = "${SRCROOT}/../build"; + }; + name = Debug; + }; + 40E31A8E30D6CFE3A0D7F95B1F5489B6 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = FD461F93BD452E59D56442B8E3724B53 /* KeyboardMaster.xcconfig */; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/KeyboardMaster/KeyboardMaster-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/KeyboardMaster/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/KeyboardMaster/KeyboardMaster.modulemap"; + PRODUCT_NAME = KeyboardMaster; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 731DC216E1A58545B559F6E0A2418060 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGNING_REQUIRED = NO; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREPROCESSOR_DEFINITIONS = ( + "POD_CONFIGURATION_RELEASE=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 9.3; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; + STRIP_INSTALLED_PRODUCT = NO; + SYMROOT = "${SRCROOT}/../build"; + }; + name = Release; + }; + 7BD0104AFE2A8230746CCEB5EA904CA6 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 5618EDAE08DAF69B8730DBED9913C9FF /* Pods-KeyboardMaster_Example.release.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-KeyboardMaster_Example/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_KeyboardMaster_Example; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + DCB01182DFEEB59363CA40657DC1094D /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 9E58B49A8180E81A57A918286BDEC745 /* Pods-KeyboardMaster_Example.debug.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-KeyboardMaster_Example/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_KeyboardMaster_Example; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + E9763E5C9B9B503B5A6532805268DD49 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 355E6259AD8D89ADC3999586A3BEF15D /* Pods-KeyboardMaster_Tests.release.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-KeyboardMaster_Tests/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_KeyboardMaster_Tests; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + F5E4FB60BB2811BD241727DBDC165A8A /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = E5C4EC783D60D0403FC6E295CDF8D380 /* Pods-KeyboardMaster_Tests.debug.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-KeyboardMaster_Tests/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_KeyboardMaster_Tests; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 2036046E54CFCF3BE493355A30EB7E81 /* Build configuration list for PBXNativeTarget "KeyboardMaster" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 40E31A8E30D6CFE3A0D7F95B1F5489B6 /* Debug */, + 0DA1FD857D0984B29D68FBD37A532F1E /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 243C5EFB181D7212A756B42890A419FC /* Build configuration list for PBXNativeTarget "Pods-KeyboardMaster_Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DCB01182DFEEB59363CA40657DC1094D /* Debug */, + 7BD0104AFE2A8230746CCEB5EA904CA6 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 33DA7F43A1D2FA3C74A8C8FC246E1FA6 /* Debug */, + 731DC216E1A58545B559F6E0A2418060 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + C2079507F1B90C39F8FC8B1EC3D74BED /* Build configuration list for PBXNativeTarget "Pods-KeyboardMaster_Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + F5E4FB60BB2811BD241727DBDC165A8A /* Debug */, + E9763E5C9B9B503B5A6532805268DD49 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; +} diff --git a/Example/Pods/Target Support Files/KeyboardMaster/Info.plist b/Example/Pods/Target Support Files/KeyboardMaster/Info.plist new file mode 100644 index 0000000..161a9d3 --- /dev/null +++ b/Example/Pods/Target Support Files/KeyboardMaster/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 0.1.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Example/Pods/Target Support Files/KeyboardMaster/KeyboardMaster-dummy.m b/Example/Pods/Target Support Files/KeyboardMaster/KeyboardMaster-dummy.m new file mode 100644 index 0000000..ca27091 --- /dev/null +++ b/Example/Pods/Target Support Files/KeyboardMaster/KeyboardMaster-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_KeyboardMaster : NSObject +@end +@implementation PodsDummy_KeyboardMaster +@end diff --git a/Example/Pods/Target Support Files/KeyboardMaster/KeyboardMaster-prefix.pch b/Example/Pods/Target Support Files/KeyboardMaster/KeyboardMaster-prefix.pch new file mode 100644 index 0000000..beb2a24 --- /dev/null +++ b/Example/Pods/Target Support Files/KeyboardMaster/KeyboardMaster-prefix.pch @@ -0,0 +1,12 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + diff --git a/Example/Pods/Target Support Files/KeyboardMaster/KeyboardMaster-umbrella.h b/Example/Pods/Target Support Files/KeyboardMaster/KeyboardMaster-umbrella.h new file mode 100644 index 0000000..f3f1cec --- /dev/null +++ b/Example/Pods/Target Support Files/KeyboardMaster/KeyboardMaster-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double KeyboardMasterVersionNumber; +FOUNDATION_EXPORT const unsigned char KeyboardMasterVersionString[]; + diff --git a/Example/Pods/Target Support Files/KeyboardMaster/KeyboardMaster.modulemap b/Example/Pods/Target Support Files/KeyboardMaster/KeyboardMaster.modulemap new file mode 100644 index 0000000..34a28a0 --- /dev/null +++ b/Example/Pods/Target Support Files/KeyboardMaster/KeyboardMaster.modulemap @@ -0,0 +1,6 @@ +framework module KeyboardMaster { + umbrella header "KeyboardMaster-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/KeyboardMaster/KeyboardMaster.xcconfig b/Example/Pods/Target Support Files/KeyboardMaster/KeyboardMaster.xcconfig new file mode 100644 index 0000000..9abdc74 --- /dev/null +++ b/Example/Pods/Target Support Files/KeyboardMaster/KeyboardMaster.xcconfig @@ -0,0 +1,10 @@ +CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/KeyboardMaster +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" +OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES diff --git a/Example/Pods/Target Support Files/Pods-KeyboardMaster_Example/Info.plist b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Example/Info.plist new file mode 100644 index 0000000..2243fe6 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Example/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Example/Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example-acknowledgements.markdown new file mode 100644 index 0000000..93e8476 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example-acknowledgements.markdown @@ -0,0 +1,26 @@ +# Acknowledgements +This application makes use of the following third party libraries: + +## KeyboardMaster + +Copyright (c) 2017 Lucas Best + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example-acknowledgements.plist new file mode 100644 index 0000000..9bd882f --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example-acknowledgements.plist @@ -0,0 +1,58 @@ + + + + + PreferenceSpecifiers + + + FooterText + This application makes use of the following third party libraries: + Title + Acknowledgements + Type + PSGroupSpecifier + + + FooterText + Copyright (c) 2017 Lucas Best <lucas.best.5@gmail.com> + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + License + MIT + Title + KeyboardMaster + Type + PSGroupSpecifier + + + FooterText + Generated by CocoaPods - https://cocoapods.org + Title + + Type + PSGroupSpecifier + + + StringsTable + Acknowledgements + Title + Acknowledgements + + diff --git a/Example/Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example-dummy.m b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example-dummy.m new file mode 100644 index 0000000..769cb28 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_KeyboardMaster_Example : NSObject +@end +@implementation PodsDummy_Pods_KeyboardMaster_Example +@end diff --git a/Example/Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example-frameworks.sh b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example-frameworks.sh new file mode 100755 index 0000000..0179145 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example-frameworks.sh @@ -0,0 +1,112 @@ +#!/bin/sh +set -e + +echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" +mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + +SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" + +# This protects against multiple targets copying the same framework dependency at the same time. The solution +# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html +RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") + +install_framework() +{ + if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then + local source="${BUILT_PRODUCTS_DIR}/$1" + elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then + local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" + elif [ -r "$1" ]; then + local source="$1" + fi + + local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + + if [ -L "${source}" ]; then + echo "Symlinked..." + source="$(readlink "${source}")" + fi + + # Use filter instead of exclude so missing patterns don't throw errors. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" + + local basename + basename="$(basename -s .framework "$1")" + binary="${destination}/${basename}.framework/${basename}" + if ! [ -r "$binary" ]; then + binary="${destination}/${basename}" + fi + + # Strip invalid architectures so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then + strip_invalid_archs "$binary" + fi + + # Resign the code if required by the build settings to avoid unstable apps + code_sign_if_enabled "${destination}/$(basename "$1")" + + # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. + if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then + local swift_runtime_libs + swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) + for lib in $swift_runtime_libs; do + echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" + rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" + code_sign_if_enabled "${destination}/${lib}" + done + fi +} + +# Copies the dSYM of a vendored framework +install_dsym() { + local source="$1" + if [ -r "$source" ]; then + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DWARF_DSYM_FOLDER_PATH}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DWARF_DSYM_FOLDER_PATH}" + fi +} + +# Signs a framework with the provided identity +code_sign_if_enabled() { + if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then + # Use the current code_sign_identitiy + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" + local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" + + if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + code_sign_cmd="$code_sign_cmd &" + fi + echo "$code_sign_cmd" + eval "$code_sign_cmd" + fi +} + +# Strip invalid architectures +strip_invalid_archs() { + binary="$1" + # Get architectures for current file + archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" + stripped="" + for arch in $archs; do + if ! [[ "${ARCHS}" == *"$arch"* ]]; then + # Strip non-valid architectures in-place + lipo -remove "$arch" -output "$binary" "$binary" || exit 1 + stripped="$stripped $arch" + fi + done + if [[ "$stripped" ]]; then + echo "Stripped $binary of architectures:$stripped" + fi +} + + +if [[ "$CONFIGURATION" == "Debug" ]]; then + install_framework "${BUILT_PRODUCTS_DIR}/KeyboardMaster/KeyboardMaster.framework" +fi +if [[ "$CONFIGURATION" == "Release" ]]; then + install_framework "${BUILT_PRODUCTS_DIR}/KeyboardMaster/KeyboardMaster.framework" +fi +if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + wait +fi diff --git a/Example/Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example-resources.sh b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example-resources.sh new file mode 100755 index 0000000..a7df440 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example-resources.sh @@ -0,0 +1,106 @@ +#!/bin/sh +set -e + +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + +RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt +> "$RESOURCES_TO_COPY" + +XCASSET_FILES=() + +# This protects against multiple targets copying the same framework dependency at the same time. The solution +# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html +RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") + +case "${TARGETED_DEVICE_FAMILY}" in + 1,2) + TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" + ;; + 1) + TARGET_DEVICE_ARGS="--target-device iphone" + ;; + 2) + TARGET_DEVICE_ARGS="--target-device ipad" + ;; + 3) + TARGET_DEVICE_ARGS="--target-device tv" + ;; + 4) + TARGET_DEVICE_ARGS="--target-device watch" + ;; + *) + TARGET_DEVICE_ARGS="--target-device mac" + ;; +esac + +install_resource() +{ + if [[ "$1" = /* ]] ; then + RESOURCE_PATH="$1" + else + RESOURCE_PATH="${PODS_ROOT}/$1" + fi + if [[ ! -e "$RESOURCE_PATH" ]] ; then + cat << EOM +error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. +EOM + exit 1 + fi + case $RESOURCE_PATH in + *.storyboard) + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true + 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} + ;; + *.xib) + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true + 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} + ;; + *.framework) + echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true + mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + ;; + *.xcdatamodel) + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" + ;; + *.xcdatamodeld) + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" + ;; + *.xcmappingmodel) + echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true + xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" + ;; + *.xcassets) + ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" + XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") + ;; + *) + echo "$RESOURCE_PATH" || true + echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" + ;; + esac +} + +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then + mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi +rm -f "$RESOURCES_TO_COPY" + +if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] +then + # Find all other xcassets (this unfortunately includes those of path pods and other targets). + OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) + while read line; do + if [[ $line != "${PODS_ROOT}*" ]]; then + XCASSET_FILES+=("$line") + fi + done <<<"$OTHER_XCASSETS" + + 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}" +fi diff --git a/Example/Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example-umbrella.h b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example-umbrella.h new file mode 100644 index 0000000..3397b64 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double Pods_KeyboardMaster_ExampleVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_KeyboardMaster_ExampleVersionString[]; + diff --git a/Example/Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example.debug.xcconfig b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example.debug.xcconfig new file mode 100644 index 0000000..5c96acd --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example.debug.xcconfig @@ -0,0 +1,11 @@ +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES +FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/KeyboardMaster" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/KeyboardMaster/KeyboardMaster.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "KeyboardMaster" +OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example.modulemap b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example.modulemap new file mode 100644 index 0000000..a350364 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example.modulemap @@ -0,0 +1,6 @@ +framework module Pods_KeyboardMaster_Example { + umbrella header "Pods-KeyboardMaster_Example-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example.release.xcconfig b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example.release.xcconfig new file mode 100644 index 0000000..5c96acd --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Example/Pods-KeyboardMaster_Example.release.xcconfig @@ -0,0 +1,11 @@ +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES +FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/KeyboardMaster" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/KeyboardMaster/KeyboardMaster.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "KeyboardMaster" +OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Info.plist b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Info.plist new file mode 100644 index 0000000..2243fe6 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Example/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests-acknowledgements.markdown new file mode 100644 index 0000000..102af75 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests-acknowledgements.markdown @@ -0,0 +1,3 @@ +# Acknowledgements +This application makes use of the following third party libraries: +Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests-acknowledgements.plist new file mode 100644 index 0000000..7acbad1 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests-acknowledgements.plist @@ -0,0 +1,29 @@ + + + + + PreferenceSpecifiers + + + FooterText + This application makes use of the following third party libraries: + Title + Acknowledgements + Type + PSGroupSpecifier + + + FooterText + Generated by CocoaPods - https://cocoapods.org + Title + + Type + PSGroupSpecifier + + + StringsTable + Acknowledgements + Title + Acknowledgements + + diff --git a/Example/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests-dummy.m b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests-dummy.m new file mode 100644 index 0000000..bf9d158 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_KeyboardMaster_Tests : NSObject +@end +@implementation PodsDummy_Pods_KeyboardMaster_Tests +@end diff --git a/Example/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests-frameworks.sh b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests-frameworks.sh new file mode 100755 index 0000000..88dd537 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests-frameworks.sh @@ -0,0 +1,105 @@ +#!/bin/sh +set -e + +echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" +mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + +SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" + +# This protects against multiple targets copying the same framework dependency at the same time. The solution +# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html +RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") + +install_framework() +{ + if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then + local source="${BUILT_PRODUCTS_DIR}/$1" + elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then + local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" + elif [ -r "$1" ]; then + local source="$1" + fi + + local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + + if [ -L "${source}" ]; then + echo "Symlinked..." + source="$(readlink "${source}")" + fi + + # Use filter instead of exclude so missing patterns don't throw errors. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" + + local basename + basename="$(basename -s .framework "$1")" + binary="${destination}/${basename}.framework/${basename}" + if ! [ -r "$binary" ]; then + binary="${destination}/${basename}" + fi + + # Strip invalid architectures so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then + strip_invalid_archs "$binary" + fi + + # Resign the code if required by the build settings to avoid unstable apps + code_sign_if_enabled "${destination}/$(basename "$1")" + + # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. + if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then + local swift_runtime_libs + swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) + for lib in $swift_runtime_libs; do + echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" + rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" + code_sign_if_enabled "${destination}/${lib}" + done + fi +} + +# Copies the dSYM of a vendored framework +install_dsym() { + local source="$1" + if [ -r "$source" ]; then + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DWARF_DSYM_FOLDER_PATH}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DWARF_DSYM_FOLDER_PATH}" + fi +} + +# Signs a framework with the provided identity +code_sign_if_enabled() { + if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then + # Use the current code_sign_identitiy + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" + local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" + + if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + code_sign_cmd="$code_sign_cmd &" + fi + echo "$code_sign_cmd" + eval "$code_sign_cmd" + fi +} + +# Strip invalid architectures +strip_invalid_archs() { + binary="$1" + # Get architectures for current file + archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" + stripped="" + for arch in $archs; do + if ! [[ "${ARCHS}" == *"$arch"* ]]; then + # Strip non-valid architectures in-place + lipo -remove "$arch" -output "$binary" "$binary" || exit 1 + stripped="$stripped $arch" + fi + done + if [[ "$stripped" ]]; then + echo "Stripped $binary of architectures:$stripped" + fi +} + +if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + wait +fi diff --git a/Example/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests-resources.sh b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests-resources.sh new file mode 100755 index 0000000..a7df440 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests-resources.sh @@ -0,0 +1,106 @@ +#!/bin/sh +set -e + +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + +RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt +> "$RESOURCES_TO_COPY" + +XCASSET_FILES=() + +# This protects against multiple targets copying the same framework dependency at the same time. The solution +# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html +RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") + +case "${TARGETED_DEVICE_FAMILY}" in + 1,2) + TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" + ;; + 1) + TARGET_DEVICE_ARGS="--target-device iphone" + ;; + 2) + TARGET_DEVICE_ARGS="--target-device ipad" + ;; + 3) + TARGET_DEVICE_ARGS="--target-device tv" + ;; + 4) + TARGET_DEVICE_ARGS="--target-device watch" + ;; + *) + TARGET_DEVICE_ARGS="--target-device mac" + ;; +esac + +install_resource() +{ + if [[ "$1" = /* ]] ; then + RESOURCE_PATH="$1" + else + RESOURCE_PATH="${PODS_ROOT}/$1" + fi + if [[ ! -e "$RESOURCE_PATH" ]] ; then + cat << EOM +error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. +EOM + exit 1 + fi + case $RESOURCE_PATH in + *.storyboard) + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true + 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} + ;; + *.xib) + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true + 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} + ;; + *.framework) + echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true + mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + ;; + *.xcdatamodel) + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" + ;; + *.xcdatamodeld) + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" + ;; + *.xcmappingmodel) + echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true + xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" + ;; + *.xcassets) + ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" + XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") + ;; + *) + echo "$RESOURCE_PATH" || true + echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" + ;; + esac +} + +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then + mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi +rm -f "$RESOURCES_TO_COPY" + +if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] +then + # Find all other xcassets (this unfortunately includes those of path pods and other targets). + OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) + while read line; do + if [[ $line != "${PODS_ROOT}*" ]]; then + XCASSET_FILES+=("$line") + fi + done <<<"$OTHER_XCASSETS" + + 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}" +fi diff --git a/Example/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests-umbrella.h b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests-umbrella.h new file mode 100644 index 0000000..abe1fd0 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double Pods_KeyboardMaster_TestsVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_KeyboardMaster_TestsVersionString[]; + diff --git a/Example/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests.debug.xcconfig b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests.debug.xcconfig new file mode 100644 index 0000000..d163f39 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests.debug.xcconfig @@ -0,0 +1,8 @@ +FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/KeyboardMaster" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/KeyboardMaster/KeyboardMaster.framework/Headers" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests.modulemap b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests.modulemap new file mode 100644 index 0000000..20aaa73 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests.modulemap @@ -0,0 +1,6 @@ +framework module Pods_KeyboardMaster_Tests { + umbrella header "Pods-KeyboardMaster_Tests-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests.release.xcconfig b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests.release.xcconfig new file mode 100644 index 0000000..d163f39 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KeyboardMaster_Tests/Pods-KeyboardMaster_Tests.release.xcconfig @@ -0,0 +1,8 @@ +FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/KeyboardMaster" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/KeyboardMaster/KeyboardMaster.framework/Headers" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Tests/Info.plist b/Example/Tests/Info.plist new file mode 100644 index 0000000..ba72822 --- /dev/null +++ b/Example/Tests/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/Example/Tests/Tests.swift b/Example/Tests/Tests.swift new file mode 100644 index 0000000..6f5c993 --- /dev/null +++ b/Example/Tests/Tests.swift @@ -0,0 +1,29 @@ +import UIKit +import XCTest +import KeyboardMaster + +class Tests: XCTestCase { + + override func setUp() { + super.setUp() + // Put setup code here. This method is called before the invocation of each test method in the class. + } + + override func tearDown() { + // Put teardown code here. This method is called after the invocation of each test method in the class. + super.tearDown() + } + + func testExample() { + // This is an example of a functional test case. + XCTAssert(true, "Pass") + } + + func testPerformanceExample() { + // This is an example of a performance test case. + self.measure() { + // Put the code you want to measure the time of here. + } + } + +} diff --git a/KeyboardMaster.podspec b/KeyboardMaster.podspec new file mode 100644 index 0000000..0952dd7 --- /dev/null +++ b/KeyboardMaster.podspec @@ -0,0 +1,42 @@ +# +# Be sure to run `pod lib lint KeyboardMaster.podspec' to ensure this is a +# valid spec before submitting. +# +# Any lines starting with a # are optional, but their use is encouraged +# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html +# + +Pod::Spec.new do |s| + s.name = 'KeyboardMaster' + s.version = '1.0.0' + s.summary = 'KeyboardMaster is a UIScollView extension intended to make it easier to manage the iOS keyboard.' + +# This description is used to generate tags and improve search results. +# * Think: What does it do? Why did you write it? What is the focus? +# * Try to keep it short, snappy and to the point. +# * Write the description between the DESC delimiters below. +# * Finally, don't worry about the indent, CocoaPods strips it! + + s.description = <<-DESC +KeyboardMaster is a simple Swift extension on UIScrollView that allows you to easily and automatically manage the keyboard in iOS. Simply call UIScrollView.registerForKeyboardEvents() and the extension will do the rest of the work for you. + DESC + + s.homepage = 'https://github.com/LucasBest/KeyboardMaster' + # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' + s.license = { :type => 'MIT', :file => 'LICENSE' } + s.author = { 'Lucas Best' => 'lucas.best.5@gmail.com' } + s.source = { :git => 'https://github.com/LucasBest/KeyboardMaster.git', :tag => s.version.to_s } + # s.social_media_url = 'https://twitter.com/' + + s.ios.deployment_target = '8.0' + + s.source_files = 'KeyboardMaster/Classes/**/*' + + # s.resource_bundles = { + # 'KeyboardMaster' => ['KeyboardMaster/Assets/*.png'] + # } + + # s.public_header_files = 'Pod/Classes/**/*.h' + s.frameworks = 'UIKit' + # s.dependency 'AFNetworking', '~> 2.3' +end diff --git a/KeyboardMaster/Assets/.gitkeep b/KeyboardMaster/Assets/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/KeyboardMaster/Classes/.gitkeep b/KeyboardMaster/Classes/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/KeyboardMaster/Classes/UIScrollView+Keyboard.swift b/KeyboardMaster/Classes/UIScrollView+Keyboard.swift new file mode 100644 index 0000000..002ca65 --- /dev/null +++ b/KeyboardMaster/Classes/UIScrollView+Keyboard.swift @@ -0,0 +1,88 @@ +// +// UIScrollView+Keyboard.swift +// KeyboardMaster +// +// Created by Lucas Best on 12/6/17. +// + +import UIKit + +public extension UIScrollView{ + private struct ScrollViewMetadata{ + static var contentInsetBeforeKeyboard = [UIScrollView: UIEdgeInsets]() + static var keyboardGoingUpForScrollView = [UIScrollView: Bool]() + static var automaticallyAdjustContentOffset = [UIScrollView: Bool]() + static var keyboardObservers = [UIScrollView: (showObserver:Any, hideObserver:Any)]() + } + + public func registerForKeyboardEvents(automaticallyAdjustContentOffset:Bool = false){ + self.deregisterFromKeyboardEvents() + + ScrollViewMetadata.automaticallyAdjustContentOffset[self] = automaticallyAdjustContentOffset + + let showObserver = NotificationCenter.default.addObserver(forName: Notification.Name.UIKeyboardWillShow, object: nil, queue: nil) { (notification) in + ScrollViewMetadata.keyboardGoingUpForScrollView[self] = true + self.updateKeyboardFrame(from: notification) + } + + let hideObserver = NotificationCenter.default.addObserver(forName: Notification.Name.UIKeyboardWillHide, object: nil, queue: nil) { (notification) in + ScrollViewMetadata.keyboardGoingUpForScrollView[self] = false + self.updateKeyboardFrame(from: notification) + } + + ScrollViewMetadata.keyboardObservers[self] = (showObserver:showObserver, hideObserver:hideObserver) + } + + public func deregisterFromKeyboardEvents(){ + self.removeObservers() + + ScrollViewMetadata.contentInsetBeforeKeyboard.removeValue(forKey: self) + ScrollViewMetadata.keyboardGoingUpForScrollView.removeValue(forKey: self) + ScrollViewMetadata.automaticallyAdjustContentOffset.removeValue(forKey: self) + ScrollViewMetadata.keyboardObservers.removeValue(forKey: self) + } + + private func updateKeyboardFrame(from notification:Notification){ + let keyboardGoingUp = ScrollViewMetadata.keyboardGoingUpForScrollView[self] ?? false + + if keyboardGoingUp{ + ScrollViewMetadata.contentInsetBeforeKeyboard = [self : self.contentInset] + } + + if let keyboardFrame = notification.userInfo?[UIKeyboardFrameEndUserInfoKey] as? CGRect{ + let convertedKeyboardFrame = self.superview?.convert(keyboardFrame, from: nil) ?? keyboardFrame + + let intersectionRect = self.frame.intersection(convertedKeyboardFrame) + + var newContentInset = self.contentInset + + let newContentInsetBottom = self.frame.origin.y + self.frame.size.height - intersectionRect.origin.y + + if newContentInsetBottom > 0{ + newContentInset.bottom = newContentInsetBottom + } + else{ + newContentInset.bottom = ScrollViewMetadata.contentInsetBeforeKeyboard[self]?.bottom ?? 0.0 + } + + self.contentInset = newContentInset + self.scrollIndicatorInsets = newContentInset + + if ScrollViewMetadata.automaticallyAdjustContentOffset[self] ?? false && keyboardGoingUp{ + let scrolledToBottom = self.contentSize.height - self.bounds.size.height + self.contentInset.bottom + + var contentOffset = self.contentOffset + contentOffset.y += CGFloat.minimum(newContentInsetBottom, scrolledToBottom) + + self.contentOffset = contentOffset + } + } + } + + private func removeObservers(){ + if let observers = ScrollViewMetadata.keyboardObservers[self]{ + NotificationCenter.default.removeObserver(observers.showObserver, name: Notification.Name.UIKeyboardWillShow, object: nil) + NotificationCenter.default.removeObserver(observers.hideObserver, name: Notification.Name.UIKeyboardWillHide, object: nil) + } + } +} diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..35baf58 --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2017 Lucas Best + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..7973e7f --- /dev/null +++ b/README.md @@ -0,0 +1,38 @@ +# KeyboardMaster + +[![Version](https://img.shields.io/cocoapods/v/KeyboardMaster.svg?style=flat)](http://cocoapods.org/pods/KeyboardMaster) +[![License](https://img.shields.io/cocoapods/l/KeyboardMaster.svg?style=flat)](http://cocoapods.org/pods/KeyboardMaster) +[![Platform](https://img.shields.io/cocoapods/p/KeyboardMaster.svg?style=flat)](http://cocoapods.org/pods/KeyboardMaster) + +KeyboardMaster is a simple Swift extension on UIScrollView that allows you to easily and automatically manage the keyboard in iOS. Simply call `UIScrollView.registerForKeyboardEvents()` and the extension will do the rest of the work for you. + +The extension converts the frame of the keyboard into the coordinate space of the scroll view, then calculates the overlap. Using the overlap rect the extension then sets `self.contentInset` accordingly. + +The extension uses `NotificationCenter` to listen for keyboard events so it is important to call `UIScrollView.deregisterFromKeyboardEvents()` when you are no longer interested in monitoring keyboard activity. + +You can also optionally pass the flag `automaticallyAdjustContentOffset:true` to the `.registerForKeyboardEvents()` function to have the keyboard automatically scroll up when the keyboard shows. + +## Example + +To run the example project, clone the repo, and run `pod install` from the Example directory first. + +## Requirements + +KeyboardMaster is built with Swift 4 and set to run on devices targeting iOS 8 and later. + +## Installation + +KeyboardMaster is available through [CocoaPods](http://cocoapods.org). To install +it, simply add the following line to your Podfile: + +```ruby +pod 'KeyboardMaster' +``` + +## Author + +Lucas Best, lucas.best.5@gmail.com + +## License + +KeyboardMaster is available under the MIT license. See the LICENSE file for more info. diff --git a/_Pods.xcodeproj b/_Pods.xcodeproj new file mode 120000 index 0000000..3c5a8e7 --- /dev/null +++ b/_Pods.xcodeproj @@ -0,0 +1 @@ +Example/Pods/Pods.xcodeproj \ No newline at end of file