From f4655e93e00856e0e7f08a0f1b590827ea065857 Mon Sep 17 00:00:00 2001 From: Hung Nguyen Date: Wed, 15 Mar 2017 16:35:14 +0700 Subject: [PATCH] Convert to swift 3 --- Example/.DS_Store | Bin 0 -> 6148 bytes .../project.pbxproj | 125 +++- .../KGFloatingDrawer-Example.xcscheme} | 55 +- .../xcschemes/xcschememanagement.plist | 13 +- .../UserInterfaceState.xcuserstate | Bin 0 -> 21620 bytes .../AppDelegate.swift | 36 +- .../KGDrawerSettingsTableViewController.swift | 34 +- .../KGDrawerWebViewViewController.swift | 12 +- .../LeftDrawerTableViewController.swift | 8 +- .../KGFloatingDrawer_ExampleTests.swift | 2 +- Example/Podfile | 8 + Example/Podfile.lock | 8 +- .../KGFloatingDrawer/KGFloatingDrawer.h | 1 - .../KGFloatingDrawer/KGFloatingDrawer.h | 1 - Example/Pods/KGFloatingDrawer/LICENSE | 21 - .../Pod/Classes/KGDrawerAnimating.swift | 38 - .../Pod/Classes/KGDrawerSpringAnimator.swift | 92 --- .../Pod/Classes/KGDrawerView.swift | 307 -------- .../Pod/Classes/KGDrawerViewController.swift | 262 ------- .../Pod/Classes/KGFloatingDrawer.h | 19 - Example/Pods/KGFloatingDrawer/README.md | 82 --- .../KGFloatingDrawer.podspec.json | 4 +- Example/Pods/Manifest.lock | 8 +- Example/Pods/Pods.xcodeproj/project.pbxproj | 681 +++++++++++------- .../xcschemes/KGFloatingDrawer.xcscheme} | 46 +- .../Pods-KGFloatingDrawer-Example.xcscheme | 6 +- ...ds-KGFloatingDrawer-ExampleTests.xcscheme} | 14 +- .../xcschemes/xcschememanagement.plist | 16 +- .../Info.plist | 4 +- .../KGFloatingDrawer/KGFloatingDrawer-dummy.m | 5 + .../KGFloatingDrawer-prefix.pch | 12 + .../KGFloatingDrawer-umbrella.h} | 10 + .../KGFloatingDrawer.modulemap | 6 + .../KGFloatingDrawer.xcconfig | 10 + ...-Example-KGFloatingDrawer-Private.xcconfig | 10 - ...ingDrawer-Example-KGFloatingDrawer-dummy.m | 5 - ...Drawer-Example-KGFloatingDrawer-prefix.pch | 5 - ...gDrawer-Example-KGFloatingDrawer.modulemap | 6 - ...ngDrawer-Example-KGFloatingDrawer.xcconfig | 0 .../Pods-KGFloatingDrawer-Example/Info.plist | 2 +- ...ngDrawer-Example-acknowledgements.markdown | 2 +- ...atingDrawer-Example-acknowledgements.plist | 4 +- ...ods-KGFloatingDrawer-Example-environment.h | 14 - ...ods-KGFloatingDrawer-Example-frameworks.sh | 96 ++- ...Pods-KGFloatingDrawer-Example-resources.sh | 105 ++- .../Pods-KGFloatingDrawer-Example-umbrella.h | 10 + ...ds-KGFloatingDrawer-Example.debug.xcconfig | 15 +- ...-KGFloatingDrawer-Example.release.xcconfig | 15 +- .../Info.plist | 26 + ...wer-ExampleTests-acknowledgements.markdown | 3 + ...Drawer-ExampleTests-acknowledgements.plist | 29 + ...Pods-KGFloatingDrawer-ExampleTests-dummy.m | 5 + ...GFloatingDrawer-ExampleTests-frameworks.sh | 92 +++ ...KGFloatingDrawer-ExampleTests-resources.sh | 99 +++ ...s-KGFloatingDrawer-ExampleTests-umbrella.h | 16 + ...FloatingDrawer-ExampleTests.debug.xcconfig | 5 + ...ds-KGFloatingDrawer-ExampleTests.modulemap | 6 + ...oatingDrawer-ExampleTests.release.xcconfig | 5 + 58 files changed, 1173 insertions(+), 1348 deletions(-) create mode 100644 Example/.DS_Store rename Example/{Pods/Pods.xcodeproj/xcuserdata/erik.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example-KGFloatingDrawer.xcscheme => KGFloatingDrawer-Example.xcodeproj/xcuserdata/hungnguyen.xcuserdatad/xcschemes/KGFloatingDrawer-Example.xcscheme} (53%) rename Example/{Pods/Pods.xcodeproj/xcuserdata/erik.xcuserdatad => KGFloatingDrawer-Example.xcodeproj/xcuserdata/hungnguyen.xcuserdatad}/xcschemes/xcschememanagement.plist (60%) create mode 100644 Example/KGFloatingDrawer-Example.xcworkspace/xcuserdata/hungnguyen.xcuserdatad/UserInterfaceState.xcuserstate delete mode 120000 Example/Pods/Headers/Private/KGFloatingDrawer/KGFloatingDrawer.h delete mode 120000 Example/Pods/Headers/Public/KGFloatingDrawer/KGFloatingDrawer.h delete mode 100644 Example/Pods/KGFloatingDrawer/LICENSE delete mode 100644 Example/Pods/KGFloatingDrawer/Pod/Classes/KGDrawerAnimating.swift delete mode 100644 Example/Pods/KGFloatingDrawer/Pod/Classes/KGDrawerSpringAnimator.swift delete mode 100644 Example/Pods/KGFloatingDrawer/Pod/Classes/KGDrawerView.swift delete mode 100644 Example/Pods/KGFloatingDrawer/Pod/Classes/KGDrawerViewController.swift delete mode 100644 Example/Pods/KGFloatingDrawer/Pod/Classes/KGFloatingDrawer.h delete mode 100644 Example/Pods/KGFloatingDrawer/README.md rename Example/Pods/Pods.xcodeproj/xcuserdata/{erik.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example.xcscheme => hungnguyen.xcuserdatad/xcschemes/KGFloatingDrawer.xcscheme} (56%) rename Example/Pods/Pods.xcodeproj/xcuserdata/{kgoddard.xcuserdatad => hungnguyen.xcuserdatad}/xcschemes/Pods-KGFloatingDrawer-Example.xcscheme (93%) rename Example/Pods/Pods.xcodeproj/xcuserdata/{kgoddard.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example-KGFloatingDrawer.xcscheme => hungnguyen.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-ExampleTests.xcscheme} (82%) rename Example/Pods/Pods.xcodeproj/xcuserdata/{kgoddard.xcuserdatad => hungnguyen.xcuserdatad}/xcschemes/xcschememanagement.plist (62%) rename Example/Pods/Target Support Files/{Pods-KGFloatingDrawer-Example-KGFloatingDrawer => KGFloatingDrawer}/Info.plist (89%) create mode 100644 Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer-dummy.m create mode 100644 Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer-prefix.pch rename Example/Pods/Target Support Files/{Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer-umbrella.h => KGFloatingDrawer/KGFloatingDrawer-umbrella.h} (51%) create mode 100644 Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer.modulemap create mode 100644 Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer.xcconfig delete mode 100644 Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer-Private.xcconfig delete mode 100644 Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer-dummy.m delete mode 100644 Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer-prefix.pch delete mode 100644 Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer.modulemap delete mode 100644 Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer.xcconfig delete mode 100644 Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-environment.h create mode 100644 Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Info.plist create mode 100644 Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-acknowledgements.markdown create mode 100644 Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-acknowledgements.plist create mode 100644 Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-dummy.m create mode 100755 Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-frameworks.sh create mode 100755 Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-resources.sh create mode 100644 Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-umbrella.h create mode 100644 Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests.debug.xcconfig create mode 100644 Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests.modulemap create mode 100644 Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests.release.xcconfig diff --git a/Example/.DS_Store b/Example/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..7138211f3782b547bf1dcf27cb777a2bd6bd5229 GIT binary patch literal 6148 zcmeH~%}T>S6ot=d7ezM}T(}&>twL9BLrHbvvM*psO8sd}s4aDw$5IzQg^2GU_za#q zGn9lVhy)S27v`S%yEl^$CX)eR2FtV$^Z;~OL_1q_pO}nGY1l^SkwN2fAPy%%Vo4(nT^MCmD{l6ZhEhV4?{uKe!iAV8(uN2PK#>>fBYgx`& p#AIIS)rHW7 /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"; + showEnvVarsInLog = 0; + }; + 0E67F3973E35428F9A419C99 /* [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; }; - EEBDE45A7F2FD9E056F739EB /* Check Pods Manifest.lock */ = { + 5FC07C5E46CB052B4ED8E902 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); - name = "Check Pods Manifest.lock"; + name = "[CP] Check Pods Manifest.lock"; 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 = "diff \"${PODS_ROOT}/../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"; showEnvVarsInLog = 0; }; - F48B17B99145B962BCF52BE3 /* Embed Pods Frameworks */ = { + EF6063587ECB5B356DE6184A /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); - name = "Embed Pods Frameworks"; + name = "[CP] Embed Pods Frameworks"; outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; @@ -288,6 +332,21 @@ shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; + F4C582DD40800F24ADDAB643 /* [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 */ @@ -416,32 +475,37 @@ }; 1F441C0D1AA6A745005772A1 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 01B2AB81D863D8EDA47432CC /* Pods-KGFloatingDrawer-Example.debug.xcconfig */; + baseConfigurationReference = FB775C77DD9C8B1B7B17341A /* Pods-KGFloatingDrawer-Example.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + DEVELOPMENT_TEAM = P75L6RL67A; INFOPLIST_FILE = "KGFloatingDrawer-Example/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "net.kgoddard.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_BUNDLE_IDENTIFIER = net.kgoddard.KGFloatingDrawer; PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; }; name = Debug; }; 1F441C0E1AA6A745005772A1 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 1DC3D2E52604AA455F7D40D7 /* Pods-KGFloatingDrawer-Example.release.xcconfig */; + baseConfigurationReference = 72DE17FCE2FA1AD4B12A8430 /* Pods-KGFloatingDrawer-Example.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + DEVELOPMENT_TEAM = P75L6RL67A; INFOPLIST_FILE = "KGFloatingDrawer-Example/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "net.kgoddard.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_BUNDLE_IDENTIFIER = net.kgoddard.KGFloatingDrawer; PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; }; name = Release; }; 1F441C101AA6A745005772A1 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = C8CD46B25969FEA58DF4B568 /* Pods-KGFloatingDrawer-ExampleTests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; FRAMEWORK_SEARCH_PATHS = ( @@ -456,12 +520,14 @@ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "net.kgoddard.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/KGFloatingDrawer-Example.app/KGFloatingDrawer-Example"; }; name = Debug; }; 1F441C111AA6A745005772A1 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = B6C811ABB59F568358E00B23 /* Pods-KGFloatingDrawer-ExampleTests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; FRAMEWORK_SEARCH_PATHS = ( @@ -472,6 +538,7 @@ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "net.kgoddard.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/KGFloatingDrawer-Example.app/KGFloatingDrawer-Example"; }; name = Release; diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/erik.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example-KGFloatingDrawer.xcscheme b/Example/KGFloatingDrawer-Example.xcodeproj/xcuserdata/hungnguyen.xcuserdatad/xcschemes/KGFloatingDrawer-Example.xcscheme similarity index 53% rename from Example/Pods/Pods.xcodeproj/xcuserdata/erik.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example-KGFloatingDrawer.xcscheme rename to Example/KGFloatingDrawer-Example.xcodeproj/xcuserdata/hungnguyen.xcuserdatad/xcschemes/KGFloatingDrawer-Example.xcscheme index 3c24e50..57b350e 100644 --- a/Example/Pods/Pods.xcodeproj/xcuserdata/erik.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example-KGFloatingDrawer.xcscheme +++ b/Example/KGFloatingDrawer-Example.xcodeproj/xcuserdata/hungnguyen.xcuserdatad/xcschemes/KGFloatingDrawer-Example.xcscheme @@ -1,6 +1,6 @@ + BlueprintIdentifier = "1F441BEC1AA6A745005772A1" + BuildableName = "KGFloatingDrawer-Example.app" + BlueprintName = "KGFloatingDrawer-Example" + ReferencedContainer = "container:KGFloatingDrawer-Example.xcodeproj"> @@ -28,7 +28,26 @@ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" shouldUseLaunchSchemeArgsEnv = "YES"> + + + + + + + + @@ -42,15 +61,16 @@ debugDocumentVersioning = "YES" debugServiceExtension = "internal" allowLocationSimulation = "YES"> - + + BlueprintIdentifier = "1F441BEC1AA6A745005772A1" + BuildableName = "KGFloatingDrawer-Example.app" + BlueprintName = "KGFloatingDrawer-Example" + ReferencedContainer = "container:KGFloatingDrawer-Example.xcodeproj"> - + @@ -60,15 +80,16 @@ savedToolIdentifier = "" useCustomWorkingDirectory = "NO" debugDocumentVersioning = "YES"> - + + BlueprintIdentifier = "1F441BEC1AA6A745005772A1" + BuildableName = "KGFloatingDrawer-Example.app" + BlueprintName = "KGFloatingDrawer-Example" + ReferencedContainer = "container:KGFloatingDrawer-Example.xcodeproj"> - + diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/erik.xcuserdatad/xcschemes/xcschememanagement.plist b/Example/KGFloatingDrawer-Example.xcodeproj/xcuserdata/hungnguyen.xcuserdatad/xcschemes/xcschememanagement.plist similarity index 60% rename from Example/Pods/Pods.xcodeproj/xcuserdata/erik.xcuserdatad/xcschemes/xcschememanagement.plist rename to Example/KGFloatingDrawer-Example.xcodeproj/xcuserdata/hungnguyen.xcuserdatad/xcschemes/xcschememanagement.plist index 5f97981..e966ed7 100644 --- a/Example/Pods/Pods.xcodeproj/xcuserdata/erik.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/Example/KGFloatingDrawer-Example.xcodeproj/xcuserdata/hungnguyen.xcuserdatad/xcschemes/xcschememanagement.plist @@ -4,25 +4,20 @@ SchemeUserState - Pods-KGFloatingDrawer-Example-KGFloatingDrawer.xcscheme + KGFloatingDrawer-Example.xcscheme orderHint - 2 - - Pods-KGFloatingDrawer-Example.xcscheme - - orderHint - 1 + 0 SuppressBuildableAutocreation - 0E1A9D9B69C48841FDBA5609 + 1F441BEC1AA6A745005772A1 primary - 9956EAB19AAE15D26E47B28E + 1F441C011AA6A745005772A1 primary diff --git a/Example/KGFloatingDrawer-Example.xcworkspace/xcuserdata/hungnguyen.xcuserdatad/UserInterfaceState.xcuserstate b/Example/KGFloatingDrawer-Example.xcworkspace/xcuserdata/hungnguyen.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000000000000000000000000000000000000..2bd0e70d6d48199b3ef7b799c04be9b67a5db155 GIT binary patch literal 21620 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 literal 0 HcmV?d00001 diff --git a/Example/KGFloatingDrawer-Example/AppDelegate.swift b/Example/KGFloatingDrawer-Example/AppDelegate.swift index cb2dfa4..a2508cd 100644 --- a/Example/KGFloatingDrawer-Example/AppDelegate.swift +++ b/Example/KGFloatingDrawer-Example/AppDelegate.swift @@ -22,9 +22,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate { let kKGRightDrawerStoryboardId = "KGRightDrawerViewControllerStoryboardId" - func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [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,29 +33,29 @@ 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. } - func applicationDidEnterBackground(application: UIApplication) { + func applicationDidEnterBackground(_ application: UIApplication) { // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. } - func applicationWillEnterForeground(application: UIApplication) { + func applicationWillEnterForeground(_ application: UIApplication) { // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. } - func applicationDidBecomeActive(application: UIApplication) { + func applicationDidBecomeActive(_ application: UIApplication) { // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. } - func applicationWillTerminate(application: UIApplication) { + func applicationWillTerminate(_ application: UIApplication) { // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. } - private var _drawerViewController: KGDrawerViewController? + fileprivate var _drawerViewController: KGDrawerViewController? var drawerViewController: KGDrawerViewController { get { if let viewController = _drawerViewController { @@ -78,13 +78,13 @@ class AppDelegate: UIResponder, UIApplicationDelegate { return drawerViewController } - private func drawerStoryboard() -> UIStoryboard { + fileprivate func drawerStoryboard() -> UIStoryboard { let storyboard = UIStoryboard(name: kKGDrawersStoryboardName, bundle: nil) return storyboard } - private func viewControllerForStoryboardId(storyboardId: String) -> UIViewController { - let viewController: UIViewController = drawerStoryboard().instantiateViewControllerWithIdentifier(storyboardId) + fileprivate func viewControllerForStoryboardId(_ storyboardId: String) -> UIViewController { + let viewController: UIViewController = drawerStoryboard().instantiateViewController(withIdentifier: storyboardId) return viewController } @@ -98,29 +98,29 @@ class AppDelegate: UIResponder, UIApplicationDelegate { return viewController } - private func leftViewController() -> UIViewController { + fileprivate func leftViewController() -> UIViewController { let viewController = viewControllerForStoryboardId(kKGLeftDrawerStoryboardId) return viewController } - private func rightViewController() -> UIViewController { + fileprivate func rightViewController() -> UIViewController { let viewController = viewControllerForStoryboardId(kKGRightDrawerStoryboardId) return viewController } - func toggleLeftDrawer(sender:AnyObject, animated:Bool) { - _drawerViewController?.toggleDrawer(.Left, animated: true, complete: { (finished) -> Void in + func toggleLeftDrawer(_ sender:AnyObject, animated:Bool) { + _drawerViewController?.toggleDrawer(.left, animated: true, complete: { (finished) -> Void in // do nothing }) } - func toggleRightDrawer(sender:AnyObject, animated:Bool) { - _drawerViewController?.toggleDrawer(.Right, animated: true, complete: { (finished) -> Void in + func toggleRightDrawer(_ sender:AnyObject, animated:Bool) { + _drawerViewController?.toggleDrawer(.right, animated: true, complete: { (finished) -> Void in // do nothing }) } - private var _centerViewController: UIViewController? + fileprivate var _centerViewController: UIViewController? var centerViewController: UIViewController { get { if let viewController = _centerViewController { diff --git a/Example/KGFloatingDrawer-Example/KGDrawerSettingsTableViewController.swift b/Example/KGFloatingDrawer-Example/KGDrawerSettingsTableViewController.swift index d95876d..38969fb 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,14 +39,14 @@ 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!) reset() } } - func captureDefaultValues(animator:KGDrawerSpringAnimator) { + func captureDefaultValues(_ animator:KGDrawerSpringAnimator) { defaultDuration = animator.animationDuration defaultDelay = animator.animationDelay defaultSpringVelocity = animator.initialSpringVelocity @@ -61,8 +61,8 @@ class KGDrawerSettingsTableViewController: UITableViewController { func updateAnimator() { if let currentAnimator = animator { - currentAnimator.animationDuration = NSTimeInterval(defaultDuration!) - currentAnimator.animationDelay = NSTimeInterval(defaultDelay!) + currentAnimator.animationDuration = TimeInterval(defaultDuration!) + currentAnimator.animationDelay = TimeInterval(defaultDelay!) currentAnimator.initialSpringVelocity = defaultSpringVelocity! currentAnimator.springDamping = defaultSpringDamping! } @@ -82,22 +82,22 @@ class KGDrawerSettingsTableViewController: UITableViewController { springDampingLabel.text = String(format: "%.2f", springDampingSlider.value) } - @IBAction func durationSliderChanged(sender: UISlider) { + @IBAction func durationSliderChanged(_ sender: UISlider) { durationLabel.text = String(format: "%.2f", sender.value) - animator?.animationDuration = NSTimeInterval(sender.value) + animator?.animationDuration = TimeInterval(sender.value) } - @IBAction func delaySliderChanged(sender: UISlider) { + @IBAction func delaySliderChanged(_ sender: UISlider) { delayLabel.text = String(format: "%.2f", sender.value) - animator?.animationDelay = NSTimeInterval(sender.value) + animator?.animationDelay = TimeInterval(sender.value) } - @IBAction func springVelocitySliderChanged(sender: UISlider) { + @IBAction func springVelocitySliderChanged(_ sender: UISlider) { springVelocityLabel.text = String(format: "%.2f", sender.value) animator?.initialSpringVelocity = CGFloat(sender.value) } - @IBAction func springDampingSliderChanged(sender: UISlider) { + @IBAction func springDampingSliderChanged(_ sender: UISlider) { springDampingLabel.text = String(format: "%.2f", sender.value) animator?.springDamping = CGFloat(sender.value) } @@ -107,17 +107,17 @@ class KGDrawerSettingsTableViewController: UITableViewController { // Dispose of any resources that can be recreated. } - @IBAction func toggleLeftDrawer(sender: AnyObject) { - let appDelegate = UIApplication.sharedApplication().delegate as! AppDelegate + @IBAction func toggleLeftDrawer(_ sender: AnyObject) { + let appDelegate = UIApplication.shared.delegate as! AppDelegate appDelegate.toggleLeftDrawer(sender, animated: false) } - @IBAction func toggleRightDrawer(sender: AnyObject) { - let appDelegate = UIApplication.sharedApplication().delegate as! AppDelegate + @IBAction func toggleRightDrawer(_ sender: AnyObject) { + let appDelegate = UIApplication.shared.delegate as! AppDelegate appDelegate.toggleRightDrawer(sender, animated: true) } - override func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) { + override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { let selectedRowIndex:Int = indexPath.section if selectedRowIndex == resetRowIndex { reset() diff --git a/Example/KGFloatingDrawer-Example/KGDrawerWebViewViewController.swift b/Example/KGFloatingDrawer-Example/KGDrawerWebViewViewController.swift index c52ed68..8ccc4ba 100644 --- a/Example/KGFloatingDrawer-Example/KGDrawerWebViewViewController.swift +++ b/Example/KGFloatingDrawer-Example/KGDrawerWebViewViewController.swift @@ -16,8 +16,8 @@ class KGDrawerWebViewViewController: UIViewController { super.viewDidLoad() // Do any additional setup after loading the view. - let url: NSURL = NSURL(string: "https://github.com/KyleGoddard/KGFloatingDrawer")! - let request = NSURLRequest(URL: url) + let url: URL = URL(string: "https://github.com/KyleGoddard/KGFloatingDrawer")! + let request = URLRequest(url: url) webView.loadRequest(request) } @@ -38,13 +38,13 @@ class KGDrawerWebViewViewController: UIViewController { } */ - @IBAction func toggleLeftDrawer(sender: AnyObject) { - let appDelegate = UIApplication.sharedApplication().delegate as! AppDelegate + @IBAction func toggleLeftDrawer(_ sender: AnyObject) { + let appDelegate = UIApplication.shared.delegate as! AppDelegate appDelegate.toggleLeftDrawer(sender, animated: false) } - @IBAction func toggleRightDrawer(sender: AnyObject) { - let appDelegate = UIApplication.sharedApplication().delegate as! AppDelegate + @IBAction func toggleRightDrawer(_ sender: AnyObject) { + let appDelegate = UIApplication.shared.delegate as! AppDelegate appDelegate.toggleRightDrawer(sender, animated: true) } } diff --git a/Example/KGFloatingDrawer-Example/LeftDrawerTableViewController.swift b/Example/KGFloatingDrawer-Example/LeftDrawerTableViewController.swift index 79f82be..581735f 100644 --- a/Example/KGFloatingDrawer-Example/LeftDrawerTableViewController.swift +++ b/Example/KGFloatingDrawer-Example/LeftDrawerTableViewController.swift @@ -27,8 +27,8 @@ 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 { @@ -36,8 +36,8 @@ class LeftDrawerTableViewController: UITableViewController { } } - 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/KGFloatingDrawer-ExampleTests/KGFloatingDrawer_ExampleTests.swift b/Example/KGFloatingDrawer-ExampleTests/KGFloatingDrawer_ExampleTests.swift index b1c155c..d4d59c6 100644 --- a/Example/KGFloatingDrawer-ExampleTests/KGFloatingDrawer_ExampleTests.swift +++ b/Example/KGFloatingDrawer-ExampleTests/KGFloatingDrawer_ExampleTests.swift @@ -28,7 +28,7 @@ class KGFloatingDrawer_ExampleTests: XCTestCase { func testPerformanceExample() { // This is an example of a performance test case. - self.measureBlock() { + self.measure() { // Put the code you want to measure the time of here. } } diff --git a/Example/Podfile b/Example/Podfile index fce9fb8..75b1d32 100644 --- a/Example/Podfile +++ b/Example/Podfile @@ -9,3 +9,11 @@ end target 'KGFloatingDrawer-ExampleTests' do end + +post_install do |installer| + installer.pods_project.targets.each do |target| + target.build_configurations.each do |config| + config.build_settings['SWIFT_VERSION'] = '3.0.2' + end + end +end diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 3e0b44e..d548b52 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: b1c254f2a90749835624e446c8489cec9fa03f88 + +COCOAPODS: 1.2.0.rc.1 diff --git a/Example/Pods/Headers/Private/KGFloatingDrawer/KGFloatingDrawer.h b/Example/Pods/Headers/Private/KGFloatingDrawer/KGFloatingDrawer.h deleted file mode 120000 index 2b581b0..0000000 --- a/Example/Pods/Headers/Private/KGFloatingDrawer/KGFloatingDrawer.h +++ /dev/null @@ -1 +0,0 @@ -../../../../../Pod/Classes/KGFloatingDrawer.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/KGFloatingDrawer/KGFloatingDrawer.h b/Example/Pods/Headers/Public/KGFloatingDrawer/KGFloatingDrawer.h deleted file mode 120000 index 2b581b0..0000000 --- a/Example/Pods/Headers/Public/KGFloatingDrawer/KGFloatingDrawer.h +++ /dev/null @@ -1 +0,0 @@ -../../../../../Pod/Classes/KGFloatingDrawer.h \ No newline at end of file diff --git a/Example/Pods/KGFloatingDrawer/LICENSE b/Example/Pods/KGFloatingDrawer/LICENSE deleted file mode 100644 index 364c60b..0000000 --- a/Example/Pods/KGFloatingDrawer/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015 Kyle Goddard - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/Example/Pods/KGFloatingDrawer/Pod/Classes/KGDrawerAnimating.swift b/Example/Pods/KGFloatingDrawer/Pod/Classes/KGDrawerAnimating.swift deleted file mode 100644 index 880e99d..0000000 --- a/Example/Pods/KGFloatingDrawer/Pod/Classes/KGDrawerAnimating.swift +++ /dev/null @@ -1,38 +0,0 @@ -// -// KGDrawerAnimating.swift -// KGDrawerViewController -// -// Created by Kyle Goddard on 2015-02-10. -// Copyright (c) 2015 Kyle Goddard. All rights reserved. -// - -//import Foundation -import UIKit - -public protocol KGDrawerAnimating { - - func openDrawer(side: KGDrawerSide, drawerView: UIView, centerView: UIView, animated: Bool, complete: (finished: Bool) -> Void) - - func dismissDrawer(side: KGDrawerSide, drawerView: UIView, centerView: UIView, animated: Bool, complete: (finished: Bool) -> Void) - - - /** - * Called prior to a rotation event, while a drawer view is being shown. - * - * @param side The currently open drawer side - * @param the containing side view that is shown. - * @param the containing centre view. - */ - func willRotateWithDrawerOpen(side: KGDrawerSide, drawerView: UIView, centerView: UIView) - - /** - * Called following a rotation event, while a drawer view is being shown. - * - * @param side The currently open drawer side - * @param the containing side view that is shown. - * @param the containing centre view. - * @param a complete block handler to handle cleanup. - */ - func didRotateWithDrawerOpen(side: KGDrawerSide, drawerView: UIView, centerView: UIView) - -} diff --git a/Example/Pods/KGFloatingDrawer/Pod/Classes/KGDrawerSpringAnimator.swift b/Example/Pods/KGFloatingDrawer/Pod/Classes/KGDrawerSpringAnimator.swift deleted file mode 100644 index f3523b7..0000000 --- a/Example/Pods/KGFloatingDrawer/Pod/Classes/KGDrawerSpringAnimator.swift +++ /dev/null @@ -1,92 +0,0 @@ -// -// KGDrawerAnimator.swift -// KGDrawerViewController -// -// Created by Kyle Goddard on 2015-02-10. -// Copyright (c) 2015 Kyle Goddard. All rights reserved. -// - -import UIKit - -public class KGDrawerSpringAnimator: NSObject { - - let kKGCenterViewDestinationScale:CGFloat = 0.7 - - public var animationDelay: NSTimeInterval = 0.0 - public var animationDuration: NSTimeInterval = 0.7 - public var initialSpringVelocity: CGFloat = 9.8 // 9.1 m/s == earth gravity accel. - public var springDamping: CGFloat = 0.8 - - // TODO: can swift have private functions in a protocol? - private func applyTransforms(side: KGDrawerSide, drawerView: UIView, centerView: UIView) { - - let direction = side.rawValue - let sideWidth = CGRectGetWidth(drawerView.bounds) - let centerWidth = CGRectGetWidth(centerView.bounds) - let centerHorizontalOffset = direction * sideWidth - let scaledCenterViewHorizontalOffset = direction * (sideWidth - (centerWidth - kKGCenterViewDestinationScale * centerWidth) / 2.0) - - let sideTransform = CGAffineTransformMakeTranslation(centerHorizontalOffset, 0.0) - drawerView.transform = sideTransform - - let centerTranslate = CGAffineTransformMakeTranslation(scaledCenterViewHorizontalOffset, 0.0) - let centerScale = CGAffineTransformMakeScale(kKGCenterViewDestinationScale, kKGCenterViewDestinationScale) - centerView.transform = CGAffineTransformConcat(centerScale, centerTranslate) - - } - - private func resetTransforms(views: [UIView]) { - for view in views { - view.transform = CGAffineTransformIdentity - } - } - -} - -extension KGDrawerSpringAnimator: KGDrawerAnimating { - - public func openDrawer(side: KGDrawerSide, drawerView: UIView, centerView: UIView, animated: Bool, complete: (finished: Bool) -> Void) { - if (animated) { - UIView.animateWithDuration(animationDuration, - delay: animationDelay, - usingSpringWithDamping: springDamping, - initialSpringVelocity: initialSpringVelocity, - options: UIViewAnimationOptions.CurveLinear, - animations: { - self.applyTransforms(side, drawerView: drawerView, centerView: centerView) - - }, completion: complete) - } else { - self.applyTransforms(side, drawerView: drawerView, centerView: centerView) - } - } - - public func dismissDrawer(side: KGDrawerSide, drawerView: UIView, centerView: UIView, animated: Bool, complete: (finished: Bool) -> Void) { - if (animated) { - UIView.animateWithDuration(animationDuration, - delay: animationDelay, - usingSpringWithDamping: springDamping, - initialSpringVelocity: initialSpringVelocity, - options: UIViewAnimationOptions.CurveLinear, - animations: { - self.resetTransforms([drawerView, centerView]) - }, completion: complete) - } else { - self.resetTransforms([drawerView, centerView]) - } - } - - public func willRotateWithDrawerOpen(side: KGDrawerSide, drawerView: UIView, centerView: UIView) { - - } - - public func didRotateWithDrawerOpen(side: KGDrawerSide, drawerView: UIView, centerView: UIView) { - UIView.animateWithDuration(animationDuration, - delay: animationDelay, - usingSpringWithDamping: springDamping, - initialSpringVelocity: initialSpringVelocity, - options: UIViewAnimationOptions.CurveLinear, - animations: {}, completion: nil ) - } - -} diff --git a/Example/Pods/KGFloatingDrawer/Pod/Classes/KGDrawerView.swift b/Example/Pods/KGFloatingDrawer/Pod/Classes/KGDrawerView.swift deleted file mode 100644 index bbfcabc..0000000 --- a/Example/Pods/KGFloatingDrawer/Pod/Classes/KGDrawerView.swift +++ /dev/null @@ -1,307 +0,0 @@ -// -// KGDrawerView.swift -// KGDrawerViewController -// -// Created by Kyle Goddard on 2015-02-11. -// Copyright (c) 2015 Kyle Goddard. All rights reserved. -// - -import UIKit - -public class KGDrawerView: UIView { - - - let kKGCenterViewContainerCornerRadius: CGFloat = 5.0 - let kKGDefaultViewContainerWidth: CGFloat = 280.0 - - // MARK: Initialization - required public init(coder aDecoder: NSCoder) { - fatalError("init(coder:) has not been implemented") - } - - override init() { - super.init() - } - - override init(frame: CGRect) { - super.init(frame: frame) - - self.addSubview(backgroundImageView) - self.addSubview(centerViewContainer) - self.addSubview(leftViewContainer) - self.addSubview(rightViewContainer) - - self.addConstraints(backgroundViewConstraints) - self.addConstraints(centerViewConstraints) - self.addConstraints(leftViewConstraints) - self.addConstraints(rightViewConstraints) - } - - override public func willMoveToSuperview(newSuperview: UIView?) { - self.bringSubviewToFront(self.centerViewContainer) - } - - override public func layoutSubviews() { - updateShadowPath() - } - - // MARK: Background Image - private var _backgroundImageView: UIImageView? - var backgroundImageView: UIImageView { - get { - if let imageView = _backgroundImageView { - return imageView - } - let imageView = UIImageView(frame: self.frame) - imageView.contentMode = .ScaleAspectFill - imageView.setTranslatesAutoresizingMaskIntoConstraints(false) - _backgroundImageView = imageView - return imageView - } - } - - private var _backgroundViewConstraints: [NSLayoutConstraint]? - private var backgroundViewConstraints: [NSLayoutConstraint] { - get { - if let constraints = _backgroundViewConstraints { - return constraints - } - let constraints = [ - NSLayoutConstraint(item: self.backgroundImageView, attribute: .Leading, relatedBy: .Equal, toItem: self, attribute: .Leading, multiplier: 1.0, constant: 0.0), - NSLayoutConstraint(item: self.backgroundImageView, attribute: .Trailing, relatedBy: .Equal, toItem: self, attribute: .Trailing, multiplier: 1.0, constant: 0.0), - NSLayoutConstraint(item: self.backgroundImageView, attribute: .Top, relatedBy: .Equal, toItem: self, attribute: .Top, multiplier: 1.0, constant: 0.0), - NSLayoutConstraint(item: self.backgroundImageView, attribute: .Bottom, relatedBy: .Equal, toItem: self, attribute: .Bottom, multiplier: 1.0, constant: 0.0) - ] - _backgroundViewConstraints = constraints - return constraints - } - } - - // MARK: Left view container - private var _leftViewContainer: UIView? - var leftViewContainer: UIView { - get { - if let container = _leftViewContainer { - return container - } - let container = UIView(frame: self.frame) - container.setTranslatesAutoresizingMaskIntoConstraints(false) - _leftViewContainer = container - return container - } - } - - private var _leftViewConstraints: [NSLayoutConstraint]? - private var leftViewConstraints: [NSLayoutConstraint] { - if let constraints = _leftViewConstraints { - return constraints - } - let constraints = [ - NSLayoutConstraint(item: self.leftViewContainer, attribute: .Height, relatedBy: .Equal, toItem: self, attribute: .Height, multiplier: 1.0, constant: 0.0), - NSLayoutConstraint(item: self.leftViewContainer, attribute: .Trailing, relatedBy: .Equal, toItem: self, attribute: .Leading, multiplier: 1.0, constant: 0.0), - NSLayoutConstraint(item: self.leftViewContainer, attribute: .Top, relatedBy: .Equal, toItem: self, attribute: .Top, multiplier: 1.0, constant: 0.0), - self.leftViewWidthConstraint - ] - _leftViewConstraints = constraints - return constraints - } - - private var _leftViewWidthConstraint: NSLayoutConstraint? - private var leftViewWidthConstraint: NSLayoutConstraint { - get { - if let retVal = _leftViewWidthConstraint { - return retVal - } - let retVal = NSLayoutConstraint(item: self.leftViewContainer, attribute: .Width, relatedBy: .Equal, toItem: nil, attribute: .NotAnAttribute, multiplier: 1.0, constant: self.kKGDefaultViewContainerWidth) - _leftViewWidthConstraint = retVal - return retVal - } - } - - // MARK: Right view container - private var _rightViewContainer: UIView? - var rightViewContainer: UIView { - get { - if let retVal = _rightViewContainer { - return retVal - } - let retVal = UIView(frame: self.frame) - retVal.setTranslatesAutoresizingMaskIntoConstraints(false) - _rightViewContainer = retVal - return retVal - } - } - - private var _rightViewConstraints: [NSLayoutConstraint]? - private var rightViewConstraints: [NSLayoutConstraint] { - get { - if let constraints = _rightViewConstraints { - return constraints - } - let constraints = [ - NSLayoutConstraint(item: self.rightViewContainer, attribute: .Height, relatedBy: .Equal, toItem: self, attribute: .Height, multiplier: 1.0, constant: 0.0), - NSLayoutConstraint(item: self.rightViewContainer, attribute: .Leading, relatedBy: .Equal, toItem: self, attribute: .Trailing, multiplier: 1.0, constant: 0.0), - NSLayoutConstraint(item: self.rightViewContainer, attribute: .Top, relatedBy: .Equal, toItem: self, attribute: .Top, multiplier: 1.0, constant: 0.0), - self.rightViewWidthConstraint - ] - _rightViewConstraints = constraints - return constraints - } - } - - private var _rightViewWidthConstraint: NSLayoutConstraint? - private var rightViewWidthConstraint: NSLayoutConstraint { - get { - if let constraint = _rightViewWidthConstraint { - return constraint - } - let constraint = NSLayoutConstraint(item: self.rightViewContainer, attribute: .Width, relatedBy: .Equal, toItem: nil, attribute: .NotAnAttribute, multiplier: 1.0, constant: self.kKGDefaultViewContainerWidth) - _rightViewWidthConstraint = constraint - return constraint - } - } - - // MARK: Center view container - private var _centerViewContainer: UIView? - var centerViewContainer: UIView { - get { - if let container = _centerViewContainer { - return container - } - let container = UIView(frame: self.frame) - container.setTranslatesAutoresizingMaskIntoConstraints(false) - _centerViewContainer = container - return container - } - } - - private var _centerViewConstraints: [NSLayoutConstraint]? - private var centerViewConstraints: [NSLayoutConstraint] { - if let constraints = _centerViewConstraints { - return constraints - } - let constraints = [ - NSLayoutConstraint(item: self.centerViewContainer, attribute: .Leading, relatedBy: .Equal, toItem: self, attribute: .Leading, multiplier: 1.0, constant: 0.0), - NSLayoutConstraint(item: self.centerViewContainer, attribute: .Trailing, relatedBy: .Equal, toItem: self, attribute: .Trailing, multiplier: 1.0, constant: 0.0), - NSLayoutConstraint(item: self.centerViewContainer, attribute: .Top, relatedBy: .Equal, toItem: self, attribute: .Top, multiplier: 1.0, constant: 0.0), - NSLayoutConstraint(item: self.centerViewContainer, attribute: .Bottom, relatedBy: .Equal, toItem: self, attribute: .Bottom, multiplier: 1.0, constant: 0.0) - ] - _centerViewConstraints = constraints - return constraints - } - - // MARK: Reveal Widths - var leftViewContainerWidth: CGFloat { - get { - return self.leftViewWidthConstraint.constant - } - set { - self.leftViewWidthConstraint.constant = newValue - } - } - - var rightViewContainerWidth: CGFloat { - get { - return self.rightViewWidthConstraint.constant - } - set { - self.rightViewWidthConstraint.constant = newValue - } - } - - // TODO: Make the various properties here configurable by the user. - private var _shouldRadiusCenterViewController: Bool = false - var shouldRadiusCenterViewController: Bool { - get { - return _shouldRadiusCenterViewController - } - set { - var view = self.centerViewContainer.subviews.first as! UIView - if (newValue) { - view.layer.borderColor = UIColor(white: 1.0, alpha: 0.15).CGColor - view.layer.borderWidth = 1.0 - view.layer.masksToBounds = true - view.layer.cornerRadius = kKGCenterViewContainerCornerRadius - } else { - view.layer.borderColor = UIColor.clearColor().CGColor - view.layer.borderWidth = 0.0 - view.layer.masksToBounds = false - view.layer.cornerRadius = 0.0 - } - _shouldRadiusCenterViewController = newValue - } - } - - // TODO: Make the various properties here configurable by the user. - private var _shouldShadowCenterViewContainer: Bool? - var shouldShadowCenterViewContainer: Bool { - get { - if let retVal = _shouldShadowCenterViewContainer { - return retVal - } - _shouldShadowCenterViewContainer = false - return false - } - set { - var layer = self.centerViewContainer.layer - if (newValue) { - layer.shadowRadius = 20.0 - layer.shadowColor = UIColor.blackColor().CGColor - layer.shadowOpacity = 0.4 - layer.shadowOffset = CGSizeMake(0.0, 0.0) - layer.masksToBounds = false - - self.updateShadowPath() - - } else { - layer.shadowRadius = 0.0 - layer.shadowColor = UIColor.clearColor().CGColor - layer.shadowOpacity = 0.0 - layer.shadowOffset = CGSizeMake(0.0, 0.0) - layer.masksToBounds = true - } - _shouldShadowCenterViewContainer = newValue - } - } - - // MARK: Helpers - - func updateShadowPath() { - var layer = self.centerViewContainer.layer - var increase = layer.shadowRadius - var rect = self.centerViewContainer.bounds - - rect.origin.x -= increase - rect.origin.y -= increase - rect.size.width += increase * 2.0 - rect.size.height += increase * 2.0 - - layer.shadowPath = UIBezierPath(roundedRect: rect, cornerRadius: kKGCenterViewContainerCornerRadius).CGPath - } - - func viewContainerForDrawerSide(drawerSide: KGDrawerSide) -> UIView? { - var viewContainer: UIView? - switch drawerSide { - case .Left: - viewContainer = self.leftViewContainer - case .Right: - viewContainer = self.rightViewContainer - case .None: - viewContainer = nil - } - return viewContainer - } - - // MARK: Event Handling - - func willOpenDrawer(viewController: KGDrawerViewController) { - self.shouldRadiusCenterViewController = true - self.shouldShadowCenterViewContainer = true - } - - func willCloseDrawer(viewController: KGDrawerViewController) { - self.shouldRadiusCenterViewController = false - self.shouldShadowCenterViewContainer = false - } - -} diff --git a/Example/Pods/KGFloatingDrawer/Pod/Classes/KGDrawerViewController.swift b/Example/Pods/KGFloatingDrawer/Pod/Classes/KGDrawerViewController.swift deleted file mode 100644 index 0bb2bc5..0000000 --- a/Example/Pods/KGFloatingDrawer/Pod/Classes/KGDrawerViewController.swift +++ /dev/null @@ -1,262 +0,0 @@ -// -// KGDrawerViewController.swift -// KGDrawerViewController -// -// Created by Kyle Goddard on 2015-02-10. -// Copyright (c) 2015 Kyle Goddard. All rights reserved. -// - -import UIKit - -public enum KGDrawerSide: CGFloat { - case None = 0 - case Left = 1 - case Right = -1 -} - -public class KGDrawerViewController: UIViewController { - - let defaultDuration:NSTimeInterval = 0.3 - - // MARK: Initialization - - override public init() { - super.init() - } - - override public init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: NSBundle?) { - super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil) - } - - required public init(coder aDecoder: NSCoder) { - fatalError("init(coder:) has not been implemented") - } - - override public func loadView() { - view = drawerView - } - - - private var _drawerView: KGDrawerView? - var drawerView: KGDrawerView { - get { - if let retVal = _drawerView { - return retVal - } - let rect = UIScreen.mainScreen().bounds - let retVal = KGDrawerView(frame: rect) - _drawerView = retVal - return retVal - } - } - - // TODO: Add ability to supply custom animator. - - private var _animator: KGDrawerSpringAnimator? - public var animator: KGDrawerSpringAnimator { - get { - if let retVal = _animator { - return retVal - } - let retVal = KGDrawerSpringAnimator() - _animator = retVal - return retVal - } - } - - // MARK: Interaction - - public func openDrawer(side: KGDrawerSide, animated:Bool, complete: (finished: Bool) -> Void) { - if currentlyOpenedSide != side { - if let sideView = drawerView.viewContainerForDrawerSide(side) { - let centerView = drawerView.centerViewContainer - if currentlyOpenedSide != .None { - closeDrawer(side, animated: animated) { finished in - self.animator.openDrawer(side, drawerView: sideView, centerView: centerView, animated: animated, complete: complete) - } - } else { - self.animator.openDrawer(side, drawerView: sideView, centerView: centerView, animated: animated, complete: complete) - } - - addDrawerGestures() - drawerView.willOpenDrawer(self) - } - } - - currentlyOpenedSide = side - } - - public func closeDrawer(side: KGDrawerSide, animated: Bool, complete: (finished: Bool) -> Void) { - if (currentlyOpenedSide == side && currentlyOpenedSide != .None) { - if let sideView = drawerView.viewContainerForDrawerSide(side) { - let centerView = drawerView.centerViewContainer - animator.dismissDrawer(side, drawerView: sideView, centerView: centerView, animated: animated, complete: complete) - currentlyOpenedSide = .None - restoreGestures() - drawerView.willCloseDrawer(self) - } - } - } - - public func toggleDrawer(side: KGDrawerSide, animated: Bool, complete: (finished: Bool) -> Void) { - if side != .None { - if side == currentlyOpenedSide { - closeDrawer(side, animated: animated, complete: complete) - } else { - openDrawer(side, animated: animated, complete: complete) - } - } - } - - // MARK: Gestures - - func addDrawerGestures() { - centerViewController?.view.userInteractionEnabled = false - drawerView.centerViewContainer.addGestureRecognizer(toggleDrawerTapGestureRecognizer) - } - - func restoreGestures() { - drawerView.centerViewContainer.removeGestureRecognizer(toggleDrawerTapGestureRecognizer) - centerViewController?.view.userInteractionEnabled = true - } - - func centerViewContainerTapped(sender: AnyObject) { - closeDrawer(currentlyOpenedSide, animated: true) { (finished) -> Void in - // Do nothing - } - } - - // MARK: Helpers - - func viewContainer(side: KGDrawerSide) -> UIViewController? { - switch side { - case .Left: - return self.leftViewController - case .Right: - return self.rightViewController - case .None: - return nil - } - } - - func replaceViewController(sourceViewController: UIViewController?, destinationViewController: UIViewController, container: UIView) { - - sourceViewController?.willMoveToParentViewController(nil) - sourceViewController?.view.removeFromSuperview() - sourceViewController?.removeFromParentViewController() - - self.addChildViewController(destinationViewController) - container.addSubview(destinationViewController.view) - - let destinationView = destinationViewController.view - destinationView.setTranslatesAutoresizingMaskIntoConstraints(false) - - container.removeConstraints(container.constraints()) - - let views: [String:UIView] = ["v1" : destinationView] - container.addConstraints(NSLayoutConstraint.constraintsWithVisualFormat("V:|[v1]|", options: NSLayoutFormatOptions(0), metrics: nil, views: views)) - container.addConstraints(NSLayoutConstraint.constraintsWithVisualFormat("H:|[v1]|", options: NSLayoutFormatOptions(0), metrics: nil, views: views)) - - destinationViewController.didMoveToParentViewController(self) - } - - // MARK: Private computed properties - - public var currentlyOpenedSide: KGDrawerSide = .None - - // MARK: Accessors - private var _leftViewController: UIViewController? - public var leftViewController: UIViewController? { - get { - return _leftViewController - } - set { - self.replaceViewController(self.leftViewController, destinationViewController: newValue!, container: self.drawerView.leftViewContainer) - _leftViewController = newValue! - } - } - - private var _rightViewController: UIViewController? - public var rightViewController: UIViewController? { - get { - return _rightViewController - } - set { - self.replaceViewController(self.rightViewController, destinationViewController: newValue!, container: self.drawerView.rightViewContainer) - _rightViewController = newValue - } - } - - private var _centerViewController: UIViewController? - public var centerViewController: UIViewController? { - get { - return _centerViewController - } - set { - self.replaceViewController(self.centerViewController, destinationViewController: newValue!, container: self.drawerView.centerViewContainer) - _centerViewController = newValue - } - } - - private lazy var toggleDrawerTapGestureRecognizer: UITapGestureRecognizer = { - [unowned self] in - let gesture = UITapGestureRecognizer(target: self, action: "centerViewContainerTapped:") - return gesture - }() - - public var leftDrawerWidth: CGFloat { - get { - return drawerView.leftViewContainerWidth - } - set { - drawerView.leftViewContainerWidth = newValue - } - } - - public var rightDrawerWidth: CGFloat { - get { - return drawerView.rightViewContainerWidth - } - set { - drawerView.rightViewContainerWidth = newValue - } - } - - public var leftDrawerRevealWidth: CGFloat { - get { - return drawerView.leftViewContainerWidth - } - } - - public var rightDrawerRevealWidth: CGFloat { - get { - return drawerView.rightViewContainerWidth - } - } - - public var backgroundImage: UIImage? { - get { - return drawerView.backgroundImageView.image - } - set { - drawerView.backgroundImageView.image = newValue - } - } - - // MARK: Status Bar - - override public func childViewControllerForStatusBarHidden() -> UIViewController? { - return centerViewController - } - - override public func childViewControllerForStatusBarStyle() -> UIViewController? { - return centerViewController - } - - // MARK: Memory Management - - override public func didReceiveMemoryWarning() { - super.didReceiveMemoryWarning() - } - -} diff --git a/Example/Pods/KGFloatingDrawer/Pod/Classes/KGFloatingDrawer.h b/Example/Pods/KGFloatingDrawer/Pod/Classes/KGFloatingDrawer.h deleted file mode 100644 index 57dfb27..0000000 --- a/Example/Pods/KGFloatingDrawer/Pod/Classes/KGFloatingDrawer.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// KGFloatingDrawer.h -// KGFloatingDrawer -// -// Created by Kyle Goddard on 2015-03-03. -// Copyright (c) 2015 Kyle Goddard. All rights reserved. -// - -#import - -//! Project version number for KGFloatingDrawer. -FOUNDATION_EXPORT double KGFloatingDrawerVersionNumber; - -//! Project version string for KGFloatingDrawer. -FOUNDATION_EXPORT const unsigned char KGFloatingDrawerVersionString[]; - -// In this header, you should import all the public headers of your framework using statements like #import - - diff --git a/Example/Pods/KGFloatingDrawer/README.md b/Example/Pods/KGFloatingDrawer/README.md deleted file mode 100644 index 5a8019c..0000000 --- a/Example/Pods/KGFloatingDrawer/README.md +++ /dev/null @@ -1,82 +0,0 @@ -# KGFloatingDrawer - -KGFloatingDrawer is a reimplementation of -[JVillella/JVFloatingDrawer](https://github.com/JVillella/JVFloatingDrawer) in -Swift. A floating drawer style navigation. KGFloatingDrawer provides a unique -twist on the nav drawer pattern. - -![](https://github.com/KyleGoddard/KGFloatingDrawer/blob/master/kgfloatingdrawer_github_preview.gif) - -#Usage - -```swift -func prepareDrawerViewController() -> KGDrawerViewController { - let drawerViewController = KGDrawerViewController() - - drawerViewController.centerViewController = drawerSettingsViewController() - drawerViewController.leftViewController = leftViewController() - drawerViewController.rightViewController = rightViewController() - drawerViewController.backgroundImage = UIImage(named: "sky3") - - _drawerViewController = drawerViewController - - return drawerViewController -} -``` - -#Installation - -#How it Works - -###KGDrawerViewController - -The `KGDrawerViewController` maintains references to center, left and optionally -right view controllers. The `centerViewController`, `leftViewController` and -`rightViewController` properties can all be reassigned in order to replace them. - -###Opening & Closing Drawers - -`KGDrawerViewController` has three functions used to open and close the nav -drawer. - -```swift -func openDrawer(side: KGDrawerSide, animated:Bool, complete: (finished: Bool) -> Void) {} - -func closeDrawer(side: KGDrawerSide, animated: Bool, complete: (finished: Bool) -> Void) {} - -func toggleDrawer(side: KGDrawerSide, animated: Bool, complete: (finished: Bool) -> Void) {} -``` - -###Drawer Width - -The `leftDrawerWidth` and `rightDrawerWidth` are used to set the width of the -drawer once it has been opened. Note that this is not the edge size of the -`centerViewController`. The default value for this is `280` points. - -###Background Image - -The background image displayed when the drawer is open is set via the -`backgroundImage` property. - -###Animator - -`KGFloatingDrawer` comes with a spring animator with the configurable -properties: `animationDelay`, `animationDuration`, `initialSpringVelocity`, and -`springDamping` - -But [JVillella/JVFloatingDrawer](https://github.com/JVillella/JVFloatingDrawer) -has custom animators!? - -I know! The ability to set a custom animator is coming soon. - -#Author - -Kyle Goddard - -[JVillella/JVFloatingDrawer](https://github.com/JVillella/JVFloatingDrawer) was -authored by Julian Villella - -#License - -KGFloatingDrawer is available under the MIT license. See the LICENSE file for -more info. diff --git a/Example/Pods/Local Podspecs/KGFloatingDrawer.podspec.json b/Example/Pods/Local Podspecs/KGFloatingDrawer.podspec.json index f82ee9a..f414a44 100644 --- a/Example/Pods/Local Podspecs/KGFloatingDrawer.podspec.json +++ b/Example/Pods/Local Podspecs/KGFloatingDrawer.podspec.json @@ -1,6 +1,6 @@ { "name": "KGFloatingDrawer", - "version": "0.1.3", + "version": "0.2.0", "summary": "A floating navigation drawer with an interesting animated presentation written in Swift.", "homepage": "https://github.com/KyleGoddard/KGFloatingDrawer", "screenshots": [ @@ -18,7 +18,7 @@ }, "source": { "git": "https://github.com/KyleGoddard/KGFloatingDrawer.git", - "tag": "0.1.3" + "tag": "0.2.0" }, "source_files": "Pod/Classes/" } diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock index 3e0b44e..d548b52 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: b1c254f2a90749835624e446c8489cec9fa03f88 + +COCOAPODS: 1.2.0.rc.1 diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj index e3a4c96..6524cdf 100644 --- a/Example/Pods/Pods.xcodeproj/project.pbxproj +++ b/Example/Pods/Pods.xcodeproj/project.pbxproj @@ -7,401 +7,392 @@ 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 */; }; + 0F47CA21C1E607F006447D8639971293 /* KGDrawerAnimating.swift in Sources */ = {isa = PBXBuildFile; fileRef = 14C6B281C37245BBFEA1655588343272 /* KGDrawerAnimating.swift */; }; + 21C5B3CE87FFECEF07B2543D25F14C10 /* KGDrawerSpringAnimator.swift in Sources */ = {isa = PBXBuildFile; fileRef = C05322E803C334657FDADE32E400300F /* KGDrawerSpringAnimator.swift */; }; + 31314CF8880141A83EB1006D96208EF7 /* Pods-KGFloatingDrawer-ExampleTests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 95DEE6CE3990143E7448ADAAECA141F5 /* Pods-KGFloatingDrawer-ExampleTests-dummy.m */; }; + 39270B7EDDA1A99C070718253F43F54B /* KGDrawerViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3E7C79C12334EFC2FF86E975A4344593 /* KGDrawerViewController.swift */; }; + 443BA1FBA4DCD076BE8AD3E0EAF9994A /* Pods-KGFloatingDrawer-Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 5EF21EDA4C56E40CC0A742A8C184A8C2 /* Pods-KGFloatingDrawer-Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 64ABE6E9B9FCC7FDCC941E64E8E3F2BC /* KGFloatingDrawer.h in Headers */ = {isa = PBXBuildFile; fileRef = 15BBFF5CDB5F04BE38E796072C615203 /* KGFloatingDrawer.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 8DD95087AEED4E3791E4069FCF344282 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; + 9A4CC9A581B80F2B529DEE5A8BFD0EC2 /* Pods-KGFloatingDrawer-Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 55A7851DD96ECFD2E40ACC8E3BB7C2C8 /* Pods-KGFloatingDrawer-Example-dummy.m */; }; + B032426131A9D5CECD25631BF01385D8 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; + B4FF1718A65C715E7B72411533CCCA7B /* KGFloatingDrawer-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = F06F8C08C35F62F92C495783FF4F1828 /* KGFloatingDrawer-dummy.m */; }; + BCEDA7DA60F45C8FF353E31030D0BF5B /* KGFloatingDrawer-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 56DE91F71E070A8FAFF29B2D46958E6A /* KGFloatingDrawer-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + CCA88CF3F84B1E2FEBB1A705D4808615 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; + DF4574B91EB7305D1DA30F4E5AC4FAB0 /* Pods-KGFloatingDrawer-ExampleTests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = BF482D28BC7F6890CCB2ACE19DD135AB /* Pods-KGFloatingDrawer-ExampleTests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + EF76F0F1FF4C3D29D720B3F00252B997 /* KGDrawerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = B62EE35920E6A7362054EAB817882362 /* KGDrawerView.swift */; }; /* 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 = ""; }; + 14C6B281C37245BBFEA1655588343272 /* KGDrawerAnimating.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = KGDrawerAnimating.swift; sourceTree = ""; }; + 15BBFF5CDB5F04BE38E796072C615203 /* KGFloatingDrawer.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = KGFloatingDrawer.h; 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 = ""; }; + 37B7E8A765F4D146B96E080452A215EE /* Pods-KGFloatingDrawer-ExampleTests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-KGFloatingDrawer-ExampleTests-resources.sh"; sourceTree = ""; }; + 3E7C79C12334EFC2FF86E975A4344593 /* KGDrawerViewController.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = KGDrawerViewController.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 = ""; }; + 56DE91F71E070A8FAFF29B2D46958E6A /* KGFloatingDrawer-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "KGFloatingDrawer-umbrella.h"; sourceTree = ""; }; + 5C27214A4AAB29879D6AA270AA539F35 /* KGFloatingDrawer.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = KGFloatingDrawer.xcconfig; 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 = ""; }; + 6BF79BB5AA2EF00DAF2AD11E4320FA13 /* Pods_KGFloatingDrawer_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_KGFloatingDrawer_Example.framework; path = "Pods-KGFloatingDrawer-Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; + 6F05AB26FEDF26F4D447B2BB22C82573 /* Pods-KGFloatingDrawer-ExampleTests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-KGFloatingDrawer-ExampleTests.modulemap"; sourceTree = ""; }; + 74D8D59568C7FA7707065D4FBFA277B1 /* KGFloatingDrawer-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "KGFloatingDrawer-prefix.pch"; sourceTree = ""; }; + 78D57A59DA96525B33FD7F850C673589 /* Pods-KGFloatingDrawer-Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-KGFloatingDrawer-Example.modulemap"; sourceTree = ""; }; + 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; 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 = ""; }; + B08A92AFDD4B31B03DF0613EEA7BFF8D /* Pods-KGFloatingDrawer-Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-KGFloatingDrawer-Example.release.xcconfig"; sourceTree = ""; }; + B0FAB616F8A53C9108771DDD91F8D8D8 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + B62EE35920E6A7362054EAB817882362 /* KGDrawerView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = KGDrawerView.swift; sourceTree = ""; }; + BF482D28BC7F6890CCB2ACE19DD135AB /* Pods-KGFloatingDrawer-ExampleTests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-KGFloatingDrawer-ExampleTests-umbrella.h"; sourceTree = ""; }; + C05322E803C334657FDADE32E400300F /* KGDrawerSpringAnimator.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = KGDrawerSpringAnimator.swift; sourceTree = ""; }; + CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; + DE5BD4F0B39476699BBD1C3E011BEDA1 /* KGFloatingDrawer.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = KGFloatingDrawer.modulemap; sourceTree = ""; }; + DFE32E3D397B3A3A55A578E6733350C4 /* Pods-KGFloatingDrawer-ExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-KGFloatingDrawer-ExampleTests.release.xcconfig"; sourceTree = ""; }; + E6D76E88422D8E99121126E99C85DC56 /* KGFloatingDrawer.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = KGFloatingDrawer.framework; 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 = ""; }; + F06F8C08C35F62F92C495783FF4F1828 /* KGFloatingDrawer-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "KGFloatingDrawer-dummy.m"; 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; name = Pods_KGFloatingDrawer_ExampleTests.framework; 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 */, + 8DD95087AEED4E3791E4069FCF344282 /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; - AF1542B55995DB6BE6EC3752 /* Frameworks */ = { + BC9BAD440FAF6D8D863E2ECB27A2AAED /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 285F7D076374B1D363210B98 /* Foundation.framework in Frameworks */, + B032426131A9D5CECD25631BF01385D8 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E4FC450EFDC41DD9506300FFDDA91369 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + CCA88CF3F84B1E2FEBB1A705D4808615 /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 09F085AA8E4360259D37A1D6 /* Pod */ = { + 0F56633161AE4A578DC71BC3C9DA337A /* Pod */ = { isa = PBXGroup; children = ( - B077BF8AE109C73A0922E3DE /* Classes */, + DA8DCCD1BE93D0AC433AB403AE1861E2 /* Classes */, ); + name = Pod; path = Pod; sourceTree = ""; }; - 1ADD63179C064FB1248A5B31 /* Pods-KGFloatingDrawer-Example */ = { + 44136EF58632501941E3527C13B27D82 /* KGFloatingDrawer */ = { 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 */, + 0F56633161AE4A578DC71BC3C9DA337A /* Pod */, + 9C5A4F90483D1829FCF32F304B0514BC /* Support Files */, ); - name = "Pods-KGFloatingDrawer-Example"; - path = "Target Support Files/Pods-KGFloatingDrawer-Example"; + name = KGFloatingDrawer; + path = ../..; sourceTree = ""; }; - 1CC6C978F75393655EAAB5F3 /* Support Files */ = { + 46A85174A40DBF6D454F61956C1A0299 /* Development Pods */ = { 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 */, + 44136EF58632501941E3527C13B27D82 /* KGFloatingDrawer */, ); - name = "Support Files"; - path = "Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer"; + name = "Development Pods"; sourceTree = ""; }; - 375956B771829D76A8472C41 /* Development Pods */ = { + 7531C8F8DE19F1AA3C8A7AC97A91DC29 /* iOS */ = { isa = PBXGroup; children = ( - 61369CC62B61059200AEFC55 /* KGFloatingDrawer */, + CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */, ); - name = "Development Pods"; + name = iOS; sourceTree = ""; }; - 61369CC62B61059200AEFC55 /* KGFloatingDrawer */ = { + 76C658F65461C397062692DCACC0B05F /* Products */ = { isa = PBXGroup; children = ( - 09F085AA8E4360259D37A1D6 /* Pod */, - 1CC6C978F75393655EAAB5F3 /* Support Files */, + E6D76E88422D8E99121126E99C85DC56 /* KGFloatingDrawer.framework */, + 6BF79BB5AA2EF00DAF2AD11E4320FA13 /* Pods_KGFloatingDrawer_Example.framework */, + FD13B548EAC609AAB16789451FAD2731 /* Pods_KGFloatingDrawer_ExampleTests.framework */, ); - name = KGFloatingDrawer; - path = ../..; + name = Products; sourceTree = ""; }; - 82B7824B3FF2729A27A476A3 /* Targets Support Files */ = { + 78B3FBA6816574A7D3D4EE35C19D0279 /* Pods-KGFloatingDrawer-Example */ = { isa = PBXGroup; children = ( - 1ADD63179C064FB1248A5B31 /* Pods-KGFloatingDrawer-Example */, + 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 = "Targets Support Files"; + name = "Pods-KGFloatingDrawer-Example"; + path = "Target Support Files/Pods-KGFloatingDrawer-Example"; sourceTree = ""; }; - 89DC1481AC3640B79D8E1D72 /* Products */ = { + 7DB346D0F39D3F0E887471402A8071AB = { isa = PBXGroup; children = ( - 903F3F4A6FACEE38DAC04120 /* KGFloatingDrawer.framework */, - 89163F3B4E57F40452AE3371 /* Pods_KGFloatingDrawer_Example.framework */, + 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, + 46A85174A40DBF6D454F61956C1A0299 /* Development Pods */, + BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, + 76C658F65461C397062692DCACC0B05F /* Products */, + C99B5FF4B193354D20C8EA1FBD4111DF /* Targets Support Files */, ); - name = Products; sourceTree = ""; }; - A7003242D854C9969ED1CA9D = { + 8A3325085EF7767353916957F0B93F81 /* Pods-KGFloatingDrawer-ExampleTests */ = { isa = PBXGroup; children = ( - 696ED9193CF5AB08058C1C78 /* Podfile */, - 375956B771829D76A8472C41 /* Development Pods */, - AEDD115D068EE9D94876C59D /* Frameworks */, - 89DC1481AC3640B79D8E1D72 /* Products */, - 82B7824B3FF2729A27A476A3 /* Targets Support Files */, + 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 = "Pods-KGFloatingDrawer-ExampleTests"; + path = "Target Support Files/Pods-KGFloatingDrawer-ExampleTests"; sourceTree = ""; }; - AEDD115D068EE9D94876C59D /* Frameworks */ = { + 9C5A4F90483D1829FCF32F304B0514BC /* Support Files */ = { isa = PBXGroup; children = ( - DAD40575F76C73C0C366A859 /* iOS */, + B0FAB616F8A53C9108771DDD91F8D8D8 /* Info.plist */, + DE5BD4F0B39476699BBD1C3E011BEDA1 /* KGFloatingDrawer.modulemap */, + 5C27214A4AAB29879D6AA270AA539F35 /* KGFloatingDrawer.xcconfig */, + F06F8C08C35F62F92C495783FF4F1828 /* KGFloatingDrawer-dummy.m */, + 74D8D59568C7FA7707065D4FBFA277B1 /* KGFloatingDrawer-prefix.pch */, + 56DE91F71E070A8FAFF29B2D46958E6A /* KGFloatingDrawer-umbrella.h */, + ); + name = "Support Files"; + path = "Example/Pods/Target Support Files/KGFloatingDrawer"; + sourceTree = ""; + }; + BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { + isa = PBXGroup; + children = ( + 7531C8F8DE19F1AA3C8A7AC97A91DC29 /* iOS */, ); name = Frameworks; 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 */ = { + DA8DCCD1BE93D0AC433AB403AE1861E2 /* Classes */ = { isa = PBXGroup; children = ( - 9576F81EE3F0CCDB662FB4C4 /* Foundation.framework */, + 14C6B281C37245BBFEA1655588343272 /* KGDrawerAnimating.swift */, + C05322E803C334657FDADE32E400300F /* KGDrawerSpringAnimator.swift */, + B62EE35920E6A7362054EAB817882362 /* KGDrawerView.swift */, + 3E7C79C12334EFC2FF86E975A4344593 /* KGDrawerViewController.swift */, + 15BBFF5CDB5F04BE38E796072C615203 /* KGFloatingDrawer.h */, ); - name = iOS; + name = Classes; + path = Classes; sourceTree = ""; }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ - B0CB76A4C90DD5D8AA4EEDF7 /* Headers */ = { + 26CE7432B2F7DACA924C0A05A498E366 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 560541115DEBA769EF46FEF5 /* Pods-KGFloatingDrawer-Example-umbrella.h in Headers */, + DF4574B91EB7305D1DA30F4E5AC4FAB0 /* Pods-KGFloatingDrawer-ExampleTests-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; - FB42381FE62F41A7B0DBFA68 /* Headers */ = { + 6704E8DE3183CE30040FF64CC6170B50 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - C299CB6D3BB97DDD1A703FE5 /* KGFloatingDrawer.h in Headers */, - 813A7DF266C433548E995314 /* Pods-KGFloatingDrawer-Example-KGFloatingDrawer-umbrella.h in Headers */, + 443BA1FBA4DCD076BE8AD3E0EAF9994A /* Pods-KGFloatingDrawer-Example-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A54D9C7BA4CD0175E8395738811966B4 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + BCEDA7DA60F45C8FF353E31030D0BF5B /* KGFloatingDrawer-umbrella.h in Headers */, + 64ABE6E9B9FCC7FDCC941E64E8E3F2BC /* KGFloatingDrawer.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ - 0E1A9D9B69C48841FDBA5609 /* Pods-KGFloatingDrawer-Example */ = { + 8C7B47D5DAC0CDD05061392860E55A13 /* Pods-KGFloatingDrawer-ExampleTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2391EF884E7CD7A9ACB55B88B574D71A /* Build configuration list for PBXNativeTarget "Pods-KGFloatingDrawer-ExampleTests" */; + buildPhases = ( + D7816008DE4A62A81E2AAEE2BCE6C1F5 /* Sources */, + BC9BAD440FAF6D8D863E2ECB27A2AAED /* Frameworks */, + 26CE7432B2F7DACA924C0A05A498E366 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + 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 = F49A44CD8CBAA4085700A0EF /* Build configuration list for PBXNativeTarget "Pods-KGFloatingDrawer-Example" */; + buildConfigurationList = 959F70E7D14BE279569234E764F5A00A /* Build configuration list for PBXNativeTarget "Pods-KGFloatingDrawer-Example" */; buildPhases = ( - 03754030D420A13723A66A93 /* Sources */, - 676AC219A188CA5CB023667A /* Frameworks */, - B0CB76A4C90DD5D8AA4EEDF7 /* Headers */, + A26AF1E4C004D3AC272407469839E144 /* Sources */, + 85419003F1B3EAFCD5EB1389EB36CFF3 /* Frameworks */, + 6704E8DE3183CE30040FF64CC6170B50 /* Headers */, ); buildRules = ( ); dependencies = ( - FC93E009C51F29162ACC5A3B /* PBXTargetDependency */, + 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 */, + DFE9BB7944DECAF99A5B48617067340F /* Sources */, + E4FC450EFDC41DD9506300FFDDA91369 /* Frameworks */, + A54D9C7BA4CD0175E8395738811966B4 /* 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 = 0730; + 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; + }; + DFE9BB7944DECAF99A5B48617067340F /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 0F47CA21C1E607F006447D8639971293 /* KGDrawerAnimating.swift in Sources */, + 21C5B3CE87FFECEF07B2543D25F14C10 /* KGDrawerSpringAnimator.swift in Sources */, + EF76F0F1FF4C3D29D720B3F00252B997 /* KGDrawerView.swift in Sources */, + 39270B7EDDA1A99C070718253F43F54B /* KGDrawerViewController.swift in Sources */, + B4FF1718A65C715E7B72411533CCCA7B /* 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 */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 2F06EE0A904FC472DDB0CD75 /* Pods-KGFloatingDrawer-Example.release.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; - 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"; - MODULEMAP_FILE = "Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example.modulemap"; - MTL_ENABLE_DEBUG_INFO = NO; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_NAME = Pods_KGFloatingDrawer_Example; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 967FB4443418FFA225E2216B /* Release */ = { - 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 = NO; - PRODUCT_NAME = KGFloatingDrawer; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - 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 */ = { + 015A368F878AC3E2CEAE21DDE8026304 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; @@ -415,11 +406,14 @@ CLANG_WARN_OBJC_ROOT_CLASS = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGNING_REQUIRED = NO; COPY_PHASE_STRIP = NO; + ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_OPTIMIZATION_LEVEL = 0; GCC_PREPROCESSOR_DEFINITIONS = ( + "POD_CONFIGURATION_DEBUG=1", "DEBUG=1", "$(inherited)", ); @@ -432,15 +426,17 @@ GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 8.0; ONLY_ACTIVE_ARCH = YES; + PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; STRIP_INSTALLED_PRODUCT = NO; SYMROOT = "${SRCROOT}/../build"; }; name = Debug; }; - E9F6D250A7A097C5027E6C6E /* Release */ = { + 44CDBB6D11DE06DB64D6268622BDC47E /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; @@ -454,10 +450,14 @@ CLANG_WARN_OBJC_ROOT_CLASS = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGNING_REQUIRED = NO; COPY_PHASE_STRIP = YES; ENABLE_NS_ASSERTIONS = NO; GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_PREPROCESSOR_DEFINITIONS = "RELEASE=1"; + GCC_PREPROCESSOR_DEFINITIONS = ( + "POD_CONFIGURATION_RELEASE=1", + "$(inherited)", + ); GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_UNDECLARED_SELECTOR = YES; @@ -465,35 +465,217 @@ GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 8.0; + PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; STRIP_INSTALLED_PRODUCT = NO; SYMROOT = "${SRCROOT}/../build"; VALIDATE_PRODUCT = YES; }; name = Release; }; - F3C7426FFDB48EEA08A6D6C6 /* Debug */ = { + 6FB329A8F8249F776DBEDDC2D327651B /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = DFE32E3D397B3A3A55A578E6733350C4 /* Pods-KGFloatingDrawer-ExampleTests.release.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + 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"; + MTL_ENABLE_DEBUG_INFO = NO; + 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; + SWIFT_VERSION = 3.0.2; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 8EDC3ABF424C0111D34542C18CFFE9A7 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = B08A92AFDD4B31B03DF0613EEA7BFF8D /* Pods-KGFloatingDrawer-Example.release.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = 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 = NO; + 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_VERSION = 3.0.2; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + B486AA5A4FBAA3F793110351FC68957F /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 242D4804DF6B31CE5BC560E4BC61886E /* Pods-KGFloatingDrawer-ExampleTests.debug.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + 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"; + MTL_ENABLE_DEBUG_INFO = YES; + 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; + SWIFT_VERSION = 3.0.2; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + E13ED8CC037E0CC09A3814B51DB8AD53 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 5C27214A4AAB29879D6AA270AA539F35 /* KGFloatingDrawer.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + 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"; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_NAME = KGFloatingDrawer; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_VERSION = 3.0.2; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + E5225969D15CC7204EB472403F9F9A1B /* 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[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = 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_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 3.0.2; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + FFFCF3F21D673C59B7C434FA38DD7924 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 5C27214A4AAB29879D6AA270AA539F35 /* KGFloatingDrawer.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + 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"; + MTL_ENABLE_DEBUG_INFO = YES; + PRODUCT_NAME = KGFloatingDrawer; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 3.0.2; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; @@ -503,34 +685,43 @@ /* 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 = ( + B486AA5A4FBAA3F793110351FC68957F /* Debug */, + 6FB329A8F8249F776DBEDDC2D327651B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { isa = XCConfigurationList; buildConfigurations = ( - DE1C890E10E4F23D5C24BA54 /* Debug */, - E9F6D250A7A097C5027E6C6E /* Release */, + 015A368F878AC3E2CEAE21DDE8026304 /* Debug */, + 44CDBB6D11DE06DB64D6268622BDC47E /* 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 */, + FFFCF3F21D673C59B7C434FA38DD7924 /* Debug */, + E13ED8CC037E0CC09A3814B51DB8AD53 /* 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 */, + E5225969D15CC7204EB472403F9F9A1B /* Debug */, + 8EDC3ABF424C0111D34542C18CFFE9A7 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; - rootObject = 9505CED87A333F508BBE7C52 /* Project object */; + rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; } diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/erik.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example.xcscheme b/Example/Pods/Pods.xcodeproj/xcuserdata/hungnguyen.xcuserdatad/xcschemes/KGFloatingDrawer.xcscheme similarity index 56% rename from Example/Pods/Pods.xcodeproj/xcuserdata/erik.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example.xcscheme rename to Example/Pods/Pods.xcodeproj/xcuserdata/hungnguyen.xcuserdatad/xcschemes/KGFloatingDrawer.xcscheme index cd4db55..d1eca60 100644 --- a/Example/Pods/Pods.xcodeproj/xcuserdata/erik.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example.xcscheme +++ b/Example/Pods/Pods.xcodeproj/xcuserdata/hungnguyen.xcuserdatad/xcschemes/KGFloatingDrawer.xcscheme @@ -7,33 +7,30 @@ buildImplicitDependencies = "YES"> + buildForArchiving = "YES"> + BuildableIdentifier = 'primary' + BlueprintIdentifier = 'B4FC00CC6CD375F51CB8D6CD286681A0' + BlueprintName = 'KGFloatingDrawer' + ReferencedContainer = 'container:Pods.xcodeproj' + BuildableName = 'KGFloatingDrawer.framework'> - - + shouldUseLaunchSchemeArgsEnv = "YES" + buildConfiguration = "Debug"> - - - - - - - - + debugDocumentVersioning = "YES" + buildConfiguration = "Release" + shouldUseLaunchSchemeArgsEnv = "YES"> diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/kgoddard.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example.xcscheme b/Example/Pods/Pods.xcodeproj/xcuserdata/hungnguyen.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example.xcscheme similarity index 93% rename from Example/Pods/Pods.xcodeproj/xcuserdata/kgoddard.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example.xcscheme rename to Example/Pods/Pods.xcodeproj/xcuserdata/hungnguyen.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example.xcscheme index 4b1c114..41d88cd 100644 --- a/Example/Pods/Pods.xcodeproj/xcuserdata/kgoddard.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example.xcscheme +++ b/Example/Pods/Pods.xcodeproj/xcuserdata/hungnguyen.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example.xcscheme @@ -1,6 +1,6 @@ @@ -45,7 +45,7 @@ diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/kgoddard.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example-KGFloatingDrawer.xcscheme b/Example/Pods/Pods.xcodeproj/xcuserdata/hungnguyen.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-ExampleTests.xcscheme similarity index 82% rename from Example/Pods/Pods.xcodeproj/xcuserdata/kgoddard.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example-KGFloatingDrawer.xcscheme rename to Example/Pods/Pods.xcodeproj/xcuserdata/hungnguyen.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-ExampleTests.xcscheme index b71f9b2..0df00ea 100644 --- a/Example/Pods/Pods.xcodeproj/xcuserdata/kgoddard.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-Example-KGFloatingDrawer.xcscheme +++ b/Example/Pods/Pods.xcodeproj/xcuserdata/hungnguyen.xcuserdatad/xcschemes/Pods-KGFloatingDrawer-ExampleTests.xcscheme @@ -1,6 +1,6 @@ @@ -45,9 +45,9 @@ diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/kgoddard.xcuserdatad/xcschemes/xcschememanagement.plist b/Example/Pods/Pods.xcodeproj/xcuserdata/hungnguyen.xcuserdatad/xcschemes/xcschememanagement.plist similarity index 62% rename from Example/Pods/Pods.xcodeproj/xcuserdata/kgoddard.xcuserdatad/xcschemes/xcschememanagement.plist rename to Example/Pods/Pods.xcodeproj/xcuserdata/hungnguyen.xcuserdatad/xcschemes/xcschememanagement.plist index 4bd2aa7..9c6b7a7 100644 --- a/Example/Pods/Pods.xcodeproj/xcuserdata/kgoddard.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/Example/Pods/Pods.xcodeproj/xcuserdata/hungnguyen.xcuserdatad/xcschemes/xcschememanagement.plist @@ -4,7 +4,7 @@ SchemeUserState - Pods-KGFloatingDrawer-Example-KGFloatingDrawer.xcscheme + KGFloatingDrawer.xcscheme isShown @@ -14,15 +14,25 @@ isShown + Pods-KGFloatingDrawer-ExampleTests.xcscheme + + isShown + + SuppressBuildableAutocreation - 0E1A9D9B69C48841FDBA5609 + 8C7B47D5DAC0CDD05061392860E55A13 + + primary + + + A1F2C80ADB23B59BF9284B6546FAF45F primary - 9956EAB19AAE15D26E47B28E + B4FC00CC6CD375F51CB8D6CD286681A0 primary diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Info.plist b/Example/Pods/Target Support Files/KGFloatingDrawer/Info.plist similarity index 89% rename from Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Info.plist rename to Example/Pods/Target Support Files/KGFloatingDrawer/Info.plist index f9f1a73..0d7bfa2 100644 --- a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Info.plist +++ b/Example/Pods/Target Support Files/KGFloatingDrawer/Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable ${EXECUTABLE_NAME} CFBundleIdentifier - org.cocoapods.${PRODUCT_NAME:rfc1034identifier} + ${PRODUCT_BUNDLE_IDENTIFIER} CFBundleInfoDictionaryVersion 6.0 CFBundleName @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 0.1.3 + 0.2.0 CFBundleSignature ???? CFBundleVersion diff --git a/Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer-dummy.m b/Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer-dummy.m new file mode 100644 index 0000000..6ca3da4 --- /dev/null +++ b/Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_KGFloatingDrawer : NSObject +@end +@implementation PodsDummy_KGFloatingDrawer +@end diff --git a/Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer-prefix.pch b/Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer-prefix.pch new file mode 100644 index 0000000..beb2a24 --- /dev/null +++ b/Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer-prefix.pch @@ -0,0 +1,12 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer-umbrella.h b/Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer-umbrella.h similarity index 51% rename from Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer-umbrella.h rename to Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer-umbrella.h index a731891..5ca17d7 100644 --- a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer-umbrella.h +++ b/Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer-umbrella.h @@ -1,4 +1,14 @@ +#ifdef __OBJC__ #import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif #import "KGFloatingDrawer.h" diff --git a/Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer.modulemap b/Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer.modulemap new file mode 100644 index 0000000..17e816e --- /dev/null +++ b/Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer.modulemap @@ -0,0 +1,6 @@ +framework module KGFloatingDrawer { + umbrella header "KGFloatingDrawer-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer.xcconfig b/Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer.xcconfig new file mode 100644 index 0000000..511c356 --- /dev/null +++ b/Example/Pods/Target Support Files/KGFloatingDrawer/KGFloatingDrawer.xcconfig @@ -0,0 +1,10 @@ +CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/KGFloatingDrawer +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" +OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer-Private.xcconfig b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer-Private.xcconfig deleted file mode 100644 index c434150..0000000 --- a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer-Private.xcconfig +++ /dev/null @@ -1,10 +0,0 @@ -#include "Pods-KGFloatingDrawer-Example-KGFloatingDrawer.xcconfig" -CONFIGURATION_BUILD_DIR = $PODS_FRAMEWORK_BUILD_PATH -FRAMEWORK_SEARCH_PATHS = "$PODS_FRAMEWORK_BUILD_PATH" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/KGFloatingDrawer" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/KGFloatingDrawer" -OTHER_LDFLAGS = -ObjC -OTHER_SWIFT_FLAGS = "-D" "COCOAPODS" -PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-KGFloatingDrawer-Example -PODS_ROOT = ${SRCROOT} -SKIP_INSTALL = YES \ No newline at end of file diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer-dummy.m b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer-dummy.m deleted file mode 100644 index 3f2dde2..0000000 --- a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_Pods_KGFloatingDrawer_Example_KGFloatingDrawer : NSObject -@end -@implementation PodsDummy_Pods_KGFloatingDrawer_Example_KGFloatingDrawer -@end diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer-prefix.pch b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer-prefix.pch deleted file mode 100644 index 507098b..0000000 --- a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer-prefix.pch +++ /dev/null @@ -1,5 +0,0 @@ -#ifdef __OBJC__ -#import -#endif - -#import "Pods-KGFloatingDrawer-Example-environment.h" diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer.modulemap b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer.modulemap deleted file mode 100644 index 079731e..0000000 --- a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module KGFloatingDrawer { - umbrella header "Pods-KGFloatingDrawer-Example-KGFloatingDrawer-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer.xcconfig b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example-KGFloatingDrawer/Pods-KGFloatingDrawer-Example-KGFloatingDrawer.xcconfig deleted file mode 100644 index e69de29..0000000 diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Info.plist b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/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-environment.h b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-environment.h deleted file mode 100644 index cd9d57c..0000000 --- a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-environment.h +++ /dev/null @@ -1,14 +0,0 @@ - -// To check if a library is compiled with CocoaPods you -// can use the `COCOAPODS` macro definition which is -// defined in the xcconfigs so it is available in -// headers also when they are imported in the client -// project. - - -// KGFloatingDrawer -#define COCOAPODS_POD_AVAILABLE_KGFloatingDrawer -#define COCOAPODS_VERSION_MAJOR_KGFloatingDrawer 0 -#define COCOAPODS_VERSION_MINOR_KGFloatingDrawer 1 -#define COCOAPODS_VERSION_PATCH_KGFloatingDrawer 3 - diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-frameworks.sh b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-Example/Pods-KGFloatingDrawer-Example-frameworks.sh index 5b4baa0..cb2af85 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 @@ -8,48 +8,92 @@ SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 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 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}" + echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" + + local basename + basename="$(basename -s .framework "$1")" + binary="${destination}/${basename}.framework/${basename}" + if ! [ -r "$binary" ]; then + binary="${destination}/${basename}" + fi + + # Strip invalid architectures so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then + strip_invalid_archs "$binary" + fi + # Resign the code if required by the build settings to avoid unstable apps - 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}" +# Signs a framework with the provided identity +code_sign_if_enabled() { + if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then + # Use the current code_sign_identitiy + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" + local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" + + if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + code_sign_cmd="$code_sign_cmd &" fi - done + echo "$code_sign_cmd" + eval "$code_sign_cmd" + 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" +# 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 ! [[ "${VALID_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..4602c68 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,99 @@ #!/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=() + +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" + ;; + *) + 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}" + 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}" + 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}" + mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + rsync -av "$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\"" + 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\"" + 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\"" + 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" + 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..07ccfb4 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,10 @@ -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_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..07ccfb4 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,10 @@ -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_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Info.plist b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Info.plist new file mode 100644 index 0000000..2243fe6 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-acknowledgements.markdown new file mode 100644 index 0000000..102af75 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-acknowledgements.markdown @@ -0,0 +1,3 @@ +# Acknowledgements +This application makes use of the following third party libraries: +Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-acknowledgements.plist new file mode 100644 index 0000000..7acbad1 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-acknowledgements.plist @@ -0,0 +1,29 @@ + + + + + PreferenceSpecifiers + + + FooterText + This application makes use of the following third party libraries: + Title + Acknowledgements + Type + PSGroupSpecifier + + + FooterText + Generated by CocoaPods - https://cocoapods.org + Title + + Type + PSGroupSpecifier + + + StringsTable + Acknowledgements + Title + Acknowledgements + + diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-dummy.m b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-dummy.m new file mode 100644 index 0000000..51c2098 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_KGFloatingDrawer_ExampleTests : NSObject +@end +@implementation PodsDummy_Pods_KGFloatingDrawer_ExampleTests +@end diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-frameworks.sh b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-frameworks.sh new file mode 100755 index 0000000..0f29f13 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-frameworks.sh @@ -0,0 +1,92 @@ +#!/bin/sh +set -e + +echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" +mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + +SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" + +install_framework() +{ + if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then + local source="${BUILT_PRODUCTS_DIR}/$1" + elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then + local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" + elif [ -r "$1" ]; then + local source="$1" + fi + + local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + + if [ -L "${source}" ]; then + echo "Symlinked..." + source="$(readlink "${source}")" + fi + + # use filter instead of exclude so missing patterns dont' throw errors + echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" + + local basename + basename="$(basename -s .framework "$1")" + binary="${destination}/${basename}.framework/${basename}" + if ! [ -r "$binary" ]; then + binary="${destination}/${basename}" + fi + + # Strip invalid architectures so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then + strip_invalid_archs "$binary" + fi + + # Resign the code if required by the build settings to avoid unstable apps + code_sign_if_enabled "${destination}/$(basename "$1")" + + # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. + if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then + local swift_runtime_libs + swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) + for lib in $swift_runtime_libs; do + echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" + rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" + code_sign_if_enabled "${destination}/${lib}" + done + fi +} + +# Signs a framework with the provided identity +code_sign_if_enabled() { + if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then + # Use the current code_sign_identitiy + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" + local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" + + if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + code_sign_cmd="$code_sign_cmd &" + fi + echo "$code_sign_cmd" + eval "$code_sign_cmd" + fi +} + +# Strip invalid architectures +strip_invalid_archs() { + binary="$1" + # Get architectures for current file + archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" + stripped="" + for arch in $archs; do + if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then + # Strip non-valid architectures in-place + lipo -remove "$arch" -output "$binary" "$binary" || exit 1 + stripped="$stripped $arch" + fi + done + if [[ "$stripped" ]]; then + echo "Stripped $binary of architectures:$stripped" + fi +} + +if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + wait +fi diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-resources.sh b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-resources.sh new file mode 100755 index 0000000..4602c68 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-resources.sh @@ -0,0 +1,99 @@ +#!/bin/sh +set -e + +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + +RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt +> "$RESOURCES_TO_COPY" + +XCASSET_FILES=() + +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" + ;; + *) + TARGET_DEVICE_ARGS="--target-device mac" + ;; +esac + +install_resource() +{ + if [[ "$1" = /* ]] ; then + RESOURCE_PATH="$1" + else + RESOURCE_PATH="${PODS_ROOT}/$1" + fi + if [[ ! -e "$RESOURCE_PATH" ]] ; then + cat << EOM +error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. +EOM + exit 1 + fi + case $RESOURCE_PATH in + *.storyboard) + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} + ;; + *.xib) + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} + ;; + *.framework) + echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + ;; + *.xcdatamodel) + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" + ;; + *.xcdatamodeld) + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" + ;; + *.xcmappingmodel) + echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" + xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" + ;; + *.xcassets) + ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" + XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") + ;; + *) + echo "$RESOURCE_PATH" + echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" + ;; + esac +} + +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then + mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi +rm -f "$RESOURCES_TO_COPY" + +if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] +then + # Find all other xcassets (this unfortunately includes those of path pods and other targets). + OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) + while read line; do + if [[ $line != "${PODS_ROOT}*" ]]; then + XCASSET_FILES+=("$line") + fi + done <<<"$OTHER_XCASSETS" + + printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-umbrella.h b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-umbrella.h new file mode 100644 index 0000000..6aad92c --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double Pods_KGFloatingDrawer_ExampleTestsVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_KGFloatingDrawer_ExampleTestsVersionString[]; + diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests.debug.xcconfig b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests.debug.xcconfig new file mode 100644 index 0000000..9aff382 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests.debug.xcconfig @@ -0,0 +1,5 @@ +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests.modulemap b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests.modulemap new file mode 100644 index 0000000..35163ce --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests.modulemap @@ -0,0 +1,6 @@ +framework module Pods_KGFloatingDrawer_ExampleTests { + umbrella header "Pods-KGFloatingDrawer-ExampleTests-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests.release.xcconfig b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests.release.xcconfig new file mode 100644 index 0000000..9aff382 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-KGFloatingDrawer-ExampleTests/Pods-KGFloatingDrawer-ExampleTests.release.xcconfig @@ -0,0 +1,5 @@ +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT}/Pods