diff --git a/Example/KGFloatingDrawer-Example.xcodeproj/project.pbxproj b/Example/KGFloatingDrawer-Example.xcodeproj/project.pbxproj index 61efcb8..12cc17a 100644 --- a/Example/KGFloatingDrawer-Example.xcodeproj/project.pbxproj +++ b/Example/KGFloatingDrawer-Example.xcodeproj/project.pbxproj @@ -7,6 +7,7 @@ objects = { /* Begin PBXBuildFile section */ + 123F68C717651F19F7C8F7D9 /* Pods_KGFloatingDrawer_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 78F91D209433C2F72D171FB6 /* Pods_KGFloatingDrawer_Example.framework */; }; 1F441BFD1AA6A745005772A1 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1F441BFB1AA6A745005772A1 /* LaunchScreen.xib */; }; 1F441C091AA6A745005772A1 /* KGFloatingDrawer_ExampleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1F441C081AA6A745005772A1 /* KGFloatingDrawer_ExampleTests.swift */; }; 1F441C181AA6AE19005772A1 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1F441C121AA6AE19005772A1 /* AppDelegate.swift */; }; @@ -15,7 +16,7 @@ 1F441C1B1AA6AE19005772A1 /* KGDrawerSettingsTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1F441C151AA6AE19005772A1 /* KGDrawerSettingsTableViewController.swift */; }; 1F441C1C1AA6AE19005772A1 /* KGDrawerWebViewViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1F441C161AA6AE19005772A1 /* KGDrawerWebViewViewController.swift */; }; 1F441C1D1AA6AE19005772A1 /* LeftDrawerTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1F441C171AA6AE19005772A1 /* LeftDrawerTableViewController.swift */; }; - 8C09F118ED931F787483136F /* Pods_KGFloatingDrawer_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DA08E459ED5F3517BF19F394 /* Pods_KGFloatingDrawer_Example.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; + 806E733977E9B5407B1ABB92 /* Pods_KGFloatingDrawer_ExampleTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 32C544AAFDD754DFC176AA6A /* Pods_KGFloatingDrawer_ExampleTests.framework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -29,21 +30,24 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - 01B2AB81D863D8EDA47432CC /* Pods-KGFloatingDrawer-Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KGFloatingDrawer-Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example.debug.xcconfig"; sourceTree = ""; }; - 1DC3D2E52604AA455F7D40D7 /* Pods-KGFloatingDrawer-Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KGFloatingDrawer-Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example.release.xcconfig"; sourceTree = ""; }; + 1E16E4BF1DE91FAEFAB9903B /* Pods-KGFloatingDrawer-Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KGFloatingDrawer-Example.debug.xcconfig"; path = "Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example.debug.xcconfig"; sourceTree = ""; }; 1F441BED1AA6A745005772A1 /* KGFloatingDrawer-Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "KGFloatingDrawer-Example.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 1F441BF11AA6A745005772A1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 1F441BFC1AA6A745005772A1 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 1F441C021AA6A745005772A1 /* KGFloatingDrawer-ExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "KGFloatingDrawer-ExampleTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 1F441C071AA6A745005772A1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 1F441C081AA6A745005772A1 /* KGFloatingDrawer_ExampleTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KGFloatingDrawer_ExampleTests.swift; sourceTree = ""; }; - 1F441C121AA6AE19005772A1 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 1F441C121AA6AE19005772A1 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; usesTabs = 0; }; 1F441C131AA6AE19005772A1 /* Drawers.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Drawers.storyboard; sourceTree = ""; }; 1F441C141AA6AE19005772A1 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - 1F441C151AA6AE19005772A1 /* KGDrawerSettingsTableViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = KGDrawerSettingsTableViewController.swift; sourceTree = ""; }; - 1F441C161AA6AE19005772A1 /* KGDrawerWebViewViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = KGDrawerWebViewViewController.swift; sourceTree = ""; }; - 1F441C171AA6AE19005772A1 /* LeftDrawerTableViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LeftDrawerTableViewController.swift; sourceTree = ""; }; - DA08E459ED5F3517BF19F394 /* Pods_KGFloatingDrawer_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_KGFloatingDrawer_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 1F441C151AA6AE19005772A1 /* KGDrawerSettingsTableViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = KGDrawerSettingsTableViewController.swift; sourceTree = ""; usesTabs = 0; }; + 1F441C161AA6AE19005772A1 /* KGDrawerWebViewViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = KGDrawerWebViewViewController.swift; sourceTree = ""; usesTabs = 0; }; + 1F441C171AA6AE19005772A1 /* LeftDrawerTableViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LeftDrawerTableViewController.swift; sourceTree = ""; usesTabs = 0; }; + 32C544AAFDD754DFC176AA6A /* Pods_KGFloatingDrawer_ExampleTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_KGFloatingDrawer_ExampleTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 45285703E1FEC57C335B8ADC /* Pods-KGFloatingDrawer-ExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KGFloatingDrawer-ExampleTests.release.xcconfig"; path = "Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests.release.xcconfig"; sourceTree = ""; }; + 6A8138A82EA93310804F84EA /* Pods-KGFloatingDrawer-Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KGFloatingDrawer-Example.release.xcconfig"; path = "Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example.release.xcconfig"; sourceTree = ""; }; + 78F91D209433C2F72D171FB6 /* Pods_KGFloatingDrawer_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_KGFloatingDrawer_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + D15F4ED4853ECE22A63BD431 /* Pods-KGFloatingDrawer-ExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KGFloatingDrawer-ExampleTests.debug.xcconfig"; path = "Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests.debug.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -51,7 +55,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 8C09F118ED931F787483136F /* Pods_KGFloatingDrawer_Example.framework in Frameworks */, + 123F68C717651F19F7C8F7D9 /* Pods_KGFloatingDrawer_Example.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -59,6 +63,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 806E733977E9B5407B1ABB92 /* Pods_KGFloatingDrawer_ExampleTests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -71,10 +76,11 @@ 1F441BEF1AA6A745005772A1 /* KGFloatingDrawer-Example */, 1F441C051AA6A745005772A1 /* KGFloatingDrawer-ExampleTests */, 1F441BEE1AA6A745005772A1 /* Products */, - 550CB92250482D0B3A327A9E /* Pods */, - E6FFB1C99687606A26E9F6A0 /* Frameworks */, + C5240CDD552A3AAB49EA9290 /* Pods */, + FF2F98923FCEC8ABADA11DB7 /* Frameworks */, ); sourceTree = ""; + usesTabs = 0; }; 1F441BEE1AA6A745005772A1 /* Products */ = { isa = PBXGroup; @@ -125,19 +131,22 @@ name = "Supporting Files"; sourceTree = ""; }; - 550CB92250482D0B3A327A9E /* Pods */ = { + C5240CDD552A3AAB49EA9290 /* Pods */ = { isa = PBXGroup; children = ( - 01B2AB81D863D8EDA47432CC /* Pods-KGFloatingDrawer-Example.debug.xcconfig */, - 1DC3D2E52604AA455F7D40D7 /* Pods-KGFloatingDrawer-Example.release.xcconfig */, + 1E16E4BF1DE91FAEFAB9903B /* Pods-KGFloatingDrawer-Example.debug.xcconfig */, + 6A8138A82EA93310804F84EA /* Pods-KGFloatingDrawer-Example.release.xcconfig */, + D15F4ED4853ECE22A63BD431 /* Pods-KGFloatingDrawer-ExampleTests.debug.xcconfig */, + 45285703E1FEC57C335B8ADC /* Pods-KGFloatingDrawer-ExampleTests.release.xcconfig */, ); - name = Pods; + path = Pods; sourceTree = ""; }; - E6FFB1C99687606A26E9F6A0 /* Frameworks */ = { + FF2F98923FCEC8ABADA11DB7 /* Frameworks */ = { isa = PBXGroup; children = ( - DA08E459ED5F3517BF19F394 /* Pods_KGFloatingDrawer_Example.framework */, + 78F91D209433C2F72D171FB6 /* Pods_KGFloatingDrawer_Example.framework */, + 32C544AAFDD754DFC176AA6A /* Pods_KGFloatingDrawer_ExampleTests.framework */, ); name = Frameworks; sourceTree = ""; @@ -149,12 +158,11 @@ isa = PBXNativeTarget; buildConfigurationList = 1F441C0C1AA6A745005772A1 /* Build configuration list for PBXNativeTarget "KGFloatingDrawer-Example" */; buildPhases = ( - EEBDE45A7F2FD9E056F739EB /* Check Pods Manifest.lock */, + B10B9D68B0E77D2F2A66035A /* [CP] Check Pods Manifest.lock */, 1F441BE91AA6A745005772A1 /* Sources */, 1F441BEA1AA6A745005772A1 /* Frameworks */, 1F441BEB1AA6A745005772A1 /* Resources */, - F48B17B99145B962BCF52BE3 /* Embed Pods Frameworks */, - 69DC89266D137194AFB03EF6 /* Copy Pods Resources */, + CBF6865FF8B05C8879906432 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -169,6 +177,7 @@ isa = PBXNativeTarget; buildConfigurationList = 1F441C0F1AA6A745005772A1 /* Build configuration list for PBXNativeTarget "KGFloatingDrawer-ExampleTests" */; buildPhases = ( + 4314479EB46659440B9227B8 /* [CP] Check Pods Manifest.lock */, 1F441BFE1AA6A745005772A1 /* Sources */, 1F441BFF1AA6A745005772A1 /* Frameworks */, 1F441C001AA6A745005772A1 /* Resources */, @@ -191,7 +200,7 @@ attributes = { LastSwiftMigration = 0700; LastSwiftUpdateCheck = 0700; - LastUpgradeCheck = 0710; + LastUpgradeCheck = 1020; ORGANIZATIONNAME = "Kyle Goddard"; TargetAttributes = { 1F441BEC1AA6A745005772A1 = { @@ -205,7 +214,7 @@ }; buildConfigurationList = 1F441BE81AA6A745005772A1 /* Build configuration list for PBXProject "KGFloatingDrawer-Example" */; compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; + developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( en, @@ -243,49 +252,66 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ - 69DC89266D137194AFB03EF6 /* Copy Pods Resources */ = { + 4314479EB46659440B9227B8 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); + inputFileListPaths = ( + ); inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( ); - name = "Copy Pods Resources"; outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-KGFloatingDrawer-ExampleTests-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-resources.sh\"\n"; + 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; }; - EEBDE45A7F2FD9E056F739EB /* Check Pods Manifest.lock */ = { + B10B9D68B0E77D2F2A66035A /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); + inputFileListPaths = ( + ); inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( ); - name = "Check Pods Manifest.lock"; outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-KGFloatingDrawer-Example-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; + 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; }; - F48B17B99145B962BCF52BE3 /* Embed Pods Frameworks */ = { + CBF6865FF8B05C8879906432 /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/KGFloatingDrawer/KGFloatingDrawer.framework", ); - name = "Embed Pods Frameworks"; + name = "[CP] Embed Pods Frameworks"; outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/KGFloatingDrawer.framework", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-frameworks.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; /* End PBXShellScriptBuildPhase section */ @@ -340,13 +366,23 @@ 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_DEPRECATED_OBJC_IMPLEMENTATIONS = 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_IMPLICIT_RETAIN_SELF = 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"; @@ -356,6 +392,7 @@ 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", @@ -373,6 +410,7 @@ ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; }; name = Debug; @@ -385,13 +423,23 @@ 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_DEPRECATED_OBJC_IMPLEMENTATIONS = 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_IMPLICIT_RETAIN_SELF = 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"; @@ -400,6 +448,7 @@ 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; @@ -409,6 +458,8 @@ IPHONEOS_DEPLOYMENT_TARGET = 8.3; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; }; @@ -416,7 +467,7 @@ }; 1F441C0D1AA6A745005772A1 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 01B2AB81D863D8EDA47432CC /* Pods-KGFloatingDrawer-Example.debug.xcconfig */; + baseConfigurationReference = 1E16E4BF1DE91FAEFAB9903B /* Pods-KGFloatingDrawer-Example.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = "KGFloatingDrawer-Example/Info.plist"; @@ -429,7 +480,7 @@ }; 1F441C0E1AA6A745005772A1 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 1DC3D2E52604AA455F7D40D7 /* Pods-KGFloatingDrawer-Example.release.xcconfig */; + baseConfigurationReference = 6A8138A82EA93310804F84EA /* Pods-KGFloatingDrawer-Example.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = "KGFloatingDrawer-Example/Info.plist"; @@ -442,6 +493,7 @@ }; 1F441C101AA6A745005772A1 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = D15F4ED4853ECE22A63BD431 /* Pods-KGFloatingDrawer-ExampleTests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; FRAMEWORK_SEARCH_PATHS = ( @@ -462,6 +514,7 @@ }; 1F441C111AA6A745005772A1 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 45285703E1FEC57C335B8ADC /* Pods-KGFloatingDrawer-ExampleTests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; FRAMEWORK_SEARCH_PATHS = ( diff --git a/Example/KGFloatingDrawer-Example.xcodeproj/xcuserdata/yunus.tek.xcuserdatad/xcschemes/xcschememanagement.plist b/Example/KGFloatingDrawer-Example.xcodeproj/xcuserdata/yunus.tek.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..0d11041 --- /dev/null +++ b/Example/KGFloatingDrawer-Example.xcodeproj/xcuserdata/yunus.tek.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + KGFloatingDrawer-Example.xcscheme_^#shared#^_ + + orderHint + 3 + + + + diff --git a/Example/KGFloatingDrawer-Example.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Example/KGFloatingDrawer-Example.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/Example/KGFloatingDrawer-Example.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Example/KGFloatingDrawer-Example.xcworkspace/xcuserdata/yunus.tek.xcuserdatad/UserInterfaceState.xcuserstate b/Example/KGFloatingDrawer-Example.xcworkspace/xcuserdata/yunus.tek.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..248f0ed Binary files /dev/null and b/Example/KGFloatingDrawer-Example.xcworkspace/xcuserdata/yunus.tek.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/Example/KGFloatingDrawer-Example/AppDelegate.swift b/Example/KGFloatingDrawer-Example/AppDelegate.swift index cb2dfa4..c5f5878 100644 --- a/Example/KGFloatingDrawer-Example/AppDelegate.swift +++ b/Example/KGFloatingDrawer-Example/AppDelegate.swift @@ -22,9 +22,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate { let kKGRightDrawerStoryboardId = "KGRightDrawerViewControllerStoryboardId" - func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool { // Override point for customization after application launch. - window = UIWindow(frame: UIScreen.mainScreen().bounds) + window = UIWindow(frame: UIScreen.main.bounds) window?.rootViewController = drawerViewController @@ -33,25 +33,25 @@ class AppDelegate: UIResponder, UIApplicationDelegate { return true } - func applicationWillResignActive(application: UIApplication) { + 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. + // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the private game. } - func applicationDidEnterBackground(application: UIApplication) { + 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) { + 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) { + 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) { + func applicationWillTerminate(_ application: UIApplication) { // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. } @@ -84,38 +84,38 @@ class AppDelegate: UIResponder, UIApplicationDelegate { } private func viewControllerForStoryboardId(storyboardId: String) -> UIViewController { - let viewController: UIViewController = drawerStoryboard().instantiateViewControllerWithIdentifier(storyboardId) + let viewController: UIViewController = drawerStoryboard().instantiateViewController(withIdentifier: storyboardId) return viewController } func drawerSettingsViewController() -> UIViewController { - let viewController = viewControllerForStoryboardId(kKGDrawerSettingsViewControllerStoryboardId) + let viewController = viewControllerForStoryboardId(storyboardId: kKGDrawerSettingsViewControllerStoryboardId) return viewController } func sourcePageViewController() -> UIViewController { - let viewController = viewControllerForStoryboardId(kKGDrawerWebViewViewControllerStoryboardId) + let viewController = viewControllerForStoryboardId(storyboardId: kKGDrawerWebViewViewControllerStoryboardId) return viewController } private func leftViewController() -> UIViewController { - let viewController = viewControllerForStoryboardId(kKGLeftDrawerStoryboardId) + let viewController = viewControllerForStoryboardId(storyboardId: kKGLeftDrawerStoryboardId) return viewController } private func rightViewController() -> UIViewController { - let viewController = viewControllerForStoryboardId(kKGRightDrawerStoryboardId) + let viewController = viewControllerForStoryboardId(storyboardId: kKGRightDrawerStoryboardId) return viewController } - func toggleLeftDrawer(sender:AnyObject, animated:Bool) { - _drawerViewController?.toggleDrawer(.Left, animated: true, complete: { (finished) -> Void in + func toggleLeftDrawer(_ sender:AnyObject, animated:Bool) { + _drawerViewController?.toggleDrawer(.left, animated: true, complete: { (finished) -> Void in // do nothing }) } - func toggleRightDrawer(sender:AnyObject, animated:Bool) { - _drawerViewController?.toggleDrawer(.Right, animated: true, complete: { (finished) -> Void in + func toggleRightDrawer(_ sender:AnyObject, animated:Bool) { + _drawerViewController?.toggleDrawer(.right, animated: true, complete: { (finished) -> Void in // do nothing }) } diff --git a/Example/KGFloatingDrawer-Example/Images.xcassets/AppIcon.appiconset/Contents.json b/Example/KGFloatingDrawer-Example/Images.xcassets/AppIcon.appiconset/Contents.json index ce35710..b26c307 100644 --- a/Example/KGFloatingDrawer-Example/Images.xcassets/AppIcon.appiconset/Contents.json +++ b/Example/KGFloatingDrawer-Example/Images.xcassets/AppIcon.appiconset/Contents.json @@ -1,5 +1,15 @@ { "images" : [ + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "3x" + }, { "size" : "29x29", "idiom" : "iphone", @@ -36,6 +46,16 @@ "filename" : "icon-180.png", "scale" : "3x" }, + { + "idiom" : "ipad", + "size" : "20x20", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "20x20", + "scale" : "2x" + }, { "size" : "29x29", "idiom" : "ipad", @@ -71,6 +91,16 @@ "idiom" : "ipad", "filename" : "icon-152.png", "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "83.5x83.5", + "scale" : "2x" + }, + { + "idiom" : "ios-marketing", + "size" : "1024x1024", + "scale" : "1x" } ], "info" : { diff --git a/Example/KGFloatingDrawer-Example/KGDrawerSettingsTableViewController.swift b/Example/KGFloatingDrawer-Example/KGDrawerSettingsTableViewController.swift index d95876d..c540f81 100644 --- a/Example/KGFloatingDrawer-Example/KGDrawerSettingsTableViewController.swift +++ b/Example/KGFloatingDrawer-Example/KGDrawerSettingsTableViewController.swift @@ -12,7 +12,7 @@ import KGFloatingDrawer class KGDrawerSettingsTableViewController: UITableViewController { let resetRowIndex:Int = 4 - + @IBOutlet weak var durationLabel: UILabel! @IBOutlet weak var delayLabel: UILabel! @IBOutlet weak var springVelocityLabel: UILabel! @@ -20,8 +20,8 @@ class KGDrawerSettingsTableViewController: UITableViewController { var animator: KGDrawerSpringAnimator? - var defaultDuration: NSTimeInterval? - var defaultDelay: NSTimeInterval? + var defaultDuration: TimeInterval? + var defaultDelay: TimeInterval? var defaultSpringVelocity: CGFloat? var defaultSpringDamping: CGFloat? @@ -32,21 +32,21 @@ class KGDrawerSettingsTableViewController: UITableViewController { override func viewDidLoad() { super.viewDidLoad() - + // Uncomment the following line to preserve selection between presentations // self.clearsSelectionOnViewWillAppear = false - + // Uncomment the following line to display an Edit button in the navigation bar for this view controller. // self.navigationItem.rightBarButtonItem = self.editButtonItem() - if let appDelegate: AppDelegate = UIApplication.sharedApplication().delegate as? AppDelegate { + if let appDelegate: AppDelegate = UIApplication.shared.delegate as? AppDelegate { animator = appDelegate.drawerViewController.animator captureDefaultValues(animator!) reset() } } - func captureDefaultValues(animator:KGDrawerSpringAnimator) { + func captureDefaultValues(_ animator:KGDrawerSpringAnimator) { defaultDuration = animator.animationDuration defaultDelay = animator.animationDelay defaultSpringVelocity = animator.initialSpringVelocity @@ -61,8 +61,8 @@ class KGDrawerSettingsTableViewController: UITableViewController { func updateAnimator() { if let currentAnimator = animator { - currentAnimator.animationDuration = NSTimeInterval(defaultDuration!) - currentAnimator.animationDelay = NSTimeInterval(defaultDelay!) + currentAnimator.animationDuration = TimeInterval(defaultDuration!) + currentAnimator.animationDelay = TimeInterval(defaultDelay!) currentAnimator.initialSpringVelocity = defaultSpringVelocity! currentAnimator.springDamping = defaultSpringDamping! } @@ -82,22 +82,22 @@ class KGDrawerSettingsTableViewController: UITableViewController { springDampingLabel.text = String(format: "%.2f", springDampingSlider.value) } - @IBAction func durationSliderChanged(sender: UISlider) { + @IBAction func durationSliderChanged(_ sender: UISlider) { durationLabel.text = String(format: "%.2f", sender.value) - animator?.animationDuration = NSTimeInterval(sender.value) + animator?.animationDuration = TimeInterval(sender.value) } - @IBAction func delaySliderChanged(sender: UISlider) { + @IBAction func delaySliderChanged(_ sender: UISlider) { delayLabel.text = String(format: "%.2f", sender.value) - animator?.animationDelay = NSTimeInterval(sender.value) + animator?.animationDelay = TimeInterval(sender.value) } - @IBAction func springVelocitySliderChanged(sender: UISlider) { + @IBAction func springVelocitySliderChanged(_ sender: UISlider) { springVelocityLabel.text = String(format: "%.2f", sender.value) animator?.initialSpringVelocity = CGFloat(sender.value) } - @IBAction func springDampingSliderChanged(sender: UISlider) { + @IBAction func springDampingSliderChanged(_ sender: UISlider) { springDampingLabel.text = String(format: "%.2f", sender.value) animator?.springDamping = CGFloat(sender.value) } @@ -106,18 +106,18 @@ class KGDrawerSettingsTableViewController: UITableViewController { super.didReceiveMemoryWarning() // Dispose of any resources that can be recreated. } - - @IBAction func toggleLeftDrawer(sender: AnyObject) { - let appDelegate = UIApplication.sharedApplication().delegate as! AppDelegate + + @IBAction func toggleLeftDrawer(_ sender: AnyObject) { + let appDelegate = UIApplication.shared.delegate as! AppDelegate appDelegate.toggleLeftDrawer(sender, animated: false) } - @IBAction func toggleRightDrawer(sender: AnyObject) { - let appDelegate = UIApplication.sharedApplication().delegate as! AppDelegate + @IBAction func toggleRightDrawer(_ sender: AnyObject) { + let appDelegate = UIApplication.shared.delegate as! AppDelegate appDelegate.toggleRightDrawer(sender, animated: true) } - override func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) { + override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { let selectedRowIndex:Int = indexPath.section if selectedRowIndex == resetRowIndex { reset() diff --git a/Example/KGFloatingDrawer-Example/KGDrawerWebViewViewController.swift b/Example/KGFloatingDrawer-Example/KGDrawerWebViewViewController.swift index c52ed68..a2d36d9 100644 --- a/Example/KGFloatingDrawer-Example/KGDrawerWebViewViewController.swift +++ b/Example/KGFloatingDrawer-Example/KGDrawerWebViewViewController.swift @@ -9,42 +9,42 @@ import UIKit class KGDrawerWebViewViewController: UIViewController { - + @IBOutlet weak var webView: UIWebView! override func viewDidLoad() { super.viewDidLoad() - + // Do any additional setup after loading the view. - let url: NSURL = NSURL(string: "https://github.com/KyleGoddard/KGFloatingDrawer")! - let request = NSURLRequest(URL: url) + let url: URL = URL(string: "https://github.com/KyleGoddard/KGFloatingDrawer")! + let request = URLRequest(url: url) webView.loadRequest(request) } - + override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() // Dispose of any resources that can be recreated. } - + /* - // MARK: - Navigation - - // In a storyboard-based application, you will often want to do a little preparation before navigation - override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) { - // Get the new view controller using segue.destinationViewController. - // Pass the selected object to the new view controller. - } - */ + // MARK: - Navigation + + // In a storyboard-based application, you will often want to do a little preparation before navigation + override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) { + // Get the new view controller using segue.destinationViewController. + // Pass the selected object to the new view controller. + } + */ @IBAction func toggleLeftDrawer(sender: AnyObject) { - let appDelegate = UIApplication.sharedApplication().delegate as! AppDelegate + let appDelegate = UIApplication.shared.delegate as! AppDelegate appDelegate.toggleLeftDrawer(sender, animated: false) } @IBAction func toggleRightDrawer(sender: AnyObject) { - let appDelegate = UIApplication.sharedApplication().delegate as! AppDelegate + let appDelegate = UIApplication.shared.delegate as! AppDelegate appDelegate.toggleRightDrawer(sender, animated: true) } } diff --git a/Example/KGFloatingDrawer-Example/LeftDrawerTableViewController.swift b/Example/KGFloatingDrawer-Example/LeftDrawerTableViewController.swift index 79f82be..1150547 100644 --- a/Example/KGFloatingDrawer-Example/LeftDrawerTableViewController.swift +++ b/Example/KGFloatingDrawer-Example/LeftDrawerTableViewController.swift @@ -9,17 +9,17 @@ import UIKit class LeftDrawerTableViewController: UITableViewController { - + override func viewDidLoad() { super.viewDidLoad() - + // Uncomment the following line to preserve selection between presentations // self.clearsSelectionOnViewWillAppear = false - + // Uncomment the following line to display an Edit button in the navigation bar for this view controller. // self.navigationItem.rightBarButtonItem = self.editButtonItem() } - + override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() // Dispose of any resources that can be recreated. @@ -27,17 +27,16 @@ class LeftDrawerTableViewController: UITableViewController { // MARK: - override func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) { - let appDelegate = UIApplication.sharedApplication().delegate as! AppDelegate + override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { + let appDelegate = UIApplication.shared.delegate as! AppDelegate if indexPath.row == 2 { - appDelegate.centerViewController = appDelegate.sourcePageViewController() + } else if indexPath.row == 3 { appDelegate.centerViewController = appDelegate.drawerSettingsViewController() } } - override func tableView(tableView: UITableView, willDisplayCell cell: UITableViewCell, forRowAtIndexPath indexPath: NSIndexPath) { - cell.backgroundColor = UIColor.clearColor() + override func tableView(_ tableView: UITableView, willDisplay cell: UITableViewCell, forRowAt indexPath: IndexPath) { + cell.backgroundColor = .clear } - } diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 3e0b44e..c38a726 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -1,14 +1,16 @@ PODS: - - KGFloatingDrawer (0.1.3) + - KGFloatingDrawer (0.2.0) DEPENDENCIES: - KGFloatingDrawer (from `../`) EXTERNAL SOURCES: KGFloatingDrawer: - :path: ../ + :path: "../" SPEC CHECKSUMS: - KGFloatingDrawer: 159abb66ba8fe4fc10e15dbb7e9fbb394b4a78fa + KGFloatingDrawer: b0c2810954bfb61f4d4dd01b8891d5c23933e368 -COCOAPODS: 0.36.0.rc.1 +PODFILE CHECKSUM: 6b0ce6e20b95b349ab19b275bf8c9cf17614c0e3 + +COCOAPODS: 1.7.3 diff --git a/Example/Pods/Headers/Private/KGFloatingDrawer/KGFloatingDrawer.h b/Example/Pods/Headers/Private/KGFloatingDrawer/KGFloatingDrawer.h deleted file mode 120000 index 2b581b0..0000000 --- a/Example/Pods/Headers/Private/KGFloatingDrawer/KGFloatingDrawer.h +++ /dev/null @@ -1 +0,0 @@ -../../../../../Pod/Classes/KGFloatingDrawer.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/KGFloatingDrawer/KGFloatingDrawer.h b/Example/Pods/Headers/Public/KGFloatingDrawer/KGFloatingDrawer.h deleted file mode 120000 index 2b581b0..0000000 --- a/Example/Pods/Headers/Public/KGFloatingDrawer/KGFloatingDrawer.h +++ /dev/null @@ -1 +0,0 @@ -../../../../../Pod/Classes/KGFloatingDrawer.h \ No newline at end of file diff --git a/Example/Pods/KGFloatingDrawer/LICENSE b/Example/Pods/KGFloatingDrawer/LICENSE deleted file mode 100644 index 364c60b..0000000 --- a/Example/Pods/KGFloatingDrawer/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015 Kyle Goddard - -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/Example/Pods/KGFloatingDrawer/Pod/Classes/KGDrawerAnimating.swift b/Example/Pods/KGFloatingDrawer/Pod/Classes/KGDrawerAnimating.swift deleted file mode 100644 index 880e99d..0000000 --- a/Example/Pods/KGFloatingDrawer/Pod/Classes/KGDrawerAnimating.swift +++ /dev/null @@ -1,38 +0,0 @@ -// -// KGDrawerAnimating.swift -// KGDrawerViewController -// -// Created by Kyle Goddard on 2015-02-10. -// Copyright (c) 2015 Kyle Goddard. All rights reserved. -// - -//import Foundation -import UIKit - -public protocol KGDrawerAnimating { - - func openDrawer(side: KGDrawerSide, drawerView: UIView, centerView: UIView, animated: Bool, complete: (finished: Bool) -> Void) - - func dismissDrawer(side: KGDrawerSide, drawerView: UIView, centerView: UIView, animated: Bool, complete: (finished: Bool) -> Void) - - - /** - * Called prior to a rotation event, while a drawer view is being shown. - * - * @param side The currently open drawer side - * @param the containing side view that is shown. - * @param the containing centre view. - */ - func willRotateWithDrawerOpen(side: KGDrawerSide, drawerView: UIView, centerView: UIView) - - /** - * Called following a rotation event, while a drawer view is being shown. - * - * @param side The currently open drawer side - * @param the containing side view that is shown. - * @param the containing centre view. - * @param a complete block handler to handle cleanup. - */ - func didRotateWithDrawerOpen(side: KGDrawerSide, drawerView: UIView, centerView: UIView) - -} diff --git a/Example/Pods/KGFloatingDrawer/Pod/Classes/KGDrawerSpringAnimator.swift b/Example/Pods/KGFloatingDrawer/Pod/Classes/KGDrawerSpringAnimator.swift deleted file mode 100644 index f3523b7..0000000 --- a/Example/Pods/KGFloatingDrawer/Pod/Classes/KGDrawerSpringAnimator.swift +++ /dev/null @@ -1,92 +0,0 @@ -// -// KGDrawerAnimator.swift -// KGDrawerViewController -// -// Created by Kyle Goddard on 2015-02-10. -// Copyright (c) 2015 Kyle Goddard. All rights reserved. -// - -import UIKit - -public class KGDrawerSpringAnimator: NSObject { - - let kKGCenterViewDestinationScale:CGFloat = 0.7 - - public var animationDelay: NSTimeInterval = 0.0 - public var animationDuration: NSTimeInterval = 0.7 - public var initialSpringVelocity: CGFloat = 9.8 // 9.1 m/s == earth gravity accel. - public var springDamping: CGFloat = 0.8 - - // TODO: can swift have private functions in a protocol? - private func applyTransforms(side: KGDrawerSide, drawerView: UIView, centerView: UIView) { - - let direction = side.rawValue - let sideWidth = CGRectGetWidth(drawerView.bounds) - let centerWidth = CGRectGetWidth(centerView.bounds) - let centerHorizontalOffset = direction * sideWidth - let scaledCenterViewHorizontalOffset = direction * (sideWidth - (centerWidth - kKGCenterViewDestinationScale * centerWidth) / 2.0) - - let sideTransform = CGAffineTransformMakeTranslation(centerHorizontalOffset, 0.0) - drawerView.transform = sideTransform - - let centerTranslate = CGAffineTransformMakeTranslation(scaledCenterViewHorizontalOffset, 0.0) - let centerScale = CGAffineTransformMakeScale(kKGCenterViewDestinationScale, kKGCenterViewDestinationScale) - centerView.transform = CGAffineTransformConcat(centerScale, centerTranslate) - - } - - private func resetTransforms(views: [UIView]) { - for view in views { - view.transform = CGAffineTransformIdentity - } - } - -} - -extension KGDrawerSpringAnimator: KGDrawerAnimating { - - public func openDrawer(side: KGDrawerSide, drawerView: UIView, centerView: UIView, animated: Bool, complete: (finished: Bool) -> Void) { - if (animated) { - UIView.animateWithDuration(animationDuration, - delay: animationDelay, - usingSpringWithDamping: springDamping, - initialSpringVelocity: initialSpringVelocity, - options: UIViewAnimationOptions.CurveLinear, - animations: { - self.applyTransforms(side, drawerView: drawerView, centerView: centerView) - - }, completion: complete) - } else { - self.applyTransforms(side, drawerView: drawerView, centerView: centerView) - } - } - - public func dismissDrawer(side: KGDrawerSide, drawerView: UIView, centerView: UIView, animated: Bool, complete: (finished: Bool) -> Void) { - if (animated) { - UIView.animateWithDuration(animationDuration, - delay: animationDelay, - usingSpringWithDamping: springDamping, - initialSpringVelocity: initialSpringVelocity, - options: UIViewAnimationOptions.CurveLinear, - animations: { - self.resetTransforms([drawerView, centerView]) - }, completion: complete) - } else { - self.resetTransforms([drawerView, centerView]) - } - } - - public func willRotateWithDrawerOpen(side: KGDrawerSide, drawerView: UIView, centerView: UIView) { - - } - - public func didRotateWithDrawerOpen(side: KGDrawerSide, drawerView: UIView, centerView: UIView) { - UIView.animateWithDuration(animationDuration, - delay: animationDelay, - usingSpringWithDamping: springDamping, - initialSpringVelocity: initialSpringVelocity, - options: UIViewAnimationOptions.CurveLinear, - animations: {}, completion: nil ) - } - -} diff --git a/Example/Pods/KGFloatingDrawer/Pod/Classes/KGDrawerView.swift b/Example/Pods/KGFloatingDrawer/Pod/Classes/KGDrawerView.swift deleted file mode 100644 index bbfcabc..0000000 --- a/Example/Pods/KGFloatingDrawer/Pod/Classes/KGDrawerView.swift +++ /dev/null @@ -1,307 +0,0 @@ -// -// KGDrawerView.swift -// KGDrawerViewController -// -// Created by Kyle Goddard on 2015-02-11. -// Copyright (c) 2015 Kyle Goddard. All rights reserved. -// - -import UIKit - -public class KGDrawerView: UIView { - - - let kKGCenterViewContainerCornerRadius: CGFloat = 5.0 - let kKGDefaultViewContainerWidth: CGFloat = 280.0 - - // MARK: Initialization - required public init(coder aDecoder: NSCoder) { - fatalError("init(coder:) has not been implemented") - } - - override init() { - super.init() - } - - override init(frame: CGRect) { - super.init(frame: frame) - - self.addSubview(backgroundImageView) - self.addSubview(centerViewContainer) - self.addSubview(leftViewContainer) - self.addSubview(rightViewContainer) - - self.addConstraints(backgroundViewConstraints) - self.addConstraints(centerViewConstraints) - self.addConstraints(leftViewConstraints) - self.addConstraints(rightViewConstraints) - } - - override public func willMoveToSuperview(newSuperview: UIView?) { - self.bringSubviewToFront(self.centerViewContainer) - } - - override public func layoutSubviews() { - updateShadowPath() - } - - // MARK: Background Image - private var _backgroundImageView: UIImageView? - var backgroundImageView: UIImageView { - get { - if let imageView = _backgroundImageView { - return imageView - } - let imageView = UIImageView(frame: self.frame) - imageView.contentMode = .ScaleAspectFill - imageView.setTranslatesAutoresizingMaskIntoConstraints(false) - _backgroundImageView = imageView - return imageView - } - } - - private var _backgroundViewConstraints: [NSLayoutConstraint]? - private var backgroundViewConstraints: [NSLayoutConstraint] { - get { - if let constraints = _backgroundViewConstraints { - return constraints - } - let constraints = [ - NSLayoutConstraint(item: self.backgroundImageView, attribute: .Leading, relatedBy: .Equal, toItem: self, attribute: .Leading, multiplier: 1.0, constant: 0.0), - NSLayoutConstraint(item: self.backgroundImageView, attribute: .Trailing, relatedBy: .Equal, toItem: self, attribute: .Trailing, multiplier: 1.0, constant: 0.0), - NSLayoutConstraint(item: self.backgroundImageView, attribute: .Top, relatedBy: .Equal, toItem: self, attribute: .Top, multiplier: 1.0, constant: 0.0), - NSLayoutConstraint(item: self.backgroundImageView, attribute: .Bottom, relatedBy: .Equal, toItem: self, attribute: .Bottom, multiplier: 1.0, constant: 0.0) - ] - _backgroundViewConstraints = constraints - return constraints - } - } - - // MARK: Left view container - private var _leftViewContainer: UIView? - var leftViewContainer: UIView { - get { - if let container = _leftViewContainer { - return container - } - let container = UIView(frame: self.frame) - container.setTranslatesAutoresizingMaskIntoConstraints(false) - _leftViewContainer = container - return container - } - } - - private var _leftViewConstraints: [NSLayoutConstraint]? - private var leftViewConstraints: [NSLayoutConstraint] { - if let constraints = _leftViewConstraints { - return constraints - } - let constraints = [ - NSLayoutConstraint(item: self.leftViewContainer, attribute: .Height, relatedBy: .Equal, toItem: self, attribute: .Height, multiplier: 1.0, constant: 0.0), - NSLayoutConstraint(item: self.leftViewContainer, attribute: .Trailing, relatedBy: .Equal, toItem: self, attribute: .Leading, multiplier: 1.0, constant: 0.0), - NSLayoutConstraint(item: self.leftViewContainer, attribute: .Top, relatedBy: .Equal, toItem: self, attribute: .Top, multiplier: 1.0, constant: 0.0), - self.leftViewWidthConstraint - ] - _leftViewConstraints = constraints - return constraints - } - - private var _leftViewWidthConstraint: NSLayoutConstraint? - private var leftViewWidthConstraint: NSLayoutConstraint { - get { - if let retVal = _leftViewWidthConstraint { - return retVal - } - let retVal = NSLayoutConstraint(item: self.leftViewContainer, attribute: .Width, relatedBy: .Equal, toItem: nil, attribute: .NotAnAttribute, multiplier: 1.0, constant: self.kKGDefaultViewContainerWidth) - _leftViewWidthConstraint = retVal - return retVal - } - } - - // MARK: Right view container - private var _rightViewContainer: UIView? - var rightViewContainer: UIView { - get { - if let retVal = _rightViewContainer { - return retVal - } - let retVal = UIView(frame: self.frame) - retVal.setTranslatesAutoresizingMaskIntoConstraints(false) - _rightViewContainer = retVal - return retVal - } - } - - private var _rightViewConstraints: [NSLayoutConstraint]? - private var rightViewConstraints: [NSLayoutConstraint] { - get { - if let constraints = _rightViewConstraints { - return constraints - } - let constraints = [ - NSLayoutConstraint(item: self.rightViewContainer, attribute: .Height, relatedBy: .Equal, toItem: self, attribute: .Height, multiplier: 1.0, constant: 0.0), - NSLayoutConstraint(item: self.rightViewContainer, attribute: .Leading, relatedBy: .Equal, toItem: self, attribute: .Trailing, multiplier: 1.0, constant: 0.0), - NSLayoutConstraint(item: self.rightViewContainer, attribute: .Top, relatedBy: .Equal, toItem: self, attribute: .Top, multiplier: 1.0, constant: 0.0), - self.rightViewWidthConstraint - ] - _rightViewConstraints = constraints - return constraints - } - } - - private var _rightViewWidthConstraint: NSLayoutConstraint? - private var rightViewWidthConstraint: NSLayoutConstraint { - get { - if let constraint = _rightViewWidthConstraint { - return constraint - } - let constraint = NSLayoutConstraint(item: self.rightViewContainer, attribute: .Width, relatedBy: .Equal, toItem: nil, attribute: .NotAnAttribute, multiplier: 1.0, constant: self.kKGDefaultViewContainerWidth) - _rightViewWidthConstraint = constraint - return constraint - } - } - - // MARK: Center view container - private var _centerViewContainer: UIView? - var centerViewContainer: UIView { - get { - if let container = _centerViewContainer { - return container - } - let container = UIView(frame: self.frame) - container.setTranslatesAutoresizingMaskIntoConstraints(false) - _centerViewContainer = container - return container - } - } - - private var _centerViewConstraints: [NSLayoutConstraint]? - private var centerViewConstraints: [NSLayoutConstraint] { - if let constraints = _centerViewConstraints { - return constraints - } - let constraints = [ - NSLayoutConstraint(item: self.centerViewContainer, attribute: .Leading, relatedBy: .Equal, toItem: self, attribute: .Leading, multiplier: 1.0, constant: 0.0), - NSLayoutConstraint(item: self.centerViewContainer, attribute: .Trailing, relatedBy: .Equal, toItem: self, attribute: .Trailing, multiplier: 1.0, constant: 0.0), - NSLayoutConstraint(item: self.centerViewContainer, attribute: .Top, relatedBy: .Equal, toItem: self, attribute: .Top, multiplier: 1.0, constant: 0.0), - NSLayoutConstraint(item: self.centerViewContainer, attribute: .Bottom, relatedBy: .Equal, toItem: self, attribute: .Bottom, multiplier: 1.0, constant: 0.0) - ] - _centerViewConstraints = constraints - return constraints - } - - // MARK: Reveal Widths - var leftViewContainerWidth: CGFloat { - get { - return self.leftViewWidthConstraint.constant - } - set { - self.leftViewWidthConstraint.constant = newValue - } - } - - var rightViewContainerWidth: CGFloat { - get { - return self.rightViewWidthConstraint.constant - } - set { - self.rightViewWidthConstraint.constant = newValue - } - } - - // TODO: Make the various properties here configurable by the user. - private var _shouldRadiusCenterViewController: Bool = false - var shouldRadiusCenterViewController: Bool { - get { - return _shouldRadiusCenterViewController - } - set { - var view = self.centerViewContainer.subviews.first as! UIView - if (newValue) { - view.layer.borderColor = UIColor(white: 1.0, alpha: 0.15).CGColor - view.layer.borderWidth = 1.0 - view.layer.masksToBounds = true - view.layer.cornerRadius = kKGCenterViewContainerCornerRadius - } else { - view.layer.borderColor = UIColor.clearColor().CGColor - view.layer.borderWidth = 0.0 - view.layer.masksToBounds = false - view.layer.cornerRadius = 0.0 - } - _shouldRadiusCenterViewController = newValue - } - } - - // TODO: Make the various properties here configurable by the user. - private var _shouldShadowCenterViewContainer: Bool? - var shouldShadowCenterViewContainer: Bool { - get { - if let retVal = _shouldShadowCenterViewContainer { - return retVal - } - _shouldShadowCenterViewContainer = false - return false - } - set { - var layer = self.centerViewContainer.layer - if (newValue) { - layer.shadowRadius = 20.0 - layer.shadowColor = UIColor.blackColor().CGColor - layer.shadowOpacity = 0.4 - layer.shadowOffset = CGSizeMake(0.0, 0.0) - layer.masksToBounds = false - - self.updateShadowPath() - - } else { - layer.shadowRadius = 0.0 - layer.shadowColor = UIColor.clearColor().CGColor - layer.shadowOpacity = 0.0 - layer.shadowOffset = CGSizeMake(0.0, 0.0) - layer.masksToBounds = true - } - _shouldShadowCenterViewContainer = newValue - } - } - - // MARK: Helpers - - func updateShadowPath() { - var layer = self.centerViewContainer.layer - var increase = layer.shadowRadius - var rect = self.centerViewContainer.bounds - - rect.origin.x -= increase - rect.origin.y -= increase - rect.size.width += increase * 2.0 - rect.size.height += increase * 2.0 - - layer.shadowPath = UIBezierPath(roundedRect: rect, cornerRadius: kKGCenterViewContainerCornerRadius).CGPath - } - - func viewContainerForDrawerSide(drawerSide: KGDrawerSide) -> UIView? { - var viewContainer: UIView? - switch drawerSide { - case .Left: - viewContainer = self.leftViewContainer - case .Right: - viewContainer = self.rightViewContainer - case .None: - viewContainer = nil - } - return viewContainer - } - - // MARK: Event Handling - - func willOpenDrawer(viewController: KGDrawerViewController) { - self.shouldRadiusCenterViewController = true - self.shouldShadowCenterViewContainer = true - } - - func willCloseDrawer(viewController: KGDrawerViewController) { - self.shouldRadiusCenterViewController = false - self.shouldShadowCenterViewContainer = false - } - -} diff --git a/Example/Pods/KGFloatingDrawer/Pod/Classes/KGDrawerViewController.swift b/Example/Pods/KGFloatingDrawer/Pod/Classes/KGDrawerViewController.swift deleted file mode 100644 index 0bb2bc5..0000000 --- a/Example/Pods/KGFloatingDrawer/Pod/Classes/KGDrawerViewController.swift +++ /dev/null @@ -1,262 +0,0 @@ -// -// KGDrawerViewController.swift -// KGDrawerViewController -// -// Created by Kyle Goddard on 2015-02-10. -// Copyright (c) 2015 Kyle Goddard. All rights reserved. -// - -import UIKit - -public enum KGDrawerSide: CGFloat { - case None = 0 - case Left = 1 - case Right = -1 -} - -public class KGDrawerViewController: UIViewController { - - let defaultDuration:NSTimeInterval = 0.3 - - // MARK: Initialization - - override public init() { - super.init() - } - - override public init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: NSBundle?) { - super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil) - } - - required public init(coder aDecoder: NSCoder) { - fatalError("init(coder:) has not been implemented") - } - - override public func loadView() { - view = drawerView - } - - - private var _drawerView: KGDrawerView? - var drawerView: KGDrawerView { - get { - if let retVal = _drawerView { - return retVal - } - let rect = UIScreen.mainScreen().bounds - let retVal = KGDrawerView(frame: rect) - _drawerView = retVal - return retVal - } - } - - // TODO: Add ability to supply custom animator. - - private var _animator: KGDrawerSpringAnimator? - public var animator: KGDrawerSpringAnimator { - get { - if let retVal = _animator { - return retVal - } - let retVal = KGDrawerSpringAnimator() - _animator = retVal - return retVal - } - } - - // MARK: Interaction - - public func openDrawer(side: KGDrawerSide, animated:Bool, complete: (finished: Bool) -> Void) { - if currentlyOpenedSide != side { - if let sideView = drawerView.viewContainerForDrawerSide(side) { - let centerView = drawerView.centerViewContainer - if currentlyOpenedSide != .None { - closeDrawer(side, animated: animated) { finished in - self.animator.openDrawer(side, drawerView: sideView, centerView: centerView, animated: animated, complete: complete) - } - } else { - self.animator.openDrawer(side, drawerView: sideView, centerView: centerView, animated: animated, complete: complete) - } - - addDrawerGestures() - drawerView.willOpenDrawer(self) - } - } - - currentlyOpenedSide = side - } - - public func closeDrawer(side: KGDrawerSide, animated: Bool, complete: (finished: Bool) -> Void) { - if (currentlyOpenedSide == side && currentlyOpenedSide != .None) { - if let sideView = drawerView.viewContainerForDrawerSide(side) { - let centerView = drawerView.centerViewContainer - animator.dismissDrawer(side, drawerView: sideView, centerView: centerView, animated: animated, complete: complete) - currentlyOpenedSide = .None - restoreGestures() - drawerView.willCloseDrawer(self) - } - } - } - - public func toggleDrawer(side: KGDrawerSide, animated: Bool, complete: (finished: Bool) -> Void) { - if side != .None { - if side == currentlyOpenedSide { - closeDrawer(side, animated: animated, complete: complete) - } else { - openDrawer(side, animated: animated, complete: complete) - } - } - } - - // MARK: Gestures - - func addDrawerGestures() { - centerViewController?.view.userInteractionEnabled = false - drawerView.centerViewContainer.addGestureRecognizer(toggleDrawerTapGestureRecognizer) - } - - func restoreGestures() { - drawerView.centerViewContainer.removeGestureRecognizer(toggleDrawerTapGestureRecognizer) - centerViewController?.view.userInteractionEnabled = true - } - - func centerViewContainerTapped(sender: AnyObject) { - closeDrawer(currentlyOpenedSide, animated: true) { (finished) -> Void in - // Do nothing - } - } - - // MARK: Helpers - - func viewContainer(side: KGDrawerSide) -> UIViewController? { - switch side { - case .Left: - return self.leftViewController - case .Right: - return self.rightViewController - case .None: - return nil - } - } - - func replaceViewController(sourceViewController: UIViewController?, destinationViewController: UIViewController, container: UIView) { - - sourceViewController?.willMoveToParentViewController(nil) - sourceViewController?.view.removeFromSuperview() - sourceViewController?.removeFromParentViewController() - - self.addChildViewController(destinationViewController) - container.addSubview(destinationViewController.view) - - let destinationView = destinationViewController.view - destinationView.setTranslatesAutoresizingMaskIntoConstraints(false) - - container.removeConstraints(container.constraints()) - - let views: [String:UIView] = ["v1" : destinationView] - container.addConstraints(NSLayoutConstraint.constraintsWithVisualFormat("V:|[v1]|", options: NSLayoutFormatOptions(0), metrics: nil, views: views)) - container.addConstraints(NSLayoutConstraint.constraintsWithVisualFormat("H:|[v1]|", options: NSLayoutFormatOptions(0), metrics: nil, views: views)) - - destinationViewController.didMoveToParentViewController(self) - } - - // MARK: Private computed properties - - public var currentlyOpenedSide: KGDrawerSide = .None - - // MARK: Accessors - private var _leftViewController: UIViewController? - public var leftViewController: UIViewController? { - get { - return _leftViewController - } - set { - self.replaceViewController(self.leftViewController, destinationViewController: newValue!, container: self.drawerView.leftViewContainer) - _leftViewController = newValue! - } - } - - private var _rightViewController: UIViewController? - public var rightViewController: UIViewController? { - get { - return _rightViewController - } - set { - self.replaceViewController(self.rightViewController, destinationViewController: newValue!, container: self.drawerView.rightViewContainer) - _rightViewController = newValue - } - } - - private var _centerViewController: UIViewController? - public var centerViewController: UIViewController? { - get { - return _centerViewController - } - set { - self.replaceViewController(self.centerViewController, destinationViewController: newValue!, container: self.drawerView.centerViewContainer) - _centerViewController = newValue - } - } - - private lazy var toggleDrawerTapGestureRecognizer: UITapGestureRecognizer = { - [unowned self] in - let gesture = UITapGestureRecognizer(target: self, action: "centerViewContainerTapped:") - return gesture - }() - - public var leftDrawerWidth: CGFloat { - get { - return drawerView.leftViewContainerWidth - } - set { - drawerView.leftViewContainerWidth = newValue - } - } - - public var rightDrawerWidth: CGFloat { - get { - return drawerView.rightViewContainerWidth - } - set { - drawerView.rightViewContainerWidth = newValue - } - } - - public var leftDrawerRevealWidth: CGFloat { - get { - return drawerView.leftViewContainerWidth - } - } - - public var rightDrawerRevealWidth: CGFloat { - get { - return drawerView.rightViewContainerWidth - } - } - - public var backgroundImage: UIImage? { - get { - return drawerView.backgroundImageView.image - } - set { - drawerView.backgroundImageView.image = newValue - } - } - - // MARK: Status Bar - - override public func childViewControllerForStatusBarHidden() -> UIViewController? { - return centerViewController - } - - override public func childViewControllerForStatusBarStyle() -> UIViewController? { - return centerViewController - } - - // MARK: Memory Management - - override public func didReceiveMemoryWarning() { - super.didReceiveMemoryWarning() - } - -} diff --git a/Example/Pods/KGFloatingDrawer/Pod/Classes/KGFloatingDrawer.h b/Example/Pods/KGFloatingDrawer/Pod/Classes/KGFloatingDrawer.h deleted file mode 100644 index 57dfb27..0000000 --- a/Example/Pods/KGFloatingDrawer/Pod/Classes/KGFloatingDrawer.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// KGFloatingDrawer.h -// KGFloatingDrawer -// -// Created by Kyle Goddard on 2015-03-03. -// Copyright (c) 2015 Kyle Goddard. All rights reserved. -// - -#import - -//! Project version number for KGFloatingDrawer. -FOUNDATION_EXPORT double KGFloatingDrawerVersionNumber; - -//! Project version string for KGFloatingDrawer. -FOUNDATION_EXPORT const unsigned char KGFloatingDrawerVersionString[]; - -// In this header, you should import all the public headers of your framework using statements like #import - - diff --git a/Example/Pods/KGFloatingDrawer/README.md b/Example/Pods/KGFloatingDrawer/README.md deleted file mode 100644 index 5a8019c..0000000 --- a/Example/Pods/KGFloatingDrawer/README.md +++ /dev/null @@ -1,82 +0,0 @@ -# KGFloatingDrawer - -KGFloatingDrawer is a reimplementation of -[JVillella/JVFloatingDrawer](https://github.com/JVillella/JVFloatingDrawer) in -Swift. A floating drawer style navigation. KGFloatingDrawer provides a unique -twist on the nav drawer pattern. - -![](https://github.com/KyleGoddard/KGFloatingDrawer/blob/master/kgfloatingdrawer_github_preview.gif) - -#Usage - -```swift -func prepareDrawerViewController() -> KGDrawerViewController { - let drawerViewController = KGDrawerViewController() - - drawerViewController.centerViewController = drawerSettingsViewController() - drawerViewController.leftViewController = leftViewController() - drawerViewController.rightViewController = rightViewController() - drawerViewController.backgroundImage = UIImage(named: "sky3") - - _drawerViewController = drawerViewController - - return drawerViewController -} -``` - -#Installation - -#How it Works - -###KGDrawerViewController - -The `KGDrawerViewController` maintains references to center, left and optionally -right view controllers. The `centerViewController`, `leftViewController` and -`rightViewController` properties can all be reassigned in order to replace them. - -###Opening & Closing Drawers - -`KGDrawerViewController` has three functions used to open and close the nav -drawer. - -```swift -func openDrawer(side: KGDrawerSide, animated:Bool, complete: (finished: Bool) -> Void) {} - -func closeDrawer(side: KGDrawerSide, animated: Bool, complete: (finished: Bool) -> Void) {} - -func toggleDrawer(side: KGDrawerSide, animated: Bool, complete: (finished: Bool) -> Void) {} -``` - -###Drawer Width - -The `leftDrawerWidth` and `rightDrawerWidth` are used to set the width of the -drawer once it has been opened. Note that this is not the edge size of the -`centerViewController`. The default value for this is `280` points. - -###Background Image - -The background image displayed when the drawer is open is set via the -`backgroundImage` property. - -###Animator - -`KGFloatingDrawer` comes with a spring animator with the configurable -properties: `animationDelay`, `animationDuration`, `initialSpringVelocity`, and -`springDamping` - -But [JVillella/JVFloatingDrawer](https://github.com/JVillella/JVFloatingDrawer) -has custom animators!? - -I know! The ability to set a custom animator is coming soon. - -#Author - -Kyle Goddard - -[JVillella/JVFloatingDrawer](https://github.com/JVillella/JVFloatingDrawer) was -authored by Julian Villella - -#License - -KGFloatingDrawer is available under the MIT license. See the LICENSE file for -more info. diff --git a/Example/Pods/Local Podspecs/KGFloatingDrawer.podspec.json b/Example/Pods/Local Podspecs/KGFloatingDrawer.podspec.json index f82ee9a..f414a44 100644 --- a/Example/Pods/Local Podspecs/KGFloatingDrawer.podspec.json +++ b/Example/Pods/Local Podspecs/KGFloatingDrawer.podspec.json @@ -1,6 +1,6 @@ { "name": "KGFloatingDrawer", - "version": "0.1.3", + "version": "0.2.0", "summary": "A floating navigation drawer with an interesting animated presentation written in Swift.", "homepage": "https://github.com/KyleGoddard/KGFloatingDrawer", "screenshots": [ @@ -18,7 +18,7 @@ }, "source": { "git": "https://github.com/KyleGoddard/KGFloatingDrawer.git", - "tag": "0.1.3" + "tag": "0.2.0" }, "source_files": "Pod/Classes/" } diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock index 3e0b44e..c38a726 100644 --- a/Example/Pods/Manifest.lock +++ b/Example/Pods/Manifest.lock @@ -1,14 +1,16 @@ PODS: - - KGFloatingDrawer (0.1.3) + - KGFloatingDrawer (0.2.0) DEPENDENCIES: - KGFloatingDrawer (from `../`) EXTERNAL SOURCES: KGFloatingDrawer: - :path: ../ + :path: "../" SPEC CHECKSUMS: - KGFloatingDrawer: 159abb66ba8fe4fc10e15dbb7e9fbb394b4a78fa + KGFloatingDrawer: b0c2810954bfb61f4d4dd01b8891d5c23933e368 -COCOAPODS: 0.36.0.rc.1 +PODFILE CHECKSUM: 6b0ce6e20b95b349ab19b275bf8c9cf17614c0e3 + +COCOAPODS: 1.7.3 diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj index e3a4c96..4a3130d 100644 --- a/Example/Pods/Pods.xcodeproj/project.pbxproj +++ b/Example/Pods/Pods.xcodeproj/project.pbxproj @@ -7,389 +7,529 @@ objects = { /* Begin PBXBuildFile section */ - 124CA7A28E58823A319987B2 /* Pods-KGFloatingDrawer-Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 5219EBB2ABCD725A6CD52B23 /* Pods-KGFloatingDrawer-Example-dummy.m */; }; - 285F7D076374B1D363210B98 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9576F81EE3F0CCDB662FB4C4 /* Foundation.framework */; }; - 560541115DEBA769EF46FEF5 /* Pods-KGFloatingDrawer-Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 997C6DD1D88EFD142AF9BB4A /* Pods-KGFloatingDrawer-Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 813A7DF266C433548E995314 /* Pods-KGFloatingDrawer-Example-KGFloatingDrawer-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = D43EB5FBAA1F9B6A20245A04 /* Pods-KGFloatingDrawer-Example-KGFloatingDrawer-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 81BF83BD215CE9BD4FF9AB9A /* KGDrawerAnimating.swift in Sources */ = {isa = PBXBuildFile; fileRef = A3E67773B2174540F9032255 /* KGDrawerAnimating.swift */; }; - 98C41159768DAFDF9B44EF8D /* Pods-KGFloatingDrawer-Example-KGFloatingDrawer-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = EB11D3B0D7642932F2E255D3 /* Pods-KGFloatingDrawer-Example-KGFloatingDrawer-dummy.m */; }; - AA1F2E6C00DD0BC8F619F578 /* KGDrawerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA8D9356D01B940127ECEF86 /* KGDrawerView.swift */; }; - BB8FB57BAE43AB95A01F6EAA /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9576F81EE3F0CCDB662FB4C4 /* Foundation.framework */; }; - BB9C49E3003515CF37237224 /* KGDrawerSpringAnimator.swift in Sources */ = {isa = PBXBuildFile; fileRef = C05CE1326F096E851517C59D /* KGDrawerSpringAnimator.swift */; }; - C299CB6D3BB97DDD1A703FE5 /* KGFloatingDrawer.h in Headers */ = {isa = PBXBuildFile; fileRef = 960C33BA307B47814E6F3C5F /* KGFloatingDrawer.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E16F0D554CD57D379B92FCD7 /* KGDrawerViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 91598406DE87529CA09E2826 /* KGDrawerViewController.swift */; }; + 1082D137D1159F49FBA28C98A3ED7C3E /* KGFloatingDrawer-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = F3CC5DCD93259280233BEEA693F81EF0 /* KGFloatingDrawer-dummy.m */; }; + 1ACEE06741F2BD398E5B3370B34DD55A /* KGFloatingDrawer-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = A4F699886EDA6F0F538AB6506652959F /* KGFloatingDrawer-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 1C6FA9408DC733F205E54B2EAE1076A1 /* Pods-KGFloatingDrawer-Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F80635EBCCCF4529E595C964B1333DB /* Pods-KGFloatingDrawer-Example-dummy.m */; }; + 216A02313E845D9B17FDAB55C4627EC9 /* Pods-KGFloatingDrawer-ExampleTests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 742955D157D95E74CB76C60798449664 /* Pods-KGFloatingDrawer-ExampleTests-dummy.m */; }; + 3334E2CE458BC41E34C081714D23E26B /* KGDrawerAnimating.swift in Sources */ = {isa = PBXBuildFile; fileRef = 751342E6B7C2D76312E4D5D88415642F /* KGDrawerAnimating.swift */; }; + 5E36849915C97B08068237C67B5EA152 /* Pods-KGFloatingDrawer-ExampleTests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 5BD5A9189CD3279BC321E95F11F86D30 /* Pods-KGFloatingDrawer-ExampleTests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 603FCA569B909159DEA158C14C3D96BA /* Pods-KGFloatingDrawer-Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 119EC933436CC06F35EEEF18C4627FB6 /* Pods-KGFloatingDrawer-Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 7097C08A08DF64405D052427405060BE /* KGDrawerViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93B7315E70410FE2C6DAB3FEE048CAB2 /* KGDrawerViewController.swift */; }; + 9EC2EDC3B6C7F9C75EF0FF258FAA5D05 /* KGDrawerSpringAnimator.swift in Sources */ = {isa = PBXBuildFile; fileRef = EA2DF0585CBB6B495946948D729CFA34 /* KGDrawerSpringAnimator.swift */; }; + AF4E593F1080375E463B40D420A01204 /* KGFloatingDrawer.h in Headers */ = {isa = PBXBuildFile; fileRef = 01B4D3084551AF983A6441B992A7EE3B /* KGFloatingDrawer.h */; settings = {ATTRIBUTES = (Public, ); }; }; + C4731EC3C4028173E2CC69AF15D67F2D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; }; + C5F3232FFEF3D6430B2356489E5DA5B1 /* KGDrawerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3F45113854425B7D2EE46C7F6BAB0B0F /* KGDrawerView.swift */; }; + E7A3596694CD6DE0889F53019AFD88CF /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; }; + F25FF4157779487C8C9EF3C3F4398811 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ - 784C74E93922005BAAE5D201 /* PBXContainerItemProxy */ = { + 42578863ECCB6B86CDA05661E14901EE /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; - containerPortal = 9505CED87A333F508BBE7C52 /* Project object */; + containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; - remoteGlobalIDString = 9956EAB19AAE15D26E47B28E; - remoteInfo = "Pods-KGFloatingDrawer-Example-KGFloatingDrawer"; + remoteGlobalIDString = 285FC7A0FB645741AE792B7410AF1BC7; + remoteInfo = KGFloatingDrawer; }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - 138BD0707246DAE8C54D9587 /* Pods-KGFloatingDrawer-Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-KGFloatingDrawer-Example-acknowledgements.markdown"; sourceTree = ""; }; - 14F0229E616264FC4E448E90 /* Pods-KGFloatingDrawer-Example-environment.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-KGFloatingDrawer-Example-environment.h"; sourceTree = ""; }; - 2F06EE0A904FC472DDB0CD75 /* Pods-KGFloatingDrawer-Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-KGFloatingDrawer-Example.release.xcconfig"; sourceTree = ""; }; - 5219EBB2ABCD725A6CD52B23 /* Pods-KGFloatingDrawer-Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-KGFloatingDrawer-Example-dummy.m"; sourceTree = ""; }; - 5929A2AA6F612FCE88035055 /* Pods-KGFloatingDrawer-Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-KGFloatingDrawer-Example.debug.xcconfig"; sourceTree = ""; }; - 696ED9193CF5AB08058C1C78 /* Podfile */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - 727A0F02459E1B8DAEAC6F2A /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 744DCF6A42FEA7DF55C20273 /* Pods-KGFloatingDrawer-Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-KGFloatingDrawer-Example-acknowledgements.plist"; sourceTree = ""; }; - 8399B89C45B8B4AC6D394113 /* Pods-KGFloatingDrawer-Example-KGFloatingDrawer-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-KGFloatingDrawer-Example-KGFloatingDrawer-prefix.pch"; sourceTree = ""; }; - 89163F3B4E57F40452AE3371 /* Pods_KGFloatingDrawer_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_KGFloatingDrawer_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 903F3F4A6FACEE38DAC04120 /* KGFloatingDrawer.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = KGFloatingDrawer.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 91598406DE87529CA09E2826 /* KGDrawerViewController.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = KGDrawerViewController.swift; sourceTree = ""; }; - 9576F81EE3F0CCDB662FB4C4 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; - 960C33BA307B47814E6F3C5F /* KGFloatingDrawer.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = KGFloatingDrawer.h; sourceTree = ""; }; - 997C6DD1D88EFD142AF9BB4A /* Pods-KGFloatingDrawer-Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-KGFloatingDrawer-Example-umbrella.h"; sourceTree = ""; }; - A3E67773B2174540F9032255 /* KGDrawerAnimating.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = KGDrawerAnimating.swift; sourceTree = ""; }; - AA8D9356D01B940127ECEF86 /* KGDrawerView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = KGDrawerView.swift; sourceTree = ""; }; - C05CE1326F096E851517C59D /* KGDrawerSpringAnimator.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = KGDrawerSpringAnimator.swift; sourceTree = ""; }; - C4414564F4D166A54F6D3C8F /* Pods-KGFloatingDrawer-Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-KGFloatingDrawer-Example-frameworks.sh"; sourceTree = ""; }; - C96B5E8BF8D9A17DB1841023 /* Pods-KGFloatingDrawer-Example-KGFloatingDrawer.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-KGFloatingDrawer-Example-KGFloatingDrawer.modulemap"; sourceTree = ""; }; - CB69B5E9769BEDA84454C4B6 /* Pods-KGFloatingDrawer-Example-KGFloatingDrawer-Private.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-KGFloatingDrawer-Example-KGFloatingDrawer-Private.xcconfig"; sourceTree = ""; }; - CF5206306D8A046191FBAFB6 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - D43EB5FBAA1F9B6A20245A04 /* Pods-KGFloatingDrawer-Example-KGFloatingDrawer-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-KGFloatingDrawer-Example-KGFloatingDrawer-umbrella.h"; sourceTree = ""; }; - D763193855CD4BD81F65F26E /* Pods-KGFloatingDrawer-Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-KGFloatingDrawer-Example-resources.sh"; sourceTree = ""; }; - D7DF97590AAEBC0725C3038F /* Pods-KGFloatingDrawer-Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-KGFloatingDrawer-Example.modulemap"; sourceTree = ""; }; - E8D6585466B0A72E26238035 /* Pods-KGFloatingDrawer-Example-KGFloatingDrawer.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-KGFloatingDrawer-Example-KGFloatingDrawer.xcconfig"; sourceTree = ""; }; - EB11D3B0D7642932F2E255D3 /* Pods-KGFloatingDrawer-Example-KGFloatingDrawer-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-KGFloatingDrawer-Example-KGFloatingDrawer-dummy.m"; sourceTree = ""; }; + 01B4D3084551AF983A6441B992A7EE3B /* KGFloatingDrawer.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = KGFloatingDrawer.h; path = Pod/Classes/KGFloatingDrawer.h; sourceTree = ""; }; + 02E37BC7C9BF1D1B1ACA335169805D6C /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; + 0B1A00B78A41EE1CC09E9BCC8F7D811C /* KGFloatingDrawer.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = KGFloatingDrawer.xcconfig; sourceTree = ""; }; + 119EC933436CC06F35EEEF18C4627FB6 /* Pods-KGFloatingDrawer-Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-KGFloatingDrawer-Example-umbrella.h"; sourceTree = ""; }; + 1947E1582E2FB9739EB2D61CCD42A63B /* Pods-KGFloatingDrawer-Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-KGFloatingDrawer-Example-acknowledgements.plist"; sourceTree = ""; }; + 31FCBE08160F1893A47206B932513193 /* Pods-KGFloatingDrawer-ExampleTests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-KGFloatingDrawer-ExampleTests-Info.plist"; sourceTree = ""; }; + 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; + 339662F980757C478BEC3D25AF6FCBFD /* Pods-KGFloatingDrawer-Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-KGFloatingDrawer-Example.modulemap"; sourceTree = ""; }; + 3F45113854425B7D2EE46C7F6BAB0B0F /* KGDrawerView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KGDrawerView.swift; path = Pod/Classes/KGDrawerView.swift; sourceTree = ""; usesTabs = 0; }; + 3FD4C2AB665747BF7328D2F5A17AA89A /* Pods-KGFloatingDrawer-ExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-KGFloatingDrawer-ExampleTests.debug.xcconfig"; sourceTree = ""; }; + 4F80635EBCCCF4529E595C964B1333DB /* Pods-KGFloatingDrawer-Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-KGFloatingDrawer-Example-dummy.m"; sourceTree = ""; }; + 52084D5F182251D7AC2FF66A98B6B56C /* Pods-KGFloatingDrawer-ExampleTests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-KGFloatingDrawer-ExampleTests-acknowledgements.plist"; sourceTree = ""; }; + 5BD5A9189CD3279BC321E95F11F86D30 /* Pods-KGFloatingDrawer-ExampleTests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-KGFloatingDrawer-ExampleTests-umbrella.h"; sourceTree = ""; }; + 6879065F96DF35D3E065137B8240AFAC /* KGFloatingDrawer-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "KGFloatingDrawer-prefix.pch"; sourceTree = ""; }; + 6BED08725812FD3B61AE52DFB65C60C2 /* Pods-KGFloatingDrawer-ExampleTests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-KGFloatingDrawer-ExampleTests-acknowledgements.markdown"; sourceTree = ""; }; + 742955D157D95E74CB76C60798449664 /* Pods-KGFloatingDrawer-ExampleTests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-KGFloatingDrawer-ExampleTests-dummy.m"; sourceTree = ""; }; + 751342E6B7C2D76312E4D5D88415642F /* KGDrawerAnimating.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KGDrawerAnimating.swift; path = Pod/Classes/KGDrawerAnimating.swift; sourceTree = ""; usesTabs = 0; }; + 7711F0D54A9EE1AA1852E3AAD0BB0483 /* Pods-KGFloatingDrawer-ExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-KGFloatingDrawer-ExampleTests.release.xcconfig"; sourceTree = ""; }; + 7A9B9DA4EA045A9B229276CD550051FF /* KGFloatingDrawer.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = KGFloatingDrawer.modulemap; sourceTree = ""; }; + 81255390E24A2110DAC755298BA8BF1B /* Pods-KGFloatingDrawer-ExampleTests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-KGFloatingDrawer-ExampleTests.modulemap"; sourceTree = ""; }; + 8E13F45870C0477D484DC51F6908E10F /* Pods-KGFloatingDrawer-Example-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-KGFloatingDrawer-Example-Info.plist"; sourceTree = ""; }; + 93B7315E70410FE2C6DAB3FEE048CAB2 /* KGDrawerViewController.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KGDrawerViewController.swift; path = Pod/Classes/KGDrawerViewController.swift; sourceTree = ""; usesTabs = 0; }; + 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + A4F699886EDA6F0F538AB6506652959F /* KGFloatingDrawer-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "KGFloatingDrawer-umbrella.h"; sourceTree = ""; }; + A9B70AFA1270BA5CCAAF10446BD0BB04 /* Pods-KGFloatingDrawer-Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-KGFloatingDrawer-Example.release.xcconfig"; sourceTree = ""; }; + AB5A341D9B724BD05125AB5A2894F03B /* KGFloatingDrawer.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = KGFloatingDrawer.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + BEDEFFDEF78709CD3614EB79D6A7A4CB /* Pods-KGFloatingDrawer-Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-KGFloatingDrawer-Example-frameworks.sh"; sourceTree = ""; }; + C1BB99B67CA5D836603205DF711AF71C /* Pods_KGFloatingDrawer_ExampleTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_KGFloatingDrawer_ExampleTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + C458DE449ADE0CE9E269F23FDDEF02E3 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; + C85CFEBEF70544CAEB3B4EAF5F6EAD58 /* KGFloatingDrawer-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "KGFloatingDrawer-Info.plist"; sourceTree = ""; }; + D6B1B9612139F120ABCB8A2A6A3098A4 /* KGFloatingDrawer.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; path = KGFloatingDrawer.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + D799B60BD80F7BF8A400FBF19A41111A /* Pods_KGFloatingDrawer_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_KGFloatingDrawer_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + E0738008320D4CB253072D1EAB68DBF9 /* Pods-KGFloatingDrawer-Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-KGFloatingDrawer-Example.debug.xcconfig"; sourceTree = ""; }; + EA2DF0585CBB6B495946948D729CFA34 /* KGDrawerSpringAnimator.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KGDrawerSpringAnimator.swift; path = Pod/Classes/KGDrawerSpringAnimator.swift; sourceTree = ""; usesTabs = 0; }; + F3CC5DCD93259280233BEEA693F81EF0 /* KGFloatingDrawer-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "KGFloatingDrawer-dummy.m"; sourceTree = ""; }; + F5053F6CCF509797E60019B80D58C6D1 /* Pods-KGFloatingDrawer-Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-KGFloatingDrawer-Example-acknowledgements.markdown"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ - 676AC219A188CA5CB023667A /* Frameworks */ = { + 348C9EBECE8D86E334A77124085222B5 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - BB8FB57BAE43AB95A01F6EAA /* Foundation.framework in Frameworks */, + E7A3596694CD6DE0889F53019AFD88CF /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; - AF1542B55995DB6BE6EC3752 /* Frameworks */ = { + 7EC400946CA8DB34AEF7C8F51A2E87A8 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 285F7D076374B1D363210B98 /* Foundation.framework in Frameworks */, + C4731EC3C4028173E2CC69AF15D67F2D /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + CEE5DFE89C115DA06DBBB5AB9FAAD729 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + F25FF4157779487C8C9EF3C3F4398811 /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 09F085AA8E4360259D37A1D6 /* Pod */ = { + 248A235A38D2C488D19AF34CDD1E32B5 /* Development Pods */ = { isa = PBXGroup; children = ( - B077BF8AE109C73A0922E3DE /* Classes */, + 639BFFE90C466E65F8164C620BD89794 /* KGFloatingDrawer */, ); - path = Pod; + name = "Development Pods"; sourceTree = ""; }; - 1ADD63179C064FB1248A5B31 /* Pods-KGFloatingDrawer-Example */ = { + 4A0E164EF2B53D07FFCC5242FF17BCEF /* Targets Support Files */ = { isa = PBXGroup; children = ( - CF5206306D8A046191FBAFB6 /* Info.plist */, - D7DF97590AAEBC0725C3038F /* Pods-KGFloatingDrawer-Example.modulemap */, - 138BD0707246DAE8C54D9587 /* Pods-KGFloatingDrawer-Example-acknowledgements.markdown */, - 744DCF6A42FEA7DF55C20273 /* Pods-KGFloatingDrawer-Example-acknowledgements.plist */, - 5219EBB2ABCD725A6CD52B23 /* Pods-KGFloatingDrawer-Example-dummy.m */, - 14F0229E616264FC4E448E90 /* Pods-KGFloatingDrawer-Example-environment.h */, - C4414564F4D166A54F6D3C8F /* Pods-KGFloatingDrawer-Example-frameworks.sh */, - D763193855CD4BD81F65F26E /* Pods-KGFloatingDrawer-Example-resources.sh */, - 997C6DD1D88EFD142AF9BB4A /* Pods-KGFloatingDrawer-Example-umbrella.h */, - 5929A2AA6F612FCE88035055 /* Pods-KGFloatingDrawer-Example.debug.xcconfig */, - 2F06EE0A904FC472DDB0CD75 /* Pods-KGFloatingDrawer-Example.release.xcconfig */, + A7B5F80C1119F6855B0DC74A608BAB00 /* Pods-KGFloatingDrawer-Example */, + 8E3B37D84817D4810B415930A5B12890 /* Pods-KGFloatingDrawer-ExampleTests */, ); - name = "Pods-KGFloatingDrawer-Example"; - path = "Target Support Files/Pods-KGFloatingDrawer-Example"; + name = "Targets Support Files"; sourceTree = ""; }; - 1CC6C978F75393655EAAB5F3 /* Support Files */ = { + 639BFFE90C466E65F8164C620BD89794 /* KGFloatingDrawer */ = { isa = PBXGroup; children = ( - 727A0F02459E1B8DAEAC6F2A /* Info.plist */, - C96B5E8BF8D9A17DB1841023 /* Pods-KGFloatingDrawer-Example-KGFloatingDrawer.modulemap */, - E8D6585466B0A72E26238035 /* Pods-KGFloatingDrawer-Example-KGFloatingDrawer.xcconfig */, - CB69B5E9769BEDA84454C4B6 /* Pods-KGFloatingDrawer-Example-KGFloatingDrawer-Private.xcconfig */, - EB11D3B0D7642932F2E255D3 /* Pods-KGFloatingDrawer-Example-KGFloatingDrawer-dummy.m */, - 8399B89C45B8B4AC6D394113 /* Pods-KGFloatingDrawer-Example-KGFloatingDrawer-prefix.pch */, - D43EB5FBAA1F9B6A20245A04 /* Pods-KGFloatingDrawer-Example-KGFloatingDrawer-umbrella.h */, + 751342E6B7C2D76312E4D5D88415642F /* KGDrawerAnimating.swift */, + EA2DF0585CBB6B495946948D729CFA34 /* KGDrawerSpringAnimator.swift */, + 3F45113854425B7D2EE46C7F6BAB0B0F /* KGDrawerView.swift */, + 93B7315E70410FE2C6DAB3FEE048CAB2 /* KGDrawerViewController.swift */, + 01B4D3084551AF983A6441B992A7EE3B /* KGFloatingDrawer.h */, + 9D79C41D3DA6F1F4DF5C1E0B3C191E2E /* Pod */, + BF918697EA62F6E224DCACCD7C331655 /* Support Files */, ); - name = "Support Files"; - path = "Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer"; + name = KGFloatingDrawer; + path = ../..; sourceTree = ""; }; - 375956B771829D76A8472C41 /* Development Pods */ = { + 8E3B37D84817D4810B415930A5B12890 /* Pods-KGFloatingDrawer-ExampleTests */ = { isa = PBXGroup; children = ( - 61369CC62B61059200AEFC55 /* KGFloatingDrawer */, + 81255390E24A2110DAC755298BA8BF1B /* Pods-KGFloatingDrawer-ExampleTests.modulemap */, + 6BED08725812FD3B61AE52DFB65C60C2 /* Pods-KGFloatingDrawer-ExampleTests-acknowledgements.markdown */, + 52084D5F182251D7AC2FF66A98B6B56C /* Pods-KGFloatingDrawer-ExampleTests-acknowledgements.plist */, + 742955D157D95E74CB76C60798449664 /* Pods-KGFloatingDrawer-ExampleTests-dummy.m */, + 31FCBE08160F1893A47206B932513193 /* Pods-KGFloatingDrawer-ExampleTests-Info.plist */, + 5BD5A9189CD3279BC321E95F11F86D30 /* Pods-KGFloatingDrawer-ExampleTests-umbrella.h */, + 3FD4C2AB665747BF7328D2F5A17AA89A /* Pods-KGFloatingDrawer-ExampleTests.debug.xcconfig */, + 7711F0D54A9EE1AA1852E3AAD0BB0483 /* Pods-KGFloatingDrawer-ExampleTests.release.xcconfig */, ); - name = "Development Pods"; + name = "Pods-KGFloatingDrawer-ExampleTests"; + path = "Target Support Files/Pods-KGFloatingDrawer-ExampleTests"; sourceTree = ""; }; - 61369CC62B61059200AEFC55 /* KGFloatingDrawer */ = { + 9AADB09C379F49D67829E3848E578C43 /* Products */ = { isa = PBXGroup; children = ( - 09F085AA8E4360259D37A1D6 /* Pod */, - 1CC6C978F75393655EAAB5F3 /* Support Files */, + AB5A341D9B724BD05125AB5A2894F03B /* KGFloatingDrawer.framework */, + D799B60BD80F7BF8A400FBF19A41111A /* Pods_KGFloatingDrawer_Example.framework */, + C1BB99B67CA5D836603205DF711AF71C /* Pods_KGFloatingDrawer_ExampleTests.framework */, ); - name = KGFloatingDrawer; - path = ../..; + name = Products; sourceTree = ""; }; - 82B7824B3FF2729A27A476A3 /* Targets Support Files */ = { + 9D79C41D3DA6F1F4DF5C1E0B3C191E2E /* Pod */ = { isa = PBXGroup; children = ( - 1ADD63179C064FB1248A5B31 /* Pods-KGFloatingDrawer-Example */, + D6B1B9612139F120ABCB8A2A6A3098A4 /* KGFloatingDrawer.podspec */, + C458DE449ADE0CE9E269F23FDDEF02E3 /* LICENSE */, + 02E37BC7C9BF1D1B1ACA335169805D6C /* README.md */, ); - name = "Targets Support Files"; + name = Pod; sourceTree = ""; }; - 89DC1481AC3640B79D8E1D72 /* Products */ = { + A7B5F80C1119F6855B0DC74A608BAB00 /* Pods-KGFloatingDrawer-Example */ = { isa = PBXGroup; children = ( - 903F3F4A6FACEE38DAC04120 /* KGFloatingDrawer.framework */, - 89163F3B4E57F40452AE3371 /* Pods_KGFloatingDrawer_Example.framework */, + 339662F980757C478BEC3D25AF6FCBFD /* Pods-KGFloatingDrawer-Example.modulemap */, + F5053F6CCF509797E60019B80D58C6D1 /* Pods-KGFloatingDrawer-Example-acknowledgements.markdown */, + 1947E1582E2FB9739EB2D61CCD42A63B /* Pods-KGFloatingDrawer-Example-acknowledgements.plist */, + 4F80635EBCCCF4529E595C964B1333DB /* Pods-KGFloatingDrawer-Example-dummy.m */, + BEDEFFDEF78709CD3614EB79D6A7A4CB /* Pods-KGFloatingDrawer-Example-frameworks.sh */, + 8E13F45870C0477D484DC51F6908E10F /* Pods-KGFloatingDrawer-Example-Info.plist */, + 119EC933436CC06F35EEEF18C4627FB6 /* Pods-KGFloatingDrawer-Example-umbrella.h */, + E0738008320D4CB253072D1EAB68DBF9 /* Pods-KGFloatingDrawer-Example.debug.xcconfig */, + A9B70AFA1270BA5CCAAF10446BD0BB04 /* Pods-KGFloatingDrawer-Example.release.xcconfig */, ); - name = Products; + name = "Pods-KGFloatingDrawer-Example"; + path = "Target Support Files/Pods-KGFloatingDrawer-Example"; sourceTree = ""; }; - A7003242D854C9969ED1CA9D = { + BF918697EA62F6E224DCACCD7C331655 /* Support Files */ = { isa = PBXGroup; children = ( - 696ED9193CF5AB08058C1C78 /* Podfile */, - 375956B771829D76A8472C41 /* Development Pods */, - AEDD115D068EE9D94876C59D /* Frameworks */, - 89DC1481AC3640B79D8E1D72 /* Products */, - 82B7824B3FF2729A27A476A3 /* Targets Support Files */, + 7A9B9DA4EA045A9B229276CD550051FF /* KGFloatingDrawer.modulemap */, + 0B1A00B78A41EE1CC09E9BCC8F7D811C /* KGFloatingDrawer.xcconfig */, + F3CC5DCD93259280233BEEA693F81EF0 /* KGFloatingDrawer-dummy.m */, + C85CFEBEF70544CAEB3B4EAF5F6EAD58 /* KGFloatingDrawer-Info.plist */, + 6879065F96DF35D3E065137B8240AFAC /* KGFloatingDrawer-prefix.pch */, + A4F699886EDA6F0F538AB6506652959F /* KGFloatingDrawer-umbrella.h */, ); + name = "Support Files"; + path = "Example/Pods/Target Support Files/KGFloatingDrawer"; sourceTree = ""; }; - AEDD115D068EE9D94876C59D /* Frameworks */ = { + C0834CEBB1379A84116EF29F93051C60 /* iOS */ = { isa = PBXGroup; children = ( - DAD40575F76C73C0C366A859 /* iOS */, + 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */, ); - name = Frameworks; + name = iOS; sourceTree = ""; }; - B077BF8AE109C73A0922E3DE /* Classes */ = { + CF1408CF629C7361332E53B88F7BD30C = { isa = PBXGroup; children = ( - A3E67773B2174540F9032255 /* KGDrawerAnimating.swift */, - C05CE1326F096E851517C59D /* KGDrawerSpringAnimator.swift */, - AA8D9356D01B940127ECEF86 /* KGDrawerView.swift */, - 91598406DE87529CA09E2826 /* KGDrawerViewController.swift */, - 960C33BA307B47814E6F3C5F /* KGFloatingDrawer.h */, + 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, + 248A235A38D2C488D19AF34CDD1E32B5 /* Development Pods */, + D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */, + 9AADB09C379F49D67829E3848E578C43 /* Products */, + 4A0E164EF2B53D07FFCC5242FF17BCEF /* Targets Support Files */, ); - path = Classes; sourceTree = ""; }; - DAD40575F76C73C0C366A859 /* iOS */ = { + D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */ = { isa = PBXGroup; children = ( - 9576F81EE3F0CCDB662FB4C4 /* Foundation.framework */, + C0834CEBB1379A84116EF29F93051C60 /* iOS */, ); - name = iOS; + name = Frameworks; sourceTree = ""; }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ - B0CB76A4C90DD5D8AA4EEDF7 /* Headers */ = { + 610614F056A6AC0F5D2E5698AB1436F1 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 1ACEE06741F2BD398E5B3370B34DD55A /* KGFloatingDrawer-umbrella.h in Headers */, + AF4E593F1080375E463B40D420A01204 /* KGFloatingDrawer.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BBDE2780CBFCB37E8CDB86284DD0FA20 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 560541115DEBA769EF46FEF5 /* Pods-KGFloatingDrawer-Example-umbrella.h in Headers */, + 603FCA569B909159DEA158C14C3D96BA /* Pods-KGFloatingDrawer-Example-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; - FB42381FE62F41A7B0DBFA68 /* Headers */ = { + CA071BB1F3363C52E8ED18FDD9C8B750 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - C299CB6D3BB97DDD1A703FE5 /* KGFloatingDrawer.h in Headers */, - 813A7DF266C433548E995314 /* Pods-KGFloatingDrawer-Example-KGFloatingDrawer-umbrella.h in Headers */, + 5E36849915C97B08068237C67B5EA152 /* Pods-KGFloatingDrawer-ExampleTests-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ - 0E1A9D9B69C48841FDBA5609 /* Pods-KGFloatingDrawer-Example */ = { + 285FC7A0FB645741AE792B7410AF1BC7 /* KGFloatingDrawer */ = { isa = PBXNativeTarget; - buildConfigurationList = F49A44CD8CBAA4085700A0EF /* Build configuration list for PBXNativeTarget "Pods-KGFloatingDrawer-Example" */; + buildConfigurationList = 771C5553CD09AC4D5A36C943498AACF0 /* Build configuration list for PBXNativeTarget "KGFloatingDrawer" */; buildPhases = ( - 03754030D420A13723A66A93 /* Sources */, - 676AC219A188CA5CB023667A /* Frameworks */, - B0CB76A4C90DD5D8AA4EEDF7 /* Headers */, + 610614F056A6AC0F5D2E5698AB1436F1 /* Headers */, + A6F41BC7B940A3BF4BD1F3D538BB487B /* Sources */, + 7EC400946CA8DB34AEF7C8F51A2E87A8 /* Frameworks */, + 8AFB6ED5A1DBE3916D388EF005F0ADC5 /* Resources */, ); buildRules = ( ); dependencies = ( - FC93E009C51F29162ACC5A3B /* PBXTargetDependency */, ); - name = "Pods-KGFloatingDrawer-Example"; - productName = "Pods-KGFloatingDrawer-Example"; - productReference = 89163F3B4E57F40452AE3371 /* Pods_KGFloatingDrawer_Example.framework */; + name = KGFloatingDrawer; + productName = KGFloatingDrawer; + productReference = AB5A341D9B724BD05125AB5A2894F03B /* KGFloatingDrawer.framework */; productType = "com.apple.product-type.framework"; }; - 9956EAB19AAE15D26E47B28E /* Pods-KGFloatingDrawer-Example-KGFloatingDrawer */ = { + 50D9E330DBF2BD6E98BA86FA148D01E3 /* Pods-KGFloatingDrawer-ExampleTests */ = { isa = PBXNativeTarget; - buildConfigurationList = 29C405BBC1843FBEA3D7377E /* Build configuration list for PBXNativeTarget "Pods-KGFloatingDrawer-Example-KGFloatingDrawer" */; + buildConfigurationList = F7745BF8BB4E188744817BABD64B2C45 /* Build configuration list for PBXNativeTarget "Pods-KGFloatingDrawer-ExampleTests" */; buildPhases = ( - 5FE0A4A9995748F873E09582 /* Sources */, - AF1542B55995DB6BE6EC3752 /* Frameworks */, - FB42381FE62F41A7B0DBFA68 /* Headers */, + CA071BB1F3363C52E8ED18FDD9C8B750 /* Headers */, + 018728492600E8FE05FF6808C483E719 /* Sources */, + CEE5DFE89C115DA06DBBB5AB9FAAD729 /* Frameworks */, + 2350CA9F625052826357F1FBE49FD857 /* Resources */, ); buildRules = ( ); dependencies = ( ); - name = "Pods-KGFloatingDrawer-Example-KGFloatingDrawer"; - productName = "Pods-KGFloatingDrawer-Example-KGFloatingDrawer"; - productReference = 903F3F4A6FACEE38DAC04120 /* KGFloatingDrawer.framework */; + name = "Pods-KGFloatingDrawer-ExampleTests"; + productName = "Pods-KGFloatingDrawer-ExampleTests"; + productReference = C1BB99B67CA5D836603205DF711AF71C /* Pods_KGFloatingDrawer_ExampleTests.framework */; + productType = "com.apple.product-type.framework"; + }; + C11BAFC1B2C2493102F973EFD9F96597 /* Pods-KGFloatingDrawer-Example */ = { + isa = PBXNativeTarget; + buildConfigurationList = 09F5B411305690D6BE04BED523FBA3B0 /* Build configuration list for PBXNativeTarget "Pods-KGFloatingDrawer-Example" */; + buildPhases = ( + BBDE2780CBFCB37E8CDB86284DD0FA20 /* Headers */, + CFFEC7B91B0170B50A89803D19B771B8 /* Sources */, + 348C9EBECE8D86E334A77124085222B5 /* Frameworks */, + 2B0BE0107B68F67854F3A2B7E4A00FB6 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 64C726ABC18A906C7B6D1C08BD6149BD /* PBXTargetDependency */, + ); + name = "Pods-KGFloatingDrawer-Example"; + productName = "Pods-KGFloatingDrawer-Example"; + productReference = D799B60BD80F7BF8A400FBF19A41111A /* Pods_KGFloatingDrawer_Example.framework */; productType = "com.apple.product-type.framework"; }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ - 9505CED87A333F508BBE7C52 /* Project object */ = { + BFDFE7DC352907FC980B868725387E98 /* Project object */ = { isa = PBXProject; attributes = { - LastSwiftMigration = 0700; - LastSwiftUpdateCheck = 0700; - LastUpgradeCheck = 0510; + LastSwiftUpdateCheck = 1100; + LastUpgradeCheck = 1100; }; - buildConfigurationList = 08D2DA0CC50B0C921F4137D7 /* Build configuration list for PBXProject "Pods" */; + buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; + developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( en, ); - mainGroup = A7003242D854C9969ED1CA9D; - productRefGroup = 89DC1481AC3640B79D8E1D72 /* Products */; + mainGroup = CF1408CF629C7361332E53B88F7BD30C; + productRefGroup = 9AADB09C379F49D67829E3848E578C43 /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( - 0E1A9D9B69C48841FDBA5609 /* Pods-KGFloatingDrawer-Example */, - 9956EAB19AAE15D26E47B28E /* Pods-KGFloatingDrawer-Example-KGFloatingDrawer */, + 285FC7A0FB645741AE792B7410AF1BC7 /* KGFloatingDrawer */, + C11BAFC1B2C2493102F973EFD9F96597 /* Pods-KGFloatingDrawer-Example */, + 50D9E330DBF2BD6E98BA86FA148D01E3 /* Pods-KGFloatingDrawer-ExampleTests */, ); }; /* End PBXProject section */ +/* Begin PBXResourcesBuildPhase section */ + 2350CA9F625052826357F1FBE49FD857 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2B0BE0107B68F67854F3A2B7E4A00FB6 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 8AFB6ED5A1DBE3916D388EF005F0ADC5 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ - 03754030D420A13723A66A93 /* Sources */ = { + 018728492600E8FE05FF6808C483E719 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 216A02313E845D9B17FDAB55C4627EC9 /* Pods-KGFloatingDrawer-ExampleTests-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A6F41BC7B940A3BF4BD1F3D538BB487B /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 124CA7A28E58823A319987B2 /* Pods-KGFloatingDrawer-Example-dummy.m in Sources */, + 3334E2CE458BC41E34C081714D23E26B /* KGDrawerAnimating.swift in Sources */, + 9EC2EDC3B6C7F9C75EF0FF258FAA5D05 /* KGDrawerSpringAnimator.swift in Sources */, + C5F3232FFEF3D6430B2356489E5DA5B1 /* KGDrawerView.swift in Sources */, + 7097C08A08DF64405D052427405060BE /* KGDrawerViewController.swift in Sources */, + 1082D137D1159F49FBA28C98A3ED7C3E /* KGFloatingDrawer-dummy.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; - 5FE0A4A9995748F873E09582 /* Sources */ = { + CFFEC7B91B0170B50A89803D19B771B8 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 81BF83BD215CE9BD4FF9AB9A /* KGDrawerAnimating.swift in Sources */, - BB9C49E3003515CF37237224 /* KGDrawerSpringAnimator.swift in Sources */, - AA1F2E6C00DD0BC8F619F578 /* KGDrawerView.swift in Sources */, - E16F0D554CD57D379B92FCD7 /* KGDrawerViewController.swift in Sources */, - 98C41159768DAFDF9B44EF8D /* Pods-KGFloatingDrawer-Example-KGFloatingDrawer-dummy.m in Sources */, + 1C6FA9408DC733F205E54B2EAE1076A1 /* Pods-KGFloatingDrawer-Example-dummy.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ - FC93E009C51F29162ACC5A3B /* PBXTargetDependency */ = { + 64C726ABC18A906C7B6D1C08BD6149BD /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = "Pods-KGFloatingDrawer-Example-KGFloatingDrawer"; - target = 9956EAB19AAE15D26E47B28E /* Pods-KGFloatingDrawer-Example-KGFloatingDrawer */; - targetProxy = 784C74E93922005BAAE5D201 /* PBXContainerItemProxy */; + name = KGFloatingDrawer; + target = 285FC7A0FB645741AE792B7410AF1BC7 /* KGFloatingDrawer */; + targetProxy = 42578863ECCB6B86CDA05661E14901EE /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ - 414DFF862D6995699DAE9C03 /* Release */ = { + 06D8EB55AEEAB8A2CBEE0F8CF2F40F02 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 2F06EE0A904FC472DDB0CD75 /* Pods-KGFloatingDrawer-Example.release.xcconfig */; + baseConfigurationReference = 7711F0D54A9EE1AA1852E3AAD0BB0483 /* Pods-KGFloatingDrawer-ExampleTests.release.xcconfig */; buildSettings = { - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + 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"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - INFOPLIST_FILE = "Target Support Files/Pods-KGFloatingDrawer-Example/Info.plist"; + INFOPLIST_FILE = "Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 25289204EB6EAB7B803DAAF9AB540D75 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = A9B70AFA1270BA5CCAAF10446BD0BB04 /* Pods-KGFloatingDrawer-Example.release.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + 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-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; MODULEMAP_FILE = "Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example.modulemap"; - MTL_ENABLE_DEBUG_INFO = NO; OTHER_LDFLAGS = ""; OTHER_LIBTOOLFLAGS = ""; PODS_ROOT = "$(SRCROOT)"; - PRODUCT_NAME = Pods_KGFloatingDrawer_Example; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SDKROOT = iphoneos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; name = Release; }; - 967FB4443418FFA225E2216B /* Release */ = { + 2C326E399C216E945F921EAAB43024BD /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = CB69B5E9769BEDA84454C4B6 /* Pods-KGFloatingDrawer-Example-KGFloatingDrawer-Private.xcconfig */; + baseConfigurationReference = 0B1A00B78A41EE1CC09E9BCC8F7D811C /* KGFloatingDrawer.xcconfig */; buildSettings = { - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + 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"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_PREFIX_HEADER = "Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Info.plist"; + GCC_PREFIX_HEADER = "Target Support Files/KGFloatingDrawer/KGFloatingDrawer-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/KGFloatingDrawer/KGFloatingDrawer-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/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer.modulemap"; - MTL_ENABLE_DEBUG_INFO = NO; + MODULEMAP_FILE = "Target Support Files/KGFloatingDrawer/KGFloatingDrawer.modulemap"; + PRODUCT_MODULE_NAME = KGFloatingDrawer; PRODUCT_NAME = KGFloatingDrawer; SDKROOT = iphoneos; SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; name = Release; }; - DD20CA2F367B6192E2AD63EE /* Debug */ = { + 3FFCF4E622270CBEE66106AA22429BC7 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = CB69B5E9769BEDA84454C4B6 /* Pods-KGFloatingDrawer-Example-KGFloatingDrawer-Private.xcconfig */; + baseConfigurationReference = 3FD4C2AB665747BF7328D2F5A17AA89A /* Pods-KGFloatingDrawer-ExampleTests.debug.xcconfig */; buildSettings = { - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + 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"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_PREFIX_HEADER = "Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Info.plist"; + INFOPLIST_FILE = "Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-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/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer.modulemap"; - MTL_ENABLE_DEBUG_INFO = YES; - PRODUCT_NAME = KGFloatingDrawer; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SDKROOT = iphoneos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = "1,2"; @@ -398,102 +538,187 @@ }; name = Debug; }; - DE1C890E10E4F23D5C24BA54 /* Debug */ = { + 4676321791DBC55BD192CFB555587505 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = E0738008320D4CB253072D1EAB68DBF9 /* Pods-KGFloatingDrawer-Example.debug.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + 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-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 4BE66A09A74FD25164AAB3C2645B9B93 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + 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_ENABLE_OBJC_WEAK = 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; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = 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_OBJC_ROOT_CLASS = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = 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; COPY_PHASE_STRIP = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; + 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 = ( - "DEBUG=1", + "POD_CONFIGURATION_RELEASE=1", "$(inherited)", ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 8.0; - ONLY_ACTIVE_ARCH = YES; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + PRODUCT_NAME = "$(TARGET_NAME)"; STRIP_INSTALLED_PRODUCT = NO; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_VERSION = 5.0; SYMROOT = "${SRCROOT}/../build"; }; - name = Debug; + name = Release; }; - E9F6D250A7A097C5027E6C6E /* Release */ = { + 7EF7227D9B20A1D549000096ACCB23D7 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + 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_ENABLE_OBJC_WEAK = 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; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = 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_OBJC_ROOT_CLASS = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = 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; - COPY_PHASE_STRIP = YES; - ENABLE_NS_ASSERTIONS = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_PREPROCESSOR_DEFINITIONS = "RELEASE=1"; + 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; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 8.0; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + PRODUCT_NAME = "$(TARGET_NAME)"; STRIP_INSTALLED_PRODUCT = NO; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; SYMROOT = "${SRCROOT}/../build"; - VALIDATE_PRODUCT = YES; }; - name = Release; + name = Debug; }; - F3C7426FFDB48EEA08A6D6C6 /* Debug */ = { + DB666D099DF83B0213B97E45B519A8A8 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 5929A2AA6F612FCE88035055 /* Pods-KGFloatingDrawer-Example.debug.xcconfig */; + baseConfigurationReference = 0B1A00B78A41EE1CC09E9BCC8F7D811C /* KGFloatingDrawer.xcconfig */; buildSettings = { - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + 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"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - INFOPLIST_FILE = "Target Support Files/Pods-KGFloatingDrawer-Example/Info.plist"; + GCC_PREFIX_HEADER = "Target Support Files/KGFloatingDrawer/KGFloatingDrawer-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/KGFloatingDrawer/KGFloatingDrawer-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/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example.modulemap"; - MTL_ENABLE_DEBUG_INFO = YES; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_NAME = Pods_KGFloatingDrawer_Example; + MODULEMAP_FILE = "Target Support Files/KGFloatingDrawer/KGFloatingDrawer.modulemap"; + PRODUCT_MODULE_NAME = KGFloatingDrawer; + PRODUCT_NAME = KGFloatingDrawer; SDKROOT = iphoneos; SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; @@ -503,34 +728,43 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 08D2DA0CC50B0C921F4137D7 /* Build configuration list for PBXProject "Pods" */ = { + 09F5B411305690D6BE04BED523FBA3B0 /* Build configuration list for PBXNativeTarget "Pods-KGFloatingDrawer-Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4676321791DBC55BD192CFB555587505 /* Debug */, + 25289204EB6EAB7B803DAAF9AB540D75 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { isa = XCConfigurationList; buildConfigurations = ( - DE1C890E10E4F23D5C24BA54 /* Debug */, - E9F6D250A7A097C5027E6C6E /* Release */, + 7EF7227D9B20A1D549000096ACCB23D7 /* Debug */, + 4BE66A09A74FD25164AAB3C2645B9B93 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 29C405BBC1843FBEA3D7377E /* Build configuration list for PBXNativeTarget "Pods-KGFloatingDrawer-Example-KGFloatingDrawer" */ = { + 771C5553CD09AC4D5A36C943498AACF0 /* Build configuration list for PBXNativeTarget "KGFloatingDrawer" */ = { isa = XCConfigurationList; buildConfigurations = ( - DD20CA2F367B6192E2AD63EE /* Debug */, - 967FB4443418FFA225E2216B /* Release */, + DB666D099DF83B0213B97E45B519A8A8 /* Debug */, + 2C326E399C216E945F921EAAB43024BD /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - F49A44CD8CBAA4085700A0EF /* Build configuration list for PBXNativeTarget "Pods-KGFloatingDrawer-Example" */ = { + F7745BF8BB4E188744817BABD64B2C45 /* Build configuration list for PBXNativeTarget "Pods-KGFloatingDrawer-ExampleTests" */ = { isa = XCConfigurationList; buildConfigurations = ( - F3C7426FFDB48EEA08A6D6C6 /* Debug */, - 414DFF862D6995699DAE9C03 /* Release */, + 3FFCF4E622270CBEE66106AA22429BC7 /* Debug */, + 06D8EB55AEEAB8A2CBEE0F8CF2F40F02 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; - rootObject = 9505CED87A333F508BBE7C52 /* Project object */; + rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; } diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/erik.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example-KGFloatingDrawer.xcscheme b/Example/Pods/Pods.xcodeproj/xcuserdata/erik.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example-KGFloatingDrawer.xcscheme deleted file mode 100644 index 3c24e50..0000000 --- a/Example/Pods/Pods.xcodeproj/xcuserdata/erik.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example-KGFloatingDrawer.xcscheme +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/kgoddard.xcuserdatad/xcschemes/xcschememanagement.plist b/Example/Pods/Pods.xcodeproj/xcuserdata/kgoddard.xcuserdatad/xcschemes/xcschememanagement.plist deleted file mode 100644 index 4bd2aa7..0000000 --- a/Example/Pods/Pods.xcodeproj/xcuserdata/kgoddard.xcuserdatad/xcschemes/xcschememanagement.plist +++ /dev/null @@ -1,32 +0,0 @@ - - - - - SchemeUserState - - Pods-KGFloatingDrawer-Example-KGFloatingDrawer.xcscheme - - isShown - - - Pods-KGFloatingDrawer-Example.xcscheme - - isShown - - - - SuppressBuildableAutocreation - - 0E1A9D9B69C48841FDBA5609 - - primary - - - 9956EAB19AAE15D26E47B28E - - primary - - - - - diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/kgoddard.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example-KGFloatingDrawer.xcscheme b/Example/Pods/Pods.xcodeproj/xcuserdata/yunus.tek.xcuserdatad/xcschemes/KGFloatingDrawer.xcscheme similarity index 87% rename from Example/Pods/Pods.xcodeproj/xcuserdata/kgoddard.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example-KGFloatingDrawer.xcscheme rename to Example/Pods/Pods.xcodeproj/xcuserdata/yunus.tek.xcuserdatad/xcschemes/KGFloatingDrawer.xcscheme index b71f9b2..9fc3ede 100644 --- a/Example/Pods/Pods.xcodeproj/xcuserdata/kgoddard.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example-KGFloatingDrawer.xcscheme +++ b/Example/Pods/Pods.xcodeproj/xcuserdata/yunus.tek.xcuserdatad/xcschemes/KGFloatingDrawer.xcscheme @@ -1,6 +1,6 @@ @@ -45,9 +45,9 @@ diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/kgoddard.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example.xcscheme b/Example/Pods/Pods.xcodeproj/xcuserdata/yunus.tek.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example.xcscheme similarity index 93% rename from Example/Pods/Pods.xcodeproj/xcuserdata/kgoddard.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example.xcscheme rename to Example/Pods/Pods.xcodeproj/xcuserdata/yunus.tek.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example.xcscheme index 4b1c114..4adab6e 100644 --- a/Example/Pods/Pods.xcodeproj/xcuserdata/kgoddard.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example.xcscheme +++ b/Example/Pods/Pods.xcodeproj/xcuserdata/yunus.tek.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example.xcscheme @@ -1,6 +1,6 @@ @@ -45,7 +45,7 @@ diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/erik.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example.xcscheme b/Example/Pods/Pods.xcodeproj/xcuserdata/yunus.tek.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-ExampleTests.xcscheme similarity index 72% rename from Example/Pods/Pods.xcodeproj/xcuserdata/erik.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example.xcscheme rename to Example/Pods/Pods.xcodeproj/xcuserdata/yunus.tek.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-ExampleTests.xcscheme index cd4db55..6976d91 100644 --- a/Example/Pods/Pods.xcodeproj/xcuserdata/erik.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example.xcscheme +++ b/Example/Pods/Pods.xcodeproj/xcuserdata/yunus.tek.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-ExampleTests.xcscheme @@ -1,6 +1,6 @@ @@ -45,9 +45,9 @@ @@ -60,15 +60,6 @@ savedToolIdentifier = "" useCustomWorkingDirectory = "NO" debugDocumentVersioning = "YES"> - - - - diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/erik.xcuserdatad/xcschemes/xcschememanagement.plist b/Example/Pods/Pods.xcodeproj/xcuserdata/yunus.tek.xcuserdatad/xcschemes/xcschememanagement.plist similarity index 65% rename from Example/Pods/Pods.xcodeproj/xcuserdata/erik.xcuserdatad/xcschemes/xcschememanagement.plist rename to Example/Pods/Pods.xcodeproj/xcuserdata/yunus.tek.xcuserdatad/xcschemes/xcschememanagement.plist index 5f97981..7ac58ab 100644 --- a/Example/Pods/Pods.xcodeproj/xcuserdata/erik.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/Example/Pods/Pods.xcodeproj/xcuserdata/yunus.tek.xcuserdatad/xcschemes/xcschememanagement.plist @@ -4,29 +4,29 @@ SchemeUserState - Pods-KGFloatingDrawer-Example-KGFloatingDrawer.xcscheme + KGFloatingDrawer.xcscheme + isShown + orderHint - 2 + 0 Pods-KGFloatingDrawer-Example.xcscheme + isShown + orderHint 1 - - SuppressBuildableAutocreation - - 0E1A9D9B69C48841FDBA5609 + Pods-KGFloatingDrawer-ExampleTests.xcscheme - primary - - - 9956EAB19AAE15D26E47B28E - - primary - + isShown + + orderHint + 2 + SuppressBuildableAutocreation + diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Info.plist b/Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer-Info.plist similarity index 89% rename from Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Info.plist rename to Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer-Info.plist index f9f1a73..0d7bfa2 100644 --- a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Info.plist +++ b/Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer-Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable ${EXECUTABLE_NAME} CFBundleIdentifier - org.cocoapods.${PRODUCT_NAME:rfc1034identifier} + ${PRODUCT_BUNDLE_IDENTIFIER} CFBundleInfoDictionaryVersion 6.0 CFBundleName @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 0.1.3 + 0.2.0 CFBundleSignature ???? CFBundleVersion diff --git a/Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer-dummy.m b/Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer-dummy.m new file mode 100644 index 0000000..6ca3da4 --- /dev/null +++ b/Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_KGFloatingDrawer : NSObject +@end +@implementation PodsDummy_KGFloatingDrawer +@end diff --git a/Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer-prefix.pch b/Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer-prefix.pch new file mode 100644 index 0000000..beb2a24 --- /dev/null +++ b/Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer-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/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer-umbrella.h b/Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer-umbrella.h similarity index 51% rename from Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer-umbrella.h rename to Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer-umbrella.h index a731891..5ca17d7 100644 --- a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer-umbrella.h +++ b/Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer-umbrella.h @@ -1,4 +1,14 @@ +#ifdef __OBJC__ #import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif #import "KGFloatingDrawer.h" diff --git a/Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer.modulemap b/Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer.modulemap new file mode 100644 index 0000000..17e816e --- /dev/null +++ b/Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer.modulemap @@ -0,0 +1,6 @@ +framework module KGFloatingDrawer { + umbrella header "KGFloatingDrawer-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer.xcconfig b/Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer.xcconfig new file mode 100644 index 0000000..2acb7bc --- /dev/null +++ b/Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer.xcconfig @@ -0,0 +1,9 @@ +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/KGFloatingDrawer +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +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-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer-Private.xcconfig b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer-Private.xcconfig deleted file mode 100644 index c434150..0000000 --- a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer-Private.xcconfig +++ /dev/null @@ -1,10 +0,0 @@ -#include "Pods-KGFloatingDrawer-Example-KGFloatingDrawer.xcconfig" -CONFIGURATION_BUILD_DIR = $PODS_FRAMEWORK_BUILD_PATH -FRAMEWORK_SEARCH_PATHS = "$PODS_FRAMEWORK_BUILD_PATH" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/KGFloatingDrawer" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/KGFloatingDrawer" -OTHER_LDFLAGS = -ObjC -OTHER_SWIFT_FLAGS = "-D" "COCOAPODS" -PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-KGFloatingDrawer-Example -PODS_ROOT = ${SRCROOT} -SKIP_INSTALL = YES \ No newline at end of file diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer-dummy.m b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer-dummy.m deleted file mode 100644 index 3f2dde2..0000000 --- a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_Pods_KGFloatingDrawer_Example_KGFloatingDrawer : NSObject -@end -@implementation PodsDummy_Pods_KGFloatingDrawer_Example_KGFloatingDrawer -@end diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer-prefix.pch b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer-prefix.pch deleted file mode 100644 index 507098b..0000000 --- a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer-prefix.pch +++ /dev/null @@ -1,5 +0,0 @@ -#ifdef __OBJC__ -#import -#endif - -#import "Pods-KGFloatingDrawer-Example-environment.h" diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer.modulemap b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer.modulemap deleted file mode 100644 index 079731e..0000000 --- a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module KGFloatingDrawer { - umbrella header "Pods-KGFloatingDrawer-Example-KGFloatingDrawer-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer.xcconfig b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer.xcconfig deleted file mode 100644 index e69de29..0000000 diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Info.plist b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-Info.plist similarity index 92% rename from Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Info.plist rename to Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-Info.plist index 6974542..2243fe6 100644 --- a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Info.plist +++ b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable ${EXECUTABLE_NAME} CFBundleIdentifier - org.cocoapods.${PRODUCT_NAME:rfc1034identifier} + ${PRODUCT_BUNDLE_IDENTIFIER} CFBundleInfoDictionaryVersion 6.0 CFBundleName diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-acknowledgements.markdown index 4d007b7..be480c0 100644 --- a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-acknowledgements.markdown +++ b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-acknowledgements.markdown @@ -25,4 +25,4 @@ 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 - http://cocoapods.org +Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-acknowledgements.plist index 25ad4fe..2fb8366 100644 --- a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-acknowledgements.plist +++ b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-acknowledgements.plist @@ -36,6 +36,8 @@ 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 KGFloatingDrawer Type @@ -43,7 +45,7 @@ SOFTWARE. FooterText - Generated by CocoaPods - http://cocoapods.org + Generated by CocoaPods - https://cocoapods.org Title Type diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-environment.h b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-environment.h deleted file mode 100644 index cd9d57c..0000000 --- a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-environment.h +++ /dev/null @@ -1,14 +0,0 @@ - -// To check if a library is compiled with CocoaPods you -// can use the `COCOAPODS` macro definition which is -// defined in the xcconfigs so it is available in -// headers also when they are imported in the client -// project. - - -// KGFloatingDrawer -#define COCOAPODS_POD_AVAILABLE_KGFloatingDrawer -#define COCOAPODS_VERSION_MAJOR_KGFloatingDrawer 0 -#define COCOAPODS_VERSION_MINOR_KGFloatingDrawer 1 -#define COCOAPODS_VERSION_PATCH_KGFloatingDrawer 3 - diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-frameworks.sh b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-frameworks.sh index 5b4baa0..1f9d214 100755 --- a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-frameworks.sh +++ b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-frameworks.sh @@ -1,55 +1,171 @@ #!/bin/sh set -e +set -u +set -o pipefail + +function on_error { + echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" +} +trap 'on_error $LINENO' ERR + +if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then + # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy + # frameworks to, so exit 0 (signalling the script phase was successful). + exit 0 +fi echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" +COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" +# Used as a return value for each invocation of `strip_invalid_archs` function. +STRIP_BINARY_RETVAL=0 + +# 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 .*.??????") + +# Copies and strips a vendored framework install_framework() { - local source="${BUILT_PRODUCTS_DIR}/Pods-KGFloatingDrawer-Example/$1" - local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + 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}") + 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}" + elif [ -L "${binary}" ]; then + echo "Destination binary is symlinked..." + dirname="$(dirname "${binary}")" + binary="${dirname}/$(readlink "${binary}")" + 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 - # use filter instead of exclude so missing patterns dont' throw errors - echo "rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers/" --filter "- PrivateHeaders/" ${source} ${destination}" - rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers/" --filter "- PrivateHeaders/" "${source}" "${destination}" # Resign the code if required by the build settings to avoid unstable apps - if [ "${CODE_SIGNING_REQUIRED}" == "YES" ]; then - code_sign "${destination}/$1" + 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) + 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 +} - # Embed linked Swift runtime libraries - local basename - basename=$(echo $1 | sed -E s/\\..+// && exit ${PIPESTATUS[0]}) - local swift_runtime_libs - swift_runtime_libs=$(xcrun otool -LX "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/$1/${basename}" | 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}" - if [ "${CODE_SIGNING_REQUIRED}" == "YES" ]; then - code_sign "${destination}/${lib}" +# Copies and strips a vendored dSYM +install_dsym() { + local source="$1" + if [ -r "$source" ]; then + # Copy the dSYM into a the targets temp dir. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" + + local basename + basename="$(basename -s .framework.dSYM "$source")" + binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" + + # Strip invalid architectures so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"Mach-O "*"dSYM companion"* ]]; then + strip_invalid_archs "$binary" fi - done + + if [[ $STRIP_BINARY_RETVAL == 1 ]]; then + # Move the stripped file into its final destination. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" + else + # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. + touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" + fi + fi +} + +# Copies the bcsymbolmap files of a vendored framework +install_bcsymbolmap() { + local bcsymbolmap_path="$1" + local destination="${BUILT_PRODUCTS_DIR}" + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}" } # Signs a framework with the provided identity -code_sign() { - # Use the current code_sign_identitiy - echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" - echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements $1" - /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" +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_identity + 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 target binary + binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" + # Intersect them with the architectures we are building for + intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" + # If there are no archs supported by this binary then warn the user + if [[ -z "$intersected_archs" ]]; then + echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." + STRIP_BINARY_RETVAL=0 + return + fi + stripped="" + for arch in $binary_archs; do + if ! [[ "${ARCHS}" == *"$arch"* ]]; then + # Strip non-valid architectures in-place + lipo -remove "$arch" -output "$binary" "$binary" + stripped="$stripped $arch" + fi + done + if [[ "$stripped" ]]; then + echo "Stripped $binary of architectures:$stripped" + fi + STRIP_BINARY_RETVAL=1 } if [[ "$CONFIGURATION" == "Debug" ]]; then - install_framework 'KGFloatingDrawer.framework' + install_framework "${BUILT_PRODUCTS_DIR}/KGFloatingDrawer/KGFloatingDrawer.framework" fi if [[ "$CONFIGURATION" == "Release" ]]; then - install_framework 'KGFloatingDrawer.framework' + install_framework "${BUILT_PRODUCTS_DIR}/KGFloatingDrawer/KGFloatingDrawer.framework" +fi +if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + wait fi diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-resources.sh b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-resources.sh deleted file mode 100755 index e149064..0000000 --- a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-resources.sh +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/sh -set -e - -mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - -RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt -> "$RESOURCES_TO_COPY" - -install_resource() -{ - case $1 in - *.storyboard) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}" - ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" - ;; - *.xib) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}" - ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" - ;; - *.framework) - echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - ;; - *.xcdatamodel) - echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\"" - xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom" - ;; - *.xcdatamodeld) - echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\"" - xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd" - ;; - *.xcmappingmodel) - echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\"" - xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm" - ;; - *.xcassets) - ;; - /*) - echo "$1" - echo "$1" >> "$RESOURCES_TO_COPY" - ;; - *) - echo "${PODS_ROOT}/$1" - echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" - ;; - esac -} - -rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -if [[ "${ACTION}" == "install" ]]; then - 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`" ] && [ `find . -name '*.xcassets' | wc -l` -ne 0 ] -then - 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" - ;; - *) - TARGET_DEVICE_ARGS="--target-device mac" - ;; - esac - find "${PWD}" -name "*.xcassets" -print0 | xargs -0 actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-umbrella.h b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-umbrella.h index 6561ea1..66c27b2 100644 --- a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-umbrella.h +++ b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-umbrella.h @@ -1,4 +1,14 @@ +#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_KGFloatingDrawer_ExampleVersionNumber; diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example.debug.xcconfig b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example.debug.xcconfig index dad93e3..6f22d63 100644 --- a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example.debug.xcconfig +++ b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example.debug.xcconfig @@ -1,9 +1,11 @@ -FRAMEWORK_SEARCH_PATHS = "$PODS_FRAMEWORK_BUILD_PATH" +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/KGFloatingDrawer" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/KGFloatingDrawer/KGFloatingDrawer.framework/Headers" LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$PODS_FRAMEWORK_BUILD_PATH/KGFloatingDrawer.framework/Headers" -OTHER_LDFLAGS = $(inherited) -ObjC -framework "KGFloatingDrawer" -OTHER_LIBTOOLFLAGS = $(OTHER_LDFLAGS) -OTHER_SWIFT_FLAGS = "-D" "COCOAPODS" -PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-KGFloatingDrawer-Example -PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file +OTHER_LDFLAGS = $(inherited) -framework "KGFloatingDrawer" +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-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example.release.xcconfig b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example.release.xcconfig index dad93e3..6f22d63 100644 --- a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example.release.xcconfig +++ b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example.release.xcconfig @@ -1,9 +1,11 @@ -FRAMEWORK_SEARCH_PATHS = "$PODS_FRAMEWORK_BUILD_PATH" +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/KGFloatingDrawer" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/KGFloatingDrawer/KGFloatingDrawer.framework/Headers" LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$PODS_FRAMEWORK_BUILD_PATH/KGFloatingDrawer.framework/Headers" -OTHER_LDFLAGS = $(inherited) -ObjC -framework "KGFloatingDrawer" -OTHER_LIBTOOLFLAGS = $(OTHER_LDFLAGS) -OTHER_SWIFT_FLAGS = "-D" "COCOAPODS" -PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-KGFloatingDrawer-Example -PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file +OTHER_LDFLAGS = $(inherited) -framework "KGFloatingDrawer" +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-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-Info.plist b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-Info.plist new file mode 100644 index 0000000..2243fe6 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-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-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-acknowledgements.markdown new file mode 100644 index 0000000..102af75 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-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-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-acknowledgements.plist new file mode 100644 index 0000000..7acbad1 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-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-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-dummy.m b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-dummy.m new file mode 100644 index 0000000..51c2098 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_KGFloatingDrawer_ExampleTests : NSObject +@end +@implementation PodsDummy_Pods_KGFloatingDrawer_ExampleTests +@end diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-umbrella.h b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-umbrella.h new file mode 100644 index 0000000..6aad92c --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-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_KGFloatingDrawer_ExampleTestsVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_KGFloatingDrawer_ExampleTestsVersionString[]; + diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests.debug.xcconfig b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests.debug.xcconfig new file mode 100644 index 0000000..521bc0e --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests.debug.xcconfig @@ -0,0 +1,5 @@ +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +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-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests.modulemap b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests.modulemap new file mode 100644 index 0000000..35163ce --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests.modulemap @@ -0,0 +1,6 @@ +framework module Pods_KGFloatingDrawer_ExampleTests { + umbrella header "Pods-KGFloatingDrawer-ExampleTests-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests.release.xcconfig b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests.release.xcconfig new file mode 100644 index 0000000..521bc0e --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests.release.xcconfig @@ -0,0 +1,5 @@ +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +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/Pod/Classes/KGDrawerSpringAnimator.swift b/Pod/Classes/KGDrawerSpringAnimator.swift index 5efc806..ade9092 100644 --- a/Pod/Classes/KGDrawerSpringAnimator.swift +++ b/Pod/Classes/KGDrawerSpringAnimator.swift @@ -40,7 +40,7 @@ open class KGDrawerSpringAnimator: NSObject { view.transform = CGAffineTransform.identity } } - + } extension KGDrawerSpringAnimator: KGDrawerAnimating { @@ -48,14 +48,14 @@ extension KGDrawerSpringAnimator: KGDrawerAnimating { public func openDrawer(_ side: KGDrawerSide, drawerView: UIView, centerView: UIView, animated: Bool, complete: @escaping (Bool) -> Void) { if (animated) { UIView.animate(withDuration: animationDuration, - delay: animationDelay, - usingSpringWithDamping: springDamping, - initialSpringVelocity: initialSpringVelocity, - options: UIViewAnimationOptions.curveLinear, - animations: { - self.applyTransforms(side, drawerView: drawerView, centerView: centerView) - - }, completion: complete) + delay: animationDelay, + usingSpringWithDamping: springDamping, + initialSpringVelocity: initialSpringVelocity, + options: UIView.AnimationOptions.curveLinear, + animations: { + self.applyTransforms(side, drawerView: drawerView, centerView: centerView) + + }, completion: complete) } else { self.applyTransforms(side, drawerView: drawerView, centerView: centerView) } @@ -64,12 +64,12 @@ extension KGDrawerSpringAnimator: KGDrawerAnimating { public func dismissDrawer(_ side: KGDrawerSide, drawerView: UIView, centerView: UIView, animated: Bool, complete: @escaping (Bool) -> Void) { if (animated) { UIView.animate(withDuration: animationDuration, - delay: animationDelay, - usingSpringWithDamping: springDamping, - initialSpringVelocity: initialSpringVelocity, - options: UIViewAnimationOptions.curveLinear, - animations: { - self.resetTransforms([drawerView, centerView]) + delay: animationDelay, + usingSpringWithDamping: springDamping, + initialSpringVelocity: initialSpringVelocity, + options: UIView.AnimationOptions.curveLinear, + animations: { + self.resetTransforms([drawerView, centerView]) }, completion: complete) } else { self.resetTransforms([drawerView, centerView]) @@ -82,11 +82,11 @@ extension KGDrawerSpringAnimator: KGDrawerAnimating { public func didRotateWithDrawerOpen(_ side: KGDrawerSide, drawerView: UIView, centerView: UIView) { UIView.animate(withDuration: animationDuration, - delay: animationDelay, - usingSpringWithDamping: springDamping, - initialSpringVelocity: initialSpringVelocity, - options: UIViewAnimationOptions.curveLinear, - animations: {}, completion: nil ) + delay: animationDelay, + usingSpringWithDamping: springDamping, + initialSpringVelocity: initialSpringVelocity, + options: UIView.AnimationOptions.curveLinear, + animations: {}, completion: nil ) } } diff --git a/Pod/Classes/KGDrawerView.swift b/Pod/Classes/KGDrawerView.swift index 5f3a9ad..fcadadc 100644 --- a/Pod/Classes/KGDrawerView.swift +++ b/Pod/Classes/KGDrawerView.swift @@ -34,7 +34,7 @@ open class KGDrawerView: UIView { } override open func willMove(toSuperview newSuperview: UIView?) { - self.bringSubview(toFront: self.centerViewContainer) + self.bringSubviewToFront(self.centerViewContainer) } override open func layoutSubviews() { diff --git a/Pod/Classes/KGDrawerViewController.swift b/Pod/Classes/KGDrawerViewController.swift index beb3f0d..aa47970 100644 --- a/Pod/Classes/KGDrawerViewController.swift +++ b/Pod/Classes/KGDrawerViewController.swift @@ -23,7 +23,7 @@ open class KGDrawerViewController: UIViewController { override public init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) { super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil) } - + required public init?(coder aDecoder: NSCoder) { fatalError("init(coder:) has not been implemented") } @@ -68,7 +68,7 @@ open class KGDrawerViewController: UIViewController { let centerView = drawerView.centerViewContainer if currentlyOpenedSide != .none { closeDrawer(side, animated: animated) { finished in - self.animator.openDrawer(side, drawerView: sideView, centerView: centerView, animated: animated, complete: complete) + self.animator.openDrawer(side, drawerView: sideView, centerView: centerView, animated: animated, complete: complete) } } else { self.animator.openDrawer(side, drawerView: sideView, centerView: centerView, animated: animated, complete: complete) @@ -116,7 +116,7 @@ open class KGDrawerViewController: UIViewController { centerViewController?.view.isUserInteractionEnabled = true } - func centerViewContainerTapped(_ sender: AnyObject) { + @objc func centerViewContainerTapped(_ sender: AnyObject) { closeDrawer(currentlyOpenedSide, animated: true) { (finished) -> Void in // Do nothing } @@ -137,11 +137,11 @@ open class KGDrawerViewController: UIViewController { func replaceViewController(_ sourceViewController: UIViewController?, destinationViewController: UIViewController, container: UIView) { - sourceViewController?.willMove(toParentViewController: nil) + sourceViewController?.willMove(toParent: nil) sourceViewController?.view.removeFromSuperview() - sourceViewController?.removeFromParentViewController() + sourceViewController?.removeFromParent() - self.addChildViewController(destinationViewController) + self.addChild(destinationViewController) container.addSubview(destinationViewController.view) let destinationView = destinationViewController.view @@ -150,10 +150,10 @@ open class KGDrawerViewController: UIViewController { container.removeConstraints(container.constraints) let views: [String:UIView] = ["v1" : destinationView!] - container.addConstraints(NSLayoutConstraint.constraints(withVisualFormat: "V:|[v1]|", options: NSLayoutFormatOptions(rawValue: 0), metrics: nil, views: views)) - container.addConstraints(NSLayoutConstraint.constraints(withVisualFormat: "H:|[v1]|", options: NSLayoutFormatOptions(rawValue: 0), metrics: nil, views: views)) + container.addConstraints(NSLayoutConstraint.constraints(withVisualFormat: "V:|[v1]|", options: NSLayoutConstraint.FormatOptions(rawValue: 0), metrics: nil, views: views)) + container.addConstraints(NSLayoutConstraint.constraints(withVisualFormat: "H:|[v1]|", options: NSLayoutConstraint.FormatOptions(rawValue: 0), metrics: nil, views: views)) - destinationViewController.didMove(toParentViewController: self) + destinationViewController.didMove(toParent: self) } // MARK: Private computed properties @@ -198,7 +198,7 @@ open class KGDrawerViewController: UIViewController { [unowned self] in let gesture = UITapGestureRecognizer(target: self, action: #selector(KGDrawerViewController.centerViewContainerTapped(_:))) return gesture - }() + }() open var leftDrawerWidth: CGFloat { get { @@ -241,11 +241,11 @@ open class KGDrawerViewController: UIViewController { // MARK: Status Bar - override open var childViewControllerForStatusBarHidden : UIViewController? { + override open var childForStatusBarHidden : UIViewController? { return centerViewController } - override open var childViewControllerForStatusBarStyle : UIViewController? { + override open var childForStatusBarStyle : UIViewController? { return centerViewController }