commit f9de4b806ece3bc842830733542d86d91a3a6269 Author: Giuseppe Nucifora Date: Mon Apr 18 19:29:52 2016 +0200 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f067d67 --- /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/.travis.yml b/.travis.yml new file mode 100644 index 0000000..c1cc164 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,13 @@ +# references: +# * http://www.objc.io/issue-6/travis-ci.html +# * https://github.com/supermarin/xcpretty#usage + +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 -workspace Example/PNKeyboardStateListener.xcworkspace -scheme PNKeyboardStateListener-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty +- pod lib lint diff --git a/Example/PNKeyboardStateListener.xcodeproj/project.pbxproj b/Example/PNKeyboardStateListener.xcodeproj/project.pbxproj new file mode 100644 index 0000000..78bba35 --- /dev/null +++ b/Example/PNKeyboardStateListener.xcodeproj/project.pbxproj @@ -0,0 +1,1351 @@ + + + + + archiveVersion + 1 + classes + + objectVersion + 46 + objects + + 01AEBE134244EAB53BAA2048 + + fileRef + 078D889A9601E6FC1F3D88AD + isa + PBXBuildFile + + 078D889A9601E6FC1F3D88AD + + explicitFileType + wrapper.framework + includeInIndex + 0 + isa + PBXFileReference + path + Pods_PNKeyboardStateListener_Example.framework + sourceTree + BUILT_PRODUCTS_DIR + + 1D42C150517F42BF94F2FE87 + + fileRef + FB6B769262C1BFB8D47C8A08 + isa + PBXBuildFile + + 3AFF857C1B786FFB23F04A09 + + includeInIndex + 1 + isa + PBXFileReference + name + LICENSE + path + ../LICENSE + sourceTree + <group> + + 3C617E2923B89633336AAF02 + + includeInIndex + 1 + isa + PBXFileReference + name + PNKeyboardStateListener.podspec + path + ../PNKeyboardStateListener.podspec + sourceTree + <group> + + 6003F581195388D10070C39A + + children + + 60FF7A9C1954A5C5007DD14C + 6003F593195388D20070C39A + 6003F5B5195388D20070C39A + 6003F58C195388D20070C39A + 6003F58B195388D20070C39A + 7DEB810B2C3D130BB9519C16 + + isa + PBXGroup + sourceTree + <group> + + 6003F582195388D10070C39A + + attributes + + CLASSPREFIX + KeyboardStateListener + LastUpgradeCheck + 0720 + ORGANIZATIONNAME + Giuseppe Nucifora + TargetAttributes + + 6003F5AD195388D20070C39A + + TestTargetID + 6003F589195388D20070C39A + + + + buildConfigurationList + 6003F585195388D10070C39A + compatibilityVersion + Xcode 3.2 + developmentRegion + English + hasScannedForEncodings + 0 + isa + PBXProject + knownRegions + + en + Base + + mainGroup + 6003F581195388D10070C39A + productRefGroup + 6003F58B195388D20070C39A + projectDirPath + + projectReferences + + projectRoot + + targets + + 6003F589195388D20070C39A + 6003F5AD195388D20070C39A + + + 6003F585195388D10070C39A + + buildConfigurations + + 6003F5BD195388D20070C39A + 6003F5BE195388D20070C39A + + defaultConfigurationIsVisible + 0 + defaultConfigurationName + Release + isa + XCConfigurationList + + 6003F586195388D20070C39A + + buildActionMask + 2147483647 + files + + 6003F59E195388D20070C39A + 6003F5A7195388D20070C39A + 6003F59A195388D20070C39A + + isa + PBXSourcesBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + 6003F587195388D20070C39A + + buildActionMask + 2147483647 + files + + 6003F590195388D20070C39A + 6003F592195388D20070C39A + 6003F58E195388D20070C39A + 01AEBE134244EAB53BAA2048 + + isa + PBXFrameworksBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + 6003F588195388D20070C39A + + buildActionMask + 2147483647 + files + + 873B8AEB1B1F5CCA007FD442 + 6003F5A9195388D20070C39A + 6003F598195388D20070C39A + + isa + PBXResourcesBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + 6003F589195388D20070C39A + + buildConfigurationList + 6003F5BF195388D20070C39A + buildPhases + + B483D79C8E5C738A71359793 + 6003F586195388D20070C39A + 6003F587195388D20070C39A + 6003F588195388D20070C39A + DBACAE1F533F3C33F8769C70 + 9F9E22A3E1F30578E4376B62 + + buildRules + + dependencies + + isa + PBXNativeTarget + name + PNKeyboardStateListener_Example + productName + PNKeyboardStateListener + productReference + 6003F58A195388D20070C39A + productType + com.apple.product-type.application + + 6003F58A195388D20070C39A + + explicitFileType + wrapper.application + includeInIndex + 0 + isa + PBXFileReference + path + PNKeyboardStateListener_Example.app + sourceTree + BUILT_PRODUCTS_DIR + + 6003F58B195388D20070C39A + + children + + 6003F58A195388D20070C39A + 6003F5AE195388D20070C39A + + isa + PBXGroup + name + Products + sourceTree + <group> + + 6003F58C195388D20070C39A + + children + + 6003F58D195388D20070C39A + 6003F58F195388D20070C39A + 6003F591195388D20070C39A + 6003F5AF195388D20070C39A + 078D889A9601E6FC1F3D88AD + FB6B769262C1BFB8D47C8A08 + + isa + PBXGroup + name + Frameworks + sourceTree + <group> + + 6003F58D195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + wrapper.framework + name + Foundation.framework + path + System/Library/Frameworks/Foundation.framework + sourceTree + SDKROOT + + 6003F58E195388D20070C39A + + fileRef + 6003F58D195388D20070C39A + isa + PBXBuildFile + + 6003F58F195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + wrapper.framework + name + CoreGraphics.framework + path + System/Library/Frameworks/CoreGraphics.framework + sourceTree + SDKROOT + + 6003F590195388D20070C39A + + fileRef + 6003F58F195388D20070C39A + isa + PBXBuildFile + + 6003F591195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + wrapper.framework + name + UIKit.framework + path + System/Library/Frameworks/UIKit.framework + sourceTree + SDKROOT + + 6003F592195388D20070C39A + + fileRef + 6003F591195388D20070C39A + isa + PBXBuildFile + + 6003F593195388D20070C39A + + children + + 6003F59C195388D20070C39A + 6003F59D195388D20070C39A + 873B8AEA1B1F5CCA007FD442 + 6003F5A5195388D20070C39A + 6003F5A6195388D20070C39A + 6003F5A8195388D20070C39A + 6003F594195388D20070C39A + + isa + PBXGroup + name + Example for PNKeyboardStateListener + path + PNKeyboardStateListener + sourceTree + <group> + + 6003F594195388D20070C39A + + children + + 6003F595195388D20070C39A + 6003F596195388D20070C39A + 6003F599195388D20070C39A + 6003F59B195388D20070C39A + + isa + PBXGroup + name + Supporting Files + sourceTree + <group> + + 6003F595195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + text.plist.xml + path + PNKeyboardStateListener-Info.plist + sourceTree + <group> + + 6003F596195388D20070C39A + + children + + 6003F597195388D20070C39A + + isa + PBXVariantGroup + name + InfoPlist.strings + sourceTree + <group> + + 6003F597195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + text.plist.strings + name + en + path + en.lproj/InfoPlist.strings + sourceTree + <group> + + 6003F598195388D20070C39A + + fileRef + 6003F596195388D20070C39A + isa + PBXBuildFile + + 6003F599195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + sourcecode.c.objc + path + main.m + sourceTree + <group> + + 6003F59A195388D20070C39A + + fileRef + 6003F599195388D20070C39A + isa + PBXBuildFile + + 6003F59B195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + path + PNKeyboardStateListener-Prefix.pch + sourceTree + <group> + + 6003F59C195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + path + KeyboardStateListenerAppDelegate.h + sourceTree + <group> + + 6003F59D195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + sourcecode.c.objc + path + KeyboardStateListenerAppDelegate.m + sourceTree + <group> + + 6003F59E195388D20070C39A + + fileRef + 6003F59D195388D20070C39A + isa + PBXBuildFile + + 6003F5A5195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + path + KeyboardStateListenerViewController.h + sourceTree + <group> + + 6003F5A6195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + sourcecode.c.objc + path + KeyboardStateListenerViewController.m + sourceTree + <group> + + 6003F5A7195388D20070C39A + + fileRef + 6003F5A6195388D20070C39A + isa + PBXBuildFile + + 6003F5A8195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + folder.assetcatalog + path + Images.xcassets + sourceTree + <group> + + 6003F5A9195388D20070C39A + + fileRef + 6003F5A8195388D20070C39A + isa + PBXBuildFile + + 6003F5AA195388D20070C39A + + buildActionMask + 2147483647 + files + + 6003F5BC195388D20070C39A + + isa + PBXSourcesBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + 6003F5AB195388D20070C39A + + buildActionMask + 2147483647 + files + + 6003F5B0195388D20070C39A + 6003F5B2195388D20070C39A + 6003F5B1195388D20070C39A + 1D42C150517F42BF94F2FE87 + + isa + PBXFrameworksBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + 6003F5AC195388D20070C39A + + buildActionMask + 2147483647 + files + + 6003F5BA195388D20070C39A + + isa + PBXResourcesBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + 6003F5AD195388D20070C39A + + buildConfigurationList + 6003F5C2195388D20070C39A + buildPhases + + CC450D7B97725359793100E0 + 6003F5AA195388D20070C39A + 6003F5AB195388D20070C39A + 6003F5AC195388D20070C39A + 892B84A8B6BC268087955601 + 99643EBCA660824237C0DFBD + + buildRules + + dependencies + + 6003F5B4195388D20070C39A + + isa + PBXNativeTarget + name + PNKeyboardStateListener_Tests + productName + PNKeyboardStateListenerTests + productReference + 6003F5AE195388D20070C39A + productType + com.apple.product-type.bundle.unit-test + + 6003F5AE195388D20070C39A + + explicitFileType + wrapper.cfbundle + includeInIndex + 0 + isa + PBXFileReference + path + PNKeyboardStateListener_Tests.xctest + sourceTree + BUILT_PRODUCTS_DIR + + 6003F5AF195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + wrapper.framework + name + XCTest.framework + path + Library/Frameworks/XCTest.framework + sourceTree + DEVELOPER_DIR + + 6003F5B0195388D20070C39A + + fileRef + 6003F5AF195388D20070C39A + isa + PBXBuildFile + + 6003F5B1195388D20070C39A + + fileRef + 6003F58D195388D20070C39A + isa + PBXBuildFile + + 6003F5B2195388D20070C39A + + fileRef + 6003F591195388D20070C39A + isa + PBXBuildFile + + 6003F5B3195388D20070C39A + + containerPortal + 6003F582195388D10070C39A + isa + PBXContainerItemProxy + proxyType + 1 + remoteGlobalIDString + 6003F589195388D20070C39A + remoteInfo + PNKeyboardStateListener + + 6003F5B4195388D20070C39A + + isa + PBXTargetDependency + target + 6003F589195388D20070C39A + targetProxy + 6003F5B3195388D20070C39A + + 6003F5B5195388D20070C39A + + children + + 6003F5BB195388D20070C39A + 6003F5B6195388D20070C39A + + isa + PBXGroup + path + Tests + sourceTree + <group> + + 6003F5B6195388D20070C39A + + children + + 6003F5B7195388D20070C39A + 6003F5B8195388D20070C39A + 606FC2411953D9B200FFA9A0 + + isa + PBXGroup + name + Supporting Files + sourceTree + <group> + + 6003F5B7195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + text.plist.xml + path + Tests-Info.plist + sourceTree + <group> + + 6003F5B8195388D20070C39A + + children + + 6003F5B9195388D20070C39A + + isa + PBXVariantGroup + name + InfoPlist.strings + sourceTree + <group> + + 6003F5B9195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + text.plist.strings + name + en + path + en.lproj/InfoPlist.strings + sourceTree + <group> + + 6003F5BA195388D20070C39A + + fileRef + 6003F5B8195388D20070C39A + isa + PBXBuildFile + + 6003F5BB195388D20070C39A + + isa + PBXFileReference + lastKnownFileType + sourcecode.c.objc + path + Tests.m + sourceTree + <group> + + 6003F5BC195388D20070C39A + + fileRef + 6003F5BB195388D20070C39A + isa + PBXBuildFile + + 6003F5BD195388D20070C39A + + 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_BOOL_CONVERSION + 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_INT_CONVERSION + YES + CLANG_WARN_OBJC_ROOT_CLASS + YES_ERROR + CLANG_WARN__DUPLICATE_METHOD_MATCH + YES + CODE_SIGN_IDENTITY[sdk=iphoneos*] + iPhone Developer + COPY_PHASE_STRIP + NO + ENABLE_TESTABILITY + YES + GCC_C_LANGUAGE_STANDARD + gnu99 + GCC_DYNAMIC_NO_PIC + NO + 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 + 8.3 + ONLY_ACTIVE_ARCH + YES + SDKROOT + iphoneos + TARGETED_DEVICE_FAMILY + 1,2 + + isa + XCBuildConfiguration + name + Debug + + 6003F5BE195388D20070C39A + + 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_BOOL_CONVERSION + 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_INT_CONVERSION + YES + CLANG_WARN_OBJC_ROOT_CLASS + YES_ERROR + CLANG_WARN__DUPLICATE_METHOD_MATCH + YES + CODE_SIGN_IDENTITY[sdk=iphoneos*] + iPhone Developer + COPY_PHASE_STRIP + YES + ENABLE_NS_ASSERTIONS + NO + GCC_C_LANGUAGE_STANDARD + gnu99 + 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 + 8.3 + SDKROOT + iphoneos + TARGETED_DEVICE_FAMILY + 1,2 + VALIDATE_PRODUCT + YES + + isa + XCBuildConfiguration + name + Release + + 6003F5BF195388D20070C39A + + buildConfigurations + + 6003F5C0195388D20070C39A + 6003F5C1195388D20070C39A + + defaultConfigurationIsVisible + 0 + defaultConfigurationName + Release + isa + XCConfigurationList + + 6003F5C0195388D20070C39A + + baseConfigurationReference + A3009D9F8B8CEF4D6DE936AE + buildSettings + + ASSETCATALOG_COMPILER_APPICON_NAME + AppIcon + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME + LaunchImage + GCC_PRECOMPILE_PREFIX_HEADER + YES + GCC_PREFIX_HEADER + PNKeyboardStateListener/PNKeyboardStateListener-Prefix.pch + INFOPLIST_FILE + PNKeyboardStateListener/PNKeyboardStateListener-Info.plist + MODULE_NAME + ExampleApp + PRODUCT_BUNDLE_IDENTIFIER + org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier} + PRODUCT_NAME + $(TARGET_NAME) + WRAPPER_EXTENSION + app + + isa + XCBuildConfiguration + name + Debug + + 6003F5C1195388D20070C39A + + baseConfigurationReference + 797F41E5017AB5DA9A6825B8 + buildSettings + + ASSETCATALOG_COMPILER_APPICON_NAME + AppIcon + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME + LaunchImage + GCC_PRECOMPILE_PREFIX_HEADER + YES + GCC_PREFIX_HEADER + PNKeyboardStateListener/PNKeyboardStateListener-Prefix.pch + INFOPLIST_FILE + PNKeyboardStateListener/PNKeyboardStateListener-Info.plist + MODULE_NAME + ExampleApp + PRODUCT_BUNDLE_IDENTIFIER + org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier} + PRODUCT_NAME + $(TARGET_NAME) + WRAPPER_EXTENSION + app + + isa + XCBuildConfiguration + name + Release + + 6003F5C2195388D20070C39A + + buildConfigurations + + 6003F5C3195388D20070C39A + 6003F5C4195388D20070C39A + + defaultConfigurationIsVisible + 0 + defaultConfigurationName + Release + isa + XCConfigurationList + + 6003F5C3195388D20070C39A + + baseConfigurationReference + D6CC11B2027607CE166CACB3 + buildSettings + + BUNDLE_LOADER + $(TEST_HOST) + FRAMEWORK_SEARCH_PATHS + + $(SDKROOT)/Developer/Library/Frameworks + $(inherited) + $(DEVELOPER_FRAMEWORKS_DIR) + + GCC_PRECOMPILE_PREFIX_HEADER + YES + GCC_PREFIX_HEADER + Tests/Tests-Prefix.pch + GCC_PREPROCESSOR_DEFINITIONS + + DEBUG=1 + $(inherited) + + INFOPLIST_FILE + Tests/Tests-Info.plist + PRODUCT_BUNDLE_IDENTIFIER + org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier} + PRODUCT_NAME + $(TARGET_NAME) + TEST_HOST + $(BUILT_PRODUCTS_DIR)/PNKeyboardStateListener_Example.app/PNKeyboardStateListener_Example + WRAPPER_EXTENSION + xctest + + isa + XCBuildConfiguration + name + Debug + + 6003F5C4195388D20070C39A + + baseConfigurationReference + FDFC5A93A89DEBD0FB6D11B6 + buildSettings + + BUNDLE_LOADER + $(TEST_HOST) + FRAMEWORK_SEARCH_PATHS + + $(SDKROOT)/Developer/Library/Frameworks + $(inherited) + $(DEVELOPER_FRAMEWORKS_DIR) + + GCC_PRECOMPILE_PREFIX_HEADER + YES + GCC_PREFIX_HEADER + Tests/Tests-Prefix.pch + INFOPLIST_FILE + Tests/Tests-Info.plist + PRODUCT_BUNDLE_IDENTIFIER + org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier} + PRODUCT_NAME + $(TARGET_NAME) + TEST_HOST + $(BUILT_PRODUCTS_DIR)/PNKeyboardStateListener_Example.app/PNKeyboardStateListener_Example + WRAPPER_EXTENSION + xctest + + isa + XCBuildConfiguration + name + Release + + 606FC2411953D9B200FFA9A0 + + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + path + Tests-Prefix.pch + sourceTree + <group> + + 60FF7A9C1954A5C5007DD14C + + children + + 3C617E2923B89633336AAF02 + CE302DF752234C4B9D50E999 + 3AFF857C1B786FFB23F04A09 + + isa + PBXGroup + name + Podspec Metadata + sourceTree + <group> + + 797F41E5017AB5DA9A6825B8 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + text.xcconfig + name + Pods-PNKeyboardStateListener_Example.release.xcconfig + path + Pods/Target Support Files/Pods-PNKeyboardStateListener_Example/Pods-PNKeyboardStateListener_Example.release.xcconfig + sourceTree + <group> + + 7DEB810B2C3D130BB9519C16 + + children + + A3009D9F8B8CEF4D6DE936AE + 797F41E5017AB5DA9A6825B8 + D6CC11B2027607CE166CACB3 + FDFC5A93A89DEBD0FB6D11B6 + + isa + PBXGroup + name + Pods + sourceTree + <group> + + 873B8AEA1B1F5CCA007FD442 + + fileEncoding + 4 + isa + PBXFileReference + lastKnownFileType + file.storyboard + path + Main.storyboard + sourceTree + <group> + + 873B8AEB1B1F5CCA007FD442 + + fileRef + 873B8AEA1B1F5CCA007FD442 + isa + PBXBuildFile + + 892B84A8B6BC268087955601 + + buildActionMask + 2147483647 + files + + inputPaths + + isa + PBXShellScriptBuildPhase + name + Embed Pods Frameworks + outputPaths + + runOnlyForDeploymentPostprocessing + 0 + shellPath + /bin/sh + shellScript + "${SRCROOT}/Pods/Target Support Files/Pods-PNKeyboardStateListener_Tests/Pods-PNKeyboardStateListener_Tests-frameworks.sh" + + showEnvVarsInLog + 0 + + 99643EBCA660824237C0DFBD + + buildActionMask + 2147483647 + files + + inputPaths + + isa + PBXShellScriptBuildPhase + name + Copy Pods Resources + outputPaths + + runOnlyForDeploymentPostprocessing + 0 + shellPath + /bin/sh + shellScript + "${SRCROOT}/Pods/Target Support Files/Pods-PNKeyboardStateListener_Tests/Pods-PNKeyboardStateListener_Tests-resources.sh" + + showEnvVarsInLog + 0 + + 9F9E22A3E1F30578E4376B62 + + buildActionMask + 2147483647 + files + + inputPaths + + isa + PBXShellScriptBuildPhase + name + Copy Pods Resources + outputPaths + + runOnlyForDeploymentPostprocessing + 0 + shellPath + /bin/sh + shellScript + "${SRCROOT}/Pods/Target Support Files/Pods-PNKeyboardStateListener_Example/Pods-PNKeyboardStateListener_Example-resources.sh" + + showEnvVarsInLog + 0 + + A3009D9F8B8CEF4D6DE936AE + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + text.xcconfig + name + Pods-PNKeyboardStateListener_Example.debug.xcconfig + path + Pods/Target Support Files/Pods-PNKeyboardStateListener_Example/Pods-PNKeyboardStateListener_Example.debug.xcconfig + sourceTree + <group> + + B483D79C8E5C738A71359793 + + buildActionMask + 2147483647 + files + + inputPaths + + isa + PBXShellScriptBuildPhase + name + Check Pods Manifest.lock + outputPaths + + runOnlyForDeploymentPostprocessing + 0 + shellPath + /bin/sh + shellScript + diff "${PODS_ROOT}/../Podfile.lock" "${PODS_ROOT}/Manifest.lock" > /dev/null +if [[ $? != 0 ]] ; then + cat << EOM +error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation. +EOM + exit 1 +fi + + showEnvVarsInLog + 0 + + CC450D7B97725359793100E0 + + buildActionMask + 2147483647 + files + + inputPaths + + isa + PBXShellScriptBuildPhase + name + Check Pods Manifest.lock + outputPaths + + runOnlyForDeploymentPostprocessing + 0 + shellPath + /bin/sh + shellScript + diff "${PODS_ROOT}/../Podfile.lock" "${PODS_ROOT}/Manifest.lock" > /dev/null +if [[ $? != 0 ]] ; then + cat << EOM +error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation. +EOM + exit 1 +fi + + showEnvVarsInLog + 0 + + CE302DF752234C4B9D50E999 + + includeInIndex + 1 + isa + PBXFileReference + name + README.md + path + ../README.md + sourceTree + <group> + + D6CC11B2027607CE166CACB3 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + text.xcconfig + name + Pods-PNKeyboardStateListener_Tests.debug.xcconfig + path + Pods/Target Support Files/Pods-PNKeyboardStateListener_Tests/Pods-PNKeyboardStateListener_Tests.debug.xcconfig + sourceTree + <group> + + DBACAE1F533F3C33F8769C70 + + buildActionMask + 2147483647 + files + + inputPaths + + isa + PBXShellScriptBuildPhase + name + Embed Pods Frameworks + outputPaths + + runOnlyForDeploymentPostprocessing + 0 + shellPath + /bin/sh + shellScript + "${SRCROOT}/Pods/Target Support Files/Pods-PNKeyboardStateListener_Example/Pods-PNKeyboardStateListener_Example-frameworks.sh" + + showEnvVarsInLog + 0 + + FB6B769262C1BFB8D47C8A08 + + explicitFileType + wrapper.framework + includeInIndex + 0 + isa + PBXFileReference + path + Pods_PNKeyboardStateListener_Tests.framework + sourceTree + BUILT_PRODUCTS_DIR + + FDFC5A93A89DEBD0FB6D11B6 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + text.xcconfig + name + Pods-PNKeyboardStateListener_Tests.release.xcconfig + path + Pods/Target Support Files/Pods-PNKeyboardStateListener_Tests/Pods-PNKeyboardStateListener_Tests.release.xcconfig + sourceTree + <group> + + + rootObject + 6003F582195388D10070C39A + + diff --git a/Example/PNKeyboardStateListener.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Example/PNKeyboardStateListener.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..9736b5e --- /dev/null +++ b/Example/PNKeyboardStateListener.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Example/PNKeyboardStateListener.xcodeproj/xcshareddata/xcschemes/PNKeyboardStateListener-Example.xcscheme b/Example/PNKeyboardStateListener.xcodeproj/xcshareddata/xcschemes/PNKeyboardStateListener-Example.xcscheme new file mode 100644 index 0000000..616e762 --- /dev/null +++ b/Example/PNKeyboardStateListener.xcodeproj/xcshareddata/xcschemes/PNKeyboardStateListener-Example.xcscheme @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example/PNKeyboardStateListener/Images.xcassets/AppIcon.appiconset/Contents.json b/Example/PNKeyboardStateListener/Images.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..f697f61 --- /dev/null +++ b/Example/PNKeyboardStateListener/Images.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,53 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} diff --git a/Example/PNKeyboardStateListener/Images.xcassets/LaunchImage.launchimage/Contents.json b/Example/PNKeyboardStateListener/Images.xcassets/LaunchImage.launchimage/Contents.json new file mode 100644 index 0000000..4458b40 --- /dev/null +++ b/Example/PNKeyboardStateListener/Images.xcassets/LaunchImage.launchimage/Contents.json @@ -0,0 +1,51 @@ +{ + "images" : [ + { + "orientation" : "portrait", + "idiom" : "iphone", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "2x" + }, + { + "orientation" : "portrait", + "idiom" : "iphone", + "subtype" : "retina4", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "2x" + }, + { + "orientation" : "portrait", + "idiom" : "ipad", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "1x" + }, + { + "orientation" : "landscape", + "idiom" : "ipad", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "1x" + }, + { + "orientation" : "portrait", + "idiom" : "ipad", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "2x" + }, + { + "orientation" : "landscape", + "idiom" : "ipad", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} diff --git a/Example/PNKeyboardStateListener/KeyboardStateListenerAppDelegate.h b/Example/PNKeyboardStateListener/KeyboardStateListenerAppDelegate.h new file mode 100644 index 0000000..2c09578 --- /dev/null +++ b/Example/PNKeyboardStateListener/KeyboardStateListenerAppDelegate.h @@ -0,0 +1,15 @@ +// +// KeyboardStateListenerAppDelegate.h +// PNKeyboardStateListener +// +// Created by Giuseppe Nucifora on 04/18/2016. +// Copyright (c) 2016 Giuseppe Nucifora. All rights reserved. +// + +@import UIKit; + +@interface KeyboardStateListenerAppDelegate : UIResponder + +@property (strong, nonatomic) UIWindow *window; + +@end diff --git a/Example/PNKeyboardStateListener/KeyboardStateListenerAppDelegate.m b/Example/PNKeyboardStateListener/KeyboardStateListenerAppDelegate.m new file mode 100644 index 0000000..0474e36 --- /dev/null +++ b/Example/PNKeyboardStateListener/KeyboardStateListenerAppDelegate.m @@ -0,0 +1,46 @@ +// +// KeyboardStateListenerAppDelegate.m +// PNKeyboardStateListener +// +// Created by Giuseppe Nucifora on 04/18/2016. +// Copyright (c) 2016 Giuseppe Nucifora. All rights reserved. +// + +#import "KeyboardStateListenerAppDelegate.h" + +@implementation KeyboardStateListenerAppDelegate + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions +{ + // Override point for customization after application launch. + return YES; +} + +- (void)applicationWillResignActive:(UIApplication *)application +{ + // 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. +} + +- (void)applicationDidEnterBackground:(UIApplication *)application +{ + // 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. +} + +- (void)applicationWillEnterForeground:(UIApplication *)application +{ + // 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. +} + +- (void)applicationDidBecomeActive:(UIApplication *)application +{ + // 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. +} + +- (void)applicationWillTerminate:(UIApplication *)application +{ + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. +} + +@end diff --git a/Example/PNKeyboardStateListener/KeyboardStateListenerViewController.h b/Example/PNKeyboardStateListener/KeyboardStateListenerViewController.h new file mode 100644 index 0000000..955061a --- /dev/null +++ b/Example/PNKeyboardStateListener/KeyboardStateListenerViewController.h @@ -0,0 +1,13 @@ +// +// KeyboardStateListenerViewController.h +// PNKeyboardStateListener +// +// Created by Giuseppe Nucifora on 04/18/2016. +// Copyright (c) 2016 Giuseppe Nucifora. All rights reserved. +// + +@import UIKit; + +@interface KeyboardStateListenerViewController : UIViewController + +@end diff --git a/Example/PNKeyboardStateListener/KeyboardStateListenerViewController.m b/Example/PNKeyboardStateListener/KeyboardStateListenerViewController.m new file mode 100644 index 0000000..435e1a7 --- /dev/null +++ b/Example/PNKeyboardStateListener/KeyboardStateListenerViewController.m @@ -0,0 +1,29 @@ +// +// KeyboardStateListenerViewController.m +// PNKeyboardStateListener +// +// Created by Giuseppe Nucifora on 04/18/2016. +// Copyright (c) 2016 Giuseppe Nucifora. All rights reserved. +// + +#import "KeyboardStateListenerViewController.h" + +@interface KeyboardStateListenerViewController () + +@end + +@implementation KeyboardStateListenerViewController + +- (void)viewDidLoad +{ + [super viewDidLoad]; + // Do any additional setup after loading the view, typically from a nib. +} + +- (void)didReceiveMemoryWarning +{ + [super didReceiveMemoryWarning]; + // Dispose of any resources that can be recreated. +} + +@end diff --git a/Example/PNKeyboardStateListener/Main.storyboard b/Example/PNKeyboardStateListener/Main.storyboard new file mode 100644 index 0000000..7a3279f --- /dev/null +++ b/Example/PNKeyboardStateListener/Main.storyboard @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example/PNKeyboardStateListener/PNKeyboardStateListener-Info.plist b/Example/PNKeyboardStateListener/PNKeyboardStateListener-Info.plist new file mode 100644 index 0000000..b06b79c --- /dev/null +++ b/Example/PNKeyboardStateListener/PNKeyboardStateListener-Info.plist @@ -0,0 +1,47 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + ${PRODUCT_NAME} + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/Example/PNKeyboardStateListener/PNKeyboardStateListener-Prefix.pch b/Example/PNKeyboardStateListener/PNKeyboardStateListener-Prefix.pch new file mode 100644 index 0000000..7825372 --- /dev/null +++ b/Example/PNKeyboardStateListener/PNKeyboardStateListener-Prefix.pch @@ -0,0 +1,16 @@ +// +// Prefix header +// +// The contents of this file are implicitly included at the beginning of every source file. +// + +#import + +#ifndef __IPHONE_5_0 +#warning "This project uses features only available in iOS SDK 5.0 and later." +#endif + +#ifdef __OBJC__ + @import UIKit; + @import Foundation; +#endif diff --git a/Example/PNKeyboardStateListener/en.lproj/InfoPlist.strings b/Example/PNKeyboardStateListener/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/Example/PNKeyboardStateListener/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/Example/PNKeyboardStateListener/main.m b/Example/PNKeyboardStateListener/main.m new file mode 100644 index 0000000..b7d877a --- /dev/null +++ b/Example/PNKeyboardStateListener/main.m @@ -0,0 +1,17 @@ +// +// main.m +// PNKeyboardStateListener +// +// Created by Giuseppe Nucifora on 04/18/2016. +// Copyright (c) 2016 Giuseppe Nucifora. All rights reserved. +// + +@import UIKit; +#import "KeyboardStateListenerAppDelegate.h" + +int main(int argc, char * argv[]) +{ + @autoreleasepool { + return UIApplicationMain(argc, argv, nil, NSStringFromClass([KeyboardStateListenerAppDelegate class])); + } +} diff --git a/Example/Podfile b/Example/Podfile new file mode 100644 index 0000000..c9838da --- /dev/null +++ b/Example/Podfile @@ -0,0 +1,14 @@ +use_frameworks! + +target 'PNKeyboardStateListener_Example', :exclusive => true do + pod 'PNKeyboardStateListener', :path => '../' +end + +target 'PNKeyboardStateListener_Tests', :exclusive => true do + pod 'PNKeyboardStateListener', :path => '../' + + pod 'Specta' + pod 'Expecta' + pod 'FBSnapshotTestCase' + pod 'Expecta+Snapshots' +end diff --git a/Example/Tests/Tests-Info.plist b/Example/Tests/Tests-Info.plist new file mode 100644 index 0000000..169b6f7 --- /dev/null +++ b/Example/Tests/Tests-Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/Example/Tests/Tests-Prefix.pch b/Example/Tests/Tests-Prefix.pch new file mode 100644 index 0000000..03fba25 --- /dev/null +++ b/Example/Tests/Tests-Prefix.pch @@ -0,0 +1,10 @@ +// The contents of this file are implicitly included at the beginning of every test case source file. + +#ifdef __OBJC__ + + @import Specta; + @import Expecta; + @import FBSnapshotTestCase; + @import Expecta_Snapshots; + +#endif diff --git a/Example/Tests/Tests.m b/Example/Tests/Tests.m new file mode 100644 index 0000000..840d202 --- /dev/null +++ b/Example/Tests/Tests.m @@ -0,0 +1,48 @@ +// +// PNKeyboardStateListenerTests.m +// PNKeyboardStateListenerTests +// +// Created by Giuseppe Nucifora on 04/18/2016. +// Copyright (c) 2016 Giuseppe Nucifora. All rights reserved. +// + +// https://github.com/Specta/Specta + +SpecBegin(InitialSpecs) + +describe(@"these will fail", ^{ + + it(@"can do maths", ^{ + expect(1).to.equal(2); + }); + + it(@"can read", ^{ + expect(@"number").to.equal(@"string"); + }); + + it(@"will wait for 10 seconds and fail", ^{ + waitUntil(^(DoneCallback done) { + + }); + }); +}); + +describe(@"these will pass", ^{ + + it(@"can do maths", ^{ + expect(1).beLessThan(23); + }); + + it(@"can read", ^{ + expect(@"team").toNot.contain(@"I"); + }); + + it(@"will wait and succeed", ^{ + waitUntil(^(DoneCallback done) { + done(); + }); + }); +}); + +SpecEnd + diff --git a/Example/Tests/en.lproj/InfoPlist.strings b/Example/Tests/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/Example/Tests/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..dcf91e5 --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2016 Giuseppe Nucifora + +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/PNKeyboardStateListener.podspec b/PNKeyboardStateListener.podspec new file mode 100644 index 0000000..9652f3e --- /dev/null +++ b/PNKeyboardStateListener.podspec @@ -0,0 +1,40 @@ +# +# Be sure to run `pod lib lint PNKeyboardStateListener.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 = "PNKeyboardStateListener" + s.version = "0.1.0" + s.summary = "A short description of PNKeyboardStateListener." + +# 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 + DESC + + s.homepage = "https://github.com//PNKeyboardStateListener" + # s.screenshots = "www.example.com/screenshots_1", "www.example.com/screenshots_2" + s.license = 'MIT' + s.author = { "Giuseppe Nucifora" => "me@giuseppenucifora.com" } + s.source = { :git => "https://github.com//PNKeyboardStateListener.git", :tag => s.version.to_s } + # s.social_media_url = 'https://twitter.com/' + + s.ios.deployment_target = '8.0' + + s.source_files = 'PNKeyboardStateListener/Classes/**/*' + s.resource_bundles = { + 'PNKeyboardStateListener' => ['PNKeyboardStateListener/Assets/*.png'] + } + + # s.public_header_files = 'Pod/Classes/**/*.h' + # s.frameworks = 'UIKit', 'MapKit' + # s.dependency 'AFNetworking', '~> 2.3' +end diff --git a/PNKeyboardStateListener/Assets/.gitkeep b/PNKeyboardStateListener/Assets/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/PNKeyboardStateListener/Classes/.gitkeep b/PNKeyboardStateListener/Classes/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/PNKeyboardStateListener/Classes/ReplaceMe.m b/PNKeyboardStateListener/Classes/ReplaceMe.m new file mode 100644 index 0000000..e69de29 diff --git a/README.md b/README.md new file mode 100644 index 0000000..0c1c534 --- /dev/null +++ b/README.md @@ -0,0 +1,29 @@ +# PNKeyboardStateListener + +[![CI Status](http://img.shields.io/travis/Giuseppe Nucifora/PNKeyboardStateListener.svg?style=flat)](https://travis-ci.org/Giuseppe Nucifora/PNKeyboardStateListener) +[![Version](https://img.shields.io/cocoapods/v/PNKeyboardStateListener.svg?style=flat)](http://cocoapods.org/pods/PNKeyboardStateListener) +[![License](https://img.shields.io/cocoapods/l/PNKeyboardStateListener.svg?style=flat)](http://cocoapods.org/pods/PNKeyboardStateListener) +[![Platform](https://img.shields.io/cocoapods/p/PNKeyboardStateListener.svg?style=flat)](http://cocoapods.org/pods/PNKeyboardStateListener) + +## Usage + +To run the example project, clone the repo, and run `pod install` from the Example directory first. + +## Requirements + +## Installation + +PNKeyboardStateListener is available through [CocoaPods](http://cocoapods.org). To install +it, simply add the following line to your Podfile: + +```ruby +pod "PNKeyboardStateListener" +``` + +## Author + +Giuseppe Nucifora, me@giuseppenucifora.com + +## License + +PNKeyboardStateListener 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