├── BottomDrawer ├── Assets │ ├── .gitkeep │ └── Media.xcassets │ │ ├── Contents.json │ │ └── Rectangle.imageset │ │ ├── Screenshot 2018-11-02 at 8.12.58 AM.png │ │ └── Contents.json └── Classes │ ├── .gitkeep │ ├── AutoLayout+Extension.swift │ └── BottomDrawer.swift ├── _Pods.xcodeproj ├── screenshot.gif ├── Example ├── Podfile ├── Pods │ ├── Target Support Files │ │ ├── BottomDrawer │ │ │ ├── BottomDrawer.modulemap │ │ │ ├── BottomDrawer-dummy.m │ │ │ ├── BottomDrawer-prefix.pch │ │ │ ├── BottomDrawer-umbrella.h │ │ │ ├── BottomDrawer.xcconfig │ │ │ ├── ResourceBundle-BottomDrawer-BottomDrawer-Info.plist │ │ │ └── BottomDrawer-Info.plist │ │ └── Pods-BottomDrawer_Example │ │ │ ├── Pods-BottomDrawer_Example.modulemap │ │ │ ├── Pods-BottomDrawer_Example-dummy.m │ │ │ ├── Pods-BottomDrawer_Example-umbrella.h │ │ │ ├── Pods-BottomDrawer_Example.debug.xcconfig │ │ │ ├── Pods-BottomDrawer_Example.release.xcconfig │ │ │ ├── Pods-BottomDrawer_Example-Info.plist │ │ │ ├── Pods-BottomDrawer_Example-acknowledgements.markdown │ │ │ ├── Pods-BottomDrawer_Example-acknowledgements.plist │ │ │ └── Pods-BottomDrawer_Example-frameworks.sh │ ├── Pods.xcodeproj │ │ ├── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ │ └── IDEWorkspaceChecks.plist │ │ └── project.pbxproj │ ├── Manifest.lock │ └── Local Podspecs │ │ └── BottomDrawer.podspec.json ├── BottomDrawer.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── BottomDrawer-Example.xcscheme │ └── project.pbxproj ├── BottomDrawer.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── Podfile.lock └── BottomDrawer │ ├── TestViewController.swift │ ├── Images.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── ViewController.swift │ ├── Info.plist │ ├── AppDelegate.swift │ └── Base.lproj │ ├── LaunchScreen.xib │ └── Main.storyboard ├── .travis.yml ├── .gitignore ├── LICENSE ├── BottomDrawer.podspec └── README.md /BottomDrawer/Assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /BottomDrawer/Classes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /screenshot.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sagaya/BottomDrawer/HEAD/screenshot.gif -------------------------------------------------------------------------------- /BottomDrawer/Assets/Media.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'BottomDrawer_Example' do 4 | pod 'BottomDrawer', :path => '../' 5 | 6 | end 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/BottomDrawer/BottomDrawer.modulemap: -------------------------------------------------------------------------------- 1 | framework module BottomDrawer { 2 | umbrella header "BottomDrawer-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/BottomDrawer/BottomDrawer-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_BottomDrawer : NSObject 3 | @end 4 | @implementation PodsDummy_BottomDrawer 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /BottomDrawer/Assets/Media.xcassets/Rectangle.imageset/Screenshot 2018-11-02 at 8.12.58 AM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sagaya/BottomDrawer/HEAD/BottomDrawer/Assets/Media.xcassets/Rectangle.imageset/Screenshot 2018-11-02 at 8.12.58 AM.png -------------------------------------------------------------------------------- /Example/BottomDrawer.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-BottomDrawer_Example/Pods-BottomDrawer_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_BottomDrawer_Example { 2 | umbrella header "Pods-BottomDrawer_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-BottomDrawer_Example/Pods-BottomDrawer_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_BottomDrawer_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_BottomDrawer_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/BottomDrawer/BottomDrawer-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example/BottomDrawer.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/BottomDrawer.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - BottomDrawer (0.1.1) 3 | 4 | DEPENDENCIES: 5 | - BottomDrawer (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | BottomDrawer: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | BottomDrawer: 5993cb55da08ccd92b6674d8b925410cb765f34f 13 | 14 | PODFILE CHECKSUM: 402a579bba9535623e1f60ff998040bd5dfc7ef2 15 | 16 | COCOAPODS: 1.6.0.beta.2 17 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - BottomDrawer (0.1.1) 3 | 4 | DEPENDENCIES: 5 | - BottomDrawer (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | BottomDrawer: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | BottomDrawer: 5993cb55da08ccd92b6674d8b925410cb765f34f 13 | 14 | PODFILE CHECKSUM: 402a579bba9535623e1f60ff998040bd5dfc7ef2 15 | 16 | COCOAPODS: 1.6.0.beta.2 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/BottomDrawer/BottomDrawer-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double BottomDrawerVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char BottomDrawerVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /BottomDrawer/Assets/Media.xcassets/Rectangle.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Screenshot 2018-11-02 at 8.12.58 AM.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-BottomDrawer_Example/Pods-BottomDrawer_Example-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_BottomDrawer_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_BottomDrawer_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/BottomDrawer/TestViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // TestViewController.swift 3 | // BottomDrawer_Example 4 | // 5 | // Created by Sagaya Abdulhafeez on 19/12/2018. 6 | // Copyright © 2018 CocoaPods. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import BottomDrawer 11 | 12 | class TestViewController: BottomController { 13 | 14 | override func viewDidLoad() { 15 | super.viewDidLoad() 16 | 17 | } 18 | override func viewWillAppear(_ animated: Bool) { 19 | super.viewWillAppear(animated) 20 | view.backgroundColor = .green 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * https://www.objc.io/issues/6-build-tools/travis-ci/ 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | osx_image: xcode7.3 6 | language: objective-c 7 | # cache: cocoapods 8 | # podfile: Example/Podfile 9 | # before_install: 10 | # - gem install cocoapods # Since Travis is not always on latest version 11 | # - pod install --project-directory=Example 12 | script: 13 | - set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/BottomDrawer.xcworkspace -scheme BottomDrawer-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/BottomDrawer/BottomDrawer.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/BottomDrawer 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_LDFLAGS = $(inherited) -framework "MapKit" -framework "UIKit" 4 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-BottomDrawer_Example/Pods-BottomDrawer_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/BottomDrawer" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/BottomDrawer/BottomDrawer.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "BottomDrawer" -framework "MapKit" -framework "UIKit" 7 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-BottomDrawer_Example/Pods-BottomDrawer_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/BottomDrawer" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/BottomDrawer/BottomDrawer.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "BottomDrawer" -framework "MapKit" -framework "UIKit" 7 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OS X 2 | .DS_Store 3 | 4 | # Xcode 5 | build/ 6 | *.pbxuser 7 | !default.pbxuser 8 | *.mode1v3 9 | !default.mode1v3 10 | *.mode2v3 11 | !default.mode2v3 12 | *.perspectivev3 13 | !default.perspectivev3 14 | xcuserdata/ 15 | *.xccheckout 16 | profile 17 | *.moved-aside 18 | DerivedData 19 | *.hmap 20 | *.ipa 21 | 22 | # Bundler 23 | .bundle 24 | 25 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 26 | # Carthage/Checkouts 27 | 28 | Carthage/Build 29 | 30 | # We recommend against adding the Pods directory to your .gitignore. However 31 | # you should judge for yourself, the pros and cons are mentioned at: 32 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 33 | # 34 | # Note: if you ignore the Pods directory, make sure to uncomment 35 | # `pod install` in .travis.yml 36 | # 37 | # Pods/ 38 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/BottomDrawer/ResourceBundle-BottomDrawer-BottomDrawer-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleIdentifier 8 | ${PRODUCT_BUNDLE_IDENTIFIER} 9 | CFBundleInfoDictionaryVersion 10 | 6.0 11 | CFBundleName 12 | ${PRODUCT_NAME} 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 0.1.1 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | NSPrincipalClass 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/BottomDrawer/BottomDrawer-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.1.1 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-BottomDrawer_Example/Pods-BottomDrawer_Example-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2018 sagaya 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /Example/BottomDrawer/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | }, 43 | { 44 | "idiom" : "ios-marketing", 45 | "size" : "1024x1024", 46 | "scale" : "1x" 47 | } 48 | ], 49 | "info" : { 50 | "version" : 1, 51 | "author" : "xcode" 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /Example/BottomDrawer/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // BottomDrawer 4 | // 5 | // Created by sagaya on 12/19/2018. 6 | // Copyright (c) 2018 sagaya. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import BottomDrawer 11 | 12 | class ViewController: UIViewController { 13 | 14 | override func viewDidLoad() { 15 | super.viewDidLoad() 16 | // Do any additional setup after loading the view, typically from a nib. 17 | } 18 | 19 | override func didReceiveMemoryWarning() { 20 | super.didReceiveMemoryWarning() 21 | // Dispose of any resources that can be recreated. 22 | } 23 | @IBAction func showBottom(_ sender: Any) { 24 | let request = self.storyboard?.instantiateViewController(withIdentifier: "test") as? TestViewController 25 | let v = BottomController() 26 | request?.view.backgroundColor = .red 27 | v.destinationController = request 28 | v.sourceController = self 29 | v.startingHeight = 200 30 | v.cornerRadius = 10 31 | v.modalPresentationStyle = .overCurrentContext 32 | self.present(v, animated: true, completion: nil) 33 | } 34 | 35 | } 36 | 37 | -------------------------------------------------------------------------------- /Example/BottomDrawer/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/BottomDrawer.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "BottomDrawer", 3 | "version": "0.1.1", 4 | "summary": "iOS component which presents a dismissible view from the bottom of the screen", 5 | "description": "BottomDrawer is an iOS component which presents a dismissible view from the bottom of the screen. BottomDrawer can be a useful replacement for popups and menus but can hold any viewcontroller so the use cases are endless. This repository includes the BottomDrawer component itself but also includes an extension for autolayout (NSLayoutConstraint)", 6 | "homepage": "https://github.com/sagaya/BottomDrawer", 7 | "screenshots": "https://github.com/sagaya/BottomDrawer/raw/master/screenshot.gif", 8 | "license": { 9 | "type": "MIT", 10 | "file": "LICENSE" 11 | }, 12 | "authors": { 13 | "sagaya": "shaggy.hafeez@gmail.com" 14 | }, 15 | "source": { 16 | "git": "https://github.com/sagaya/BottomDrawer.git", 17 | "tag": "0.1.1" 18 | }, 19 | "social_media_url": "https://twitter.com/sagaya_hafeez", 20 | "platforms": { 21 | "ios": "9.0" 22 | }, 23 | "source_files": "BottomDrawer/Classes/**/*", 24 | "resource_bundles": { 25 | "BottomDrawer": [ 26 | "BottomDrawer/Assets/*.xcassets" 27 | ] 28 | }, 29 | "frameworks": [ 30 | "UIKit", 31 | "MapKit" 32 | ] 33 | } 34 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-BottomDrawer_Example/Pods-BottomDrawer_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## BottomDrawer 5 | 6 | Copyright (c) 2018 sagaya 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - https://cocoapods.org 27 | -------------------------------------------------------------------------------- /BottomDrawer.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint BottomDrawer.podspec' to ensure this is a 3 | # valid spec before submitting. 4 | # 5 | # Any lines starting with a # are optional, but their use is encouraged 6 | # To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | s.name = 'BottomDrawer' 11 | s.version = '0.1.1' 12 | s.summary = 'iOS component which presents a dismissible view from the bottom of the screen' 13 | 14 | # This description is used to generate tags and improve search results. 15 | # * Think: What does it do? Why did you write it? What is the focus? 16 | # * Try to keep it short, snappy and to the point. 17 | # * Write the description between the DESC delimiters below. 18 | # * Finally, don't worry about the indent, CocoaPods strips it! 19 | 20 | s.description = 'BottomDrawer is an iOS component which presents a dismissible view from the bottom of the screen. BottomDrawer can be a useful replacement for popups and menus but can hold any viewcontroller so the use cases are endless. This repository includes the BottomDrawer component itself but also includes an extension for autolayout (NSLayoutConstraint)' 21 | 22 | s.homepage = 'https://github.com/sagaya/BottomDrawer' 23 | s.screenshots = 'https://github.com/sagaya/BottomDrawer/raw/master/screenshot.gif' 24 | s.license = { :type => 'MIT', :file => 'LICENSE' } 25 | s.author = { 'sagaya' => 'shaggy.hafeez@gmail.com' } 26 | s.source = { :git => 'https://github.com/sagaya/BottomDrawer.git', :tag => s.version.to_s } 27 | s.social_media_url = 'https://twitter.com/sagaya_hafeez' 28 | 29 | s.ios.deployment_target = '9.0' 30 | 31 | s.source_files = 'BottomDrawer/Classes/**/*' 32 | 33 | s.resource_bundles = { 34 | 'BottomDrawer' => ['BottomDrawer/Assets/*.xcassets'] 35 | } 36 | s.frameworks = 'UIKit', 'MapKit' 37 | end 38 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # BottomDrawer 2 | 3 | [![CI Status](https://img.shields.io/travis/sagaya/BottomDrawer.svg?style=flat)](https://travis-ci.org/sagaya/BottomDrawer) 4 | [![Version](https://img.shields.io/cocoapods/v/BottomDrawer.svg?style=flat)](https://cocoapods.org/pods/BottomDrawer) 5 | [![License](https://img.shields.io/cocoapods/l/BottomDrawer.svg?style=flat)](https://cocoapods.org/pods/BottomDrawer) 6 | [![Platform](https://img.shields.io/cocoapods/p/BottomDrawer.svg?style=flat)](https://cocoapods.org/pods/BottomDrawer) 7 | 8 | 9 | BottomDrawer is an iOS component which presents a dismissible view from the bottom of the screen. BottomDrawer can be a useful replacement for popups and menus but can hold any viewcontroller so the use cases are endless. This repository includes the BottomDrawer component itself but also includes an extension for autolayout (NSLayoutConstraint) 10 | 11 | ![](screenshot.gif) 12 | 13 | ## Installation 14 | 15 | BottomDrawer is available through [CocoaPods](https://cocoapods.org). To install 16 | it, simply add the following line to your Podfile: 17 | 18 | ```ruby 19 | pod 'BottomDrawer' 20 | ``` 21 | 22 | ## Getting Started 23 | 24 | ```swift 25 | let request = self.storyboard?.instantiateViewController(withIdentifier: "test") as? TestViewController 26 | //TestViewController has to subclass BottomController 27 | let controller = BottomController() 28 | controller.destinationController = request 29 | controller.sourceController = self 30 | controller.startingHeight = 500 31 | controller.movable = false //The view won't be movable 32 | controller.modalPresentationStyle = .overCurrentContext 33 | self.present(v, animated: true, completion: nil) 34 | ``` 35 | ## Example 36 | 37 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 38 | 39 | ## Requirements 40 | 41 | 42 | ## Author 43 | 44 | 45 | 46 | ## License 47 | 48 | BottomDrawer is available under the MIT license. See the LICENSE file for more info. 49 | -------------------------------------------------------------------------------- /BottomDrawer/Classes/AutoLayout+Extension.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AutoLayout+Extension.swift 3 | // BottomDrawer 4 | // 5 | // Created by Sagaya Abdulhafeez on 19/12/2018. 6 | // 7 | 8 | import UIKit 9 | 10 | extension UIView{ 11 | func fillSuperView(){ 12 | anchorTo(top: superview?.topAnchor, leading: superview?.leadingAnchor, bottom: superview?.bottomAnchor, trailing: superview?.trailingAnchor) 13 | } 14 | func centerInView(size: CGSize){ 15 | anchorTo(top: nil, leading: nil, bottom: nil, trailing: nil, size: size, centerX: superview?.centerXAnchor, centerY: superview?.centerYAnchor) 16 | } 17 | 18 | func anchorSize(to view: UIView) { 19 | widthAnchor.constraint(equalTo: view.widthAnchor).isActive = true 20 | heightAnchor.constraint(equalTo: view.heightAnchor).isActive = true 21 | } 22 | func anchorTo(top: NSLayoutYAxisAnchor?, leading: NSLayoutXAxisAnchor?, bottom: NSLayoutYAxisAnchor?, trailing: NSLayoutXAxisAnchor?, padding: UIEdgeInsets = .zero, size: CGSize = .zero, centerX:NSLayoutXAxisAnchor? = nil, centerY:NSLayoutYAxisAnchor? = nil) { 23 | translatesAutoresizingMaskIntoConstraints = false 24 | 25 | if let top = top { 26 | topAnchor.constraint(equalTo: top, constant: padding.top).isActive = true 27 | } 28 | if let centerX = centerX{ 29 | centerXAnchor.constraint(equalTo: centerX).isActive = true 30 | } 31 | if let centerY = centerY{ 32 | centerYAnchor.constraint(equalTo: centerY).isActive = true 33 | } 34 | if let leading = leading { 35 | leadingAnchor.constraint(equalTo: leading, constant: padding.left).isActive = true 36 | } 37 | if let bottom = bottom { 38 | bottomAnchor.constraint(equalTo: bottom, constant: -padding.bottom).isActive = true 39 | } 40 | if let trailing = trailing { 41 | trailingAnchor.constraint(equalTo: trailing, constant: -padding.right).isActive = true 42 | } 43 | if size.width != 0 { 44 | widthAnchor.constraint(equalToConstant: size.width).isActive = true 45 | } 46 | if size.height != 0 { 47 | heightAnchor.constraint(equalToConstant: size.height).isActive = true 48 | } 49 | } 50 | } 51 | 52 | -------------------------------------------------------------------------------- /Example/BottomDrawer/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // BottomDrawer 4 | // 5 | // Created by sagaya on 12/19/2018. 6 | // Copyright (c) 2018 sagaya. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(_ application: UIApplication) { 23 | // 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. 24 | // 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. 25 | } 26 | 27 | func applicationDidEnterBackground(_ application: UIApplication) { 28 | // 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. 29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 30 | } 31 | 32 | func applicationWillEnterForeground(_ application: UIApplication) { 33 | // 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. 34 | } 35 | 36 | func applicationDidBecomeActive(_ application: UIApplication) { 37 | // 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. 38 | } 39 | 40 | func applicationWillTerminate(_ application: UIApplication) { 41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 42 | } 43 | 44 | 45 | } 46 | 47 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-BottomDrawer_Example/Pods-BottomDrawer_Example-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2018 sagaya <shaggy.hafeez@gmail.com> 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | License 38 | MIT 39 | Title 40 | BottomDrawer 41 | Type 42 | PSGroupSpecifier 43 | 44 | 45 | FooterText 46 | Generated by CocoaPods - https://cocoapods.org 47 | Title 48 | 49 | Type 50 | PSGroupSpecifier 51 | 52 | 53 | StringsTable 54 | Acknowledgements 55 | Title 56 | Acknowledgements 57 | 58 | 59 | -------------------------------------------------------------------------------- /Example/BottomDrawer/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 25 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /Example/BottomDrawer/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | -------------------------------------------------------------------------------- /Example/BottomDrawer.xcodeproj/xcshareddata/xcschemes/BottomDrawer-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 45 | 46 | 48 | 54 | 55 | 56 | 57 | 58 | 64 | 65 | 66 | 67 | 68 | 69 | 80 | 82 | 88 | 89 | 90 | 91 | 92 | 93 | 99 | 101 | 107 | 108 | 109 | 110 | 112 | 113 | 116 | 117 | 118 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-BottomDrawer_Example/Pods-BottomDrawer_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | function on_error { 7 | echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" 8 | } 9 | trap 'on_error $LINENO' ERR 10 | 11 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then 12 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy 13 | # frameworks to, so exit 0 (signalling the script phase was successful). 14 | exit 0 15 | fi 16 | 17 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 18 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 19 | 20 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" 21 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 22 | 23 | # Used as a return value for each invocation of `strip_invalid_archs` function. 24 | STRIP_BINARY_RETVAL=0 25 | 26 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 27 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 28 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 29 | 30 | # Copies and strips a vendored framework 31 | install_framework() 32 | { 33 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 34 | local source="${BUILT_PRODUCTS_DIR}/$1" 35 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 36 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 37 | elif [ -r "$1" ]; then 38 | local source="$1" 39 | fi 40 | 41 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 42 | 43 | if [ -L "${source}" ]; then 44 | echo "Symlinked..." 45 | source="$(readlink "${source}")" 46 | fi 47 | 48 | # Use filter instead of exclude so missing patterns don't throw errors. 49 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 50 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 51 | 52 | local basename 53 | basename="$(basename -s .framework "$1")" 54 | binary="${destination}/${basename}.framework/${basename}" 55 | 56 | if ! [ -r "$binary" ]; then 57 | binary="${destination}/${basename}" 58 | elif [ -L "${binary}" ]; then 59 | echo "Destination binary is symlinked..." 60 | dirname="$(dirname "${binary}")" 61 | binary="${dirname}/$(readlink "${binary}")" 62 | fi 63 | 64 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 65 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 66 | strip_invalid_archs "$binary" 67 | fi 68 | 69 | # Resign the code if required by the build settings to avoid unstable apps 70 | code_sign_if_enabled "${destination}/$(basename "$1")" 71 | 72 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 73 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 74 | local swift_runtime_libs 75 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u) 76 | for lib in $swift_runtime_libs; do 77 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 78 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 79 | code_sign_if_enabled "${destination}/${lib}" 80 | done 81 | fi 82 | } 83 | 84 | # Copies and strips a vendored dSYM 85 | install_dsym() { 86 | local source="$1" 87 | if [ -r "$source" ]; then 88 | # Copy the dSYM into a the targets temp dir. 89 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" 90 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" 91 | 92 | local basename 93 | basename="$(basename -s .framework.dSYM "$source")" 94 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 95 | 96 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 97 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 98 | strip_invalid_archs "$binary" 99 | fi 100 | 101 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 102 | # Move the stripped file into its final destination. 103 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 104 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 105 | else 106 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. 107 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 108 | fi 109 | fi 110 | } 111 | 112 | # Signs a framework with the provided identity 113 | code_sign_if_enabled() { 114 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 115 | # Use the current code_sign_identity 116 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 117 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 118 | 119 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 120 | code_sign_cmd="$code_sign_cmd &" 121 | fi 122 | echo "$code_sign_cmd" 123 | eval "$code_sign_cmd" 124 | fi 125 | } 126 | 127 | # Strip invalid architectures 128 | strip_invalid_archs() { 129 | binary="$1" 130 | # Get architectures for current target binary 131 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 132 | # Intersect them with the architectures we are building for 133 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 134 | # If there are no archs supported by this binary then warn the user 135 | if [[ -z "$intersected_archs" ]]; then 136 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 137 | STRIP_BINARY_RETVAL=0 138 | return 139 | fi 140 | stripped="" 141 | for arch in $binary_archs; do 142 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 143 | # Strip non-valid architectures in-place 144 | lipo -remove "$arch" -output "$binary" "$binary" 145 | stripped="$stripped $arch" 146 | fi 147 | done 148 | if [[ "$stripped" ]]; then 149 | echo "Stripped $binary of architectures:$stripped" 150 | fi 151 | STRIP_BINARY_RETVAL=1 152 | } 153 | 154 | 155 | if [[ "$CONFIGURATION" == "Debug" ]]; then 156 | install_framework "${BUILT_PRODUCTS_DIR}/BottomDrawer/BottomDrawer.framework" 157 | fi 158 | if [[ "$CONFIGURATION" == "Release" ]]; then 159 | install_framework "${BUILT_PRODUCTS_DIR}/BottomDrawer/BottomDrawer.framework" 160 | fi 161 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 162 | wait 163 | fi 164 | -------------------------------------------------------------------------------- /BottomDrawer/Classes/BottomDrawer.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BottomController.swift 3 | // BottomDrawer 4 | // 5 | // Created by Sagaya Abdulhafeez on 19/12/2018. 6 | // 7 | 8 | 9 | import UIKit 10 | 11 | open class BottomController: UIViewController,UIGestureRecognizerDelegate { 12 | 13 | open var sourceController: UIViewController? 14 | open var destinationController: BottomController? 15 | var containerViewTopConstraint:NSLayoutConstraint? 16 | open var startingHeight:CGFloat? 17 | var storedcontrollerView:UIView? 18 | public static var shared = BottomController() 19 | public var movable = true 20 | public var roundedCorner = true 21 | public var cornerRadius:CGFloat = 10 22 | var vu: UIView? 23 | @objc func openr(){ 24 | guard let controllerView = vu else {return} 25 | DispatchQueue.main.async { 26 | UIView.animate(withDuration: 0.9, animations: { 27 | self.containerViewTopConstraint?.constant = 50 28 | self.view.layoutIfNeeded() 29 | controllerView.layoutIfNeeded() 30 | }) 31 | } 32 | } 33 | lazy var backgroundOverlay: UIView = { 34 | let v = UIView() 35 | v.translatesAutoresizingMaskIntoConstraints = false 36 | v.backgroundColor = UIColor.black.withAlphaComponent(0.45) 37 | v.alpha = 0 38 | return v 39 | }() 40 | internal var panGestureRecognizer: UIPanGestureRecognizer? 41 | lazy var topButton: UIImageView = { 42 | let image = UIImageView() 43 | // image.image = UIImage(named: "Rectangle") 44 | image.contentMode = .scaleAspectFit 45 | return image 46 | }() 47 | override open func viewDidLoad() { 48 | super.viewDidLoad() 49 | // topButton.image = BottomController.bundledImage(named: "Rectangle") 50 | let image = UIImage.fromPodBundle("Rectangle") 51 | topButton.image = image 52 | view.backgroundColor = UIColor.clear 53 | configure() 54 | } 55 | 56 | private func setupGestureRecognizers() { 57 | let panGestureRecognizer = UIPanGestureRecognizer(target: self, 58 | action: #selector(panGestureDidMove(sender:))) 59 | panGestureRecognizer.cancelsTouchesInView = false 60 | panGestureRecognizer.delegate = self 61 | let controllerView = view.viewWithTag(64820) 62 | 63 | switch movable { 64 | case true: 65 | controllerView?.addGestureRecognizer(panGestureRecognizer) 66 | case false: 67 | break; 68 | } 69 | self.panGestureRecognizer = panGestureRecognizer 70 | } 71 | private func addGestureToView(){ 72 | let gesture = UITapGestureRecognizer(target: self, action: #selector(dismissController)) 73 | self.view.isUserInteractionEnabled = true 74 | self.view.addGestureRecognizer(gesture) 75 | } 76 | override open func viewDidAppear(_ animated: Bool) { 77 | super.viewDidAppear(animated) 78 | view.addSubview(topButton) 79 | topButton.anchorTo(top: view.topAnchor, leading: nil, bottom: nil, trailing: nil, padding: .init(top: 5, left: 0, bottom: 0, right: 0), size: .init(width: 50, height: 13), centerX: view.centerXAnchor, centerY: nil) 80 | } 81 | 82 | @objc private func panGestureDidMove(sender: UIPanGestureRecognizer) { 83 | let translationPoint = sender.translation(in: view.superview) 84 | let velocity = sender.velocity(in: view.superview) 85 | let absValue = translationPoint.y 86 | _ = view.superview?.backgroundColor 87 | _ = abs((velocity.y) * 0.01) 88 | switch sender.state { 89 | case .began: 90 | self.didBeginMovemnet() 91 | break; 92 | case .changed: 93 | if velocity.y < -1000{ 94 | //FULLY PRESNET 95 | self.fullPresentController() 96 | break; 97 | } 98 | if velocity.y > 2000{ 99 | //FULLY DISMISS 100 | self.backgroundOverlay.alpha = 0 101 | self.dismissController() 102 | break; 103 | } 104 | // topButton.image = UIImage(named: "down_arrow") 105 | self.didMoveController(value: absValue, velocity: velocity) 106 | case .ended: 107 | // topButton.image = UIImage(named: "Rectangle") 108 | self.didEndMovemnt(value: absValue, velocity: velocity) 109 | default: 110 | return 111 | } 112 | } 113 | func fullPresentController() { 114 | let newConstant = 80 115 | UIView.animate(withDuration: 0.5) { 116 | self.containerViewTopConstraint?.constant = CGFloat(newConstant) 117 | self.view.layoutIfNeeded() 118 | } 119 | } 120 | 121 | @objc func dismissController() { 122 | UIView.animate(withDuration: 1.0, animations: { 123 | self.view.alpha = 0 124 | self.containerViewTopConstraint?.constant = self.view.frame.height 125 | self.view.layoutIfNeeded() 126 | }) { (_) in 127 | self.dismiss(animated: true, completion: nil) 128 | } 129 | } 130 | private func configure(){ 131 | view.addSubview(backgroundOverlay) 132 | self.modalPresentationStyle = .overCurrentContext 133 | self.hidesBottomBarWhenPushed = true 134 | guard let controller = self.destinationController, let controllerView = controller.view else {return} 135 | #if swift(>=4.2) 136 | addChild(controller) 137 | #else 138 | addChildViewController(controller) 139 | #endif 140 | 141 | addGestureToView() 142 | self.view.addSubview(controllerView) 143 | controllerView.translatesAutoresizingMaskIntoConstraints = false 144 | if roundedCorner{ 145 | controllerView.layer.cornerRadius = cornerRadius 146 | controllerView.layer.masksToBounds = true 147 | if #available(iOS 11.0, *) { 148 | controllerView.layer.maskedCorners = [.layerMaxXMinYCorner, .layerMinXMinYCorner] 149 | } 150 | } 151 | controllerView.layer.isOpaque = false 152 | controllerView.tag = 64820 153 | let currentConstant = startingHeight ?? 120 154 | containerViewTopConstraint = controllerView.topAnchor.constraint(equalTo: view.topAnchor, constant: view.frame.height - currentConstant) 155 | containerViewTopConstraint?.isActive = true 156 | #if swift(>=4.2) 157 | view.bringSubviewToFront(controllerView) 158 | #else 159 | view.bringSubview(toFront: controllerView) 160 | #endif 161 | 162 | NSLayoutConstraint.activate([ 163 | backgroundOverlay.widthAnchor.constraint(equalTo: view.widthAnchor), 164 | backgroundOverlay.bottomAnchor.constraint(equalTo: view.bottomAnchor), 165 | backgroundOverlay.centerXAnchor.constraint(equalTo: view.centerXAnchor), 166 | backgroundOverlay.heightAnchor.constraint(equalTo: view.heightAnchor), 167 | 168 | controllerView.widthAnchor.constraint(equalTo: view.widthAnchor), 169 | controllerView.bottomAnchor.constraint(equalTo: view.bottomAnchor), 170 | controllerView.centerXAnchor.constraint(equalTo: view.centerXAnchor) 171 | ]) 172 | //Animate background color change 173 | setupGestureRecognizers() 174 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) { 175 | UIView.animate(withDuration: 0.5) { 176 | self.backgroundOverlay.alpha = 1 177 | } 178 | } 179 | } 180 | func didEndMovemnt(value: CGFloat, velocity: CGPoint) { 181 | let newConstant = self.previousContainerViewTopConstraint + value 182 | if(newConstant > 30){ 183 | let currentConstant:CGFloat = 120 184 | if newConstant >= self.view.bounds.height - currentConstant{ 185 | self.dismissController() 186 | } 187 | }else{ 188 | UIView.animate(withDuration: 0.5, animations: { 189 | self.containerViewTopConstraint?.constant = self.view.frame.height / 5 190 | self.view.layoutIfNeeded() 191 | }, completion: nil) 192 | 193 | } 194 | } 195 | 196 | private var previousContainerViewTopConstraint: CGFloat = 0.0 197 | 198 | func didMoveController(value: CGFloat,velocity: CGPoint) { 199 | 200 | if self.containerViewTopConstraint == nil{ 201 | print("This is nil") 202 | } 203 | 204 | let newConstant = self.previousContainerViewTopConstraint + value - 180 205 | UIView.animate(withDuration: 0.5) { 206 | self.containerViewTopConstraint?.constant = newConstant 207 | self.view.layoutIfNeeded() 208 | } 209 | } 210 | func didBeginMovemnet(){ 211 | self.previousContainerViewTopConstraint = containerViewTopConstraint?.constant ?? 0 212 | } 213 | private func animateTopConstraint(constant: CGFloat, withVelocity velocity: CGPoint) { 214 | let previousConstraint = containerViewTopConstraint!.constant 215 | let distance = previousConstraint - constant 216 | let springVelocity = max(1 / (abs(velocity.y / distance)), 0.08) 217 | let springDampening = CGFloat(0.6) 218 | UIView.animate(withDuration: 0.5, 219 | delay: 0.0, 220 | usingSpringWithDamping: springDampening, 221 | initialSpringVelocity: springVelocity, 222 | options: [.curveLinear], 223 | animations: { 224 | self.containerViewTopConstraint!.constant = constant 225 | self.view.layoutIfNeeded() 226 | }, 227 | completion: nil) 228 | } 229 | class func bundledImage(named: String) -> UIImage? { 230 | let image = UIImage(named: named) 231 | if image == nil { 232 | return UIImage(named: named, in: Bundle(for: BottomController.classForCoder()), compatibleWith: nil) 233 | } 234 | return image 235 | } 236 | 237 | } 238 | protocol ChildDelegate { 239 | func didMoveController(value:CGFloat, velocity:CGPoint) 240 | func didEndMovemnt(value:CGFloat,velocity:CGPoint) 241 | func didBeginMovemnet() 242 | func fullPresentController() 243 | func dismissController() 244 | } 245 | final class Project: NSObject { 246 | private static let frameworkBundle = Bundle(for: Project.self) 247 | static let path = frameworkBundle.path(forResource: "Project", ofType: "bundle")! 248 | static let bundle = Bundle(path: path)! 249 | } 250 | 251 | extension UIImage { 252 | /// get an image from the project bundle 253 | static func fromPodBundle(_ name: String) -> UIImage? { 254 | return UIImage(named: name, in: Project.bundle, compatibleWith: nil) 255 | } 256 | } 257 | -------------------------------------------------------------------------------- /Example/BottomDrawer.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 11 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 12 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 13 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 14 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 15 | 9F12ABB821CA83D3001010A0 /* TestViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9F12ABB721CA83D3001010A0 /* TestViewController.swift */; }; 16 | CD107C2E6924F7FA2198A864 /* Pods_BottomDrawer_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6432711D55EF746A1C3863C5 /* Pods_BottomDrawer_Example.framework */; }; 17 | /* End PBXBuildFile section */ 18 | 19 | /* Begin PBXFileReference section */ 20 | 12CC7AF46DFAB629EDE49561 /* Pods-BottomDrawer_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BottomDrawer_Example.debug.xcconfig"; path = "Target Support Files/Pods-BottomDrawer_Example/Pods-BottomDrawer_Example.debug.xcconfig"; sourceTree = ""; }; 21 | 1C53972EC223CAEBBF82FA68 /* Pods-BottomDrawer_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BottomDrawer_Tests.debug.xcconfig"; path = "Target Support Files/Pods-BottomDrawer_Tests/Pods-BottomDrawer_Tests.debug.xcconfig"; sourceTree = ""; }; 22 | 22F372004A78CB72BA0A4F8E /* BottomDrawer.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = BottomDrawer.podspec; path = ../BottomDrawer.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 23 | 37CCAA968532CD9CB4836F00 /* Pods-BottomDrawer_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BottomDrawer_Example.release.xcconfig"; path = "Target Support Files/Pods-BottomDrawer_Example/Pods-BottomDrawer_Example.release.xcconfig"; sourceTree = ""; }; 24 | 607FACD01AFB9204008FA782 /* BottomDrawer_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = BottomDrawer_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 25 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 26 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 27 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 28 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 29 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 30 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 31 | 6432711D55EF746A1C3863C5 /* Pods_BottomDrawer_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_BottomDrawer_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 32 | 77351DE58AD145F8B76713AB /* Pods_BottomDrawer_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_BottomDrawer_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 33 | 9F12ABB721CA83D3001010A0 /* TestViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TestViewController.swift; sourceTree = ""; }; 34 | A31B30F45F8C27AFD56C140B /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 35 | C206BB7443EE504D0D6D2821 /* Pods-BottomDrawer_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BottomDrawer_Tests.release.xcconfig"; path = "Target Support Files/Pods-BottomDrawer_Tests/Pods-BottomDrawer_Tests.release.xcconfig"; sourceTree = ""; }; 36 | EBD536AC6ED1A94B9701920B /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 37 | /* End PBXFileReference section */ 38 | 39 | /* Begin PBXFrameworksBuildPhase section */ 40 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 41 | isa = PBXFrameworksBuildPhase; 42 | buildActionMask = 2147483647; 43 | files = ( 44 | CD107C2E6924F7FA2198A864 /* Pods_BottomDrawer_Example.framework in Frameworks */, 45 | ); 46 | runOnlyForDeploymentPostprocessing = 0; 47 | }; 48 | /* End PBXFrameworksBuildPhase section */ 49 | 50 | /* Begin PBXGroup section */ 51 | 607FACC71AFB9204008FA782 = { 52 | isa = PBXGroup; 53 | children = ( 54 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 55 | 607FACD21AFB9204008FA782 /* Example for BottomDrawer */, 56 | 607FACD11AFB9204008FA782 /* Products */, 57 | BF791F5B5877D63AE341D185 /* Pods */, 58 | DB415F67AA0F1F0069D704C5 /* Frameworks */, 59 | ); 60 | sourceTree = ""; 61 | }; 62 | 607FACD11AFB9204008FA782 /* Products */ = { 63 | isa = PBXGroup; 64 | children = ( 65 | 607FACD01AFB9204008FA782 /* BottomDrawer_Example.app */, 66 | ); 67 | name = Products; 68 | sourceTree = ""; 69 | }; 70 | 607FACD21AFB9204008FA782 /* Example for BottomDrawer */ = { 71 | isa = PBXGroup; 72 | children = ( 73 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 74 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 75 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 76 | 9F12ABB721CA83D3001010A0 /* TestViewController.swift */, 77 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 78 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 79 | 607FACD31AFB9204008FA782 /* Supporting Files */, 80 | ); 81 | name = "Example for BottomDrawer"; 82 | path = BottomDrawer; 83 | sourceTree = ""; 84 | }; 85 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 86 | isa = PBXGroup; 87 | children = ( 88 | 607FACD41AFB9204008FA782 /* Info.plist */, 89 | ); 90 | name = "Supporting Files"; 91 | sourceTree = ""; 92 | }; 93 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 94 | isa = PBXGroup; 95 | children = ( 96 | 22F372004A78CB72BA0A4F8E /* BottomDrawer.podspec */, 97 | A31B30F45F8C27AFD56C140B /* README.md */, 98 | EBD536AC6ED1A94B9701920B /* LICENSE */, 99 | ); 100 | name = "Podspec Metadata"; 101 | sourceTree = ""; 102 | }; 103 | BF791F5B5877D63AE341D185 /* Pods */ = { 104 | isa = PBXGroup; 105 | children = ( 106 | 12CC7AF46DFAB629EDE49561 /* Pods-BottomDrawer_Example.debug.xcconfig */, 107 | 37CCAA968532CD9CB4836F00 /* Pods-BottomDrawer_Example.release.xcconfig */, 108 | 1C53972EC223CAEBBF82FA68 /* Pods-BottomDrawer_Tests.debug.xcconfig */, 109 | C206BB7443EE504D0D6D2821 /* Pods-BottomDrawer_Tests.release.xcconfig */, 110 | ); 111 | path = Pods; 112 | sourceTree = ""; 113 | }; 114 | DB415F67AA0F1F0069D704C5 /* Frameworks */ = { 115 | isa = PBXGroup; 116 | children = ( 117 | 6432711D55EF746A1C3863C5 /* Pods_BottomDrawer_Example.framework */, 118 | 77351DE58AD145F8B76713AB /* Pods_BottomDrawer_Tests.framework */, 119 | ); 120 | name = Frameworks; 121 | sourceTree = ""; 122 | }; 123 | /* End PBXGroup section */ 124 | 125 | /* Begin PBXNativeTarget section */ 126 | 607FACCF1AFB9204008FA782 /* BottomDrawer_Example */ = { 127 | isa = PBXNativeTarget; 128 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "BottomDrawer_Example" */; 129 | buildPhases = ( 130 | CEAA150215361A112EAAA0FF /* [CP] Check Pods Manifest.lock */, 131 | 607FACCC1AFB9204008FA782 /* Sources */, 132 | 607FACCD1AFB9204008FA782 /* Frameworks */, 133 | 607FACCE1AFB9204008FA782 /* Resources */, 134 | 735F3CEEA7D183FEB7B6E600 /* [CP] Embed Pods Frameworks */, 135 | ); 136 | buildRules = ( 137 | ); 138 | dependencies = ( 139 | ); 140 | name = BottomDrawer_Example; 141 | productName = BottomDrawer; 142 | productReference = 607FACD01AFB9204008FA782 /* BottomDrawer_Example.app */; 143 | productType = "com.apple.product-type.application"; 144 | }; 145 | /* End PBXNativeTarget section */ 146 | 147 | /* Begin PBXProject section */ 148 | 607FACC81AFB9204008FA782 /* Project object */ = { 149 | isa = PBXProject; 150 | attributes = { 151 | LastSwiftUpdateCheck = 0830; 152 | LastUpgradeCheck = 0830; 153 | ORGANIZATIONNAME = CocoaPods; 154 | TargetAttributes = { 155 | 607FACCF1AFB9204008FA782 = { 156 | CreatedOnToolsVersion = 6.3.1; 157 | DevelopmentTeam = R9HNZAYA8U; 158 | LastSwiftMigration = 0900; 159 | }; 160 | }; 161 | }; 162 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "BottomDrawer" */; 163 | compatibilityVersion = "Xcode 3.2"; 164 | developmentRegion = English; 165 | hasScannedForEncodings = 0; 166 | knownRegions = ( 167 | en, 168 | Base, 169 | ); 170 | mainGroup = 607FACC71AFB9204008FA782; 171 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 172 | projectDirPath = ""; 173 | projectRoot = ""; 174 | targets = ( 175 | 607FACCF1AFB9204008FA782 /* BottomDrawer_Example */, 176 | ); 177 | }; 178 | /* End PBXProject section */ 179 | 180 | /* Begin PBXResourcesBuildPhase section */ 181 | 607FACCE1AFB9204008FA782 /* Resources */ = { 182 | isa = PBXResourcesBuildPhase; 183 | buildActionMask = 2147483647; 184 | files = ( 185 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 186 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 187 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 188 | ); 189 | runOnlyForDeploymentPostprocessing = 0; 190 | }; 191 | /* End PBXResourcesBuildPhase section */ 192 | 193 | /* Begin PBXShellScriptBuildPhase section */ 194 | 735F3CEEA7D183FEB7B6E600 /* [CP] Embed Pods Frameworks */ = { 195 | isa = PBXShellScriptBuildPhase; 196 | buildActionMask = 2147483647; 197 | files = ( 198 | ); 199 | inputFileListPaths = ( 200 | ); 201 | inputPaths = ( 202 | "${PODS_ROOT}/Target Support Files/Pods-BottomDrawer_Example/Pods-BottomDrawer_Example-frameworks.sh", 203 | "${BUILT_PRODUCTS_DIR}/BottomDrawer/BottomDrawer.framework", 204 | ); 205 | name = "[CP] Embed Pods Frameworks"; 206 | outputFileListPaths = ( 207 | ); 208 | outputPaths = ( 209 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/BottomDrawer.framework", 210 | ); 211 | runOnlyForDeploymentPostprocessing = 0; 212 | shellPath = /bin/sh; 213 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-BottomDrawer_Example/Pods-BottomDrawer_Example-frameworks.sh\"\n"; 214 | showEnvVarsInLog = 0; 215 | }; 216 | CEAA150215361A112EAAA0FF /* [CP] Check Pods Manifest.lock */ = { 217 | isa = PBXShellScriptBuildPhase; 218 | buildActionMask = 2147483647; 219 | files = ( 220 | ); 221 | inputFileListPaths = ( 222 | ); 223 | inputPaths = ( 224 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 225 | "${PODS_ROOT}/Manifest.lock", 226 | ); 227 | name = "[CP] Check Pods Manifest.lock"; 228 | outputFileListPaths = ( 229 | ); 230 | outputPaths = ( 231 | "$(DERIVED_FILE_DIR)/Pods-BottomDrawer_Example-checkManifestLockResult.txt", 232 | ); 233 | runOnlyForDeploymentPostprocessing = 0; 234 | shellPath = /bin/sh; 235 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 236 | showEnvVarsInLog = 0; 237 | }; 238 | /* End PBXShellScriptBuildPhase section */ 239 | 240 | /* Begin PBXSourcesBuildPhase section */ 241 | 607FACCC1AFB9204008FA782 /* Sources */ = { 242 | isa = PBXSourcesBuildPhase; 243 | buildActionMask = 2147483647; 244 | files = ( 245 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 246 | 9F12ABB821CA83D3001010A0 /* TestViewController.swift in Sources */, 247 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 248 | ); 249 | runOnlyForDeploymentPostprocessing = 0; 250 | }; 251 | /* End PBXSourcesBuildPhase section */ 252 | 253 | /* Begin PBXVariantGroup section */ 254 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 255 | isa = PBXVariantGroup; 256 | children = ( 257 | 607FACDA1AFB9204008FA782 /* Base */, 258 | ); 259 | name = Main.storyboard; 260 | sourceTree = ""; 261 | }; 262 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 263 | isa = PBXVariantGroup; 264 | children = ( 265 | 607FACDF1AFB9204008FA782 /* Base */, 266 | ); 267 | name = LaunchScreen.xib; 268 | sourceTree = ""; 269 | }; 270 | /* End PBXVariantGroup section */ 271 | 272 | /* Begin XCBuildConfiguration section */ 273 | 607FACED1AFB9204008FA782 /* Debug */ = { 274 | isa = XCBuildConfiguration; 275 | buildSettings = { 276 | ALWAYS_SEARCH_USER_PATHS = NO; 277 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 278 | CLANG_CXX_LIBRARY = "libc++"; 279 | CLANG_ENABLE_MODULES = YES; 280 | CLANG_ENABLE_OBJC_ARC = YES; 281 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 282 | CLANG_WARN_BOOL_CONVERSION = YES; 283 | CLANG_WARN_COMMA = YES; 284 | CLANG_WARN_CONSTANT_CONVERSION = YES; 285 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 286 | CLANG_WARN_EMPTY_BODY = YES; 287 | CLANG_WARN_ENUM_CONVERSION = YES; 288 | CLANG_WARN_INFINITE_RECURSION = YES; 289 | CLANG_WARN_INT_CONVERSION = YES; 290 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 291 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 292 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 293 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 294 | CLANG_WARN_STRICT_PROTOTYPES = YES; 295 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 296 | CLANG_WARN_UNREACHABLE_CODE = YES; 297 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 298 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 299 | COPY_PHASE_STRIP = NO; 300 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 301 | ENABLE_STRICT_OBJC_MSGSEND = YES; 302 | ENABLE_TESTABILITY = YES; 303 | GCC_C_LANGUAGE_STANDARD = gnu99; 304 | GCC_DYNAMIC_NO_PIC = NO; 305 | GCC_NO_COMMON_BLOCKS = YES; 306 | GCC_OPTIMIZATION_LEVEL = 0; 307 | GCC_PREPROCESSOR_DEFINITIONS = ( 308 | "DEBUG=1", 309 | "$(inherited)", 310 | ); 311 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 312 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 313 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 314 | GCC_WARN_UNDECLARED_SELECTOR = YES; 315 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 316 | GCC_WARN_UNUSED_FUNCTION = YES; 317 | GCC_WARN_UNUSED_VARIABLE = YES; 318 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 319 | MTL_ENABLE_DEBUG_INFO = YES; 320 | ONLY_ACTIVE_ARCH = YES; 321 | SDKROOT = iphoneos; 322 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 323 | }; 324 | name = Debug; 325 | }; 326 | 607FACEE1AFB9204008FA782 /* Release */ = { 327 | isa = XCBuildConfiguration; 328 | buildSettings = { 329 | ALWAYS_SEARCH_USER_PATHS = NO; 330 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 331 | CLANG_CXX_LIBRARY = "libc++"; 332 | CLANG_ENABLE_MODULES = YES; 333 | CLANG_ENABLE_OBJC_ARC = YES; 334 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 335 | CLANG_WARN_BOOL_CONVERSION = YES; 336 | CLANG_WARN_COMMA = YES; 337 | CLANG_WARN_CONSTANT_CONVERSION = YES; 338 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 339 | CLANG_WARN_EMPTY_BODY = YES; 340 | CLANG_WARN_ENUM_CONVERSION = YES; 341 | CLANG_WARN_INFINITE_RECURSION = YES; 342 | CLANG_WARN_INT_CONVERSION = YES; 343 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 344 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 345 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 346 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 347 | CLANG_WARN_STRICT_PROTOTYPES = YES; 348 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 349 | CLANG_WARN_UNREACHABLE_CODE = YES; 350 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 351 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 352 | COPY_PHASE_STRIP = NO; 353 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 354 | ENABLE_NS_ASSERTIONS = NO; 355 | ENABLE_STRICT_OBJC_MSGSEND = YES; 356 | GCC_C_LANGUAGE_STANDARD = gnu99; 357 | GCC_NO_COMMON_BLOCKS = YES; 358 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 359 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 360 | GCC_WARN_UNDECLARED_SELECTOR = YES; 361 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 362 | GCC_WARN_UNUSED_FUNCTION = YES; 363 | GCC_WARN_UNUSED_VARIABLE = YES; 364 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 365 | MTL_ENABLE_DEBUG_INFO = NO; 366 | SDKROOT = iphoneos; 367 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 368 | VALIDATE_PRODUCT = YES; 369 | }; 370 | name = Release; 371 | }; 372 | 607FACF01AFB9204008FA782 /* Debug */ = { 373 | isa = XCBuildConfiguration; 374 | baseConfigurationReference = 12CC7AF46DFAB629EDE49561 /* Pods-BottomDrawer_Example.debug.xcconfig */; 375 | buildSettings = { 376 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 377 | DEVELOPMENT_TEAM = R9HNZAYA8U; 378 | INFOPLIST_FILE = BottomDrawer/Info.plist; 379 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 380 | MODULE_NAME = ExampleApp; 381 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 382 | PRODUCT_NAME = "$(TARGET_NAME)"; 383 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 384 | SWIFT_VERSION = 4.0; 385 | }; 386 | name = Debug; 387 | }; 388 | 607FACF11AFB9204008FA782 /* Release */ = { 389 | isa = XCBuildConfiguration; 390 | baseConfigurationReference = 37CCAA968532CD9CB4836F00 /* Pods-BottomDrawer_Example.release.xcconfig */; 391 | buildSettings = { 392 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 393 | DEVELOPMENT_TEAM = R9HNZAYA8U; 394 | INFOPLIST_FILE = BottomDrawer/Info.plist; 395 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 396 | MODULE_NAME = ExampleApp; 397 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 398 | PRODUCT_NAME = "$(TARGET_NAME)"; 399 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 400 | SWIFT_VERSION = 4.0; 401 | }; 402 | name = Release; 403 | }; 404 | /* End XCBuildConfiguration section */ 405 | 406 | /* Begin XCConfigurationList section */ 407 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "BottomDrawer" */ = { 408 | isa = XCConfigurationList; 409 | buildConfigurations = ( 410 | 607FACED1AFB9204008FA782 /* Debug */, 411 | 607FACEE1AFB9204008FA782 /* Release */, 412 | ); 413 | defaultConfigurationIsVisible = 0; 414 | defaultConfigurationName = Release; 415 | }; 416 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "BottomDrawer_Example" */ = { 417 | isa = XCConfigurationList; 418 | buildConfigurations = ( 419 | 607FACF01AFB9204008FA782 /* Debug */, 420 | 607FACF11AFB9204008FA782 /* Release */, 421 | ); 422 | defaultConfigurationIsVisible = 0; 423 | defaultConfigurationName = Release; 424 | }; 425 | /* End XCConfigurationList section */ 426 | }; 427 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 428 | } 429 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 0547F2188D70814CAB3E8F5C21A59419 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 56F2ED3CDAE5D2928456AF5EDDDE4257 /* Foundation.framework */; }; 11 | 16365B0BB1E8D43EA14BBF0462676C6D /* BottomDrawer-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 926A8DC772D7D571A583F5E7C74E2A30 /* BottomDrawer-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 12 | 1FCC17F9D1F4715E8E2283BD0D2C2531 /* BottomDrawer-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = AA93A47F52A1668CA9F8EE3BD67A99EB /* BottomDrawer-dummy.m */; }; 13 | 24555DC5B6AB4F2FC7799B2279E8BBDA /* Pods-BottomDrawer_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 558A188547445EA79CD9E8B672E7C6C5 /* Pods-BottomDrawer_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 14 | 29A1722EAE50CFAF5C652311BF0E8A98 /* AutoLayout+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = D8D5FC88F4E03B5C39C8FF8A7843D41D /* AutoLayout+Extension.swift */; }; 15 | 53691E9791698A24DC054116195A9732 /* Media.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 896897EA1FE4E331074CD68C43AF5E23 /* Media.xcassets */; }; 16 | 5DFCB108A00890F8E47CF366CBAEB750 /* Pods-BottomDrawer_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 70DD6FC502131E1C039526413861DCED /* Pods-BottomDrawer_Example-dummy.m */; }; 17 | 82AC9A55739932E1D9285CED850FE9AC /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 56F2ED3CDAE5D2928456AF5EDDDE4257 /* Foundation.framework */; }; 18 | 82E1046A35C2199100BABF56D8EF3538 /* BottomDrawer.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 21EEB8B1665DCC38A26FFD85DB6F4104 /* BottomDrawer.bundle */; }; 19 | BC90DA22F8BAF4C4AEDF0AC19E09E126 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D1899DF19920E20BF9EE667803725971 /* UIKit.framework */; }; 20 | BE906E006C2B4A874460C5B0F51FA0E1 /* MapKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 17E061A876F428A8E8C9F0CD173365A7 /* MapKit.framework */; }; 21 | C2BB0D6F519B4083D4FDF9F31E3FF9AA /* BottomDrawer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 80EDF0241B0657081B107FFD82DAC29F /* BottomDrawer.swift */; }; 22 | /* End PBXBuildFile section */ 23 | 24 | /* Begin PBXContainerItemProxy section */ 25 | 1C5943F25197E91BBB044A0D2E2EDDF8 /* PBXContainerItemProxy */ = { 26 | isa = PBXContainerItemProxy; 27 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 28 | proxyType = 1; 29 | remoteGlobalIDString = 6CBE43C8B3702236231066A7E8462EB8; 30 | remoteInfo = "BottomDrawer-BottomDrawer"; 31 | }; 32 | FDD46A8A5FAE6FD6AAED761C684A084C /* PBXContainerItemProxy */ = { 33 | isa = PBXContainerItemProxy; 34 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 35 | proxyType = 1; 36 | remoteGlobalIDString = 8661AD4BE103D3E0ED3A569E65C56D0F; 37 | remoteInfo = BottomDrawer; 38 | }; 39 | /* End PBXContainerItemProxy section */ 40 | 41 | /* Begin PBXFileReference section */ 42 | 02993156C61DBE979DF51A793A0E85EA /* BottomDrawer.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; path = BottomDrawer.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 43 | 17E061A876F428A8E8C9F0CD173365A7 /* MapKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MapKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk/System/Library/Frameworks/MapKit.framework; sourceTree = DEVELOPER_DIR; }; 44 | 21EEB8B1665DCC38A26FFD85DB6F4104 /* BottomDrawer.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; name = BottomDrawer.bundle; path = "BottomDrawer-BottomDrawer.bundle"; sourceTree = BUILT_PRODUCTS_DIR; }; 45 | 34B62AD5E326E642B70479219A6722B2 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = ""; }; 46 | 37F130F415551FC97F249F3AA5CC207F /* BottomDrawer-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "BottomDrawer-Info.plist"; sourceTree = ""; }; 47 | 4726B0020BB6E1607BA827F0A8C83788 /* Pods-BottomDrawer_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-BottomDrawer_Example-acknowledgements.plist"; sourceTree = ""; }; 48 | 4CC8B6C208A42C367F2B681E03A6F50C /* Pods-BottomDrawer_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-BottomDrawer_Example-acknowledgements.markdown"; sourceTree = ""; }; 49 | 558A188547445EA79CD9E8B672E7C6C5 /* Pods-BottomDrawer_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-BottomDrawer_Example-umbrella.h"; sourceTree = ""; }; 50 | 56F2ED3CDAE5D2928456AF5EDDDE4257 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 51 | 5F72E4A7C9D19FEE40B5B65C116CD094 /* Pods-BottomDrawer_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-BottomDrawer_Example-frameworks.sh"; sourceTree = ""; }; 52 | 70DD6FC502131E1C039526413861DCED /* Pods-BottomDrawer_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-BottomDrawer_Example-dummy.m"; sourceTree = ""; }; 53 | 78C33FB25972675F39FA6F72B2DB652A /* BottomDrawer-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "BottomDrawer-prefix.pch"; sourceTree = ""; }; 54 | 7A01477A4C52E1EB432077FBBE25C70B /* BottomDrawer.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = BottomDrawer.xcconfig; sourceTree = ""; }; 55 | 80EDF0241B0657081B107FFD82DAC29F /* BottomDrawer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BottomDrawer.swift; path = BottomDrawer/Classes/BottomDrawer.swift; sourceTree = ""; }; 56 | 875753ECD61CF5A81291438CEAD0E5E0 /* Pods-BottomDrawer_Example-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-BottomDrawer_Example-Info.plist"; sourceTree = ""; }; 57 | 896897EA1FE4E331074CD68C43AF5E23 /* Media.xcassets */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = folder.assetcatalog; name = Media.xcassets; path = BottomDrawer/Assets/Media.xcassets; sourceTree = ""; }; 58 | 91A738D18AA95664D6E0115C52B071F1 /* Pods-BottomDrawer_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-BottomDrawer_Example.debug.xcconfig"; sourceTree = ""; }; 59 | 91F381B4407715A3E4E5B2C1BF9FD443 /* Pods-BottomDrawer_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-BottomDrawer_Example.release.xcconfig"; sourceTree = ""; }; 60 | 926A8DC772D7D571A583F5E7C74E2A30 /* BottomDrawer-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "BottomDrawer-umbrella.h"; sourceTree = ""; }; 61 | 95769EB563C71A88942A0E831CE7513D /* Pods-BottomDrawer_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-BottomDrawer_Example.modulemap"; sourceTree = ""; }; 62 | A9EAF009467A4E574DBE5CDA878E2391 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = ""; }; 63 | AA11B2316AB35DF4605297D465D4518E /* BottomDrawer.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = BottomDrawer.modulemap; sourceTree = ""; }; 64 | AA93A47F52A1668CA9F8EE3BD67A99EB /* BottomDrawer-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "BottomDrawer-dummy.m"; sourceTree = ""; }; 65 | B36AB396275697EEE1A5B13BA8A38FE3 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 66 | C07544452785C1B351C9A154C2BA70E0 /* Pods_BottomDrawer_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_BottomDrawer_Example.framework; path = "Pods-BottomDrawer_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 67 | D1899DF19920E20BF9EE667803725971 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; }; 68 | D8D5FC88F4E03B5C39C8FF8A7843D41D /* AutoLayout+Extension.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "AutoLayout+Extension.swift"; path = "BottomDrawer/Classes/AutoLayout+Extension.swift"; sourceTree = ""; }; 69 | D9EEB361E61445F7E950198E5B18BF07 /* BottomDrawer.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = BottomDrawer.framework; path = BottomDrawer.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 70 | F3B2BBE0621F2AB98140E4DDE0CC33F9 /* ResourceBundle-BottomDrawer-BottomDrawer-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "ResourceBundle-BottomDrawer-BottomDrawer-Info.plist"; sourceTree = ""; }; 71 | /* End PBXFileReference section */ 72 | 73 | /* Begin PBXFrameworksBuildPhase section */ 74 | 70EDD3128A245086AF25E605FEC5EC46 /* Frameworks */ = { 75 | isa = PBXFrameworksBuildPhase; 76 | buildActionMask = 2147483647; 77 | files = ( 78 | 82AC9A55739932E1D9285CED850FE9AC /* Foundation.framework in Frameworks */, 79 | ); 80 | runOnlyForDeploymentPostprocessing = 0; 81 | }; 82 | F451E5A43BB3E5DCAAAF66EAE4B17587 /* Frameworks */ = { 83 | isa = PBXFrameworksBuildPhase; 84 | buildActionMask = 2147483647; 85 | files = ( 86 | 0547F2188D70814CAB3E8F5C21A59419 /* Foundation.framework in Frameworks */, 87 | BE906E006C2B4A874460C5B0F51FA0E1 /* MapKit.framework in Frameworks */, 88 | BC90DA22F8BAF4C4AEDF0AC19E09E126 /* UIKit.framework in Frameworks */, 89 | ); 90 | runOnlyForDeploymentPostprocessing = 0; 91 | }; 92 | F58D213759767EE8CEB9C55700ED5D49 /* Frameworks */ = { 93 | isa = PBXFrameworksBuildPhase; 94 | buildActionMask = 2147483647; 95 | files = ( 96 | ); 97 | runOnlyForDeploymentPostprocessing = 0; 98 | }; 99 | /* End PBXFrameworksBuildPhase section */ 100 | 101 | /* Begin PBXGroup section */ 102 | 02983A8318DBBE86F149451F69B41491 /* Products */ = { 103 | isa = PBXGroup; 104 | children = ( 105 | 21EEB8B1665DCC38A26FFD85DB6F4104 /* BottomDrawer.bundle */, 106 | D9EEB361E61445F7E950198E5B18BF07 /* BottomDrawer.framework */, 107 | C07544452785C1B351C9A154C2BA70E0 /* Pods_BottomDrawer_Example.framework */, 108 | ); 109 | name = Products; 110 | sourceTree = ""; 111 | }; 112 | 04E01AA171E0A09E0868AB2AA379F973 /* Development Pods */ = { 113 | isa = PBXGroup; 114 | children = ( 115 | 2486A0E66E652391153E75E18A553DDA /* BottomDrawer */, 116 | ); 117 | name = "Development Pods"; 118 | sourceTree = ""; 119 | }; 120 | 122DA2E5084A4393C29BE363C764795C /* Frameworks */ = { 121 | isa = PBXGroup; 122 | children = ( 123 | 1D8C6F2402ECFA465C0F1DA4645473EF /* iOS */, 124 | ); 125 | name = Frameworks; 126 | sourceTree = ""; 127 | }; 128 | 1D8C6F2402ECFA465C0F1DA4645473EF /* iOS */ = { 129 | isa = PBXGroup; 130 | children = ( 131 | 56F2ED3CDAE5D2928456AF5EDDDE4257 /* Foundation.framework */, 132 | 17E061A876F428A8E8C9F0CD173365A7 /* MapKit.framework */, 133 | D1899DF19920E20BF9EE667803725971 /* UIKit.framework */, 134 | ); 135 | name = iOS; 136 | sourceTree = ""; 137 | }; 138 | 2486A0E66E652391153E75E18A553DDA /* BottomDrawer */ = { 139 | isa = PBXGroup; 140 | children = ( 141 | D8D5FC88F4E03B5C39C8FF8A7843D41D /* AutoLayout+Extension.swift */, 142 | 80EDF0241B0657081B107FFD82DAC29F /* BottomDrawer.swift */, 143 | C7082CB4A13B46B69A909BC780A66D17 /* Pod */, 144 | FB66D1CEE2426ECF70A0A4BBF0BF6DAA /* Resources */, 145 | DD6152BB08303D68F8896D606E1B67A9 /* Support Files */, 146 | ); 147 | name = BottomDrawer; 148 | path = ../..; 149 | sourceTree = ""; 150 | }; 151 | 6A33949B91E0EA5F1AD2A59328915761 /* Pods-BottomDrawer_Example */ = { 152 | isa = PBXGroup; 153 | children = ( 154 | 95769EB563C71A88942A0E831CE7513D /* Pods-BottomDrawer_Example.modulemap */, 155 | 4CC8B6C208A42C367F2B681E03A6F50C /* Pods-BottomDrawer_Example-acknowledgements.markdown */, 156 | 4726B0020BB6E1607BA827F0A8C83788 /* Pods-BottomDrawer_Example-acknowledgements.plist */, 157 | 70DD6FC502131E1C039526413861DCED /* Pods-BottomDrawer_Example-dummy.m */, 158 | 5F72E4A7C9D19FEE40B5B65C116CD094 /* Pods-BottomDrawer_Example-frameworks.sh */, 159 | 875753ECD61CF5A81291438CEAD0E5E0 /* Pods-BottomDrawer_Example-Info.plist */, 160 | 558A188547445EA79CD9E8B672E7C6C5 /* Pods-BottomDrawer_Example-umbrella.h */, 161 | 91A738D18AA95664D6E0115C52B071F1 /* Pods-BottomDrawer_Example.debug.xcconfig */, 162 | 91F381B4407715A3E4E5B2C1BF9FD443 /* Pods-BottomDrawer_Example.release.xcconfig */, 163 | ); 164 | name = "Pods-BottomDrawer_Example"; 165 | path = "Target Support Files/Pods-BottomDrawer_Example"; 166 | sourceTree = ""; 167 | }; 168 | 7DB346D0F39D3F0E887471402A8071AB = { 169 | isa = PBXGroup; 170 | children = ( 171 | B36AB396275697EEE1A5B13BA8A38FE3 /* Podfile */, 172 | 04E01AA171E0A09E0868AB2AA379F973 /* Development Pods */, 173 | 122DA2E5084A4393C29BE363C764795C /* Frameworks */, 174 | 02983A8318DBBE86F149451F69B41491 /* Products */, 175 | BA414203B775BD37387F8F37302A916C /* Targets Support Files */, 176 | ); 177 | sourceTree = ""; 178 | }; 179 | BA414203B775BD37387F8F37302A916C /* Targets Support Files */ = { 180 | isa = PBXGroup; 181 | children = ( 182 | 6A33949B91E0EA5F1AD2A59328915761 /* Pods-BottomDrawer_Example */, 183 | ); 184 | name = "Targets Support Files"; 185 | sourceTree = ""; 186 | }; 187 | C7082CB4A13B46B69A909BC780A66D17 /* Pod */ = { 188 | isa = PBXGroup; 189 | children = ( 190 | 02993156C61DBE979DF51A793A0E85EA /* BottomDrawer.podspec */, 191 | A9EAF009467A4E574DBE5CDA878E2391 /* LICENSE */, 192 | 34B62AD5E326E642B70479219A6722B2 /* README.md */, 193 | ); 194 | name = Pod; 195 | sourceTree = ""; 196 | }; 197 | DD6152BB08303D68F8896D606E1B67A9 /* Support Files */ = { 198 | isa = PBXGroup; 199 | children = ( 200 | AA11B2316AB35DF4605297D465D4518E /* BottomDrawer.modulemap */, 201 | 7A01477A4C52E1EB432077FBBE25C70B /* BottomDrawer.xcconfig */, 202 | AA93A47F52A1668CA9F8EE3BD67A99EB /* BottomDrawer-dummy.m */, 203 | 37F130F415551FC97F249F3AA5CC207F /* BottomDrawer-Info.plist */, 204 | 78C33FB25972675F39FA6F72B2DB652A /* BottomDrawer-prefix.pch */, 205 | 926A8DC772D7D571A583F5E7C74E2A30 /* BottomDrawer-umbrella.h */, 206 | F3B2BBE0621F2AB98140E4DDE0CC33F9 /* ResourceBundle-BottomDrawer-BottomDrawer-Info.plist */, 207 | ); 208 | name = "Support Files"; 209 | path = "Example/Pods/Target Support Files/BottomDrawer"; 210 | sourceTree = ""; 211 | }; 212 | FB66D1CEE2426ECF70A0A4BBF0BF6DAA /* Resources */ = { 213 | isa = PBXGroup; 214 | children = ( 215 | 896897EA1FE4E331074CD68C43AF5E23 /* Media.xcassets */, 216 | ); 217 | name = Resources; 218 | sourceTree = ""; 219 | }; 220 | /* End PBXGroup section */ 221 | 222 | /* Begin PBXHeadersBuildPhase section */ 223 | 736A157497668F781194C582D32012E0 /* Headers */ = { 224 | isa = PBXHeadersBuildPhase; 225 | buildActionMask = 2147483647; 226 | files = ( 227 | 24555DC5B6AB4F2FC7799B2279E8BBDA /* Pods-BottomDrawer_Example-umbrella.h in Headers */, 228 | ); 229 | runOnlyForDeploymentPostprocessing = 0; 230 | }; 231 | D9FDECF644A9337728A793354C0109AD /* Headers */ = { 232 | isa = PBXHeadersBuildPhase; 233 | buildActionMask = 2147483647; 234 | files = ( 235 | 16365B0BB1E8D43EA14BBF0462676C6D /* BottomDrawer-umbrella.h in Headers */, 236 | ); 237 | runOnlyForDeploymentPostprocessing = 0; 238 | }; 239 | /* End PBXHeadersBuildPhase section */ 240 | 241 | /* Begin PBXNativeTarget section */ 242 | 6410F5E53E7D220E85C7BA09834B740D /* Pods-BottomDrawer_Example */ = { 243 | isa = PBXNativeTarget; 244 | buildConfigurationList = 1C0E331D208AE884B71FCF8E9BC01445 /* Build configuration list for PBXNativeTarget "Pods-BottomDrawer_Example" */; 245 | buildPhases = ( 246 | 736A157497668F781194C582D32012E0 /* Headers */, 247 | 85578F3235791AFBC7240BAC9A34922D /* Sources */, 248 | 70EDD3128A245086AF25E605FEC5EC46 /* Frameworks */, 249 | 595D6F99F3A7AEB586A499CE8EFFB95C /* Resources */, 250 | ); 251 | buildRules = ( 252 | ); 253 | dependencies = ( 254 | D835BEEAE91F1EE55AF73C397D81FC11 /* PBXTargetDependency */, 255 | ); 256 | name = "Pods-BottomDrawer_Example"; 257 | productName = "Pods-BottomDrawer_Example"; 258 | productReference = C07544452785C1B351C9A154C2BA70E0 /* Pods_BottomDrawer_Example.framework */; 259 | productType = "com.apple.product-type.framework"; 260 | }; 261 | 6CBE43C8B3702236231066A7E8462EB8 /* BottomDrawer-BottomDrawer */ = { 262 | isa = PBXNativeTarget; 263 | buildConfigurationList = 96D6F65E350AE7F1C6868FCA353F7594 /* Build configuration list for PBXNativeTarget "BottomDrawer-BottomDrawer" */; 264 | buildPhases = ( 265 | A5F5679CA99E7AECD942672E2903554D /* Sources */, 266 | F58D213759767EE8CEB9C55700ED5D49 /* Frameworks */, 267 | A5A25CFF8516AB3C05FFF7A7299DFBBE /* Resources */, 268 | ); 269 | buildRules = ( 270 | ); 271 | dependencies = ( 272 | ); 273 | name = "BottomDrawer-BottomDrawer"; 274 | productName = "BottomDrawer-BottomDrawer"; 275 | productReference = 21EEB8B1665DCC38A26FFD85DB6F4104 /* BottomDrawer.bundle */; 276 | productType = "com.apple.product-type.bundle"; 277 | }; 278 | 8661AD4BE103D3E0ED3A569E65C56D0F /* BottomDrawer */ = { 279 | isa = PBXNativeTarget; 280 | buildConfigurationList = 198C5CB95DE32FC9FA51F98AF9870CAA /* Build configuration list for PBXNativeTarget "BottomDrawer" */; 281 | buildPhases = ( 282 | D9FDECF644A9337728A793354C0109AD /* Headers */, 283 | 62CA25E97916B21A89E39E3F81786D70 /* Sources */, 284 | F451E5A43BB3E5DCAAAF66EAE4B17587 /* Frameworks */, 285 | 8BB5E2650336993BDAE5B0B3E158D933 /* Resources */, 286 | ); 287 | buildRules = ( 288 | ); 289 | dependencies = ( 290 | 4167EF2AF2B1FC89E63BF27765DC38D2 /* PBXTargetDependency */, 291 | ); 292 | name = BottomDrawer; 293 | productName = BottomDrawer; 294 | productReference = D9EEB361E61445F7E950198E5B18BF07 /* BottomDrawer.framework */; 295 | productType = "com.apple.product-type.framework"; 296 | }; 297 | /* End PBXNativeTarget section */ 298 | 299 | /* Begin PBXProject section */ 300 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 301 | isa = PBXProject; 302 | attributes = { 303 | LastSwiftUpdateCheck = 0930; 304 | LastUpgradeCheck = 0930; 305 | }; 306 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 307 | compatibilityVersion = "Xcode 3.2"; 308 | developmentRegion = English; 309 | hasScannedForEncodings = 0; 310 | knownRegions = ( 311 | en, 312 | ); 313 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 314 | productRefGroup = 02983A8318DBBE86F149451F69B41491 /* Products */; 315 | projectDirPath = ""; 316 | projectRoot = ""; 317 | targets = ( 318 | 8661AD4BE103D3E0ED3A569E65C56D0F /* BottomDrawer */, 319 | 6CBE43C8B3702236231066A7E8462EB8 /* BottomDrawer-BottomDrawer */, 320 | 6410F5E53E7D220E85C7BA09834B740D /* Pods-BottomDrawer_Example */, 321 | ); 322 | }; 323 | /* End PBXProject section */ 324 | 325 | /* Begin PBXResourcesBuildPhase section */ 326 | 595D6F99F3A7AEB586A499CE8EFFB95C /* Resources */ = { 327 | isa = PBXResourcesBuildPhase; 328 | buildActionMask = 2147483647; 329 | files = ( 330 | ); 331 | runOnlyForDeploymentPostprocessing = 0; 332 | }; 333 | 8BB5E2650336993BDAE5B0B3E158D933 /* Resources */ = { 334 | isa = PBXResourcesBuildPhase; 335 | buildActionMask = 2147483647; 336 | files = ( 337 | 82E1046A35C2199100BABF56D8EF3538 /* BottomDrawer.bundle in Resources */, 338 | ); 339 | runOnlyForDeploymentPostprocessing = 0; 340 | }; 341 | A5A25CFF8516AB3C05FFF7A7299DFBBE /* Resources */ = { 342 | isa = PBXResourcesBuildPhase; 343 | buildActionMask = 2147483647; 344 | files = ( 345 | 53691E9791698A24DC054116195A9732 /* Media.xcassets in Resources */, 346 | ); 347 | runOnlyForDeploymentPostprocessing = 0; 348 | }; 349 | /* End PBXResourcesBuildPhase section */ 350 | 351 | /* Begin PBXSourcesBuildPhase section */ 352 | 62CA25E97916B21A89E39E3F81786D70 /* Sources */ = { 353 | isa = PBXSourcesBuildPhase; 354 | buildActionMask = 2147483647; 355 | files = ( 356 | 29A1722EAE50CFAF5C652311BF0E8A98 /* AutoLayout+Extension.swift in Sources */, 357 | 1FCC17F9D1F4715E8E2283BD0D2C2531 /* BottomDrawer-dummy.m in Sources */, 358 | C2BB0D6F519B4083D4FDF9F31E3FF9AA /* BottomDrawer.swift in Sources */, 359 | ); 360 | runOnlyForDeploymentPostprocessing = 0; 361 | }; 362 | 85578F3235791AFBC7240BAC9A34922D /* Sources */ = { 363 | isa = PBXSourcesBuildPhase; 364 | buildActionMask = 2147483647; 365 | files = ( 366 | 5DFCB108A00890F8E47CF366CBAEB750 /* Pods-BottomDrawer_Example-dummy.m in Sources */, 367 | ); 368 | runOnlyForDeploymentPostprocessing = 0; 369 | }; 370 | A5F5679CA99E7AECD942672E2903554D /* Sources */ = { 371 | isa = PBXSourcesBuildPhase; 372 | buildActionMask = 2147483647; 373 | files = ( 374 | ); 375 | runOnlyForDeploymentPostprocessing = 0; 376 | }; 377 | /* End PBXSourcesBuildPhase section */ 378 | 379 | /* Begin PBXTargetDependency section */ 380 | 4167EF2AF2B1FC89E63BF27765DC38D2 /* PBXTargetDependency */ = { 381 | isa = PBXTargetDependency; 382 | name = "BottomDrawer-BottomDrawer"; 383 | target = 6CBE43C8B3702236231066A7E8462EB8 /* BottomDrawer-BottomDrawer */; 384 | targetProxy = 1C5943F25197E91BBB044A0D2E2EDDF8 /* PBXContainerItemProxy */; 385 | }; 386 | D835BEEAE91F1EE55AF73C397D81FC11 /* PBXTargetDependency */ = { 387 | isa = PBXTargetDependency; 388 | name = BottomDrawer; 389 | target = 8661AD4BE103D3E0ED3A569E65C56D0F /* BottomDrawer */; 390 | targetProxy = FDD46A8A5FAE6FD6AAED761C684A084C /* PBXContainerItemProxy */; 391 | }; 392 | /* End PBXTargetDependency section */ 393 | 394 | /* Begin XCBuildConfiguration section */ 395 | 194B8E80317EEDEA62E622F1C187EA0A /* Release */ = { 396 | isa = XCBuildConfiguration; 397 | baseConfigurationReference = 7A01477A4C52E1EB432077FBBE25C70B /* BottomDrawer.xcconfig */; 398 | buildSettings = { 399 | CODE_SIGN_IDENTITY = "iPhone Developer"; 400 | CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/BottomDrawer"; 401 | INFOPLIST_FILE = "Target Support Files/BottomDrawer/ResourceBundle-BottomDrawer-BottomDrawer-Info.plist"; 402 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 403 | PRODUCT_NAME = BottomDrawer; 404 | SDKROOT = iphoneos; 405 | SKIP_INSTALL = YES; 406 | TARGETED_DEVICE_FAMILY = "1,2"; 407 | WRAPPER_EXTENSION = bundle; 408 | }; 409 | name = Release; 410 | }; 411 | 5153DC2E9BB4F6D6F85AF7C0A4A2A27F /* Debug */ = { 412 | isa = XCBuildConfiguration; 413 | buildSettings = { 414 | ALWAYS_SEARCH_USER_PATHS = NO; 415 | CLANG_ANALYZER_NONNULL = YES; 416 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 417 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 418 | CLANG_CXX_LIBRARY = "libc++"; 419 | CLANG_ENABLE_MODULES = YES; 420 | CLANG_ENABLE_OBJC_ARC = YES; 421 | CLANG_ENABLE_OBJC_WEAK = YES; 422 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 423 | CLANG_WARN_BOOL_CONVERSION = YES; 424 | CLANG_WARN_COMMA = YES; 425 | CLANG_WARN_CONSTANT_CONVERSION = YES; 426 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 427 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 428 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 429 | CLANG_WARN_EMPTY_BODY = YES; 430 | CLANG_WARN_ENUM_CONVERSION = YES; 431 | CLANG_WARN_INFINITE_RECURSION = YES; 432 | CLANG_WARN_INT_CONVERSION = YES; 433 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 434 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 435 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 436 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 437 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 438 | CLANG_WARN_STRICT_PROTOTYPES = YES; 439 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 440 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 441 | CLANG_WARN_UNREACHABLE_CODE = YES; 442 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 443 | COPY_PHASE_STRIP = NO; 444 | DEBUG_INFORMATION_FORMAT = dwarf; 445 | ENABLE_STRICT_OBJC_MSGSEND = YES; 446 | ENABLE_TESTABILITY = YES; 447 | GCC_C_LANGUAGE_STANDARD = gnu11; 448 | GCC_DYNAMIC_NO_PIC = NO; 449 | GCC_NO_COMMON_BLOCKS = YES; 450 | GCC_OPTIMIZATION_LEVEL = 0; 451 | GCC_PREPROCESSOR_DEFINITIONS = ( 452 | "POD_CONFIGURATION_DEBUG=1", 453 | "DEBUG=1", 454 | "$(inherited)", 455 | ); 456 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 457 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 458 | GCC_WARN_UNDECLARED_SELECTOR = YES; 459 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 460 | GCC_WARN_UNUSED_FUNCTION = YES; 461 | GCC_WARN_UNUSED_VARIABLE = YES; 462 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 463 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 464 | MTL_FAST_MATH = YES; 465 | ONLY_ACTIVE_ARCH = YES; 466 | PRODUCT_NAME = "$(TARGET_NAME)"; 467 | STRIP_INSTALLED_PRODUCT = NO; 468 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 469 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 470 | SWIFT_VERSION = 4.2; 471 | SYMROOT = "${SRCROOT}/../build"; 472 | }; 473 | name = Debug; 474 | }; 475 | 5794129D5C04D3ACAC573BE58E83AE88 /* Debug */ = { 476 | isa = XCBuildConfiguration; 477 | baseConfigurationReference = 7A01477A4C52E1EB432077FBBE25C70B /* BottomDrawer.xcconfig */; 478 | buildSettings = { 479 | CODE_SIGN_IDENTITY = "iPhone Developer"; 480 | CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/BottomDrawer"; 481 | INFOPLIST_FILE = "Target Support Files/BottomDrawer/ResourceBundle-BottomDrawer-BottomDrawer-Info.plist"; 482 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 483 | PRODUCT_NAME = BottomDrawer; 484 | SDKROOT = iphoneos; 485 | SKIP_INSTALL = YES; 486 | TARGETED_DEVICE_FAMILY = "1,2"; 487 | WRAPPER_EXTENSION = bundle; 488 | }; 489 | name = Debug; 490 | }; 491 | 6A949A208667F02694AF29D5DCC8D4BF /* Release */ = { 492 | isa = XCBuildConfiguration; 493 | buildSettings = { 494 | ALWAYS_SEARCH_USER_PATHS = NO; 495 | CLANG_ANALYZER_NONNULL = YES; 496 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 497 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 498 | CLANG_CXX_LIBRARY = "libc++"; 499 | CLANG_ENABLE_MODULES = YES; 500 | CLANG_ENABLE_OBJC_ARC = YES; 501 | CLANG_ENABLE_OBJC_WEAK = YES; 502 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 503 | CLANG_WARN_BOOL_CONVERSION = YES; 504 | CLANG_WARN_COMMA = YES; 505 | CLANG_WARN_CONSTANT_CONVERSION = YES; 506 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 507 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 508 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 509 | CLANG_WARN_EMPTY_BODY = YES; 510 | CLANG_WARN_ENUM_CONVERSION = YES; 511 | CLANG_WARN_INFINITE_RECURSION = YES; 512 | CLANG_WARN_INT_CONVERSION = YES; 513 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 514 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 515 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 516 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 517 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 518 | CLANG_WARN_STRICT_PROTOTYPES = YES; 519 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 520 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 521 | CLANG_WARN_UNREACHABLE_CODE = YES; 522 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 523 | COPY_PHASE_STRIP = NO; 524 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 525 | ENABLE_NS_ASSERTIONS = NO; 526 | ENABLE_STRICT_OBJC_MSGSEND = YES; 527 | GCC_C_LANGUAGE_STANDARD = gnu11; 528 | GCC_NO_COMMON_BLOCKS = YES; 529 | GCC_PREPROCESSOR_DEFINITIONS = ( 530 | "POD_CONFIGURATION_RELEASE=1", 531 | "$(inherited)", 532 | ); 533 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 534 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 535 | GCC_WARN_UNDECLARED_SELECTOR = YES; 536 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 537 | GCC_WARN_UNUSED_FUNCTION = YES; 538 | GCC_WARN_UNUSED_VARIABLE = YES; 539 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 540 | MTL_ENABLE_DEBUG_INFO = NO; 541 | MTL_FAST_MATH = YES; 542 | PRODUCT_NAME = "$(TARGET_NAME)"; 543 | STRIP_INSTALLED_PRODUCT = NO; 544 | SWIFT_COMPILATION_MODE = wholemodule; 545 | SWIFT_OPTIMIZATION_LEVEL = "-O"; 546 | SWIFT_VERSION = 4.2; 547 | SYMROOT = "${SRCROOT}/../build"; 548 | }; 549 | name = Release; 550 | }; 551 | 7D8008EB0F14C3003BA4E8B940C47FBB /* Release */ = { 552 | isa = XCBuildConfiguration; 553 | baseConfigurationReference = 91F381B4407715A3E4E5B2C1BF9FD443 /* Pods-BottomDrawer_Example.release.xcconfig */; 554 | buildSettings = { 555 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 556 | CODE_SIGN_IDENTITY = ""; 557 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 558 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 559 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 560 | CURRENT_PROJECT_VERSION = 1; 561 | DEFINES_MODULE = YES; 562 | DYLIB_COMPATIBILITY_VERSION = 1; 563 | DYLIB_CURRENT_VERSION = 1; 564 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 565 | INFOPLIST_FILE = "Target Support Files/Pods-BottomDrawer_Example/Pods-BottomDrawer_Example-Info.plist"; 566 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 567 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 568 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 569 | MACH_O_TYPE = staticlib; 570 | MODULEMAP_FILE = "Target Support Files/Pods-BottomDrawer_Example/Pods-BottomDrawer_Example.modulemap"; 571 | OTHER_LDFLAGS = ""; 572 | OTHER_LIBTOOLFLAGS = ""; 573 | PODS_ROOT = "$(SRCROOT)"; 574 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 575 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 576 | SDKROOT = iphoneos; 577 | SKIP_INSTALL = YES; 578 | TARGETED_DEVICE_FAMILY = "1,2"; 579 | VALIDATE_PRODUCT = YES; 580 | VERSIONING_SYSTEM = "apple-generic"; 581 | VERSION_INFO_PREFIX = ""; 582 | }; 583 | name = Release; 584 | }; 585 | CA1A95F35A243DB149114CA8EAF29A1D /* Release */ = { 586 | isa = XCBuildConfiguration; 587 | baseConfigurationReference = 7A01477A4C52E1EB432077FBBE25C70B /* BottomDrawer.xcconfig */; 588 | buildSettings = { 589 | CODE_SIGN_IDENTITY = ""; 590 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 591 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 592 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 593 | CURRENT_PROJECT_VERSION = 1; 594 | DEFINES_MODULE = YES; 595 | DYLIB_COMPATIBILITY_VERSION = 1; 596 | DYLIB_CURRENT_VERSION = 1; 597 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 598 | GCC_PREFIX_HEADER = "Target Support Files/BottomDrawer/BottomDrawer-prefix.pch"; 599 | INFOPLIST_FILE = "Target Support Files/BottomDrawer/BottomDrawer-Info.plist"; 600 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 601 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 602 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 603 | MODULEMAP_FILE = "Target Support Files/BottomDrawer/BottomDrawer.modulemap"; 604 | PRODUCT_MODULE_NAME = BottomDrawer; 605 | PRODUCT_NAME = BottomDrawer; 606 | SDKROOT = iphoneos; 607 | SKIP_INSTALL = YES; 608 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 609 | SWIFT_VERSION = 4.0; 610 | TARGETED_DEVICE_FAMILY = "1,2"; 611 | VALIDATE_PRODUCT = YES; 612 | VERSIONING_SYSTEM = "apple-generic"; 613 | VERSION_INFO_PREFIX = ""; 614 | }; 615 | name = Release; 616 | }; 617 | D2B14F0E4A23B963F1332E97E5586EB5 /* Debug */ = { 618 | isa = XCBuildConfiguration; 619 | baseConfigurationReference = 91A738D18AA95664D6E0115C52B071F1 /* Pods-BottomDrawer_Example.debug.xcconfig */; 620 | buildSettings = { 621 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 622 | CODE_SIGN_IDENTITY = ""; 623 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 624 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 625 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 626 | CURRENT_PROJECT_VERSION = 1; 627 | DEFINES_MODULE = YES; 628 | DYLIB_COMPATIBILITY_VERSION = 1; 629 | DYLIB_CURRENT_VERSION = 1; 630 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 631 | INFOPLIST_FILE = "Target Support Files/Pods-BottomDrawer_Example/Pods-BottomDrawer_Example-Info.plist"; 632 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 633 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 634 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 635 | MACH_O_TYPE = staticlib; 636 | MODULEMAP_FILE = "Target Support Files/Pods-BottomDrawer_Example/Pods-BottomDrawer_Example.modulemap"; 637 | OTHER_LDFLAGS = ""; 638 | OTHER_LIBTOOLFLAGS = ""; 639 | PODS_ROOT = "$(SRCROOT)"; 640 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 641 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 642 | SDKROOT = iphoneos; 643 | SKIP_INSTALL = YES; 644 | TARGETED_DEVICE_FAMILY = "1,2"; 645 | VERSIONING_SYSTEM = "apple-generic"; 646 | VERSION_INFO_PREFIX = ""; 647 | }; 648 | name = Debug; 649 | }; 650 | DFD21DB300818C717420B33434BF658C /* Debug */ = { 651 | isa = XCBuildConfiguration; 652 | baseConfigurationReference = 7A01477A4C52E1EB432077FBBE25C70B /* BottomDrawer.xcconfig */; 653 | buildSettings = { 654 | CODE_SIGN_IDENTITY = ""; 655 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 656 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 657 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 658 | CURRENT_PROJECT_VERSION = 1; 659 | DEFINES_MODULE = YES; 660 | DYLIB_COMPATIBILITY_VERSION = 1; 661 | DYLIB_CURRENT_VERSION = 1; 662 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 663 | GCC_PREFIX_HEADER = "Target Support Files/BottomDrawer/BottomDrawer-prefix.pch"; 664 | INFOPLIST_FILE = "Target Support Files/BottomDrawer/BottomDrawer-Info.plist"; 665 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 666 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 667 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 668 | MODULEMAP_FILE = "Target Support Files/BottomDrawer/BottomDrawer.modulemap"; 669 | PRODUCT_MODULE_NAME = BottomDrawer; 670 | PRODUCT_NAME = BottomDrawer; 671 | SDKROOT = iphoneos; 672 | SKIP_INSTALL = YES; 673 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 674 | SWIFT_VERSION = 4.0; 675 | TARGETED_DEVICE_FAMILY = "1,2"; 676 | VERSIONING_SYSTEM = "apple-generic"; 677 | VERSION_INFO_PREFIX = ""; 678 | }; 679 | name = Debug; 680 | }; 681 | /* End XCBuildConfiguration section */ 682 | 683 | /* Begin XCConfigurationList section */ 684 | 198C5CB95DE32FC9FA51F98AF9870CAA /* Build configuration list for PBXNativeTarget "BottomDrawer" */ = { 685 | isa = XCConfigurationList; 686 | buildConfigurations = ( 687 | DFD21DB300818C717420B33434BF658C /* Debug */, 688 | CA1A95F35A243DB149114CA8EAF29A1D /* Release */, 689 | ); 690 | defaultConfigurationIsVisible = 0; 691 | defaultConfigurationName = Release; 692 | }; 693 | 1C0E331D208AE884B71FCF8E9BC01445 /* Build configuration list for PBXNativeTarget "Pods-BottomDrawer_Example" */ = { 694 | isa = XCConfigurationList; 695 | buildConfigurations = ( 696 | D2B14F0E4A23B963F1332E97E5586EB5 /* Debug */, 697 | 7D8008EB0F14C3003BA4E8B940C47FBB /* Release */, 698 | ); 699 | defaultConfigurationIsVisible = 0; 700 | defaultConfigurationName = Release; 701 | }; 702 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 703 | isa = XCConfigurationList; 704 | buildConfigurations = ( 705 | 5153DC2E9BB4F6D6F85AF7C0A4A2A27F /* Debug */, 706 | 6A949A208667F02694AF29D5DCC8D4BF /* Release */, 707 | ); 708 | defaultConfigurationIsVisible = 0; 709 | defaultConfigurationName = Release; 710 | }; 711 | 96D6F65E350AE7F1C6868FCA353F7594 /* Build configuration list for PBXNativeTarget "BottomDrawer-BottomDrawer" */ = { 712 | isa = XCConfigurationList; 713 | buildConfigurations = ( 714 | 5794129D5C04D3ACAC573BE58E83AE88 /* Debug */, 715 | 194B8E80317EEDEA62E622F1C187EA0A /* Release */, 716 | ); 717 | defaultConfigurationIsVisible = 0; 718 | defaultConfigurationName = Release; 719 | }; 720 | /* End XCConfigurationList section */ 721 | }; 722 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 723 | } 724 | --------------------------------------------------------------------------------