From d2c773d4c96218b2d2dc1a3522fe7e011ad402d6 Mon Sep 17 00:00:00 2001 From: mobileflowllc Date: Wed, 21 Mar 2018 19:59:05 -0700 Subject: [PATCH 1/7] Swift 4.0 port --- .../project.pbxproj | 123 +++- .../AppDelegate.swift | 41 +- .../KGDrawerSettingsTableViewController.swift | 26 +- .../KGDrawerWebViewViewController.swift | 12 +- .../LeftDrawerTableViewController.swift | 9 +- Example/Podfile.lock | 8 +- .../KGFloatingDrawer.podspec.json | 4 +- Example/Pods/Manifest.lock | 8 +- Example/Pods/Pods.xcodeproj/project.pbxproj | 664 +++++++++++------- .../Pods-KGFloatingDrawer-Example/Info.plist | 2 +- ...ngDrawer-Example-acknowledgements.markdown | 2 +- ...atingDrawer-Example-acknowledgements.plist | 4 +- ...ods-KGFloatingDrawer-Example-frameworks.sh | 111 ++- ...Pods-KGFloatingDrawer-Example-resources.sh | 112 +-- .../Pods-KGFloatingDrawer-Example-umbrella.h | 10 + ...ds-KGFloatingDrawer-Example.debug.xcconfig | 16 +- ...-KGFloatingDrawer-Example.release.xcconfig | 16 +- Pod/Classes/KGDrawerViewController.swift | 2 +- 18 files changed, 769 insertions(+), 401 deletions(-) diff --git a/Example/KGFloatingDrawer-Example.xcodeproj/project.pbxproj b/Example/KGFloatingDrawer-Example.xcodeproj/project.pbxproj index 61efcb8..8e8137a 100644 --- a/Example/KGFloatingDrawer-Example.xcodeproj/project.pbxproj +++ b/Example/KGFloatingDrawer-Example.xcodeproj/project.pbxproj @@ -15,7 +15,8 @@ 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, ); }; }; + B2E35019FC202F7EF09628F2 /* Pods_KGFloatingDrawer_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A0D8BEE744BA789E52ABA278 /* Pods_KGFloatingDrawer_Example.framework */; }; + E3C4804DF301322BC1A09EC1 /* Pods_KGFloatingDrawer_ExampleTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F583EE42D58A00F04B9B102 /* Pods_KGFloatingDrawer_ExampleTests.framework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -29,8 +30,7 @@ /* 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 = ""; }; + 145804336F338798094FA972 /* 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 = ""; }; 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 = ""; }; @@ -43,7 +43,11 @@ 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; }; + 2389D9E8CEC65E97A40632A0 /* Pods-KGFloatingDrawer-ExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KGFloatingDrawer-ExampleTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests.debug.xcconfig"; sourceTree = ""; }; + 4F583EE42D58A00F04B9B102 /* Pods_KGFloatingDrawer_ExampleTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_KGFloatingDrawer_ExampleTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + A0D8BEE744BA789E52ABA278 /* Pods_KGFloatingDrawer_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_KGFloatingDrawer_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + AF644C845F6AE5DD03618A8A /* Pods-KGFloatingDrawer-ExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KGFloatingDrawer-ExampleTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests.release.xcconfig"; sourceTree = ""; }; + F878939249EFF7D3D1428CAB /* 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 = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -51,7 +55,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 8C09F118ED931F787483136F /* Pods_KGFloatingDrawer_Example.framework in Frameworks */, + B2E35019FC202F7EF09628F2 /* Pods_KGFloatingDrawer_Example.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -59,6 +63,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + E3C4804DF301322BC1A09EC1 /* Pods_KGFloatingDrawer_ExampleTests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -71,8 +76,8 @@ 1F441BEF1AA6A745005772A1 /* KGFloatingDrawer-Example */, 1F441C051AA6A745005772A1 /* KGFloatingDrawer-ExampleTests */, 1F441BEE1AA6A745005772A1 /* Products */, - 550CB92250482D0B3A327A9E /* Pods */, - E6FFB1C99687606A26E9F6A0 /* Frameworks */, + CC8DD3692610260C66539251 /* Pods */, + EDD3AE592877293FF54FE74E /* Frameworks */, ); sourceTree = ""; }; @@ -125,19 +130,22 @@ name = "Supporting Files"; sourceTree = ""; }; - 550CB92250482D0B3A327A9E /* Pods */ = { + CC8DD3692610260C66539251 /* Pods */ = { isa = PBXGroup; children = ( - 01B2AB81D863D8EDA47432CC /* Pods-KGFloatingDrawer-Example.debug.xcconfig */, - 1DC3D2E52604AA455F7D40D7 /* Pods-KGFloatingDrawer-Example.release.xcconfig */, + 145804336F338798094FA972 /* Pods-KGFloatingDrawer-Example.debug.xcconfig */, + F878939249EFF7D3D1428CAB /* Pods-KGFloatingDrawer-Example.release.xcconfig */, + 2389D9E8CEC65E97A40632A0 /* Pods-KGFloatingDrawer-ExampleTests.debug.xcconfig */, + AF644C845F6AE5DD03618A8A /* Pods-KGFloatingDrawer-ExampleTests.release.xcconfig */, ); name = Pods; sourceTree = ""; }; - E6FFB1C99687606A26E9F6A0 /* Frameworks */ = { + EDD3AE592877293FF54FE74E /* Frameworks */ = { isa = PBXGroup; children = ( - DA08E459ED5F3517BF19F394 /* Pods_KGFloatingDrawer_Example.framework */, + A0D8BEE744BA789E52ABA278 /* Pods_KGFloatingDrawer_Example.framework */, + 4F583EE42D58A00F04B9B102 /* Pods_KGFloatingDrawer_ExampleTests.framework */, ); name = Frameworks; sourceTree = ""; @@ -149,12 +157,12 @@ isa = PBXNativeTarget; buildConfigurationList = 1F441C0C1AA6A745005772A1 /* Build configuration list for PBXNativeTarget "KGFloatingDrawer-Example" */; buildPhases = ( - EEBDE45A7F2FD9E056F739EB /* Check Pods Manifest.lock */, + 1879CC31E187E0CE0496D1E7 /* [CP] Check Pods Manifest.lock */, 1F441BE91AA6A745005772A1 /* Sources */, 1F441BEA1AA6A745005772A1 /* Frameworks */, 1F441BEB1AA6A745005772A1 /* Resources */, - F48B17B99145B962BCF52BE3 /* Embed Pods Frameworks */, - 69DC89266D137194AFB03EF6 /* Copy Pods Resources */, + 84FBFFE0EAF082D2BCA24C35 /* [CP] Embed Pods Frameworks */, + CA45F4B92B855C4C6B116D97 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -169,9 +177,12 @@ isa = PBXNativeTarget; buildConfigurationList = 1F441C0F1AA6A745005772A1 /* Build configuration list for PBXNativeTarget "KGFloatingDrawer-ExampleTests" */; buildPhases = ( + A75D7D26EBD53358D7D41D58 /* [CP] Check Pods Manifest.lock */, 1F441BFE1AA6A745005772A1 /* Sources */, 1F441BFF1AA6A745005772A1 /* Frameworks */, 1F441C001AA6A745005772A1 /* Resources */, + 9108D9717F2C7D21798DC03B /* [CP] Embed Pods Frameworks */, + 5782387BB23D206592136C1B /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -243,51 +254,105 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ - 69DC89266D137194AFB03EF6 /* Copy Pods Resources */ = { + 1879CC31E187E0CE0496D1E7 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", ); - name = "Copy Pods Resources"; + name = "[CP] Check Pods Manifest.lock"; outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-KGFloatingDrawer-Example-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 */ = { + 5782387BB23D206592136C1B /* [CP] Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); - name = "Check Pods Manifest.lock"; + name = "[CP] Copy Pods Resources"; outputPaths = ( ); 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 = "\"${SRCROOT}/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-resources.sh\"\n"; showEnvVarsInLog = 0; }; - F48B17B99145B962BCF52BE3 /* Embed Pods Frameworks */ = { + 84FBFFE0EAF082D2BCA24C35 /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( + "${SRCROOT}/Pods/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"; showEnvVarsInLog = 0; }; + 9108D9717F2C7D21798DC03B /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + A75D7D26EBD53358D7D41D58 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-KGFloatingDrawer-ExampleTests-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; + CA45F4B92B855C4C6B116D97 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -368,11 +433,12 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.3; + IPHONEOS_DEPLOYMENT_TARGET = 11.2; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 4.0; TARGETED_DEVICE_FAMILY = "1,2"; }; name = Debug; @@ -406,9 +472,10 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.3; + IPHONEOS_DEPLOYMENT_TARGET = 11.2; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; + SWIFT_VERSION = 4.0; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; }; @@ -416,7 +483,7 @@ }; 1F441C0D1AA6A745005772A1 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 01B2AB81D863D8EDA47432CC /* Pods-KGFloatingDrawer-Example.debug.xcconfig */; + baseConfigurationReference = 145804336F338798094FA972 /* Pods-KGFloatingDrawer-Example.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = "KGFloatingDrawer-Example/Info.plist"; @@ -429,7 +496,7 @@ }; 1F441C0E1AA6A745005772A1 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 1DC3D2E52604AA455F7D40D7 /* Pods-KGFloatingDrawer-Example.release.xcconfig */; + baseConfigurationReference = F878939249EFF7D3D1428CAB /* Pods-KGFloatingDrawer-Example.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = "KGFloatingDrawer-Example/Info.plist"; @@ -442,6 +509,7 @@ }; 1F441C101AA6A745005772A1 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 2389D9E8CEC65E97A40632A0 /* Pods-KGFloatingDrawer-ExampleTests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; FRAMEWORK_SEARCH_PATHS = ( @@ -462,6 +530,7 @@ }; 1F441C111AA6A745005772A1 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = AF644C845F6AE5DD03618A8A /* Pods-KGFloatingDrawer-ExampleTests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; FRAMEWORK_SEARCH_PATHS = ( diff --git a/Example/KGFloatingDrawer-Example/AppDelegate.swift b/Example/KGFloatingDrawer-Example/AppDelegate.swift index cb2dfa4..ae155ad 100644 --- a/Example/KGFloatingDrawer-Example/AppDelegate.swift +++ b/Example/KGFloatingDrawer-Example/AppDelegate.swift @@ -21,10 +21,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate { let kKGLeftDrawerStoryboardId = "KGLeftDrawerViewControllerStoryboardId" let kKGRightDrawerStoryboardId = "KGRightDrawerViewControllerStoryboardId" - - func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> 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 +32,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 invalidate graphics rendering callbacks. Games should use this method to pause the 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) { - // 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 applicationWillEnterForeground(_ application: UIApplication) { + // Called as part of the transition from the background to the active 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 +83,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 + _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 + _drawerViewController?.toggleDrawer(.right, animated: true, complete: { (finished) -> Void in // do nothing }) } diff --git a/Example/KGFloatingDrawer-Example/KGDrawerSettingsTableViewController.swift b/Example/KGFloatingDrawer-Example/KGDrawerSettingsTableViewController.swift index d95876d..a590ab9 100644 --- a/Example/KGFloatingDrawer-Example/KGDrawerSettingsTableViewController.swift +++ b/Example/KGFloatingDrawer-Example/KGDrawerSettingsTableViewController.swift @@ -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? @@ -39,9 +39,9 @@ class KGDrawerSettingsTableViewController: UITableViewController { // 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!) + captureDefaultValues(animator: animator!) reset() } } @@ -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! } @@ -84,12 +84,12 @@ class KGDrawerSettingsTableViewController: UITableViewController { @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) { delayLabel.text = String(format: "%.2f", sender.value) - animator?.animationDelay = NSTimeInterval(sender.value) + animator?.animationDelay = TimeInterval(sender.value) } @IBAction func springVelocitySliderChanged(sender: UISlider) { @@ -108,16 +108,16 @@ class KGDrawerSettingsTableViewController: UITableViewController { } @IBAction func toggleLeftDrawer(sender: AnyObject) { - let appDelegate = UIApplication.sharedApplication().delegate as! AppDelegate - appDelegate.toggleLeftDrawer(sender, animated: false) + let appDelegate = UIApplication.shared.delegate as! AppDelegate + appDelegate.toggleLeftDrawer(sender: sender, animated: false) } @IBAction func toggleRightDrawer(sender: AnyObject) { - let appDelegate = UIApplication.sharedApplication().delegate as! AppDelegate - appDelegate.toggleRightDrawer(sender, animated: true) + let appDelegate = UIApplication.shared.delegate as! AppDelegate + appDelegate.toggleRightDrawer(sender: 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..66421d2 100644 --- a/Example/KGFloatingDrawer-Example/KGDrawerWebViewViewController.swift +++ b/Example/KGFloatingDrawer-Example/KGDrawerWebViewViewController.swift @@ -17,9 +17,9 @@ class KGDrawerWebViewViewController: UIViewController { // Do any additional setup after loading the view. let url: NSURL = NSURL(string: "https://github.com/KyleGoddard/KGFloatingDrawer")! - let request = NSURLRequest(URL: url) + let request = NSURLRequest(url: url as URL) - webView.loadRequest(request) + webView.loadRequest(request as URLRequest) } override func didReceiveMemoryWarning() { @@ -39,12 +39,12 @@ class KGDrawerWebViewViewController: UIViewController { */ @IBAction func toggleLeftDrawer(sender: AnyObject) { - let appDelegate = UIApplication.sharedApplication().delegate as! AppDelegate - appDelegate.toggleLeftDrawer(sender, animated: false) + let appDelegate = UIApplication.shared.delegate as! AppDelegate + appDelegate.toggleLeftDrawer(sender: sender, animated: false) } @IBAction func toggleRightDrawer(sender: AnyObject) { - let appDelegate = UIApplication.sharedApplication().delegate as! AppDelegate - appDelegate.toggleRightDrawer(sender, animated: true) + let appDelegate = UIApplication.shared.delegate as! AppDelegate + appDelegate.toggleRightDrawer(sender: sender, animated: true) } } diff --git a/Example/KGFloatingDrawer-Example/LeftDrawerTableViewController.swift b/Example/KGFloatingDrawer-Example/LeftDrawerTableViewController.swift index 79f82be..77bae5c 100644 --- a/Example/KGFloatingDrawer-Example/LeftDrawerTableViewController.swift +++ b/Example/KGFloatingDrawer-Example/LeftDrawerTableViewController.swift @@ -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 = UIColor.clear } } diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 3e0b44e..b2447d7 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -1,5 +1,5 @@ PODS: - - KGFloatingDrawer (0.1.3) + - KGFloatingDrawer (0.2.0) DEPENDENCIES: - KGFloatingDrawer (from `../`) @@ -9,6 +9,8 @@ EXTERNAL SOURCES: :path: ../ SPEC CHECKSUMS: - KGFloatingDrawer: 159abb66ba8fe4fc10e15dbb7e9fbb394b4a78fa + KGFloatingDrawer: b0c2810954bfb61f4d4dd01b8891d5c23933e368 -COCOAPODS: 0.36.0.rc.1 +PODFILE CHECKSUM: 6b0ce6e20b95b349ab19b275bf8c9cf17614c0e3 + +COCOAPODS: 1.3.1 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..b2447d7 100644 --- a/Example/Pods/Manifest.lock +++ b/Example/Pods/Manifest.lock @@ -1,5 +1,5 @@ PODS: - - KGFloatingDrawer (0.1.3) + - KGFloatingDrawer (0.2.0) DEPENDENCIES: - KGFloatingDrawer (from `../`) @@ -9,6 +9,8 @@ EXTERNAL SOURCES: :path: ../ SPEC CHECKSUMS: - KGFloatingDrawer: 159abb66ba8fe4fc10e15dbb7e9fbb394b4a78fa + KGFloatingDrawer: b0c2810954bfb61f4d4dd01b8891d5c23933e368 -COCOAPODS: 0.36.0.rc.1 +PODFILE CHECKSUM: 6b0ce6e20b95b349ab19b275bf8c9cf17614c0e3 + +COCOAPODS: 1.3.1 diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj index e3a4c96..1decf12 100644 --- a/Example/Pods/Pods.xcodeproj/project.pbxproj +++ b/Example/Pods/Pods.xcodeproj/project.pbxproj @@ -7,191 +7,213 @@ 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 */; }; + 31314CF8880141A83EB1006D96208EF7 /* Pods-KGFloatingDrawer-ExampleTests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 95DEE6CE3990143E7448ADAAECA141F5 /* Pods-KGFloatingDrawer-ExampleTests-dummy.m */; }; + 443BA1FBA4DCD076BE8AD3E0EAF9994A /* Pods-KGFloatingDrawer-Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 5EF21EDA4C56E40CC0A742A8C184A8C2 /* Pods-KGFloatingDrawer-Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 633590EB419D434C3091393D961CDAE9 /* KGDrawerAnimating.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4000B25801798B447B5A1C477ED27115 /* KGDrawerAnimating.swift */; }; + 635EF3912A27AA9AA33B79256BAB58EB /* KGFloatingDrawer-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = E3A946244B1EA8198814E05BFB14D58E /* KGFloatingDrawer-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 6D200B42775919D17D98DA65C05EB93D /* KGDrawerViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 66391DB1BDB9D02EACFD7A517C999527 /* KGDrawerViewController.swift */; }; + 93E6E79E8F7ACB448FBACB01C0D149CB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; + 9A4CC9A581B80F2B529DEE5A8BFD0EC2 /* Pods-KGFloatingDrawer-Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 55A7851DD96ECFD2E40ACC8E3BB7C2C8 /* Pods-KGFloatingDrawer-Example-dummy.m */; }; + AEF91D11215C4D7B1703B0A443F19BEC /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; + BE75C9466F566739FEFD891DABC86C66 /* KGFloatingDrawer-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = A7ADD9B478A1062CB1E2E20BA6F7A7D4 /* KGFloatingDrawer-dummy.m */; }; + CD603D90BF3AC51FE37509113265A8DC /* KGDrawerSpringAnimator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 15BB0203F1B8FAD4EE619B42A9769332 /* KGDrawerSpringAnimator.swift */; }; + DB418B2510347F134BC7E2D25018732E /* KGDrawerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = D239ED874A745BAD12D93AE6F009ADFC /* KGDrawerView.swift */; }; + DF4574B91EB7305D1DA30F4E5AC4FAB0 /* Pods-KGFloatingDrawer-ExampleTests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = BF482D28BC7F6890CCB2ACE19DD135AB /* Pods-KGFloatingDrawer-ExampleTests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + ECE3F350C4F8D168A854B0E88E0A2A53 /* KGFloatingDrawer.h in Headers */ = {isa = PBXBuildFile; fileRef = 8D19C81406899AF94A3BA482B800044B /* KGFloatingDrawer.h */; settings = {ATTRIBUTES = (Public, ); }; }; + FBCF3587BEF1B36A7EECCB953D8F7797 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ - 784C74E93922005BAAE5D201 /* PBXContainerItemProxy */ = { + 44FD8C79459B92A01DB93EDD23CB384D /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; - containerPortal = 9505CED87A333F508BBE7C52 /* Project object */; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; proxyType = 1; - remoteGlobalIDString = 9956EAB19AAE15D26E47B28E; - remoteInfo = "Pods-KGFloatingDrawer-Example-KGFloatingDrawer"; + remoteGlobalIDString = B4FC00CC6CD375F51CB8D6CD286681A0; + 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 = ""; }; + 0B7DF1FE0B280F796954C4D281823782 /* Pods-KGFloatingDrawer-Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-KGFloatingDrawer-Example-acknowledgements.plist"; sourceTree = ""; }; + 15BB0203F1B8FAD4EE619B42A9769332 /* KGDrawerSpringAnimator.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KGDrawerSpringAnimator.swift; path = Pod/Classes/KGDrawerSpringAnimator.swift; sourceTree = ""; }; + 1628F18E0711D9457B377C66C5032788 /* Pods-KGFloatingDrawer-ExampleTests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-KGFloatingDrawer-ExampleTests-frameworks.sh"; sourceTree = ""; }; + 242D4804DF6B31CE5BC560E4BC61886E /* Pods-KGFloatingDrawer-ExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-KGFloatingDrawer-ExampleTests.debug.xcconfig"; sourceTree = ""; }; + 35C4BC1D8BE4E34719B7581E454157F5 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 369C48D33D93E4369A82726B9BFE0A20 /* KGFloatingDrawer.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = KGFloatingDrawer.modulemap; sourceTree = ""; }; + 37B7E8A765F4D146B96E080452A215EE /* Pods-KGFloatingDrawer-ExampleTests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-KGFloatingDrawer-ExampleTests-resources.sh"; sourceTree = ""; }; + 4000B25801798B447B5A1C477ED27115 /* KGDrawerAnimating.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KGDrawerAnimating.swift; path = Pod/Classes/KGDrawerAnimating.swift; sourceTree = ""; }; + 41466578AC4061DAA97B960368CCEDD4 /* Pods-KGFloatingDrawer-ExampleTests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-KGFloatingDrawer-ExampleTests-acknowledgements.plist"; sourceTree = ""; }; + 4BA3C0163A4A78B46DD52592603740F9 /* Pods-KGFloatingDrawer-Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-KGFloatingDrawer-Example-frameworks.sh"; sourceTree = ""; }; + 55A7851DD96ECFD2E40ACC8E3BB7C2C8 /* Pods-KGFloatingDrawer-Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-KGFloatingDrawer-Example-dummy.m"; sourceTree = ""; }; + 5D4CF59BFA8D76E464046A3B6BE2BF0F /* Pods-KGFloatingDrawer-Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-KGFloatingDrawer-Example.debug.xcconfig"; sourceTree = ""; }; + 5DB8BB4437A85062B2DE14E73D376938 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 5EF21EDA4C56E40CC0A742A8C184A8C2 /* Pods-KGFloatingDrawer-Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-KGFloatingDrawer-Example-umbrella.h"; sourceTree = ""; }; + 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; + 66391DB1BDB9D02EACFD7A517C999527 /* KGDrawerViewController.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KGDrawerViewController.swift; path = Pod/Classes/KGDrawerViewController.swift; sourceTree = ""; }; + 6BF79BB5AA2EF00DAF2AD11E4320FA13 /* Pods_KGFloatingDrawer_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_KGFloatingDrawer_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 6F05AB26FEDF26F4D447B2BB22C82573 /* Pods-KGFloatingDrawer-ExampleTests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-KGFloatingDrawer-ExampleTests.modulemap"; sourceTree = ""; }; + 78D57A59DA96525B33FD7F850C673589 /* Pods-KGFloatingDrawer-Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-KGFloatingDrawer-Example.modulemap"; sourceTree = ""; }; + 8D19C81406899AF94A3BA482B800044B /* KGFloatingDrawer.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = KGFloatingDrawer.h; path = Pod/Classes/KGFloatingDrawer.h; sourceTree = ""; }; + 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + 95DEE6CE3990143E7448ADAAECA141F5 /* Pods-KGFloatingDrawer-ExampleTests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-KGFloatingDrawer-ExampleTests-dummy.m"; sourceTree = ""; }; + 9BFCF02F21AED9F7D519609FE0395219 /* Pods-KGFloatingDrawer-Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-KGFloatingDrawer-Example-resources.sh"; sourceTree = ""; }; + A7ADD9B478A1062CB1E2E20BA6F7A7D4 /* KGFloatingDrawer-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "KGFloatingDrawer-dummy.m"; sourceTree = ""; }; + B08A92AFDD4B31B03DF0613EEA7BFF8D /* Pods-KGFloatingDrawer-Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-KGFloatingDrawer-Example.release.xcconfig"; sourceTree = ""; }; + BF482D28BC7F6890CCB2ACE19DD135AB /* Pods-KGFloatingDrawer-ExampleTests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-KGFloatingDrawer-ExampleTests-umbrella.h"; sourceTree = ""; }; + D239ED874A745BAD12D93AE6F009ADFC /* KGDrawerView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KGDrawerView.swift; path = Pod/Classes/KGDrawerView.swift; sourceTree = ""; }; + DFE32E3D397B3A3A55A578E6733350C4 /* Pods-KGFloatingDrawer-ExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-KGFloatingDrawer-ExampleTests.release.xcconfig"; sourceTree = ""; }; + DFFA94F1B6109E9612D7389EF5FE7403 /* KGFloatingDrawer.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = KGFloatingDrawer.xcconfig; sourceTree = ""; }; + E3A946244B1EA8198814E05BFB14D58E /* KGFloatingDrawer-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "KGFloatingDrawer-umbrella.h"; sourceTree = ""; }; + E6D76E88422D8E99121126E99C85DC56 /* KGFloatingDrawer.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = KGFloatingDrawer.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + E9B3F98110325EFC9D252B452847C0D6 /* Pods-KGFloatingDrawer-Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-KGFloatingDrawer-Example-acknowledgements.markdown"; sourceTree = ""; }; + EC53366A0D5D35F6B3070E5D0E1E1643 /* KGFloatingDrawer-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "KGFloatingDrawer-prefix.pch"; sourceTree = ""; }; + F957603C5C41ABB6C44139AA3A4C13FC /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + FAD73F158EF0CF9F074C85C47C48947E /* Pods-KGFloatingDrawer-ExampleTests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-KGFloatingDrawer-ExampleTests-acknowledgements.markdown"; sourceTree = ""; }; + FD13B548EAC609AAB16789451FAD2731 /* Pods_KGFloatingDrawer_ExampleTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_KGFloatingDrawer_ExampleTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ - 676AC219A188CA5CB023667A /* Frameworks */ = { + 85419003F1B3EAFCD5EB1389EB36CFF3 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - BB8FB57BAE43AB95A01F6EAA /* Foundation.framework in Frameworks */, + 93E6E79E8F7ACB448FBACB01C0D149CB /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; - AF1542B55995DB6BE6EC3752 /* Frameworks */ = { + BC9BAD440FAF6D8D863E2ECB27A2AAED /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 285F7D076374B1D363210B98 /* Foundation.framework in Frameworks */, + FBCF3587BEF1B36A7EECCB953D8F7797 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E4FC450EFDC41DD9506300FFDDA91369 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + AEF91D11215C4D7B1703B0A443F19BEC /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 09F085AA8E4360259D37A1D6 /* Pod */ = { + 3BCF66A733F897BCC79B7A5BB478E696 /* Support Files */ = { isa = PBXGroup; children = ( - B077BF8AE109C73A0922E3DE /* Classes */, + F957603C5C41ABB6C44139AA3A4C13FC /* Info.plist */, + 369C48D33D93E4369A82726B9BFE0A20 /* KGFloatingDrawer.modulemap */, + DFFA94F1B6109E9612D7389EF5FE7403 /* KGFloatingDrawer.xcconfig */, + A7ADD9B478A1062CB1E2E20BA6F7A7D4 /* KGFloatingDrawer-dummy.m */, + EC53366A0D5D35F6B3070E5D0E1E1643 /* KGFloatingDrawer-prefix.pch */, + E3A946244B1EA8198814E05BFB14D58E /* KGFloatingDrawer-umbrella.h */, ); - path = Pod; - sourceTree = ""; - }; - 1ADD63179C064FB1248A5B31 /* Pods-KGFloatingDrawer-Example */ = { - 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 */, - ); - name = "Pods-KGFloatingDrawer-Example"; - path = "Target Support Files/Pods-KGFloatingDrawer-Example"; + name = "Support Files"; + path = "Example/Pods/Target Support Files/KGFloatingDrawer"; sourceTree = ""; }; - 1CC6C978F75393655EAAB5F3 /* Support Files */ = { + 76C658F65461C397062692DCACC0B05F /* Products */ = { 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 */, + E6D76E88422D8E99121126E99C85DC56 /* KGFloatingDrawer.framework */, + 6BF79BB5AA2EF00DAF2AD11E4320FA13 /* Pods_KGFloatingDrawer_Example.framework */, + FD13B548EAC609AAB16789451FAD2731 /* Pods_KGFloatingDrawer_ExampleTests.framework */, ); - name = "Support Files"; - path = "Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer"; + name = Products; sourceTree = ""; }; - 375956B771829D76A8472C41 /* Development Pods */ = { + 78B3FBA6816574A7D3D4EE35C19D0279 /* Pods-KGFloatingDrawer-Example */ = { isa = PBXGroup; children = ( - 61369CC62B61059200AEFC55 /* KGFloatingDrawer */, + 35C4BC1D8BE4E34719B7581E454157F5 /* Info.plist */, + 78D57A59DA96525B33FD7F850C673589 /* Pods-KGFloatingDrawer-Example.modulemap */, + E9B3F98110325EFC9D252B452847C0D6 /* Pods-KGFloatingDrawer-Example-acknowledgements.markdown */, + 0B7DF1FE0B280F796954C4D281823782 /* Pods-KGFloatingDrawer-Example-acknowledgements.plist */, + 55A7851DD96ECFD2E40ACC8E3BB7C2C8 /* Pods-KGFloatingDrawer-Example-dummy.m */, + 4BA3C0163A4A78B46DD52592603740F9 /* Pods-KGFloatingDrawer-Example-frameworks.sh */, + 9BFCF02F21AED9F7D519609FE0395219 /* Pods-KGFloatingDrawer-Example-resources.sh */, + 5EF21EDA4C56E40CC0A742A8C184A8C2 /* Pods-KGFloatingDrawer-Example-umbrella.h */, + 5D4CF59BFA8D76E464046A3B6BE2BF0F /* Pods-KGFloatingDrawer-Example.debug.xcconfig */, + B08A92AFDD4B31B03DF0613EEA7BFF8D /* Pods-KGFloatingDrawer-Example.release.xcconfig */, ); - name = "Development Pods"; + name = "Pods-KGFloatingDrawer-Example"; + path = "Target Support Files/Pods-KGFloatingDrawer-Example"; sourceTree = ""; }; - 61369CC62B61059200AEFC55 /* KGFloatingDrawer */ = { + 7DB346D0F39D3F0E887471402A8071AB = { isa = PBXGroup; children = ( - 09F085AA8E4360259D37A1D6 /* Pod */, - 1CC6C978F75393655EAAB5F3 /* Support Files */, + 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, + BEE770838FB339F820A8175AC96C9831 /* Development Pods */, + BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, + 76C658F65461C397062692DCACC0B05F /* Products */, + C99B5FF4B193354D20C8EA1FBD4111DF /* Targets Support Files */, ); - name = KGFloatingDrawer; - path = ../..; sourceTree = ""; }; - 82B7824B3FF2729A27A476A3 /* Targets Support Files */ = { + 8A3325085EF7767353916957F0B93F81 /* Pods-KGFloatingDrawer-ExampleTests */ = { isa = PBXGroup; children = ( - 1ADD63179C064FB1248A5B31 /* Pods-KGFloatingDrawer-Example */, + 5DB8BB4437A85062B2DE14E73D376938 /* Info.plist */, + 6F05AB26FEDF26F4D447B2BB22C82573 /* Pods-KGFloatingDrawer-ExampleTests.modulemap */, + FAD73F158EF0CF9F074C85C47C48947E /* Pods-KGFloatingDrawer-ExampleTests-acknowledgements.markdown */, + 41466578AC4061DAA97B960368CCEDD4 /* Pods-KGFloatingDrawer-ExampleTests-acknowledgements.plist */, + 95DEE6CE3990143E7448ADAAECA141F5 /* Pods-KGFloatingDrawer-ExampleTests-dummy.m */, + 1628F18E0711D9457B377C66C5032788 /* Pods-KGFloatingDrawer-ExampleTests-frameworks.sh */, + 37B7E8A765F4D146B96E080452A215EE /* Pods-KGFloatingDrawer-ExampleTests-resources.sh */, + BF482D28BC7F6890CCB2ACE19DD135AB /* Pods-KGFloatingDrawer-ExampleTests-umbrella.h */, + 242D4804DF6B31CE5BC560E4BC61886E /* Pods-KGFloatingDrawer-ExampleTests.debug.xcconfig */, + DFE32E3D397B3A3A55A578E6733350C4 /* Pods-KGFloatingDrawer-ExampleTests.release.xcconfig */, ); - name = "Targets Support Files"; + name = "Pods-KGFloatingDrawer-ExampleTests"; + path = "Target Support Files/Pods-KGFloatingDrawer-ExampleTests"; sourceTree = ""; }; - 89DC1481AC3640B79D8E1D72 /* Products */ = { + A25469936F7EE155A09BB9AC2620EA88 /* KGFloatingDrawer */ = { isa = PBXGroup; children = ( - 903F3F4A6FACEE38DAC04120 /* KGFloatingDrawer.framework */, - 89163F3B4E57F40452AE3371 /* Pods_KGFloatingDrawer_Example.framework */, + 4000B25801798B447B5A1C477ED27115 /* KGDrawerAnimating.swift */, + 15BB0203F1B8FAD4EE619B42A9769332 /* KGDrawerSpringAnimator.swift */, + D239ED874A745BAD12D93AE6F009ADFC /* KGDrawerView.swift */, + 66391DB1BDB9D02EACFD7A517C999527 /* KGDrawerViewController.swift */, + 8D19C81406899AF94A3BA482B800044B /* KGFloatingDrawer.h */, + 3BCF66A733F897BCC79B7A5BB478E696 /* Support Files */, ); - name = Products; + name = KGFloatingDrawer; + path = ../..; sourceTree = ""; }; - A7003242D854C9969ED1CA9D = { + BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { isa = PBXGroup; children = ( - 696ED9193CF5AB08058C1C78 /* Podfile */, - 375956B771829D76A8472C41 /* Development Pods */, - AEDD115D068EE9D94876C59D /* Frameworks */, - 89DC1481AC3640B79D8E1D72 /* Products */, - 82B7824B3FF2729A27A476A3 /* Targets Support Files */, + D35AF013A5F0BAD4F32504907A52519E /* iOS */, ); + name = Frameworks; sourceTree = ""; }; - AEDD115D068EE9D94876C59D /* Frameworks */ = { + BEE770838FB339F820A8175AC96C9831 /* Development Pods */ = { isa = PBXGroup; children = ( - DAD40575F76C73C0C366A859 /* iOS */, + A25469936F7EE155A09BB9AC2620EA88 /* KGFloatingDrawer */, ); - name = Frameworks; + name = "Development Pods"; sourceTree = ""; }; - B077BF8AE109C73A0922E3DE /* Classes */ = { + C99B5FF4B193354D20C8EA1FBD4111DF /* Targets Support Files */ = { isa = PBXGroup; children = ( - A3E67773B2174540F9032255 /* KGDrawerAnimating.swift */, - C05CE1326F096E851517C59D /* KGDrawerSpringAnimator.swift */, - AA8D9356D01B940127ECEF86 /* KGDrawerView.swift */, - 91598406DE87529CA09E2826 /* KGDrawerViewController.swift */, - 960C33BA307B47814E6F3C5F /* KGFloatingDrawer.h */, + 78B3FBA6816574A7D3D4EE35C19D0279 /* Pods-KGFloatingDrawer-Example */, + 8A3325085EF7767353916957F0B93F81 /* Pods-KGFloatingDrawer-ExampleTests */, ); - path = Classes; + name = "Targets Support Files"; sourceTree = ""; }; - DAD40575F76C73C0C366A859 /* iOS */ = { + D35AF013A5F0BAD4F32504907A52519E /* iOS */ = { isa = PBXGroup; children = ( - 9576F81EE3F0CCDB662FB4C4 /* Foundation.framework */, + 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */, ); name = iOS; sourceTree = ""; @@ -199,338 +221,508 @@ /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ - B0CB76A4C90DD5D8AA4EEDF7 /* Headers */ = { + 26CE7432B2F7DACA924C0A05A498E366 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + DF4574B91EB7305D1DA30F4E5AC4FAB0 /* Pods-KGFloatingDrawer-ExampleTests-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6704E8DE3183CE30040FF64CC6170B50 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 560541115DEBA769EF46FEF5 /* Pods-KGFloatingDrawer-Example-umbrella.h in Headers */, + 443BA1FBA4DCD076BE8AD3E0EAF9994A /* Pods-KGFloatingDrawer-Example-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; - FB42381FE62F41A7B0DBFA68 /* Headers */ = { + BEB5919B4C683C2CEF05D941320363E6 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - C299CB6D3BB97DDD1A703FE5 /* KGFloatingDrawer.h in Headers */, - 813A7DF266C433548E995314 /* Pods-KGFloatingDrawer-Example-KGFloatingDrawer-umbrella.h in Headers */, + 635EF3912A27AA9AA33B79256BAB58EB /* KGFloatingDrawer-umbrella.h in Headers */, + ECE3F350C4F8D168A854B0E88E0A2A53 /* KGFloatingDrawer.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ - 0E1A9D9B69C48841FDBA5609 /* Pods-KGFloatingDrawer-Example */ = { + 8C7B47D5DAC0CDD05061392860E55A13 /* Pods-KGFloatingDrawer-ExampleTests */ = { isa = PBXNativeTarget; - buildConfigurationList = F49A44CD8CBAA4085700A0EF /* Build configuration list for PBXNativeTarget "Pods-KGFloatingDrawer-Example" */; + buildConfigurationList = 2391EF884E7CD7A9ACB55B88B574D71A /* Build configuration list for PBXNativeTarget "Pods-KGFloatingDrawer-ExampleTests" */; buildPhases = ( - 03754030D420A13723A66A93 /* Sources */, - 676AC219A188CA5CB023667A /* Frameworks */, - B0CB76A4C90DD5D8AA4EEDF7 /* Headers */, + D7816008DE4A62A81E2AAEE2BCE6C1F5 /* Sources */, + BC9BAD440FAF6D8D863E2ECB27A2AAED /* Frameworks */, + 26CE7432B2F7DACA924C0A05A498E366 /* Headers */, ); buildRules = ( ); dependencies = ( - FC93E009C51F29162ACC5A3B /* PBXTargetDependency */, + ); + name = "Pods-KGFloatingDrawer-ExampleTests"; + productName = "Pods-KGFloatingDrawer-ExampleTests"; + productReference = FD13B548EAC609AAB16789451FAD2731 /* Pods_KGFloatingDrawer_ExampleTests.framework */; + productType = "com.apple.product-type.framework"; + }; + A1F2C80ADB23B59BF9284B6546FAF45F /* Pods-KGFloatingDrawer-Example */ = { + isa = PBXNativeTarget; + buildConfigurationList = 959F70E7D14BE279569234E764F5A00A /* Build configuration list for PBXNativeTarget "Pods-KGFloatingDrawer-Example" */; + buildPhases = ( + A26AF1E4C004D3AC272407469839E144 /* Sources */, + 85419003F1B3EAFCD5EB1389EB36CFF3 /* Frameworks */, + 6704E8DE3183CE30040FF64CC6170B50 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + 60AF9759A91DF0817A469D88016DA92C /* PBXTargetDependency */, ); name = "Pods-KGFloatingDrawer-Example"; productName = "Pods-KGFloatingDrawer-Example"; - productReference = 89163F3B4E57F40452AE3371 /* Pods_KGFloatingDrawer_Example.framework */; + productReference = 6BF79BB5AA2EF00DAF2AD11E4320FA13 /* Pods_KGFloatingDrawer_Example.framework */; productType = "com.apple.product-type.framework"; }; - 9956EAB19AAE15D26E47B28E /* Pods-KGFloatingDrawer-Example-KGFloatingDrawer */ = { + B4FC00CC6CD375F51CB8D6CD286681A0 /* KGFloatingDrawer */ = { isa = PBXNativeTarget; - buildConfigurationList = 29C405BBC1843FBEA3D7377E /* Build configuration list for PBXNativeTarget "Pods-KGFloatingDrawer-Example-KGFloatingDrawer" */; + buildConfigurationList = 722B3FA90BF1BE2F74C1FBE522052AD4 /* Build configuration list for PBXNativeTarget "KGFloatingDrawer" */; buildPhases = ( - 5FE0A4A9995748F873E09582 /* Sources */, - AF1542B55995DB6BE6EC3752 /* Frameworks */, - FB42381FE62F41A7B0DBFA68 /* Headers */, + DEA424F6E39341939C5AA693F800D710 /* Sources */, + E4FC450EFDC41DD9506300FFDDA91369 /* Frameworks */, + BEB5919B4C683C2CEF05D941320363E6 /* Headers */, ); buildRules = ( ); dependencies = ( ); - name = "Pods-KGFloatingDrawer-Example-KGFloatingDrawer"; - productName = "Pods-KGFloatingDrawer-Example-KGFloatingDrawer"; - productReference = 903F3F4A6FACEE38DAC04120 /* KGFloatingDrawer.framework */; + name = KGFloatingDrawer; + productName = KGFloatingDrawer; + productReference = E6D76E88422D8E99121126E99C85DC56 /* KGFloatingDrawer.framework */; productType = "com.apple.product-type.framework"; }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ - 9505CED87A333F508BBE7C52 /* Project object */ = { + D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { isa = PBXProject; attributes = { - LastSwiftMigration = 0700; - LastSwiftUpdateCheck = 0700; - LastUpgradeCheck = 0510; + LastSwiftUpdateCheck = 0830; + LastUpgradeCheck = 0700; }; - buildConfigurationList = 08D2DA0CC50B0C921F4137D7 /* Build configuration list for PBXProject "Pods" */; + buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; compatibilityVersion = "Xcode 3.2"; developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( en, ); - mainGroup = A7003242D854C9969ED1CA9D; - productRefGroup = 89DC1481AC3640B79D8E1D72 /* Products */; + mainGroup = 7DB346D0F39D3F0E887471402A8071AB; + productRefGroup = 76C658F65461C397062692DCACC0B05F /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( - 0E1A9D9B69C48841FDBA5609 /* Pods-KGFloatingDrawer-Example */, - 9956EAB19AAE15D26E47B28E /* Pods-KGFloatingDrawer-Example-KGFloatingDrawer */, + B4FC00CC6CD375F51CB8D6CD286681A0 /* KGFloatingDrawer */, + A1F2C80ADB23B59BF9284B6546FAF45F /* Pods-KGFloatingDrawer-Example */, + 8C7B47D5DAC0CDD05061392860E55A13 /* Pods-KGFloatingDrawer-ExampleTests */, ); }; /* End PBXProject section */ /* Begin PBXSourcesBuildPhase section */ - 03754030D420A13723A66A93 /* Sources */ = { + A26AF1E4C004D3AC272407469839E144 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 124CA7A28E58823A319987B2 /* Pods-KGFloatingDrawer-Example-dummy.m in Sources */, + 9A4CC9A581B80F2B529DEE5A8BFD0EC2 /* Pods-KGFloatingDrawer-Example-dummy.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; - 5FE0A4A9995748F873E09582 /* Sources */ = { + D7816008DE4A62A81E2AAEE2BCE6C1F5 /* 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 */, + 31314CF8880141A83EB1006D96208EF7 /* Pods-KGFloatingDrawer-ExampleTests-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DEA424F6E39341939C5AA693F800D710 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 633590EB419D434C3091393D961CDAE9 /* KGDrawerAnimating.swift in Sources */, + CD603D90BF3AC51FE37509113265A8DC /* KGDrawerSpringAnimator.swift in Sources */, + DB418B2510347F134BC7E2D25018732E /* KGDrawerView.swift in Sources */, + 6D200B42775919D17D98DA65C05EB93D /* KGDrawerViewController.swift in Sources */, + BE75C9466F566739FEFD891DABC86C66 /* KGFloatingDrawer-dummy.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ - FC93E009C51F29162ACC5A3B /* PBXTargetDependency */ = { + 60AF9759A91DF0817A469D88016DA92C /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = "Pods-KGFloatingDrawer-Example-KGFloatingDrawer"; - target = 9956EAB19AAE15D26E47B28E /* Pods-KGFloatingDrawer-Example-KGFloatingDrawer */; - targetProxy = 784C74E93922005BAAE5D201 /* PBXContainerItemProxy */; + name = KGFloatingDrawer; + target = B4FC00CC6CD375F51CB8D6CD286681A0 /* KGFloatingDrawer */; + targetProxy = 44FD8C79459B92A01DB93EDD23CB384D /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ - 414DFF862D6995699DAE9C03 /* Release */ = { + 285C7151F840EE0BAF5B010A734904BF /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 2F06EE0A904FC472DDB0CD75 /* Pods-KGFloatingDrawer-Example.release.xcconfig */; + baseConfigurationReference = 242D4804DF6B31CE5BC560E4BC61886E /* Pods-KGFloatingDrawer-ExampleTests.debug.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"; + INFOPLIST_FILE = "Target Support Files/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/Pods-KGFloatingDrawer-Example.modulemap"; - MTL_ENABLE_DEBUG_INFO = NO; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests.modulemap"; OTHER_LDFLAGS = ""; OTHER_LIBTOOLFLAGS = ""; PODS_ROOT = "$(SRCROOT)"; - PRODUCT_NAME = Pods_KGFloatingDrawer_Example; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_KGFloatingDrawer_ExampleTests; SDKROOT = iphoneos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Release; + name = Debug; }; - 967FB4443418FFA225E2216B /* Release */ = { + 93C4F161354A72590C56F352D78040BB /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = CB69B5E9769BEDA84454C4B6 /* Pods-KGFloatingDrawer-Example-KGFloatingDrawer-Private.xcconfig */; + baseConfigurationReference = DFFA94F1B6109E9612D7389EF5FE7403 /* 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/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_NAME = KGFloatingDrawer; SDKROOT = iphoneos; SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_VERSION = 4.0; TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; name = Release; }; - DD20CA2F367B6192E2AD63EE /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = CB69B5E9769BEDA84454C4B6 /* Pods-KGFloatingDrawer-Example-KGFloatingDrawer-Private.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - 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"; - 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; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - DE1C890E10E4F23D5C24BA54 /* Debug */ = { + B254DAA6CF0CE39F4A3D11B90A7E059A /* 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_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_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_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGNING_REQUIRED = NO; COPY_PHASE_STRIP = NO; - 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; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; STRIP_INSTALLED_PRODUCT = NO; + SWIFT_VERSION = 4.0; SYMROOT = "${SRCROOT}/../build"; }; - name = Debug; + name = Release; }; - E9F6D250A7A097C5027E6C6E /* Release */ = { + E4B68EE12B21C47CB798D9B1ECA6D7A7 /* 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_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_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_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"; + CODE_SIGNING_REQUIRED = NO; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "POD_CONFIGURATION_DEBUG=1", + "DEBUG=1", + "$(inherited)", + ); GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES; + 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 = YES; + ONLY_ACTIVE_ARCH = YES; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; STRIP_INSTALLED_PRODUCT = NO; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_VERSION = 4.0; SYMROOT = "${SRCROOT}/../build"; - VALIDATE_PRODUCT = YES; }; - name = Release; + name = Debug; }; - F3C7426FFDB48EEA08A6D6C6 /* Debug */ = { + E974F07E781F7020130D5E21F04A268B /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 5929A2AA6F612FCE88035055 /* Pods-KGFloatingDrawer-Example.debug.xcconfig */; + baseConfigurationReference = 5D4CF59BFA8D76E464046A3B6BE2BF0F /* Pods-KGFloatingDrawer-Example.debug.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"; 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 = YES; OTHER_LDFLAGS = ""; OTHER_LIBTOOLFLAGS = ""; PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; PRODUCT_NAME = Pods_KGFloatingDrawer_Example; SDKROOT = iphoneos; SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + EA83EFD8A04CF7B7810B1488D109B56F /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = B08A92AFDD4B31B03DF0613EEA7BFF8D /* Pods-KGFloatingDrawer-Example.release.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-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 = Pods_KGFloatingDrawer_Example; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + EF192F0E325B38975F404FF8A7468D2C /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = DFFA94F1B6109E9612D7389EF5FE7403 /* KGFloatingDrawer.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/KGFloatingDrawer/KGFloatingDrawer-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/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/KGFloatingDrawer/KGFloatingDrawer.modulemap"; + PRODUCT_NAME = KGFloatingDrawer; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 4.0; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; name = Debug; }; + F9CCB7844BA2612A51D0B89690101FDD /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = DFE32E3D397B3A3A55A578E6733350C4 /* Pods-KGFloatingDrawer-ExampleTests.release.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-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 = Pods_KGFloatingDrawer_ExampleTests; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 08D2DA0CC50B0C921F4137D7 /* Build configuration list for PBXProject "Pods" */ = { + 2391EF884E7CD7A9ACB55B88B574D71A /* Build configuration list for PBXNativeTarget "Pods-KGFloatingDrawer-ExampleTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 285C7151F840EE0BAF5B010A734904BF /* Debug */, + F9CCB7844BA2612A51D0B89690101FDD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { isa = XCConfigurationList; buildConfigurations = ( - DE1C890E10E4F23D5C24BA54 /* Debug */, - E9F6D250A7A097C5027E6C6E /* Release */, + E4B68EE12B21C47CB798D9B1ECA6D7A7 /* Debug */, + B254DAA6CF0CE39F4A3D11B90A7E059A /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 29C405BBC1843FBEA3D7377E /* Build configuration list for PBXNativeTarget "Pods-KGFloatingDrawer-Example-KGFloatingDrawer" */ = { + 722B3FA90BF1BE2F74C1FBE522052AD4 /* Build configuration list for PBXNativeTarget "KGFloatingDrawer" */ = { isa = XCConfigurationList; buildConfigurations = ( - DD20CA2F367B6192E2AD63EE /* Debug */, - 967FB4443418FFA225E2216B /* Release */, + EF192F0E325B38975F404FF8A7468D2C /* Debug */, + 93C4F161354A72590C56F352D78040BB /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - F49A44CD8CBAA4085700A0EF /* Build configuration list for PBXNativeTarget "Pods-KGFloatingDrawer-Example" */ = { + 959F70E7D14BE279569234E764F5A00A /* Build configuration list for PBXNativeTarget "Pods-KGFloatingDrawer-Example" */ = { isa = XCConfigurationList; buildConfigurations = ( - F3C7426FFDB48EEA08A6D6C6 /* Debug */, - 414DFF862D6995699DAE9C03 /* Release */, + E974F07E781F7020130D5E21F04A268B /* Debug */, + EA83EFD8A04CF7B7810B1488D109B56F /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; - rootObject = 9505CED87A333F508BBE7C52 /* Project object */; + rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; } diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Info.plist b/Example/Pods/Target Support Files/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/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-frameworks.sh b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-frameworks.sh index 5b4baa0..a29cdf7 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 @@ -6,50 +6,107 @@ mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" +# This protects against multiple targets copying the same framework dependency at the same time. The solution +# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html +RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") + install_framework() { - 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}") + source="$(readlink "${source}")" + fi + + # Use filter instead of exclude so missing patterns don't throw errors. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" + + local basename + basename="$(basename -s .framework "$1")" + binary="${destination}/${basename}.framework/${basename}" + if ! [ -r "$binary" ]; then + binary="${destination}/${basename}" + fi + + # Strip invalid architectures so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then + strip_invalid_archs "$binary" fi - # 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 && exit ${PIPESTATUS[0]}) + for lib in $swift_runtime_libs; do + echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" + rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" + code_sign_if_enabled "${destination}/${lib}" + done fi +} - # 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}" - fi - done +# Copies the dSYM of a vendored framework +install_dsym() { + local source="$1" + if [ -r "$source" ]; then + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DWARF_DSYM_FOLDER_PATH}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DWARF_DSYM_FOLDER_PATH}" + fi } # Signs a framework with the provided identity -code_sign() { - # 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_identitiy + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" + local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" + + if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + code_sign_cmd="$code_sign_cmd &" + fi + echo "$code_sign_cmd" + eval "$code_sign_cmd" + fi +} + +# Strip invalid architectures +strip_invalid_archs() { + binary="$1" + # Get architectures for current file + archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" + stripped="" + for arch in $archs; do + if ! [[ "${ARCHS}" == *"$arch"* ]]; then + # Strip non-valid architectures in-place + lipo -remove "$arch" -output "$binary" "$binary" || exit 1 + stripped="$stripped $arch" + fi + done + if [[ "$stripped" ]]; then + echo "Stripped $binary of architectures:$stripped" + fi } if [[ "$CONFIGURATION" == "Debug" ]]; then - install_framework '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 index e149064..a7df440 100755 --- 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 @@ -1,74 +1,106 @@ #!/bin/sh set -e -mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt > "$RESOURCES_TO_COPY" +XCASSET_FILES=() + +# This protects against multiple targets copying the same framework dependency at the same time. The solution +# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html +RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") + +case "${TARGETED_DEVICE_FAMILY}" in + 1,2) + TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" + ;; + 1) + TARGET_DEVICE_ARGS="--target-device iphone" + ;; + 2) + TARGET_DEVICE_ARGS="--target-device ipad" + ;; + 3) + TARGET_DEVICE_ARGS="--target-device tv" + ;; + 4) + TARGET_DEVICE_ARGS="--target-device watch" + ;; + *) + TARGET_DEVICE_ARGS="--target-device mac" + ;; +esac + install_resource() { - case $1 in + if [[ "$1" = /* ]] ; then + RESOURCE_PATH="$1" + else + RESOURCE_PATH="${PODS_ROOT}/$1" + fi + if [[ ! -e "$RESOURCE_PATH" ]] ; then + cat << EOM +error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. +EOM + exit 1 + fi + case $RESOURCE_PATH in *.storyboard) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --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}" + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} ;; *.xib) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --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}" + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} ;; *.framework) - echo "mkdir -p ${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}" + echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true + mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" ;; *.xcdatamodel) - echo "xcrun momc \"${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" + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" ;; *.xcdatamodeld) - echo "xcrun momc \"${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" + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" ;; *.xcmappingmodel) - echo "xcrun mapc \"${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" + echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true + xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" ;; *.xcassets) - ;; - /*) - echo "$1" - echo "$1" >> "$RESOURCES_TO_COPY" + ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" + XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") ;; *) - echo "${PODS_ROOT}/$1" - echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" + echo "$RESOURCE_PATH" || true + echo "$RESOURCE_PATH" >> "$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 +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then + mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" fi rm -f "$RESOURCES_TO_COPY" -if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ `find . -name '*.xcassets' | wc -l` -ne 0 ] +if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 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}" + # Find all other xcassets (this unfortunately includes those of path pods and other targets). + OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) + while read line; do + if [[ $line != "${PODS_ROOT}*" ]]; then + XCASSET_FILES+=("$line") + fi + done <<<"$OTHER_XCASSETS" + + printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" fi diff --git a/Example/Pods/Target Support Files/Pods-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..b5587ae 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" +EMBEDDED_CONTENT_CONTAINS_SWIFT = YES +FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/KGFloatingDrawer" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 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_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/KGFloatingDrawer/KGFloatingDrawer.framework/Headers" +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..b5587ae 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" +EMBEDDED_CONTENT_CONTAINS_SWIFT = YES +FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/KGFloatingDrawer" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 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_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/KGFloatingDrawer/KGFloatingDrawer.framework/Headers" +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/Pod/Classes/KGDrawerViewController.swift b/Pod/Classes/KGDrawerViewController.swift index beb3f0d..f0837f3 100644 --- a/Pod/Classes/KGDrawerViewController.swift +++ b/Pod/Classes/KGDrawerViewController.swift @@ -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 } From e176653d18f4578eb799dcbb71218ff2658aaf9d Mon Sep 17 00:00:00 2001 From: mobileflowllc Date: Wed, 21 Mar 2018 20:09:49 -0700 Subject: [PATCH 2/7] Fix UIBuilder issue --- .../project.pbxproj | 23 ++- .../Drawers.storyboard | 154 +++++++++++------- Example/Pods/Pods.xcodeproj/project.pbxproj | 5 +- 3 files changed, 118 insertions(+), 64 deletions(-) diff --git a/Example/KGFloatingDrawer-Example.xcodeproj/project.pbxproj b/Example/KGFloatingDrawer-Example.xcodeproj/project.pbxproj index 8e8137a..bd3557b 100644 --- a/Example/KGFloatingDrawer-Example.xcodeproj/project.pbxproj +++ b/Example/KGFloatingDrawer-Example.xcodeproj/project.pbxproj @@ -202,7 +202,7 @@ attributes = { LastSwiftMigration = 0700; LastSwiftUpdateCheck = 0700; - LastUpgradeCheck = 0710; + LastUpgradeCheck = 0920; ORGANIZATIONNAME = "Kyle Goddard"; TargetAttributes = { 1F441BEC1AA6A745005772A1 = { @@ -405,13 +405,21 @@ CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; @@ -421,6 +429,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", @@ -451,13 +460,21 @@ CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; @@ -466,6 +483,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; @@ -475,6 +493,7 @@ IPHONEOS_DEPLOYMENT_TARGET = 11.2; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; SWIFT_VERSION = 4.0; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; @@ -485,6 +504,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = 145804336F338798094FA972 /* Pods-KGFloatingDrawer-Example.debug.xcconfig */; buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = "KGFloatingDrawer-Example/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 8.0; @@ -498,6 +518,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = F878939249EFF7D3D1428CAB /* Pods-KGFloatingDrawer-Example.release.xcconfig */; buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = "KGFloatingDrawer-Example/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 8.0; diff --git a/Example/KGFloatingDrawer-Example/Drawers.storyboard b/Example/KGFloatingDrawer-Example/Drawers.storyboard index 038602d..f29c2ca 100644 --- a/Example/KGFloatingDrawer-Example/Drawers.storyboard +++ b/Example/KGFloatingDrawer-Example/Drawers.storyboard @@ -1,84 +1,104 @@ - - + + + + + - + + + + + + Futura-Medium + + - - - + + + - + - + + - + - + - + + - + - + + + - + - + + + - + - + @@ -100,12 +120,12 @@ - + - + - + @@ -119,21 +139,21 @@ - + - + - - + + - + @@ -143,15 +163,15 @@ - + - + - + - + @@ -166,31 +186,33 @@ - - - + + + - + + + - + @@ -213,22 +235,24 @@ + + - + @@ -251,22 +275,24 @@ + + - + @@ -289,22 +315,24 @@ + + - + @@ -327,18 +355,20 @@ + + @@ -358,15 +388,15 @@ - + - + - + - + @@ -390,9 +420,9 @@ - + - + @@ -410,12 +440,12 @@ - + - + - + diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj index 1decf12..6323981 100644 --- a/Example/Pods/Pods.xcodeproj/project.pbxproj +++ b/Example/Pods/Pods.xcodeproj/project.pbxproj @@ -308,7 +308,7 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0830; - LastUpgradeCheck = 0700; + LastUpgradeCheck = 0920; }; buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; compatibilityVersion = "Xcode 3.2"; @@ -485,6 +485,7 @@ PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; STRIP_INSTALLED_PRODUCT = NO; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; SWIFT_VERSION = 4.0; SYMROOT = "${SRCROOT}/../build"; }; @@ -555,6 +556,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = 5D4CF59BFA8D76E464046A3B6BE2BF0F /* Pods-KGFloatingDrawer-Example.debug.xcconfig */; buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; @@ -589,6 +591,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = B08A92AFDD4B31B03DF0613EEA7BFF8D /* Pods-KGFloatingDrawer-Example.release.xcconfig */; buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; From bad0b5d0400f14d1805fb2a49984e09604e24ee4 Mon Sep 17 00:00:00 2001 From: moflo Date: Tue, 27 Aug 2019 17:25:09 -0700 Subject: [PATCH 3/7] Update KGFloatingDrawer.podspec --- KGFloatingDrawer.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KGFloatingDrawer.podspec b/KGFloatingDrawer.podspec index 9a546b1..c6771bf 100644 --- a/KGFloatingDrawer.podspec +++ b/KGFloatingDrawer.podspec @@ -10,7 +10,7 @@ Pod::Spec.new do |s| s.requires_arc = true s.platform = :ios, "8.0" s.ios.deployment_target = "8.0" - + s.swift_versions = ['4.2', '5'] s.source = { :git => "https://github.com/KyleGoddard/KGFloatingDrawer.git", :tag => s.version.to_s } s.source_files = "Pod/Classes/" end From bc4de0ca77cb3d7424882397d2a16864a7c28a5e Mon Sep 17 00:00:00 2001 From: moflo Date: Tue, 27 Aug 2019 17:25:41 -0700 Subject: [PATCH 4/7] Update KGFloatingDrawer.podspec --- KGFloatingDrawer.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KGFloatingDrawer.podspec b/KGFloatingDrawer.podspec index c6771bf..0892a05 100644 --- a/KGFloatingDrawer.podspec +++ b/KGFloatingDrawer.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.author = { "KyleGoddard" => "kylegoddard@gmail.com" } s.requires_arc = true - s.platform = :ios, "8.0" + s.platform = :ios, "11.0" s.ios.deployment_target = "8.0" s.swift_versions = ['4.2', '5'] s.source = { :git => "https://github.com/KyleGoddard/KGFloatingDrawer.git", :tag => s.version.to_s } From 0cb45b45feb5526fff8a1d3a4eb75e1180ae3c37 Mon Sep 17 00:00:00 2001 From: moflo Date: Tue, 27 Aug 2019 17:30:36 -0700 Subject: [PATCH 5/7] Update KGDrawerView.swift --- Pod/Classes/KGDrawerView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { From 4bc2fe50595ec97d94526ca5009c6616661749c2 Mon Sep 17 00:00:00 2001 From: moflo Date: Tue, 27 Aug 2019 17:31:07 -0700 Subject: [PATCH 6/7] Update KGDrawerSpringAnimator.swift --- Pod/Classes/KGDrawerSpringAnimator.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Pod/Classes/KGDrawerSpringAnimator.swift b/Pod/Classes/KGDrawerSpringAnimator.swift index 5efc806..66a7383 100644 --- a/Pod/Classes/KGDrawerSpringAnimator.swift +++ b/Pod/Classes/KGDrawerSpringAnimator.swift @@ -51,7 +51,7 @@ extension KGDrawerSpringAnimator: KGDrawerAnimating { delay: animationDelay, usingSpringWithDamping: springDamping, initialSpringVelocity: initialSpringVelocity, - options: UIViewAnimationOptions.curveLinear, + options: UIView.AnimationOptions.curveLinear, animations: { self.applyTransforms(side, drawerView: drawerView, centerView: centerView) @@ -67,7 +67,7 @@ extension KGDrawerSpringAnimator: KGDrawerAnimating { delay: animationDelay, usingSpringWithDamping: springDamping, initialSpringVelocity: initialSpringVelocity, - options: UIViewAnimationOptions.curveLinear, + options: UIView.AnimationOptions.curveLinear, animations: { self.resetTransforms([drawerView, centerView]) }, completion: complete) @@ -85,7 +85,7 @@ extension KGDrawerSpringAnimator: KGDrawerAnimating { delay: animationDelay, usingSpringWithDamping: springDamping, initialSpringVelocity: initialSpringVelocity, - options: UIViewAnimationOptions.curveLinear, + options: UIView.AnimationOptions.curveLinear, animations: {}, completion: nil ) } From c7f1f56dae0040cc2dcdd5096aa32cbd9229c608 Mon Sep 17 00:00:00 2001 From: moflo Date: Tue, 27 Aug 2019 17:31:49 -0700 Subject: [PATCH 7/7] Update KGDrawerViewController.swift --- Pod/Classes/KGDrawerViewController.swift | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Pod/Classes/KGDrawerViewController.swift b/Pod/Classes/KGDrawerViewController.swift index f0837f3..99caebf 100644 --- a/Pod/Classes/KGDrawerViewController.swift +++ b/Pod/Classes/KGDrawerViewController.swift @@ -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 @@ -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 }