├── .swift-version ├── _Pods.xcodeproj ├── .gitignore ├── ScreenShot ├── ScreenShot1.png └── ScreenShot2.gif ├── ZHDropDownMenu ├── default_down.png └── ZHDropDownMenu.swift ├── Example ├── ZHDropDownMenu │ ├── Images.xcassets │ │ ├── Contents.json │ │ ├── default_down.imageset │ │ │ ├── default_down.png │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ ├── AppDelegate.swift │ ├── ViewController.swift │ └── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard ├── Pods │ ├── Pods.xcodeproj │ │ ├── project.xcworkspace │ │ │ └── contents.xcworkspacedata │ │ ├── xcuserdata │ │ │ └── zhubch.xcuserdatad │ │ │ │ └── xcschemes │ │ │ │ ├── xcschememanagement.plist │ │ │ │ ├── ZHDropDownMenu.xcscheme │ │ │ │ ├── Pods-ZHDropDownMenu_Tests.xcscheme │ │ │ │ └── Pods-ZHDropDownMenu_Example.xcscheme │ │ └── project.pbxproj │ ├── Target Support Files │ │ ├── ZHDropDownMenu │ │ │ ├── ZHDropDownMenu.modulemap │ │ │ ├── ZHDropDownMenu-dummy.m │ │ │ ├── ZHDropDownMenu-prefix.pch │ │ │ ├── ZHDropDownMenu-umbrella.h │ │ │ ├── ZHDropDownMenu.xcconfig │ │ │ └── Info.plist │ │ ├── Pods-ZHDropDownMenu_Tests │ │ │ ├── Pods-ZHDropDownMenu_Tests-acknowledgements.markdown │ │ │ ├── Pods-ZHDropDownMenu_Tests.modulemap │ │ │ ├── Pods-ZHDropDownMenu_Tests-dummy.m │ │ │ ├── Pods-ZHDropDownMenu_Tests-umbrella.h │ │ │ ├── Pods-ZHDropDownMenu_Tests.debug.xcconfig │ │ │ ├── Pods-ZHDropDownMenu_Tests.release.xcconfig │ │ │ ├── Info.plist │ │ │ ├── Pods-ZHDropDownMenu_Tests-acknowledgements.plist │ │ │ ├── Pods-ZHDropDownMenu_Tests-frameworks.sh │ │ │ └── Pods-ZHDropDownMenu_Tests-resources.sh │ │ └── Pods-ZHDropDownMenu_Example │ │ │ ├── Pods-ZHDropDownMenu_Example.modulemap │ │ │ ├── Pods-ZHDropDownMenu_Example-dummy.m │ │ │ ├── Pods-ZHDropDownMenu_Example-umbrella.h │ │ │ ├── Pods-ZHDropDownMenu_Example.debug.xcconfig │ │ │ ├── Pods-ZHDropDownMenu_Example.release.xcconfig │ │ │ ├── Info.plist │ │ │ ├── Pods-ZHDropDownMenu_Example-acknowledgements.markdown │ │ │ ├── Pods-ZHDropDownMenu_Example-acknowledgements.plist │ │ │ ├── Pods-ZHDropDownMenu_Example-frameworks.sh │ │ │ └── Pods-ZHDropDownMenu_Example-resources.sh │ ├── Manifest.lock │ ├── Local Podspecs │ │ └── ZHDropDownMenu.podspec.json │ └── ZHDropDownMenu │ │ ├── README.md │ │ └── LICENSE ├── Podfile ├── ZHDropDownMenu.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── ZHDropDownMenu-Example.xcscheme │ └── project.pbxproj ├── ZHDropDownMenu.xcworkspace │ └── contents.xcworkspacedata ├── Podfile.lock └── Tests │ ├── Info.plist │ └── Tests.swift ├── .travis.yml ├── ZHDropDownMenu.podspec ├── LICENSE └── README.md /.swift-version: -------------------------------------------------------------------------------- 1 | 3.0 -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.ipa 2 | *.xcuserstate 3 | *.DS_Store 4 | 5 | *.xcbkptlist 6 | -------------------------------------------------------------------------------- /ScreenShot/ScreenShot1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhubinchen/DropDownMenu/HEAD/ScreenShot/ScreenShot1.png -------------------------------------------------------------------------------- /ScreenShot/ScreenShot2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhubinchen/DropDownMenu/HEAD/ScreenShot/ScreenShot2.gif -------------------------------------------------------------------------------- /ZHDropDownMenu/default_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhubinchen/DropDownMenu/HEAD/ZHDropDownMenu/default_down.png -------------------------------------------------------------------------------- /Example/ZHDropDownMenu/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /Example/ZHDropDownMenu/Images.xcassets/default_down.imageset/default_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhubinchen/DropDownMenu/HEAD/Example/ZHDropDownMenu/Images.xcassets/default_down.imageset/default_down.png -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ZHDropDownMenu/ZHDropDownMenu.modulemap: -------------------------------------------------------------------------------- 1 | framework module ZHDropDownMenu { 2 | umbrella header "ZHDropDownMenu-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ZHDropDownMenu/ZHDropDownMenu-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_ZHDropDownMenu : NSObject 3 | @end 4 | @implementation PodsDummy_ZHDropDownMenu 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'ZHDropDownMenu_Example' do 4 | pod 'ZHDropDownMenu', :path => '../' 5 | 6 | target 'ZHDropDownMenu_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ZHDropDownMenu_Tests/Pods-ZHDropDownMenu_Tests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | Generated by CocoaPods - https://cocoapods.org 4 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ZHDropDownMenu_Tests/Pods-ZHDropDownMenu_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_ZHDropDownMenu_Tests { 2 | umbrella header "Pods-ZHDropDownMenu_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ZHDropDownMenu_Example/Pods-ZHDropDownMenu_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_ZHDropDownMenu_Example { 2 | umbrella header "Pods-ZHDropDownMenu_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ZHDropDownMenu_Tests/Pods-ZHDropDownMenu_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_ZHDropDownMenu_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_ZHDropDownMenu_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/ZHDropDownMenu.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ZHDropDownMenu_Example/Pods-ZHDropDownMenu_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_ZHDropDownMenu_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_ZHDropDownMenu_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ZHDropDownMenu/ZHDropDownMenu-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/ZHDropDownMenu.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - ZHDropDownMenu (1.0.0) 3 | 4 | DEPENDENCIES: 5 | - ZHDropDownMenu (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | ZHDropDownMenu: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | ZHDropDownMenu: 0ce0109ccfb0e99c123cb009d4c31e8f0e5927a4 13 | 14 | PODFILE CHECKSUM: 43ba16622c953ab38de8c1fe54d4963646952eb9 15 | 16 | COCOAPODS: 1.3.0 17 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - ZHDropDownMenu (1.0.0) 3 | 4 | DEPENDENCIES: 5 | - ZHDropDownMenu (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | ZHDropDownMenu: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | ZHDropDownMenu: 0ce0109ccfb0e99c123cb009d4c31e8f0e5927a4 13 | 14 | PODFILE CHECKSUM: 43ba16622c953ab38de8c1fe54d4963646952eb9 15 | 16 | COCOAPODS: 1.3.0 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ZHDropDownMenu/ZHDropDownMenu-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 ZHDropDownMenuVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char ZHDropDownMenuVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/ZHDropDownMenu/Images.xcassets/default_down.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "default_down.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-ZHDropDownMenu_Tests/Pods-ZHDropDownMenu_Tests-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_ZHDropDownMenu_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_ZHDropDownMenu_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ZHDropDownMenu_Example/Pods-ZHDropDownMenu_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_ZHDropDownMenu_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_ZHDropDownMenu_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * http://www.objc.io/issue-6/travis-ci.html 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/ZHDropDownMenu.xcworkspace -scheme ZHDropDownMenu-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ZHDropDownMenu_Tests/Pods-ZHDropDownMenu_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/ZHDropDownMenu" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/ZHDropDownMenu/ZHDropDownMenu.framework/Headers" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ZHDropDownMenu_Tests/Pods-ZHDropDownMenu_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/ZHDropDownMenu" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/ZHDropDownMenu/ZHDropDownMenu.framework/Headers" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ZHDropDownMenu/ZHDropDownMenu.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_MODULES_AUTOLINK = YES 2 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/ZHDropDownMenu 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 5 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT} 9 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 10 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | SKIP_INSTALL = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/zhubch.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Pods-ZHDropDownMenu_Example.xcscheme 8 | 9 | isShown 10 | 11 | 12 | Pods-ZHDropDownMenu_Tests.xcscheme 13 | 14 | isShown 15 | 16 | 17 | ZHDropDownMenu.xcscheme 18 | 19 | isShown 20 | 21 | 22 | 23 | SuppressBuildableAutocreation 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/ZHDropDownMenu.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ZHDropDownMenu", 3 | "version": "1.0.0", 4 | "summary": "An open source dropdown menu for iOS written in swift, it is easy to use in your project", 5 | "homepage": "https://github.com/zhubinchen/DropDownMenu", 6 | "license": { 7 | "type": "MIT", 8 | "file": "LICENSE" 9 | }, 10 | "authors": { 11 | "cheng4741@qq.com": "cheng4741@qq.com" 12 | }, 13 | "source": { 14 | "git": "https://github.com/zhubinchen/DropDownMenu.git", 15 | "tag": "1.0.0" 16 | }, 17 | "platforms": { 18 | "ios": "8.0" 19 | }, 20 | "source_files": "ZHDropDownMenu/*.swift", 21 | "resources": "ZHDropDownMenu/*.png", 22 | "requires_arc": true, 23 | "xcconfig": { 24 | "CLANG_MODULES_AUTOLINK": "YES" 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Example/Tests/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 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ZHDropDownMenu_Example/Pods-ZHDropDownMenu_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | CLANG_MODULES_AUTOLINK = YES 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/ZHDropDownMenu" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/ZHDropDownMenu/ZHDropDownMenu.framework/Headers" 7 | OTHER_LDFLAGS = $(inherited) -framework "ZHDropDownMenu" 8 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 9 | PODS_BUILD_DIR = $BUILD_DIR 10 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 11 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 12 | PODS_ROOT = ${SRCROOT}/Pods 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ZHDropDownMenu_Example/Pods-ZHDropDownMenu_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | CLANG_MODULES_AUTOLINK = YES 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/ZHDropDownMenu" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/ZHDropDownMenu/ZHDropDownMenu.framework/Headers" 7 | OTHER_LDFLAGS = $(inherited) -framework "ZHDropDownMenu" 8 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 9 | PODS_BUILD_DIR = $BUILD_DIR 10 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 11 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 12 | PODS_ROOT = ${SRCROOT}/Pods 13 | -------------------------------------------------------------------------------- /ZHDropDownMenu.podspec: -------------------------------------------------------------------------------- 1 | 2 | Pod::Spec.new do |s| 3 | s.name = 'ZHDropDownMenu' 4 | s.version = '1.0.0' 5 | s.summary = 'An open source dropdown menu for iOS written in swift, it is easy to use in your project' 6 | 7 | 8 | s.homepage = 'https://github.com/zhubinchen/DropDownMenu' 9 | s.license = { :type => 'MIT', :file => 'LICENSE' } 10 | s.author = { 'cheng4741@qq.com' => 'cheng4741@qq.com' } 11 | s.source = { :git => 'https://github.com/zhubinchen/DropDownMenu.git', :tag => s.version.to_s } 12 | 13 | s.ios.deployment_target = '8.0' 14 | s.platform = :ios, "8.0" 15 | 16 | s.source_files = 'ZHDropDownMenu/*.swift' 17 | s.resources = 'ZHDropDownMenu/*.png' 18 | 19 | s.requires_arc = true 20 | s.xcconfig = { 'CLANG_MODULES_AUTOLINK' => 'YES' } 21 | 22 | 23 | 24 | end 25 | -------------------------------------------------------------------------------- /Example/Tests/Tests.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import XCTest 3 | import ZHDropDownMenu 4 | 5 | class Tests: XCTestCase { 6 | 7 | override func setUp() { 8 | super.setUp() 9 | // Put setup code here. This method is called before the invocation of each test method in the class. 10 | } 11 | 12 | override func tearDown() { 13 | // Put teardown code here. This method is called after the invocation of each test method in the class. 14 | super.tearDown() 15 | } 16 | 17 | func testExample() { 18 | // This is an example of a functional test case. 19 | XCTAssert(true, "Pass") 20 | } 21 | 22 | func testPerformanceExample() { 23 | // This is an example of a performance test case. 24 | self.measure() { 25 | // Put the code you want to measure the time of here. 26 | } 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ZHDropDownMenu/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 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ZHDropDownMenu_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 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ZHDropDownMenu_Tests/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 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ZHDropDownMenu_Tests/Pods-ZHDropDownMenu_Tests-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 | Generated by CocoaPods - https://cocoapods.org 18 | Title 19 | 20 | Type 21 | PSGroupSpecifier 22 | 23 | 24 | StringsTable 25 | Acknowledgements 26 | Title 27 | Acknowledgements 28 | 29 | 30 | -------------------------------------------------------------------------------- /Example/Pods/ZHDropDownMenu/README.md: -------------------------------------------------------------------------------- 1 | # ZHDropDownMenu 2 | 3 | [![CI Status](http://img.shields.io/travis/cheng4741@qq.com/ZHDropDownMenu.svg?style=flat)](https://travis-ci.org/cheng4741@qq.com/ZHDropDownMenu) 4 | [![Version](https://img.shields.io/cocoapods/v/ZHDropDownMenu.svg?style=flat)](http://cocoapods.org/pods/ZHDropDownMenu) 5 | [![License](https://img.shields.io/cocoapods/l/ZHDropDownMenu.svg?style=flat)](http://cocoapods.org/pods/ZHDropDownMenu) 6 | [![Platform](https://img.shields.io/cocoapods/p/ZHDropDownMenu.svg?style=flat)](http://cocoapods.org/pods/ZHDropDownMenu) 7 | 8 | ## Example 9 | 10 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 11 | 12 | ## Requirements 13 | 14 | ## Installation 15 | 16 | ZHDropDownMenu is available through [CocoaPods](http://cocoapods.org). To install 17 | it, simply add the following line to your Podfile: 18 | 19 | ```ruby 20 | pod 'ZHDropDownMenu' 21 | ``` 22 | 23 | ## Author 24 | 25 | cheng4741@qq.com, cheng4741@qq.com 26 | 27 | ## License 28 | 29 | ZHDropDownMenu is available under the MIT license. See the LICENSE file for more info. 30 | -------------------------------------------------------------------------------- /Example/ZHDropDownMenu/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 | } -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017 cheng4741@qq.com 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/Pods/ZHDropDownMenu/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017 cheng4741@qq.com 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/ZHDropDownMenu/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/Target Support Files/Pods-ZHDropDownMenu_Example/Pods-ZHDropDownMenu_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## ZHDropDownMenu 5 | 6 | Copyright (c) 2017 cheng4741@qq.com 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 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ZHDropDownMenu 2 | 3 | [![CI Status](http://img.shields.io/travis/cheng4741@qq.com/ZHDropDownMenu.svg?style=flat)](https://travis-ci.org/cheng4741@qq.com/ZHDropDownMenu) 4 | [![Version](https://img.shields.io/cocoapods/v/ZHDropDownMenu.svg?style=flat)](http://cocoapods.org/pods/ZHDropDownMenu) 5 | [![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](http://cocoapods.org/pods/ZHDropDownMenu) 6 | [![Platform](https://img.shields.io/cocoapods/p/ZHDropDownMenu.svg?style=flat)](http://cocoapods.org/pods/ZHDropDownMenu) 7 | 8 | ## Example 9 | 10 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 11 | 12 | ![](ScreenShot/ScreenShot2.gif) 13 | 14 | ## Requirements 15 | * Swift 4.0 16 | * iOS 8+ 17 | 18 | ## Useage 19 | 20 | 1. drag a view into Storyboard, and set its class to `ZHDropDownMenu ` 21 | 22 | ![](ScreenShot/ScreenShot1.png) 23 | 24 | 25 | 2. set options & other properties 26 | 27 | ``` 28 | menu.options = ["1992","1993","1994","1995","1996","1997","1998"]//设置下拉列表项数据 29 | menu.defaultValue = "1992" //设置默认值 30 | menu.editable = false //禁止编辑 31 | menu.showBorder = false //不显示边框 32 | menu.delegate = self //设置代理 33 | ``` 34 | 35 | 36 | 3. Implement the delegate 37 | 38 | ``` 39 | //选择完后回调 40 | func dropDownMenu(menu: ZHDropDownMenu!, didChoose index: Int) { 41 | print("\(menu) choosed at index \(index)") 42 | } 43 | 44 | //编辑完成后回调 45 | func dropDownMenu(menu: ZHDropDownMenu!, didInput text: String!) { 46 | print("\(menu) input text \(text)") 47 | } 48 | ``` 49 | 50 | ## Installation 51 | 52 | ZHDropDownMenu is available through [CocoaPods](http://cocoapods.org). To install 53 | it, simply add the following line to your Podfile: 54 | 55 | ```ruby 56 | pod 'ZHDropDownMenu' 57 | ``` 58 | 59 | ## Author 60 | 61 | cheng4741@qq.com 62 | 63 | ## License 64 | 65 | ZHDropDownMenu is available under the MIT license. See the LICENSE file for more info. 66 | -------------------------------------------------------------------------------- /Example/ZHDropDownMenu/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // ZHDropDownMenu 4 | // 5 | // Created by cheng4741@qq.com on 12/28/2017. 6 | // Copyright (c) 2017 cheng4741@qq.com. 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/Pods.xcodeproj/xcuserdata/zhubch.xcuserdatad/xcschemes/ZHDropDownMenu.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 45 | 46 | 52 | 53 | 55 | 56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ZHDropDownMenu_Example/Pods-ZHDropDownMenu_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) 2017 cheng4741@qq.com <cheng4741@qq.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 | ZHDropDownMenu 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/Pods/Pods.xcodeproj/xcuserdata/zhubch.xcuserdatad/xcschemes/Pods-ZHDropDownMenu_Tests.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 31 | 32 | 33 | 34 | 35 | 36 | 47 | 48 | 54 | 55 | 56 | 57 | 58 | 59 | 65 | 66 | 68 | 69 | 72 | 73 | 74 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/zhubch.xcuserdatad/xcschemes/Pods-ZHDropDownMenu_Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 31 | 32 | 33 | 34 | 35 | 36 | 47 | 48 | 54 | 55 | 56 | 57 | 58 | 59 | 65 | 66 | 68 | 69 | 72 | 73 | 74 | -------------------------------------------------------------------------------- /Example/ZHDropDownMenu/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // ZHDropDownMenu-Demo 4 | // 5 | // Created by zhubch on 3/8/16. 6 | // 7 | // Copyright (c) 2016 zhubch 8 | // 9 | // Permission is hereby granted, free of charge, to any person obtaining a copy 10 | // of this software and associated documentation files (the "Software"), to deal 11 | // in the Software without restriction, including without limitation the rights 12 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 13 | // copies of the Software, and to permit persons to whom the Software is 14 | // furnished to do so, subject to the following conditions: 15 | // 16 | // The above copyright notice and this permission notice shall be included in all 17 | // copies or substantial portions of the Software. 18 | // 19 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 22 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 23 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 24 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 25 | // SOFTWARE. 26 | 27 | import UIKit 28 | import ZHDropDownMenu 29 | 30 | class ViewController: UIViewController, ZHDropDownMenuDelegate{ 31 | 32 | 33 | 34 | @IBOutlet weak var menu1: ZHDropDownMenu! 35 | @IBOutlet weak var menu2: ZHDropDownMenu! 36 | @IBOutlet weak var menu3: ZHDropDownMenu! 37 | @IBOutlet weak var menu4: ZHDropDownMenu! 38 | 39 | override func viewDidLoad() { 40 | super.viewDidLoad() 41 | 42 | self.title = "ZHDropDownMenu" 43 | 44 | menu1.options = ["北京","南昌","深圳","西安","上海","厦门","广州","北京","南昌","深圳","西安","上海","厦门","广州"] //设置下拉列表项数据 45 | menu1.menuHeight = 240;//设置最大高度 46 | 47 | menu2.options = ["男","女"] 48 | menu2.showBorder = false //不显示边框 49 | menu2.menuHeight = 100;//设置最大高度 50 | 51 | 52 | menu3.options = ["1992","1993","1994","1995","1996","1997","1998"] 53 | menu3.defaultValue = "1992" //设置默认值 54 | menu3.showBorder = false 55 | 56 | menu4.options = ["天气太冷了","没睡好觉,困死了","就是不想上班"] 57 | menu4.editable = true //可编辑 58 | 59 | menu1.delegate = self //设置代理 60 | menu2.delegate = self 61 | menu3.delegate = self 62 | menu4.delegate = self 63 | 64 | // test() //自动刷新UI 65 | } 66 | 67 | func test() { 68 | 69 | DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + 5) { 70 | self.menu1.menuHeight = 150.0 71 | } 72 | 73 | DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + 10) { 74 | self.menu1.options = ["I can","Eat","Glass"] 75 | } 76 | 77 | DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + 15) { 78 | self.menu1.rowHeight = 50.0 79 | } 80 | } 81 | 82 | //选择完后回调 83 | func dropDownMenu(_ menu: ZHDropDownMenu, didSelect index: Int) { 84 | print("\(menu) choosed at index \(index)") 85 | } 86 | 87 | //编辑完成后回调 88 | func dropDownMenu(_ menu: ZHDropDownMenu, didEdit text: String) { 89 | print("\(menu) input text \(text)") 90 | } 91 | 92 | } 93 | 94 | -------------------------------------------------------------------------------- /Example/ZHDropDownMenu/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 20 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ZHDropDownMenu_Tests/Pods-ZHDropDownMenu_Tests-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 10 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 11 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 12 | 13 | install_framework() 14 | { 15 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 16 | local source="${BUILT_PRODUCTS_DIR}/$1" 17 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 18 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 19 | elif [ -r "$1" ]; then 20 | local source="$1" 21 | fi 22 | 23 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 24 | 25 | if [ -L "${source}" ]; then 26 | echo "Symlinked..." 27 | source="$(readlink "${source}")" 28 | fi 29 | 30 | # Use filter instead of exclude so missing patterns don't throw errors. 31 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 32 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 33 | 34 | local basename 35 | basename="$(basename -s .framework "$1")" 36 | binary="${destination}/${basename}.framework/${basename}" 37 | if ! [ -r "$binary" ]; then 38 | binary="${destination}/${basename}" 39 | fi 40 | 41 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 42 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 43 | strip_invalid_archs "$binary" 44 | fi 45 | 46 | # Resign the code if required by the build settings to avoid unstable apps 47 | code_sign_if_enabled "${destination}/$(basename "$1")" 48 | 49 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 50 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 51 | local swift_runtime_libs 52 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 53 | for lib in $swift_runtime_libs; do 54 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 55 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 56 | code_sign_if_enabled "${destination}/${lib}" 57 | done 58 | fi 59 | } 60 | 61 | # Copies the dSYM of a vendored framework 62 | install_dsym() { 63 | local source="$1" 64 | if [ -r "$source" ]; then 65 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DWARF_DSYM_FOLDER_PATH}\"" 66 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DWARF_DSYM_FOLDER_PATH}" 67 | fi 68 | } 69 | 70 | # Signs a framework with the provided identity 71 | code_sign_if_enabled() { 72 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 73 | # Use the current code_sign_identitiy 74 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 75 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 76 | 77 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 78 | code_sign_cmd="$code_sign_cmd &" 79 | fi 80 | echo "$code_sign_cmd" 81 | eval "$code_sign_cmd" 82 | fi 83 | } 84 | 85 | # Strip invalid architectures 86 | strip_invalid_archs() { 87 | binary="$1" 88 | # Get architectures for current file 89 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 90 | stripped="" 91 | for arch in $archs; do 92 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 93 | # Strip non-valid architectures in-place 94 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 95 | stripped="$stripped $arch" 96 | fi 97 | done 98 | if [[ "$stripped" ]]; then 99 | echo "Stripped $binary of architectures:$stripped" 100 | fi 101 | } 102 | 103 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 104 | wait 105 | fi 106 | -------------------------------------------------------------------------------- /Example/ZHDropDownMenu.xcodeproj/xcshareddata/xcschemes/ZHDropDownMenu-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-ZHDropDownMenu_Example/Pods-ZHDropDownMenu_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 10 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 11 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 12 | 13 | install_framework() 14 | { 15 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 16 | local source="${BUILT_PRODUCTS_DIR}/$1" 17 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 18 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 19 | elif [ -r "$1" ]; then 20 | local source="$1" 21 | fi 22 | 23 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 24 | 25 | if [ -L "${source}" ]; then 26 | echo "Symlinked..." 27 | source="$(readlink "${source}")" 28 | fi 29 | 30 | # Use filter instead of exclude so missing patterns don't throw errors. 31 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 32 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 33 | 34 | local basename 35 | basename="$(basename -s .framework "$1")" 36 | binary="${destination}/${basename}.framework/${basename}" 37 | if ! [ -r "$binary" ]; then 38 | binary="${destination}/${basename}" 39 | fi 40 | 41 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 42 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 43 | strip_invalid_archs "$binary" 44 | fi 45 | 46 | # Resign the code if required by the build settings to avoid unstable apps 47 | code_sign_if_enabled "${destination}/$(basename "$1")" 48 | 49 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 50 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 51 | local swift_runtime_libs 52 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 53 | for lib in $swift_runtime_libs; do 54 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 55 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 56 | code_sign_if_enabled "${destination}/${lib}" 57 | done 58 | fi 59 | } 60 | 61 | # Copies the dSYM of a vendored framework 62 | install_dsym() { 63 | local source="$1" 64 | if [ -r "$source" ]; then 65 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DWARF_DSYM_FOLDER_PATH}\"" 66 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DWARF_DSYM_FOLDER_PATH}" 67 | fi 68 | } 69 | 70 | # Signs a framework with the provided identity 71 | code_sign_if_enabled() { 72 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 73 | # Use the current code_sign_identitiy 74 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 75 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 76 | 77 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 78 | code_sign_cmd="$code_sign_cmd &" 79 | fi 80 | echo "$code_sign_cmd" 81 | eval "$code_sign_cmd" 82 | fi 83 | } 84 | 85 | # Strip invalid architectures 86 | strip_invalid_archs() { 87 | binary="$1" 88 | # Get architectures for current file 89 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 90 | stripped="" 91 | for arch in $archs; do 92 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 93 | # Strip non-valid architectures in-place 94 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 95 | stripped="$stripped $arch" 96 | fi 97 | done 98 | if [[ "$stripped" ]]; then 99 | echo "Stripped $binary of architectures:$stripped" 100 | fi 101 | } 102 | 103 | 104 | if [[ "$CONFIGURATION" == "Debug" ]]; then 105 | install_framework "${BUILT_PRODUCTS_DIR}/ZHDropDownMenu/ZHDropDownMenu.framework" 106 | fi 107 | if [[ "$CONFIGURATION" == "Release" ]]; then 108 | install_framework "${BUILT_PRODUCTS_DIR}/ZHDropDownMenu/ZHDropDownMenu.framework" 109 | fi 110 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 111 | wait 112 | fi 113 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ZHDropDownMenu_Tests/Pods-ZHDropDownMenu_Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 12 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 13 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 14 | 15 | case "${TARGETED_DEVICE_FAMILY}" in 16 | 1,2) 17 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 18 | ;; 19 | 1) 20 | TARGET_DEVICE_ARGS="--target-device iphone" 21 | ;; 22 | 2) 23 | TARGET_DEVICE_ARGS="--target-device ipad" 24 | ;; 25 | 3) 26 | TARGET_DEVICE_ARGS="--target-device tv" 27 | ;; 28 | 4) 29 | TARGET_DEVICE_ARGS="--target-device watch" 30 | ;; 31 | *) 32 | TARGET_DEVICE_ARGS="--target-device mac" 33 | ;; 34 | esac 35 | 36 | install_resource() 37 | { 38 | if [[ "$1" = /* ]] ; then 39 | RESOURCE_PATH="$1" 40 | else 41 | RESOURCE_PATH="${PODS_ROOT}/$1" 42 | fi 43 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 44 | cat << EOM 45 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 46 | EOM 47 | exit 1 48 | fi 49 | case $RESOURCE_PATH in 50 | *.storyboard) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.xib) 55 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 56 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 57 | ;; 58 | *.framework) 59 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 60 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 61 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 62 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 63 | ;; 64 | *.xcdatamodel) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 67 | ;; 68 | *.xcdatamodeld) 69 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 70 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 71 | ;; 72 | *.xcmappingmodel) 73 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 74 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 75 | ;; 76 | *.xcassets) 77 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 78 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 79 | ;; 80 | *) 81 | echo "$RESOURCE_PATH" || true 82 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 83 | ;; 84 | esac 85 | } 86 | 87 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | rsync --delete -avr --copy-links --no-relative "${RSYNC_PROTECT_TMP_FILES[@]}" --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 89 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 90 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 91 | rsync --delete -avr --copy-links --no-relative "${RSYNC_PROTECT_TMP_FILES[@]}" --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 92 | fi 93 | rm -f "$RESOURCES_TO_COPY" 94 | 95 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 96 | then 97 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 98 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 99 | while read line; do 100 | if [[ $line != "${PODS_ROOT}*" ]]; then 101 | XCASSET_FILES+=("$line") 102 | fi 103 | done <<<"$OTHER_XCASSETS" 104 | 105 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 106 | fi 107 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ZHDropDownMenu_Example/Pods-ZHDropDownMenu_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 12 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 13 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 14 | 15 | case "${TARGETED_DEVICE_FAMILY}" in 16 | 1,2) 17 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 18 | ;; 19 | 1) 20 | TARGET_DEVICE_ARGS="--target-device iphone" 21 | ;; 22 | 2) 23 | TARGET_DEVICE_ARGS="--target-device ipad" 24 | ;; 25 | 3) 26 | TARGET_DEVICE_ARGS="--target-device tv" 27 | ;; 28 | 4) 29 | TARGET_DEVICE_ARGS="--target-device watch" 30 | ;; 31 | *) 32 | TARGET_DEVICE_ARGS="--target-device mac" 33 | ;; 34 | esac 35 | 36 | install_resource() 37 | { 38 | if [[ "$1" = /* ]] ; then 39 | RESOURCE_PATH="$1" 40 | else 41 | RESOURCE_PATH="${PODS_ROOT}/$1" 42 | fi 43 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 44 | cat << EOM 45 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 46 | EOM 47 | exit 1 48 | fi 49 | case $RESOURCE_PATH in 50 | *.storyboard) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.xib) 55 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 56 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 57 | ;; 58 | *.framework) 59 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 60 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 61 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 62 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 63 | ;; 64 | *.xcdatamodel) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 67 | ;; 68 | *.xcdatamodeld) 69 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 70 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 71 | ;; 72 | *.xcmappingmodel) 73 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 74 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 75 | ;; 76 | *.xcassets) 77 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 78 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 79 | ;; 80 | *) 81 | echo "$RESOURCE_PATH" || true 82 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 83 | ;; 84 | esac 85 | } 86 | 87 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | rsync --delete -avr --copy-links --no-relative "${RSYNC_PROTECT_TMP_FILES[@]}" --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 89 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 90 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 91 | rsync --delete -avr --copy-links --no-relative "${RSYNC_PROTECT_TMP_FILES[@]}" --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 92 | fi 93 | rm -f "$RESOURCES_TO_COPY" 94 | 95 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 96 | then 97 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 98 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 99 | while read line; do 100 | if [[ $line != "${PODS_ROOT}*" ]]; then 101 | XCASSET_FILES+=("$line") 102 | fi 103 | done <<<"$OTHER_XCASSETS" 104 | 105 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 106 | fi 107 | -------------------------------------------------------------------------------- /ZHDropDownMenu/ZHDropDownMenu.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ZHDropDownMenu.swift 3 | // 4 | // Created by zhubch on 3/8/16. 5 | // 6 | // Copyright (c) 2016 zhubch 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 all 16 | // 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 THE 24 | // SOFTWARE. 25 | 26 | 27 | import UIKit 28 | 29 | public protocol ZHDropDownMenuDelegate: NSObjectProtocol { 30 | func dropDownMenu(_ menu:ZHDropDownMenu, didEdit text:String) 31 | func dropDownMenu(_ menu:ZHDropDownMenu, didSelect index:Int) 32 | } 33 | 34 | @IBDesignable public class ZHDropDownMenu: UIView { 35 | 36 | public weak var delegate: ZHDropDownMenuDelegate? 37 | 38 | public var didEditHandler: ((_ text: String) -> Void)? 39 | 40 | public var didSelectHandler: ((_ index: Int) -> Void)? 41 | 42 | public var options = [String]() {//菜单项数据,设置后自动刷新列表 43 | didSet { 44 | reload() 45 | } 46 | } 47 | 48 | public var rowHeight: CGFloat { //菜单项的每一行行高,默认和本控件一样高,如果为0则和本空间初始高度一样 49 | get{ 50 | if _rowHeight == 0 { 51 | return frame.size.height 52 | } 53 | return _rowHeight 54 | } 55 | set{ 56 | _rowHeight = newValue 57 | reload() 58 | } 59 | } 60 | 61 | public var menuHeight: CGFloat {// 菜单展开的最大高度,当它为0时全部展开 62 | get { 63 | if _menuMaxHeight == 0 { 64 | return CGFloat(options.count) * rowHeight 65 | } 66 | return min(_menuMaxHeight, CGFloat(options.count) * rowHeight) 67 | } 68 | set { 69 | _menuMaxHeight = newValue 70 | reload() 71 | } 72 | } 73 | 74 | @IBInspectable public var editable = false { //是否允许用户编辑, 默认不允许 75 | didSet { 76 | contentTextField.isEnabled = editable 77 | } 78 | } 79 | 80 | @IBInspectable public var buttonImage: UIImage? { //下拉按钮的图片 81 | didSet { 82 | pullDownButton.setImage(buttonImage, for: UIControlState()) 83 | } 84 | } 85 | 86 | @IBInspectable public var placeholder: String? { //占位符 87 | didSet { 88 | contentTextField.placeholder = placeholder 89 | } 90 | } 91 | 92 | @IBInspectable public var defaultValue: String? { //默认值 93 | didSet { 94 | contentTextField.text = defaultValue 95 | } 96 | } 97 | 98 | @IBInspectable public var textColor: UIColor?{ //输入框和下拉列表项中文本颜色 99 | didSet { 100 | contentTextField.textColor = textColor 101 | } 102 | } 103 | 104 | public var font: UIFont?{ //输入框和下拉列表项中字体 105 | didSet { 106 | contentTextField.font = font 107 | } 108 | } 109 | 110 | public var showBorder = true { //是否显示边框,默认显示 111 | didSet { 112 | if showBorder { 113 | layer.borderColor = UIColor.lightGray.cgColor 114 | layer.borderWidth = 0.5 115 | layer.masksToBounds = true 116 | layer.cornerRadius = 2.5 117 | }else { 118 | layer.borderColor = UIColor.clear.cgColor 119 | layer.masksToBounds = false 120 | layer.cornerRadius = 0 121 | layer.borderWidth = 0 122 | } 123 | } 124 | } 125 | 126 | private lazy var optionsList: UITableView = { //下拉列表 127 | let frame = CGRect(x: self.frame.origin.x, y: self.frame.origin.y + self.frame.size.height, width: self.frame.size.width, height: 0) 128 | let table = UITableView(frame: frame, style: .plain) 129 | table.backgroundColor = UIColor(red: 0.9, green: 0.9, blue: 0.9, alpha: 1.0) 130 | table.dataSource = self 131 | table.delegate = self 132 | table.layer.borderColor = UIColor.lightGray.cgColor 133 | table.layer.borderWidth = 0.5 134 | self.superview?.addSubview(table) 135 | return table 136 | }() 137 | 138 | public var contentTextField: UITextField! 139 | 140 | private var pullDownButton: UIButton! 141 | 142 | private var isShown = false 143 | 144 | private var _rowHeight = CGFloat(0) 145 | 146 | private var _menuMaxHeight = CGFloat(0) 147 | 148 | override init(frame: CGRect) { 149 | super.init(frame: frame) 150 | setup() 151 | } 152 | 153 | required public init?(coder aDecoder: NSCoder) { 154 | super.init(coder: aDecoder) 155 | setup() 156 | } 157 | 158 | private func setup() { 159 | contentTextField = UITextField(frame: CGRect.zero) 160 | contentTextField.delegate = self 161 | contentTextField.isEnabled = false 162 | addSubview(contentTextField) 163 | 164 | pullDownButton = UIButton(type: .custom) 165 | pullDownButton.addTarget(self, action: #selector(ZHDropDownMenu.showOrHide), for: .touchUpInside) 166 | pullDownButton.setImage(UIImage(named: "default_down"), for: .normal) 167 | addSubview(pullDownButton) 168 | 169 | showBorder = true 170 | textColor = .darkGray 171 | font = UIFont.systemFont(ofSize: 16) 172 | } 173 | 174 | @objc func showOrHide() { 175 | if isShown { 176 | UIView.animate(withDuration: 0.3, animations: { 177 | self.pullDownButton.transform = CGAffineTransform(rotationAngle: CGFloat(Double.pi*2)) 178 | self.optionsList.frame = CGRect(x: self.frame.origin.x, y: self.frame.origin.y + self.frame.size.height-0.5, width: self.frame.size.width, height: 0) 179 | }, completion: { _ in 180 | self.pullDownButton.transform = CGAffineTransform(rotationAngle: 0.0) 181 | self.isShown = false 182 | }) 183 | } else { 184 | contentTextField.resignFirstResponder() 185 | optionsList.reloadData() 186 | UIView.animate(withDuration: 0.3, animations: { 187 | self.pullDownButton.transform = CGAffineTransform(rotationAngle: CGFloat(Double.pi)) 188 | self.optionsList.frame = CGRect(x: self.frame.origin.x, y: self.frame.origin.y + self.frame.size.height-0.5, width: self.frame.size.width, height:self.menuHeight) 189 | }, completion: { _ in 190 | self.isShown = true 191 | }) 192 | } 193 | } 194 | 195 | func reload() { 196 | guard self.isShown else { 197 | return 198 | } 199 | optionsList.reloadData() 200 | UIView.animate(withDuration: 0.3) { 201 | self.pullDownButton.transform = CGAffineTransform(rotationAngle: CGFloat(Double.pi)) 202 | self.optionsList.frame = CGRect(x: self.frame.origin.x, y: self.frame.origin.y + self.frame.size.height-0.5, width: self.frame.size.width, height:self.menuHeight) 203 | } 204 | } 205 | 206 | override open func layoutSubviews() { 207 | super.layoutSubviews() 208 | 209 | contentTextField.frame = CGRect(x: 15, y: 5, width: frame.size.width - 50, height: frame.size.height - 10) 210 | pullDownButton.frame = CGRect(x: frame.size.width - 35, y: 5, width: 30, height: 30) 211 | } 212 | } 213 | 214 | extension ZHDropDownMenu: UITextFieldDelegate { 215 | open func textFieldShouldReturn(_ textField: UITextField) -> Bool { 216 | textField.resignFirstResponder() 217 | if let text = textField.text { 218 | self.delegate?.dropDownMenu(self, didEdit: text) 219 | self.didEditHandler?(text) 220 | } 221 | return true 222 | } 223 | } 224 | 225 | extension ZHDropDownMenu: UITableViewDelegate, UITableViewDataSource { 226 | open func numberOfSections(in tableView: UITableView) -> Int { 227 | return 1 228 | } 229 | 230 | open func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { 231 | return options.count 232 | } 233 | 234 | open func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { 235 | let cell = UITableViewCell(style: .default, reuseIdentifier: "") 236 | cell.textLabel?.text = options[indexPath.row] 237 | cell.textLabel?.font = font 238 | cell.textLabel?.textColor = textColor 239 | 240 | return cell 241 | } 242 | 243 | open func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { 244 | return self.rowHeight 245 | } 246 | 247 | open func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { 248 | contentTextField.text = options[indexPath.row] 249 | delegate?.dropDownMenu(self, didSelect:indexPath.row) 250 | didSelectHandler?(indexPath.row) 251 | showOrHide() 252 | } 253 | } 254 | -------------------------------------------------------------------------------- /Example/ZHDropDownMenu/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 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 54 | 64 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | -------------------------------------------------------------------------------- /Example/ZHDropDownMenu.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1D3D49D71A1696B5EE1C1F75 /* Pods_ZHDropDownMenu_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1B6E8804ED30CC733D6F97E8 /* Pods_ZHDropDownMenu_Tests.framework */; }; 11 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 12 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 13 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 14 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 15 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 16 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 17 | 9AB0AD15F79E3A0F129A0B9C /* Pods_ZHDropDownMenu_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AC7582746D5826FA057B0DD4 /* Pods_ZHDropDownMenu_Example.framework */; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXContainerItemProxy section */ 21 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 22 | isa = PBXContainerItemProxy; 23 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 24 | proxyType = 1; 25 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 26 | remoteInfo = ZHDropDownMenu; 27 | }; 28 | /* End PBXContainerItemProxy section */ 29 | 30 | /* Begin PBXFileReference section */ 31 | 1A43A248F352269FCC4E1753 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 32 | 1B6E8804ED30CC733D6F97E8 /* Pods_ZHDropDownMenu_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ZHDropDownMenu_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 33 | 2413B022C55F968614B62721 /* ZHDropDownMenu.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = ZHDropDownMenu.podspec; path = ../ZHDropDownMenu.podspec; sourceTree = ""; }; 34 | 2907152F8E8C73026603F34C /* Pods-ZHDropDownMenu_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ZHDropDownMenu_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ZHDropDownMenu_Example/Pods-ZHDropDownMenu_Example.debug.xcconfig"; sourceTree = ""; }; 35 | 607FACD01AFB9204008FA782 /* ZHDropDownMenu_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ZHDropDownMenu_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 36 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 37 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 38 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 39 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 40 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 41 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 42 | 607FACE51AFB9204008FA782 /* ZHDropDownMenu_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ZHDropDownMenu_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 43 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 44 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 45 | 95F3AA693B830F2EF1D41F9D /* Pods-ZHDropDownMenu_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ZHDropDownMenu_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ZHDropDownMenu_Tests/Pods-ZHDropDownMenu_Tests.debug.xcconfig"; sourceTree = ""; }; 46 | A41489DB03705A3C4FD42327 /* Pods-ZHDropDownMenu_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ZHDropDownMenu_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-ZHDropDownMenu_Example/Pods-ZHDropDownMenu_Example.release.xcconfig"; sourceTree = ""; }; 47 | AC7582746D5826FA057B0DD4 /* Pods_ZHDropDownMenu_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ZHDropDownMenu_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 48 | B667D74A725CFEB1AE670241 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 49 | C95C4EECA670E0DACC143F82 /* Pods-ZHDropDownMenu_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ZHDropDownMenu_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-ZHDropDownMenu_Tests/Pods-ZHDropDownMenu_Tests.release.xcconfig"; sourceTree = ""; }; 50 | /* End PBXFileReference section */ 51 | 52 | /* Begin PBXFrameworksBuildPhase section */ 53 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 54 | isa = PBXFrameworksBuildPhase; 55 | buildActionMask = 2147483647; 56 | files = ( 57 | 9AB0AD15F79E3A0F129A0B9C /* Pods_ZHDropDownMenu_Example.framework in Frameworks */, 58 | ); 59 | runOnlyForDeploymentPostprocessing = 0; 60 | }; 61 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 62 | isa = PBXFrameworksBuildPhase; 63 | buildActionMask = 2147483647; 64 | files = ( 65 | 1D3D49D71A1696B5EE1C1F75 /* Pods_ZHDropDownMenu_Tests.framework in Frameworks */, 66 | ); 67 | runOnlyForDeploymentPostprocessing = 0; 68 | }; 69 | /* End PBXFrameworksBuildPhase section */ 70 | 71 | /* Begin PBXGroup section */ 72 | 607FACC71AFB9204008FA782 = { 73 | isa = PBXGroup; 74 | children = ( 75 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 76 | 607FACD21AFB9204008FA782 /* Example for ZHDropDownMenu */, 77 | 607FACE81AFB9204008FA782 /* Tests */, 78 | 607FACD11AFB9204008FA782 /* Products */, 79 | 691841FA180551B10F8EB8C2 /* Pods */, 80 | BF890DDE75F9A9D01E44B927 /* Frameworks */, 81 | ); 82 | sourceTree = ""; 83 | }; 84 | 607FACD11AFB9204008FA782 /* Products */ = { 85 | isa = PBXGroup; 86 | children = ( 87 | 607FACD01AFB9204008FA782 /* ZHDropDownMenu_Example.app */, 88 | 607FACE51AFB9204008FA782 /* ZHDropDownMenu_Tests.xctest */, 89 | ); 90 | name = Products; 91 | sourceTree = ""; 92 | }; 93 | 607FACD21AFB9204008FA782 /* Example for ZHDropDownMenu */ = { 94 | isa = PBXGroup; 95 | children = ( 96 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 97 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 98 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 99 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 100 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 101 | 607FACD31AFB9204008FA782 /* Supporting Files */, 102 | ); 103 | name = "Example for ZHDropDownMenu"; 104 | path = ZHDropDownMenu; 105 | sourceTree = ""; 106 | }; 107 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 108 | isa = PBXGroup; 109 | children = ( 110 | 607FACD41AFB9204008FA782 /* Info.plist */, 111 | ); 112 | name = "Supporting Files"; 113 | sourceTree = ""; 114 | }; 115 | 607FACE81AFB9204008FA782 /* Tests */ = { 116 | isa = PBXGroup; 117 | children = ( 118 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 119 | 607FACE91AFB9204008FA782 /* Supporting Files */, 120 | ); 121 | path = Tests; 122 | sourceTree = ""; 123 | }; 124 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 125 | isa = PBXGroup; 126 | children = ( 127 | 607FACEA1AFB9204008FA782 /* Info.plist */, 128 | ); 129 | name = "Supporting Files"; 130 | sourceTree = ""; 131 | }; 132 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 133 | isa = PBXGroup; 134 | children = ( 135 | 2413B022C55F968614B62721 /* ZHDropDownMenu.podspec */, 136 | 1A43A248F352269FCC4E1753 /* README.md */, 137 | B667D74A725CFEB1AE670241 /* LICENSE */, 138 | ); 139 | name = "Podspec Metadata"; 140 | sourceTree = ""; 141 | }; 142 | 691841FA180551B10F8EB8C2 /* Pods */ = { 143 | isa = PBXGroup; 144 | children = ( 145 | 2907152F8E8C73026603F34C /* Pods-ZHDropDownMenu_Example.debug.xcconfig */, 146 | A41489DB03705A3C4FD42327 /* Pods-ZHDropDownMenu_Example.release.xcconfig */, 147 | 95F3AA693B830F2EF1D41F9D /* Pods-ZHDropDownMenu_Tests.debug.xcconfig */, 148 | C95C4EECA670E0DACC143F82 /* Pods-ZHDropDownMenu_Tests.release.xcconfig */, 149 | ); 150 | name = Pods; 151 | sourceTree = ""; 152 | }; 153 | BF890DDE75F9A9D01E44B927 /* Frameworks */ = { 154 | isa = PBXGroup; 155 | children = ( 156 | AC7582746D5826FA057B0DD4 /* Pods_ZHDropDownMenu_Example.framework */, 157 | 1B6E8804ED30CC733D6F97E8 /* Pods_ZHDropDownMenu_Tests.framework */, 158 | ); 159 | name = Frameworks; 160 | sourceTree = ""; 161 | }; 162 | /* End PBXGroup section */ 163 | 164 | /* Begin PBXNativeTarget section */ 165 | 607FACCF1AFB9204008FA782 /* ZHDropDownMenu_Example */ = { 166 | isa = PBXNativeTarget; 167 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "ZHDropDownMenu_Example" */; 168 | buildPhases = ( 169 | BADE45A3C7F03B81B43318BE /* [CP] Check Pods Manifest.lock */, 170 | 607FACCC1AFB9204008FA782 /* Sources */, 171 | 607FACCD1AFB9204008FA782 /* Frameworks */, 172 | 607FACCE1AFB9204008FA782 /* Resources */, 173 | 6F3482DC034D724E5EB0C750 /* [CP] Embed Pods Frameworks */, 174 | 26A8A0888C79904F2C4944ED /* [CP] Copy Pods Resources */, 175 | ); 176 | buildRules = ( 177 | ); 178 | dependencies = ( 179 | ); 180 | name = ZHDropDownMenu_Example; 181 | productName = ZHDropDownMenu; 182 | productReference = 607FACD01AFB9204008FA782 /* ZHDropDownMenu_Example.app */; 183 | productType = "com.apple.product-type.application"; 184 | }; 185 | 607FACE41AFB9204008FA782 /* ZHDropDownMenu_Tests */ = { 186 | isa = PBXNativeTarget; 187 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "ZHDropDownMenu_Tests" */; 188 | buildPhases = ( 189 | A15A5331774BAC0DF98F1A34 /* [CP] Check Pods Manifest.lock */, 190 | 607FACE11AFB9204008FA782 /* Sources */, 191 | 607FACE21AFB9204008FA782 /* Frameworks */, 192 | 607FACE31AFB9204008FA782 /* Resources */, 193 | FBDC3D01DD722ED8B29D8338 /* [CP] Embed Pods Frameworks */, 194 | 1B782A4E6D4EA11740E635EA /* [CP] Copy Pods Resources */, 195 | ); 196 | buildRules = ( 197 | ); 198 | dependencies = ( 199 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 200 | ); 201 | name = ZHDropDownMenu_Tests; 202 | productName = Tests; 203 | productReference = 607FACE51AFB9204008FA782 /* ZHDropDownMenu_Tests.xctest */; 204 | productType = "com.apple.product-type.bundle.unit-test"; 205 | }; 206 | /* End PBXNativeTarget section */ 207 | 208 | /* Begin PBXProject section */ 209 | 607FACC81AFB9204008FA782 /* Project object */ = { 210 | isa = PBXProject; 211 | attributes = { 212 | LastSwiftUpdateCheck = 0830; 213 | LastUpgradeCheck = 0830; 214 | ORGANIZATIONNAME = CocoaPods; 215 | TargetAttributes = { 216 | 607FACCF1AFB9204008FA782 = { 217 | CreatedOnToolsVersion = 6.3.1; 218 | DevelopmentTeam = HX6HU45L64; 219 | LastSwiftMigration = 0900; 220 | }; 221 | 607FACE41AFB9204008FA782 = { 222 | CreatedOnToolsVersion = 6.3.1; 223 | DevelopmentTeam = HX6HU45L64; 224 | LastSwiftMigration = 0900; 225 | TestTargetID = 607FACCF1AFB9204008FA782; 226 | }; 227 | }; 228 | }; 229 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "ZHDropDownMenu" */; 230 | compatibilityVersion = "Xcode 3.2"; 231 | developmentRegion = English; 232 | hasScannedForEncodings = 0; 233 | knownRegions = ( 234 | en, 235 | Base, 236 | ); 237 | mainGroup = 607FACC71AFB9204008FA782; 238 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 239 | projectDirPath = ""; 240 | projectRoot = ""; 241 | targets = ( 242 | 607FACCF1AFB9204008FA782 /* ZHDropDownMenu_Example */, 243 | 607FACE41AFB9204008FA782 /* ZHDropDownMenu_Tests */, 244 | ); 245 | }; 246 | /* End PBXProject section */ 247 | 248 | /* Begin PBXResourcesBuildPhase section */ 249 | 607FACCE1AFB9204008FA782 /* Resources */ = { 250 | isa = PBXResourcesBuildPhase; 251 | buildActionMask = 2147483647; 252 | files = ( 253 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 254 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 255 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 256 | ); 257 | runOnlyForDeploymentPostprocessing = 0; 258 | }; 259 | 607FACE31AFB9204008FA782 /* Resources */ = { 260 | isa = PBXResourcesBuildPhase; 261 | buildActionMask = 2147483647; 262 | files = ( 263 | ); 264 | runOnlyForDeploymentPostprocessing = 0; 265 | }; 266 | /* End PBXResourcesBuildPhase section */ 267 | 268 | /* Begin PBXShellScriptBuildPhase section */ 269 | 1B782A4E6D4EA11740E635EA /* [CP] Copy Pods Resources */ = { 270 | isa = PBXShellScriptBuildPhase; 271 | buildActionMask = 2147483647; 272 | files = ( 273 | ); 274 | inputPaths = ( 275 | ); 276 | name = "[CP] Copy Pods Resources"; 277 | outputPaths = ( 278 | ); 279 | runOnlyForDeploymentPostprocessing = 0; 280 | shellPath = /bin/sh; 281 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ZHDropDownMenu_Tests/Pods-ZHDropDownMenu_Tests-resources.sh\"\n"; 282 | showEnvVarsInLog = 0; 283 | }; 284 | 26A8A0888C79904F2C4944ED /* [CP] Copy Pods Resources */ = { 285 | isa = PBXShellScriptBuildPhase; 286 | buildActionMask = 2147483647; 287 | files = ( 288 | ); 289 | inputPaths = ( 290 | ); 291 | name = "[CP] Copy Pods Resources"; 292 | outputPaths = ( 293 | ); 294 | runOnlyForDeploymentPostprocessing = 0; 295 | shellPath = /bin/sh; 296 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ZHDropDownMenu_Example/Pods-ZHDropDownMenu_Example-resources.sh\"\n"; 297 | showEnvVarsInLog = 0; 298 | }; 299 | 6F3482DC034D724E5EB0C750 /* [CP] Embed Pods Frameworks */ = { 300 | isa = PBXShellScriptBuildPhase; 301 | buildActionMask = 2147483647; 302 | files = ( 303 | ); 304 | inputPaths = ( 305 | "${SRCROOT}/Pods/Target Support Files/Pods-ZHDropDownMenu_Example/Pods-ZHDropDownMenu_Example-frameworks.sh", 306 | "${BUILT_PRODUCTS_DIR}/ZHDropDownMenu/ZHDropDownMenu.framework", 307 | ); 308 | name = "[CP] Embed Pods Frameworks"; 309 | outputPaths = ( 310 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ZHDropDownMenu.framework", 311 | ); 312 | runOnlyForDeploymentPostprocessing = 0; 313 | shellPath = /bin/sh; 314 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ZHDropDownMenu_Example/Pods-ZHDropDownMenu_Example-frameworks.sh\"\n"; 315 | showEnvVarsInLog = 0; 316 | }; 317 | A15A5331774BAC0DF98F1A34 /* [CP] Check Pods Manifest.lock */ = { 318 | isa = PBXShellScriptBuildPhase; 319 | buildActionMask = 2147483647; 320 | files = ( 321 | ); 322 | inputPaths = ( 323 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 324 | "${PODS_ROOT}/Manifest.lock", 325 | ); 326 | name = "[CP] Check Pods Manifest.lock"; 327 | outputPaths = ( 328 | "$(DERIVED_FILE_DIR)/Pods-ZHDropDownMenu_Tests-checkManifestLockResult.txt", 329 | ); 330 | runOnlyForDeploymentPostprocessing = 0; 331 | shellPath = /bin/sh; 332 | 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"; 333 | showEnvVarsInLog = 0; 334 | }; 335 | BADE45A3C7F03B81B43318BE /* [CP] Check Pods Manifest.lock */ = { 336 | isa = PBXShellScriptBuildPhase; 337 | buildActionMask = 2147483647; 338 | files = ( 339 | ); 340 | inputPaths = ( 341 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 342 | "${PODS_ROOT}/Manifest.lock", 343 | ); 344 | name = "[CP] Check Pods Manifest.lock"; 345 | outputPaths = ( 346 | "$(DERIVED_FILE_DIR)/Pods-ZHDropDownMenu_Example-checkManifestLockResult.txt", 347 | ); 348 | runOnlyForDeploymentPostprocessing = 0; 349 | shellPath = /bin/sh; 350 | 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"; 351 | showEnvVarsInLog = 0; 352 | }; 353 | FBDC3D01DD722ED8B29D8338 /* [CP] Embed Pods Frameworks */ = { 354 | isa = PBXShellScriptBuildPhase; 355 | buildActionMask = 2147483647; 356 | files = ( 357 | ); 358 | inputPaths = ( 359 | ); 360 | name = "[CP] Embed Pods Frameworks"; 361 | outputPaths = ( 362 | ); 363 | runOnlyForDeploymentPostprocessing = 0; 364 | shellPath = /bin/sh; 365 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ZHDropDownMenu_Tests/Pods-ZHDropDownMenu_Tests-frameworks.sh\"\n"; 366 | showEnvVarsInLog = 0; 367 | }; 368 | /* End PBXShellScriptBuildPhase section */ 369 | 370 | /* Begin PBXSourcesBuildPhase section */ 371 | 607FACCC1AFB9204008FA782 /* Sources */ = { 372 | isa = PBXSourcesBuildPhase; 373 | buildActionMask = 2147483647; 374 | files = ( 375 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 376 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 377 | ); 378 | runOnlyForDeploymentPostprocessing = 0; 379 | }; 380 | 607FACE11AFB9204008FA782 /* Sources */ = { 381 | isa = PBXSourcesBuildPhase; 382 | buildActionMask = 2147483647; 383 | files = ( 384 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 385 | ); 386 | runOnlyForDeploymentPostprocessing = 0; 387 | }; 388 | /* End PBXSourcesBuildPhase section */ 389 | 390 | /* Begin PBXTargetDependency section */ 391 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 392 | isa = PBXTargetDependency; 393 | target = 607FACCF1AFB9204008FA782 /* ZHDropDownMenu_Example */; 394 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 395 | }; 396 | /* End PBXTargetDependency section */ 397 | 398 | /* Begin PBXVariantGroup section */ 399 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 400 | isa = PBXVariantGroup; 401 | children = ( 402 | 607FACDA1AFB9204008FA782 /* Base */, 403 | ); 404 | name = Main.storyboard; 405 | sourceTree = ""; 406 | }; 407 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 408 | isa = PBXVariantGroup; 409 | children = ( 410 | 607FACDF1AFB9204008FA782 /* Base */, 411 | ); 412 | name = LaunchScreen.xib; 413 | sourceTree = ""; 414 | }; 415 | /* End PBXVariantGroup section */ 416 | 417 | /* Begin XCBuildConfiguration section */ 418 | 607FACED1AFB9204008FA782 /* Debug */ = { 419 | isa = XCBuildConfiguration; 420 | buildSettings = { 421 | ALWAYS_SEARCH_USER_PATHS = NO; 422 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 423 | CLANG_CXX_LIBRARY = "libc++"; 424 | CLANG_ENABLE_MODULES = YES; 425 | CLANG_ENABLE_OBJC_ARC = YES; 426 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 427 | CLANG_WARN_BOOL_CONVERSION = YES; 428 | CLANG_WARN_COMMA = YES; 429 | CLANG_WARN_CONSTANT_CONVERSION = YES; 430 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 431 | CLANG_WARN_EMPTY_BODY = YES; 432 | CLANG_WARN_ENUM_CONVERSION = YES; 433 | CLANG_WARN_INFINITE_RECURSION = YES; 434 | CLANG_WARN_INT_CONVERSION = YES; 435 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 436 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 437 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 438 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 439 | CLANG_WARN_STRICT_PROTOTYPES = YES; 440 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 441 | CLANG_WARN_UNREACHABLE_CODE = YES; 442 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 443 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 444 | COPY_PHASE_STRIP = NO; 445 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 446 | ENABLE_STRICT_OBJC_MSGSEND = YES; 447 | ENABLE_TESTABILITY = YES; 448 | GCC_C_LANGUAGE_STANDARD = gnu99; 449 | GCC_DYNAMIC_NO_PIC = NO; 450 | GCC_NO_COMMON_BLOCKS = YES; 451 | GCC_OPTIMIZATION_LEVEL = 0; 452 | GCC_PREPROCESSOR_DEFINITIONS = ( 453 | "DEBUG=1", 454 | "$(inherited)", 455 | ); 456 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 457 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 458 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 459 | GCC_WARN_UNDECLARED_SELECTOR = YES; 460 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 461 | GCC_WARN_UNUSED_FUNCTION = YES; 462 | GCC_WARN_UNUSED_VARIABLE = YES; 463 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 464 | MTL_ENABLE_DEBUG_INFO = YES; 465 | ONLY_ACTIVE_ARCH = YES; 466 | SDKROOT = iphoneos; 467 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 468 | }; 469 | name = Debug; 470 | }; 471 | 607FACEE1AFB9204008FA782 /* Release */ = { 472 | isa = XCBuildConfiguration; 473 | buildSettings = { 474 | ALWAYS_SEARCH_USER_PATHS = NO; 475 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 476 | CLANG_CXX_LIBRARY = "libc++"; 477 | CLANG_ENABLE_MODULES = YES; 478 | CLANG_ENABLE_OBJC_ARC = YES; 479 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 480 | CLANG_WARN_BOOL_CONVERSION = YES; 481 | CLANG_WARN_COMMA = YES; 482 | CLANG_WARN_CONSTANT_CONVERSION = YES; 483 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 484 | CLANG_WARN_EMPTY_BODY = YES; 485 | CLANG_WARN_ENUM_CONVERSION = YES; 486 | CLANG_WARN_INFINITE_RECURSION = YES; 487 | CLANG_WARN_INT_CONVERSION = YES; 488 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 489 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 490 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 491 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 492 | CLANG_WARN_STRICT_PROTOTYPES = YES; 493 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 494 | CLANG_WARN_UNREACHABLE_CODE = YES; 495 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 496 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 497 | COPY_PHASE_STRIP = NO; 498 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 499 | ENABLE_NS_ASSERTIONS = NO; 500 | ENABLE_STRICT_OBJC_MSGSEND = YES; 501 | GCC_C_LANGUAGE_STANDARD = gnu99; 502 | GCC_NO_COMMON_BLOCKS = YES; 503 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 504 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 505 | GCC_WARN_UNDECLARED_SELECTOR = YES; 506 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 507 | GCC_WARN_UNUSED_FUNCTION = YES; 508 | GCC_WARN_UNUSED_VARIABLE = YES; 509 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 510 | MTL_ENABLE_DEBUG_INFO = NO; 511 | SDKROOT = iphoneos; 512 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 513 | VALIDATE_PRODUCT = YES; 514 | }; 515 | name = Release; 516 | }; 517 | 607FACF01AFB9204008FA782 /* Debug */ = { 518 | isa = XCBuildConfiguration; 519 | baseConfigurationReference = 2907152F8E8C73026603F34C /* Pods-ZHDropDownMenu_Example.debug.xcconfig */; 520 | buildSettings = { 521 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 522 | DEVELOPMENT_TEAM = HX6HU45L64; 523 | INFOPLIST_FILE = ZHDropDownMenu/Info.plist; 524 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 525 | MODULE_NAME = ExampleApp; 526 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 527 | PRODUCT_NAME = "$(TARGET_NAME)"; 528 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 529 | SWIFT_VERSION = 4.0; 530 | }; 531 | name = Debug; 532 | }; 533 | 607FACF11AFB9204008FA782 /* Release */ = { 534 | isa = XCBuildConfiguration; 535 | baseConfigurationReference = A41489DB03705A3C4FD42327 /* Pods-ZHDropDownMenu_Example.release.xcconfig */; 536 | buildSettings = { 537 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 538 | DEVELOPMENT_TEAM = HX6HU45L64; 539 | INFOPLIST_FILE = ZHDropDownMenu/Info.plist; 540 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 541 | MODULE_NAME = ExampleApp; 542 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 543 | PRODUCT_NAME = "$(TARGET_NAME)"; 544 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 545 | SWIFT_VERSION = 4.0; 546 | }; 547 | name = Release; 548 | }; 549 | 607FACF31AFB9204008FA782 /* Debug */ = { 550 | isa = XCBuildConfiguration; 551 | baseConfigurationReference = 95F3AA693B830F2EF1D41F9D /* Pods-ZHDropDownMenu_Tests.debug.xcconfig */; 552 | buildSettings = { 553 | DEVELOPMENT_TEAM = HX6HU45L64; 554 | FRAMEWORK_SEARCH_PATHS = ( 555 | "$(SDKROOT)/Developer/Library/Frameworks", 556 | "$(inherited)", 557 | ); 558 | GCC_PREPROCESSOR_DEFINITIONS = ( 559 | "DEBUG=1", 560 | "$(inherited)", 561 | ); 562 | INFOPLIST_FILE = Tests/Info.plist; 563 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 564 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 565 | PRODUCT_NAME = "$(TARGET_NAME)"; 566 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 567 | SWIFT_VERSION = 4.0; 568 | }; 569 | name = Debug; 570 | }; 571 | 607FACF41AFB9204008FA782 /* Release */ = { 572 | isa = XCBuildConfiguration; 573 | baseConfigurationReference = C95C4EECA670E0DACC143F82 /* Pods-ZHDropDownMenu_Tests.release.xcconfig */; 574 | buildSettings = { 575 | DEVELOPMENT_TEAM = HX6HU45L64; 576 | FRAMEWORK_SEARCH_PATHS = ( 577 | "$(SDKROOT)/Developer/Library/Frameworks", 578 | "$(inherited)", 579 | ); 580 | INFOPLIST_FILE = Tests/Info.plist; 581 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 582 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 583 | PRODUCT_NAME = "$(TARGET_NAME)"; 584 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 585 | SWIFT_VERSION = 4.0; 586 | }; 587 | name = Release; 588 | }; 589 | /* End XCBuildConfiguration section */ 590 | 591 | /* Begin XCConfigurationList section */ 592 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "ZHDropDownMenu" */ = { 593 | isa = XCConfigurationList; 594 | buildConfigurations = ( 595 | 607FACED1AFB9204008FA782 /* Debug */, 596 | 607FACEE1AFB9204008FA782 /* Release */, 597 | ); 598 | defaultConfigurationIsVisible = 0; 599 | defaultConfigurationName = Release; 600 | }; 601 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "ZHDropDownMenu_Example" */ = { 602 | isa = XCConfigurationList; 603 | buildConfigurations = ( 604 | 607FACF01AFB9204008FA782 /* Debug */, 605 | 607FACF11AFB9204008FA782 /* Release */, 606 | ); 607 | defaultConfigurationIsVisible = 0; 608 | defaultConfigurationName = Release; 609 | }; 610 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "ZHDropDownMenu_Tests" */ = { 611 | isa = XCConfigurationList; 612 | buildConfigurations = ( 613 | 607FACF31AFB9204008FA782 /* Debug */, 614 | 607FACF41AFB9204008FA782 /* Release */, 615 | ); 616 | defaultConfigurationIsVisible = 0; 617 | defaultConfigurationName = Release; 618 | }; 619 | /* End XCConfigurationList section */ 620 | }; 621 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 622 | } 623 | -------------------------------------------------------------------------------- /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 | 24639C41D565E0D583930C0E9FB22153 /* ZHDropDownMenu-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 25388FD9951883E39A9A8B943C9FD383 /* ZHDropDownMenu-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 11 | 517ADF4A10F0684837D2036AFDAB90E1 /* default_down.png in Resources */ = {isa = PBXBuildFile; fileRef = A6B7F3A61C68755DD8932B44D02147BC /* default_down.png */; }; 12 | 5D1389212AACFFF1C2B61C569F8EA8F9 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 13 | A8E7F2041D53F8BC5A9F43526AA799CC /* Pods-ZHDropDownMenu_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 809A01EC2D72037A105369A376E684B0 /* Pods-ZHDropDownMenu_Tests-dummy.m */; }; 14 | A9553D9F45898B8B716366D4B998E3D8 /* ZHDropDownMenu.swift in Sources */ = {isa = PBXBuildFile; fileRef = F758792E83789FDFFD6116D721DF3326 /* ZHDropDownMenu.swift */; }; 15 | AEB007D7CF1D254CC44E171EC76E18BD /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 16 | AF066D24A1150E687322E0EB0EE116EE /* Pods-ZHDropDownMenu_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = B79D69A3D7B61CEC3836226927C962FF /* Pods-ZHDropDownMenu_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 17 | C6FD66DEC680E3AFF640FEB1476BAD72 /* Pods-ZHDropDownMenu_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 8A851E9BDE2E004BA0EC321181E61C75 /* Pods-ZHDropDownMenu_Example-dummy.m */; }; 18 | D8627CB4F62A58E73D75F4D50DCD48A5 /* ZHDropDownMenu-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 310A269933C15CE1D79EA352198AC7F3 /* ZHDropDownMenu-dummy.m */; }; 19 | DCE28DD62EF2A0DF0939B2257A4E6A80 /* Pods-ZHDropDownMenu_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = B3645354C78578C845534ABD48231423 /* Pods-ZHDropDownMenu_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 20 | F8FD52E643E1FD4D7FD2EA8487791B63 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 21 | /* End PBXBuildFile section */ 22 | 23 | /* Begin PBXContainerItemProxy section */ 24 | 5C9398BB974E45361C7B1B111BB0219E /* PBXContainerItemProxy */ = { 25 | isa = PBXContainerItemProxy; 26 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 27 | proxyType = 1; 28 | remoteGlobalIDString = 042855DD091EE8939DB97F3F56D1C4E7; 29 | remoteInfo = ZHDropDownMenu; 30 | }; 31 | /* End PBXContainerItemProxy section */ 32 | 33 | /* Begin PBXFileReference section */ 34 | 10A037B9837107B91A17E83458B99574 /* Pods-ZHDropDownMenu_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-ZHDropDownMenu_Example-acknowledgements.markdown"; sourceTree = ""; }; 35 | 2105F7E0195EB263022E5AEB855947F1 /* Pods-ZHDropDownMenu_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ZHDropDownMenu_Tests.debug.xcconfig"; sourceTree = ""; }; 36 | 25388FD9951883E39A9A8B943C9FD383 /* ZHDropDownMenu-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ZHDropDownMenu-umbrella.h"; sourceTree = ""; }; 37 | 2880FC6EE122FC9CA8B73BBA05889599 /* Pods-ZHDropDownMenu_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ZHDropDownMenu_Example-resources.sh"; sourceTree = ""; }; 38 | 310A269933C15CE1D79EA352198AC7F3 /* ZHDropDownMenu-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "ZHDropDownMenu-dummy.m"; sourceTree = ""; }; 39 | 38147FAAB2F4452500DDDC1FE5E9C6EE /* Pods_ZHDropDownMenu_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_ZHDropDownMenu_Example.framework; path = "Pods-ZHDropDownMenu_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 40 | 4D43BB7F065F1F71B9074B2AC346662B /* Pods-ZHDropDownMenu_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ZHDropDownMenu_Tests-acknowledgements.plist"; sourceTree = ""; }; 41 | 57DE6897F23D441A031BB6D45EB21146 /* Pods-ZHDropDownMenu_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ZHDropDownMenu_Example.debug.xcconfig"; sourceTree = ""; }; 42 | 6504EDE5EFA42DA3300CD523DB03F570 /* Pods-ZHDropDownMenu_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-ZHDropDownMenu_Tests.modulemap"; sourceTree = ""; }; 43 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 44 | 6CEB7BD7839B9E51C490A9E6F13E8C92 /* Pods-ZHDropDownMenu_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-ZHDropDownMenu_Example.modulemap"; sourceTree = ""; }; 45 | 78BE29604FC9BCB34C33DC0569D32E08 /* Pods-ZHDropDownMenu_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-ZHDropDownMenu_Tests-acknowledgements.markdown"; sourceTree = ""; }; 46 | 809A01EC2D72037A105369A376E684B0 /* Pods-ZHDropDownMenu_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-ZHDropDownMenu_Tests-dummy.m"; sourceTree = ""; }; 47 | 87B277C01311BF7C696BB6E9FBB74273 /* ZHDropDownMenu.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = ZHDropDownMenu.xcconfig; sourceTree = ""; }; 48 | 8A851E9BDE2E004BA0EC321181E61C75 /* Pods-ZHDropDownMenu_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-ZHDropDownMenu_Example-dummy.m"; sourceTree = ""; }; 49 | 92A3813350C7C792504051F76B603C65 /* Pods-ZHDropDownMenu_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ZHDropDownMenu_Example-acknowledgements.plist"; sourceTree = ""; }; 50 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 51 | 9C274E104F7E40E4C20A57F87A9E2F48 /* Pods-ZHDropDownMenu_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ZHDropDownMenu_Example-frameworks.sh"; sourceTree = ""; }; 52 | A27FC33718FB11A15450B5BFD4286FCC /* ZHDropDownMenu-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ZHDropDownMenu-prefix.pch"; sourceTree = ""; }; 53 | A326A631DF42C7B28B57941875157E11 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 54 | A6B7F3A61C68755DD8932B44D02147BC /* default_down.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = default_down.png; path = ZHDropDownMenu/default_down.png; sourceTree = ""; }; 55 | B10D4603247E143DCE082531557B9B68 /* ZHDropDownMenu.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = ZHDropDownMenu.framework; path = ZHDropDownMenu.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 56 | B3645354C78578C845534ABD48231423 /* Pods-ZHDropDownMenu_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-ZHDropDownMenu_Example-umbrella.h"; sourceTree = ""; }; 57 | B79D69A3D7B61CEC3836226927C962FF /* Pods-ZHDropDownMenu_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-ZHDropDownMenu_Tests-umbrella.h"; sourceTree = ""; }; 58 | C1F23542A11D086A0144E0AF87FDFC03 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 59 | C83C0832731205F4EB5104F9B454EB53 /* Pods-ZHDropDownMenu_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ZHDropDownMenu_Tests-resources.sh"; sourceTree = ""; }; 60 | CC04D083D5DBA3134AC553C6F402749D /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 61 | CCB62E3CB39536E4DB2638CF0F445078 /* ZHDropDownMenu.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = ZHDropDownMenu.modulemap; sourceTree = ""; }; 62 | CE8788E0716F5491CD4E3130B432258B /* Pods-ZHDropDownMenu_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ZHDropDownMenu_Tests.release.xcconfig"; sourceTree = ""; }; 63 | D26AE36C7DD6F15CE878A2A97B2891F9 /* Pods-ZHDropDownMenu_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ZHDropDownMenu_Example.release.xcconfig"; sourceTree = ""; }; 64 | D79FF6D71E99C79DE8FFE33733F6F289 /* Pods-ZHDropDownMenu_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ZHDropDownMenu_Tests-frameworks.sh"; sourceTree = ""; }; 65 | F758792E83789FDFFD6116D721DF3326 /* ZHDropDownMenu.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ZHDropDownMenu.swift; path = ZHDropDownMenu/ZHDropDownMenu.swift; sourceTree = ""; }; 66 | F862549C90DAEDF33057F27C1EF73BE7 /* Pods_ZHDropDownMenu_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_ZHDropDownMenu_Tests.framework; path = "Pods-ZHDropDownMenu_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 67 | /* End PBXFileReference section */ 68 | 69 | /* Begin PBXFrameworksBuildPhase section */ 70 | 2A08B9E2C097F32DDD7C79B00B0EA3BD /* Frameworks */ = { 71 | isa = PBXFrameworksBuildPhase; 72 | buildActionMask = 2147483647; 73 | files = ( 74 | 5D1389212AACFFF1C2B61C569F8EA8F9 /* Foundation.framework in Frameworks */, 75 | ); 76 | runOnlyForDeploymentPostprocessing = 0; 77 | }; 78 | 3AF8E406677361DD94FE284BFD7A19F5 /* Frameworks */ = { 79 | isa = PBXFrameworksBuildPhase; 80 | buildActionMask = 2147483647; 81 | files = ( 82 | F8FD52E643E1FD4D7FD2EA8487791B63 /* Foundation.framework in Frameworks */, 83 | ); 84 | runOnlyForDeploymentPostprocessing = 0; 85 | }; 86 | E12AAE1EFC8B890BA0FFB376484A6C38 /* Frameworks */ = { 87 | isa = PBXFrameworksBuildPhase; 88 | buildActionMask = 2147483647; 89 | files = ( 90 | AEB007D7CF1D254CC44E171EC76E18BD /* Foundation.framework in Frameworks */, 91 | ); 92 | runOnlyForDeploymentPostprocessing = 0; 93 | }; 94 | /* End PBXFrameworksBuildPhase section */ 95 | 96 | /* Begin PBXGroup section */ 97 | 4A763DF416EEA89DA93C3F0A436E5DD5 /* Products */ = { 98 | isa = PBXGroup; 99 | children = ( 100 | 38147FAAB2F4452500DDDC1FE5E9C6EE /* Pods_ZHDropDownMenu_Example.framework */, 101 | F862549C90DAEDF33057F27C1EF73BE7 /* Pods_ZHDropDownMenu_Tests.framework */, 102 | B10D4603247E143DCE082531557B9B68 /* ZHDropDownMenu.framework */, 103 | ); 104 | name = Products; 105 | sourceTree = ""; 106 | }; 107 | 659BE26B35D887F1C4AFDC843EF3C7D6 /* Targets Support Files */ = { 108 | isa = PBXGroup; 109 | children = ( 110 | 7EE371A63DD93E7BEB85B1FA475DDE24 /* Pods-ZHDropDownMenu_Example */, 111 | B8EDAA09F045393FB793ECE58C862603 /* Pods-ZHDropDownMenu_Tests */, 112 | ); 113 | name = "Targets Support Files"; 114 | sourceTree = ""; 115 | }; 116 | 7DB346D0F39D3F0E887471402A8071AB = { 117 | isa = PBXGroup; 118 | children = ( 119 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 120 | B67CBB974487516DC7CBC9734FDCD1E0 /* Development Pods */, 121 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 122 | 4A763DF416EEA89DA93C3F0A436E5DD5 /* Products */, 123 | 659BE26B35D887F1C4AFDC843EF3C7D6 /* Targets Support Files */, 124 | ); 125 | sourceTree = ""; 126 | }; 127 | 7EE371A63DD93E7BEB85B1FA475DDE24 /* Pods-ZHDropDownMenu_Example */ = { 128 | isa = PBXGroup; 129 | children = ( 130 | CC04D083D5DBA3134AC553C6F402749D /* Info.plist */, 131 | 6CEB7BD7839B9E51C490A9E6F13E8C92 /* Pods-ZHDropDownMenu_Example.modulemap */, 132 | 10A037B9837107B91A17E83458B99574 /* Pods-ZHDropDownMenu_Example-acknowledgements.markdown */, 133 | 92A3813350C7C792504051F76B603C65 /* Pods-ZHDropDownMenu_Example-acknowledgements.plist */, 134 | 8A851E9BDE2E004BA0EC321181E61C75 /* Pods-ZHDropDownMenu_Example-dummy.m */, 135 | 9C274E104F7E40E4C20A57F87A9E2F48 /* Pods-ZHDropDownMenu_Example-frameworks.sh */, 136 | 2880FC6EE122FC9CA8B73BBA05889599 /* Pods-ZHDropDownMenu_Example-resources.sh */, 137 | B3645354C78578C845534ABD48231423 /* Pods-ZHDropDownMenu_Example-umbrella.h */, 138 | 57DE6897F23D441A031BB6D45EB21146 /* Pods-ZHDropDownMenu_Example.debug.xcconfig */, 139 | D26AE36C7DD6F15CE878A2A97B2891F9 /* Pods-ZHDropDownMenu_Example.release.xcconfig */, 140 | ); 141 | name = "Pods-ZHDropDownMenu_Example"; 142 | path = "Target Support Files/Pods-ZHDropDownMenu_Example"; 143 | sourceTree = ""; 144 | }; 145 | ABF988CE2E85FA719BCE03F92D8BCBC1 /* Support Files */ = { 146 | isa = PBXGroup; 147 | children = ( 148 | C1F23542A11D086A0144E0AF87FDFC03 /* Info.plist */, 149 | CCB62E3CB39536E4DB2638CF0F445078 /* ZHDropDownMenu.modulemap */, 150 | 87B277C01311BF7C696BB6E9FBB74273 /* ZHDropDownMenu.xcconfig */, 151 | 310A269933C15CE1D79EA352198AC7F3 /* ZHDropDownMenu-dummy.m */, 152 | A27FC33718FB11A15450B5BFD4286FCC /* ZHDropDownMenu-prefix.pch */, 153 | 25388FD9951883E39A9A8B943C9FD383 /* ZHDropDownMenu-umbrella.h */, 154 | ); 155 | name = "Support Files"; 156 | path = "Example/Pods/Target Support Files/ZHDropDownMenu"; 157 | sourceTree = ""; 158 | }; 159 | B67CBB974487516DC7CBC9734FDCD1E0 /* Development Pods */ = { 160 | isa = PBXGroup; 161 | children = ( 162 | DCC5EE6C5F5C8074C79FD66C47AAA109 /* ZHDropDownMenu */, 163 | ); 164 | name = "Development Pods"; 165 | sourceTree = ""; 166 | }; 167 | B8EDAA09F045393FB793ECE58C862603 /* Pods-ZHDropDownMenu_Tests */ = { 168 | isa = PBXGroup; 169 | children = ( 170 | A326A631DF42C7B28B57941875157E11 /* Info.plist */, 171 | 6504EDE5EFA42DA3300CD523DB03F570 /* Pods-ZHDropDownMenu_Tests.modulemap */, 172 | 78BE29604FC9BCB34C33DC0569D32E08 /* Pods-ZHDropDownMenu_Tests-acknowledgements.markdown */, 173 | 4D43BB7F065F1F71B9074B2AC346662B /* Pods-ZHDropDownMenu_Tests-acknowledgements.plist */, 174 | 809A01EC2D72037A105369A376E684B0 /* Pods-ZHDropDownMenu_Tests-dummy.m */, 175 | D79FF6D71E99C79DE8FFE33733F6F289 /* Pods-ZHDropDownMenu_Tests-frameworks.sh */, 176 | C83C0832731205F4EB5104F9B454EB53 /* Pods-ZHDropDownMenu_Tests-resources.sh */, 177 | B79D69A3D7B61CEC3836226927C962FF /* Pods-ZHDropDownMenu_Tests-umbrella.h */, 178 | 2105F7E0195EB263022E5AEB855947F1 /* Pods-ZHDropDownMenu_Tests.debug.xcconfig */, 179 | CE8788E0716F5491CD4E3130B432258B /* Pods-ZHDropDownMenu_Tests.release.xcconfig */, 180 | ); 181 | name = "Pods-ZHDropDownMenu_Tests"; 182 | path = "Target Support Files/Pods-ZHDropDownMenu_Tests"; 183 | sourceTree = ""; 184 | }; 185 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 186 | isa = PBXGroup; 187 | children = ( 188 | D35AF013A5F0BAD4F32504907A52519E /* iOS */, 189 | ); 190 | name = Frameworks; 191 | sourceTree = ""; 192 | }; 193 | D35AF013A5F0BAD4F32504907A52519E /* iOS */ = { 194 | isa = PBXGroup; 195 | children = ( 196 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */, 197 | ); 198 | name = iOS; 199 | sourceTree = ""; 200 | }; 201 | DCC5EE6C5F5C8074C79FD66C47AAA109 /* ZHDropDownMenu */ = { 202 | isa = PBXGroup; 203 | children = ( 204 | F758792E83789FDFFD6116D721DF3326 /* ZHDropDownMenu.swift */, 205 | F73B4548C5FAAAC754875CA9474AA24F /* Resources */, 206 | ABF988CE2E85FA719BCE03F92D8BCBC1 /* Support Files */, 207 | ); 208 | name = ZHDropDownMenu; 209 | path = ../..; 210 | sourceTree = ""; 211 | }; 212 | F73B4548C5FAAAC754875CA9474AA24F /* Resources */ = { 213 | isa = PBXGroup; 214 | children = ( 215 | A6B7F3A61C68755DD8932B44D02147BC /* default_down.png */, 216 | ); 217 | name = Resources; 218 | sourceTree = ""; 219 | }; 220 | /* End PBXGroup section */ 221 | 222 | /* Begin PBXHeadersBuildPhase section */ 223 | B35F2B59B9CE6873B8DA86267BA4F910 /* Headers */ = { 224 | isa = PBXHeadersBuildPhase; 225 | buildActionMask = 2147483647; 226 | files = ( 227 | DCE28DD62EF2A0DF0939B2257A4E6A80 /* Pods-ZHDropDownMenu_Example-umbrella.h in Headers */, 228 | ); 229 | runOnlyForDeploymentPostprocessing = 0; 230 | }; 231 | D9DAEECEEBBD075A7C8BE0C73477680C /* Headers */ = { 232 | isa = PBXHeadersBuildPhase; 233 | buildActionMask = 2147483647; 234 | files = ( 235 | 24639C41D565E0D583930C0E9FB22153 /* ZHDropDownMenu-umbrella.h in Headers */, 236 | ); 237 | runOnlyForDeploymentPostprocessing = 0; 238 | }; 239 | F91A53232BF505F4086EDCA3D724402B /* Headers */ = { 240 | isa = PBXHeadersBuildPhase; 241 | buildActionMask = 2147483647; 242 | files = ( 243 | AF066D24A1150E687322E0EB0EE116EE /* Pods-ZHDropDownMenu_Tests-umbrella.h in Headers */, 244 | ); 245 | runOnlyForDeploymentPostprocessing = 0; 246 | }; 247 | /* End PBXHeadersBuildPhase section */ 248 | 249 | /* Begin PBXNativeTarget section */ 250 | 042855DD091EE8939DB97F3F56D1C4E7 /* ZHDropDownMenu */ = { 251 | isa = PBXNativeTarget; 252 | buildConfigurationList = 8AE05C7D805D0AA86730F3275A731E57 /* Build configuration list for PBXNativeTarget "ZHDropDownMenu" */; 253 | buildPhases = ( 254 | 7A307A8744AE8D4893A5A8526271348C /* Sources */, 255 | 2A08B9E2C097F32DDD7C79B00B0EA3BD /* Frameworks */, 256 | 4538BECB8D16310FD299243F8D541457 /* Resources */, 257 | D9DAEECEEBBD075A7C8BE0C73477680C /* Headers */, 258 | ); 259 | buildRules = ( 260 | ); 261 | dependencies = ( 262 | ); 263 | name = ZHDropDownMenu; 264 | productName = ZHDropDownMenu; 265 | productReference = B10D4603247E143DCE082531557B9B68 /* ZHDropDownMenu.framework */; 266 | productType = "com.apple.product-type.framework"; 267 | }; 268 | 08E6A63CB7625C47885156E52657C2B3 /* Pods-ZHDropDownMenu_Tests */ = { 269 | isa = PBXNativeTarget; 270 | buildConfigurationList = BA417304A0387615FDCF20BCCC0602AF /* Build configuration list for PBXNativeTarget "Pods-ZHDropDownMenu_Tests" */; 271 | buildPhases = ( 272 | 8463A0C5AB6A4BBC6B6FAA5C3D8C09B9 /* Sources */, 273 | E12AAE1EFC8B890BA0FFB376484A6C38 /* Frameworks */, 274 | F91A53232BF505F4086EDCA3D724402B /* Headers */, 275 | ); 276 | buildRules = ( 277 | ); 278 | dependencies = ( 279 | ); 280 | name = "Pods-ZHDropDownMenu_Tests"; 281 | productName = "Pods-ZHDropDownMenu_Tests"; 282 | productReference = F862549C90DAEDF33057F27C1EF73BE7 /* Pods_ZHDropDownMenu_Tests.framework */; 283 | productType = "com.apple.product-type.framework"; 284 | }; 285 | CE751C3CAFB12466485249C801C5B47E /* Pods-ZHDropDownMenu_Example */ = { 286 | isa = PBXNativeTarget; 287 | buildConfigurationList = B5F13CB77A0C1210A6DCB43A808E18F2 /* Build configuration list for PBXNativeTarget "Pods-ZHDropDownMenu_Example" */; 288 | buildPhases = ( 289 | 3E054A487AEED138115CB727D1821C4E /* Sources */, 290 | 3AF8E406677361DD94FE284BFD7A19F5 /* Frameworks */, 291 | B35F2B59B9CE6873B8DA86267BA4F910 /* Headers */, 292 | ); 293 | buildRules = ( 294 | ); 295 | dependencies = ( 296 | DA44369584B732019D5A10D3FC513BC3 /* PBXTargetDependency */, 297 | ); 298 | name = "Pods-ZHDropDownMenu_Example"; 299 | productName = "Pods-ZHDropDownMenu_Example"; 300 | productReference = 38147FAAB2F4452500DDDC1FE5E9C6EE /* Pods_ZHDropDownMenu_Example.framework */; 301 | productType = "com.apple.product-type.framework"; 302 | }; 303 | /* End PBXNativeTarget section */ 304 | 305 | /* Begin PBXProject section */ 306 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 307 | isa = PBXProject; 308 | attributes = { 309 | LastSwiftUpdateCheck = 0830; 310 | LastUpgradeCheck = 0700; 311 | }; 312 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 313 | compatibilityVersion = "Xcode 3.2"; 314 | developmentRegion = English; 315 | hasScannedForEncodings = 0; 316 | knownRegions = ( 317 | en, 318 | ); 319 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 320 | productRefGroup = 4A763DF416EEA89DA93C3F0A436E5DD5 /* Products */; 321 | projectDirPath = ""; 322 | projectRoot = ""; 323 | targets = ( 324 | CE751C3CAFB12466485249C801C5B47E /* Pods-ZHDropDownMenu_Example */, 325 | 08E6A63CB7625C47885156E52657C2B3 /* Pods-ZHDropDownMenu_Tests */, 326 | 042855DD091EE8939DB97F3F56D1C4E7 /* ZHDropDownMenu */, 327 | ); 328 | }; 329 | /* End PBXProject section */ 330 | 331 | /* Begin PBXResourcesBuildPhase section */ 332 | 4538BECB8D16310FD299243F8D541457 /* Resources */ = { 333 | isa = PBXResourcesBuildPhase; 334 | buildActionMask = 2147483647; 335 | files = ( 336 | 517ADF4A10F0684837D2036AFDAB90E1 /* default_down.png in Resources */, 337 | ); 338 | runOnlyForDeploymentPostprocessing = 0; 339 | }; 340 | /* End PBXResourcesBuildPhase section */ 341 | 342 | /* Begin PBXSourcesBuildPhase section */ 343 | 3E054A487AEED138115CB727D1821C4E /* Sources */ = { 344 | isa = PBXSourcesBuildPhase; 345 | buildActionMask = 2147483647; 346 | files = ( 347 | C6FD66DEC680E3AFF640FEB1476BAD72 /* Pods-ZHDropDownMenu_Example-dummy.m in Sources */, 348 | ); 349 | runOnlyForDeploymentPostprocessing = 0; 350 | }; 351 | 7A307A8744AE8D4893A5A8526271348C /* Sources */ = { 352 | isa = PBXSourcesBuildPhase; 353 | buildActionMask = 2147483647; 354 | files = ( 355 | D8627CB4F62A58E73D75F4D50DCD48A5 /* ZHDropDownMenu-dummy.m in Sources */, 356 | A9553D9F45898B8B716366D4B998E3D8 /* ZHDropDownMenu.swift in Sources */, 357 | ); 358 | runOnlyForDeploymentPostprocessing = 0; 359 | }; 360 | 8463A0C5AB6A4BBC6B6FAA5C3D8C09B9 /* Sources */ = { 361 | isa = PBXSourcesBuildPhase; 362 | buildActionMask = 2147483647; 363 | files = ( 364 | A8E7F2041D53F8BC5A9F43526AA799CC /* Pods-ZHDropDownMenu_Tests-dummy.m in Sources */, 365 | ); 366 | runOnlyForDeploymentPostprocessing = 0; 367 | }; 368 | /* End PBXSourcesBuildPhase section */ 369 | 370 | /* Begin PBXTargetDependency section */ 371 | DA44369584B732019D5A10D3FC513BC3 /* PBXTargetDependency */ = { 372 | isa = PBXTargetDependency; 373 | name = ZHDropDownMenu; 374 | target = 042855DD091EE8939DB97F3F56D1C4E7 /* ZHDropDownMenu */; 375 | targetProxy = 5C9398BB974E45361C7B1B111BB0219E /* PBXContainerItemProxy */; 376 | }; 377 | /* End PBXTargetDependency section */ 378 | 379 | /* Begin XCBuildConfiguration section */ 380 | 157AF0CD5E5AB2A2E74D3B8ECD865185 /* Release */ = { 381 | isa = XCBuildConfiguration; 382 | buildSettings = { 383 | ALWAYS_SEARCH_USER_PATHS = NO; 384 | CLANG_ANALYZER_NONNULL = YES; 385 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; 386 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 387 | CLANG_CXX_LIBRARY = "libc++"; 388 | CLANG_ENABLE_MODULES = YES; 389 | CLANG_ENABLE_OBJC_ARC = YES; 390 | CLANG_WARN_BOOL_CONVERSION = YES; 391 | CLANG_WARN_CONSTANT_CONVERSION = YES; 392 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 393 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 394 | CLANG_WARN_EMPTY_BODY = YES; 395 | CLANG_WARN_ENUM_CONVERSION = YES; 396 | CLANG_WARN_INFINITE_RECURSION = YES; 397 | CLANG_WARN_INT_CONVERSION = YES; 398 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 399 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 400 | CLANG_WARN_UNREACHABLE_CODE = YES; 401 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 402 | CODE_SIGNING_REQUIRED = NO; 403 | COPY_PHASE_STRIP = YES; 404 | ENABLE_NS_ASSERTIONS = NO; 405 | GCC_C_LANGUAGE_STANDARD = gnu99; 406 | GCC_PREPROCESSOR_DEFINITIONS = ( 407 | "POD_CONFIGURATION_RELEASE=1", 408 | "$(inherited)", 409 | ); 410 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 411 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 412 | GCC_WARN_UNDECLARED_SELECTOR = YES; 413 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 414 | GCC_WARN_UNUSED_FUNCTION = YES; 415 | GCC_WARN_UNUSED_VARIABLE = YES; 416 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 417 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 418 | STRIP_INSTALLED_PRODUCT = NO; 419 | SYMROOT = "${SRCROOT}/../build"; 420 | VALIDATE_PRODUCT = YES; 421 | }; 422 | name = Release; 423 | }; 424 | 232B469D18CB721C8FAEA2C31C73EA7D /* Debug */ = { 425 | isa = XCBuildConfiguration; 426 | baseConfigurationReference = 57DE6897F23D441A031BB6D45EB21146 /* Pods-ZHDropDownMenu_Example.debug.xcconfig */; 427 | buildSettings = { 428 | CODE_SIGN_IDENTITY = ""; 429 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 430 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 431 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 432 | CURRENT_PROJECT_VERSION = 1; 433 | DEBUG_INFORMATION_FORMAT = dwarf; 434 | DEFINES_MODULE = YES; 435 | DYLIB_COMPATIBILITY_VERSION = 1; 436 | DYLIB_CURRENT_VERSION = 1; 437 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 438 | ENABLE_STRICT_OBJC_MSGSEND = YES; 439 | GCC_NO_COMMON_BLOCKS = YES; 440 | INFOPLIST_FILE = "Target Support Files/Pods-ZHDropDownMenu_Example/Info.plist"; 441 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 442 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 443 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 444 | MACH_O_TYPE = staticlib; 445 | MODULEMAP_FILE = "Target Support Files/Pods-ZHDropDownMenu_Example/Pods-ZHDropDownMenu_Example.modulemap"; 446 | MTL_ENABLE_DEBUG_INFO = YES; 447 | OTHER_LDFLAGS = ""; 448 | OTHER_LIBTOOLFLAGS = ""; 449 | PODS_ROOT = "$(SRCROOT)"; 450 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 451 | PRODUCT_NAME = Pods_ZHDropDownMenu_Example; 452 | SDKROOT = iphoneos; 453 | SKIP_INSTALL = YES; 454 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 455 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 456 | SWIFT_VERSION = 3.0; 457 | TARGETED_DEVICE_FAMILY = "1,2"; 458 | VERSIONING_SYSTEM = "apple-generic"; 459 | VERSION_INFO_PREFIX = ""; 460 | }; 461 | name = Debug; 462 | }; 463 | 267714861E350B620D85988891E05807 /* Release */ = { 464 | isa = XCBuildConfiguration; 465 | baseConfigurationReference = CE8788E0716F5491CD4E3130B432258B /* Pods-ZHDropDownMenu_Tests.release.xcconfig */; 466 | buildSettings = { 467 | CODE_SIGN_IDENTITY = ""; 468 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 469 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 470 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 471 | CURRENT_PROJECT_VERSION = 1; 472 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 473 | DEFINES_MODULE = YES; 474 | DYLIB_COMPATIBILITY_VERSION = 1; 475 | DYLIB_CURRENT_VERSION = 1; 476 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 477 | ENABLE_STRICT_OBJC_MSGSEND = YES; 478 | GCC_NO_COMMON_BLOCKS = YES; 479 | INFOPLIST_FILE = "Target Support Files/Pods-ZHDropDownMenu_Tests/Info.plist"; 480 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 481 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 482 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 483 | MACH_O_TYPE = staticlib; 484 | MODULEMAP_FILE = "Target Support Files/Pods-ZHDropDownMenu_Tests/Pods-ZHDropDownMenu_Tests.modulemap"; 485 | MTL_ENABLE_DEBUG_INFO = NO; 486 | OTHER_LDFLAGS = ""; 487 | OTHER_LIBTOOLFLAGS = ""; 488 | PODS_ROOT = "$(SRCROOT)"; 489 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 490 | PRODUCT_NAME = Pods_ZHDropDownMenu_Tests; 491 | SDKROOT = iphoneos; 492 | SKIP_INSTALL = YES; 493 | TARGETED_DEVICE_FAMILY = "1,2"; 494 | VERSIONING_SYSTEM = "apple-generic"; 495 | VERSION_INFO_PREFIX = ""; 496 | }; 497 | name = Release; 498 | }; 499 | 54218BB25CA1C7C2F6E0CDE52BC97CAC /* Debug */ = { 500 | isa = XCBuildConfiguration; 501 | baseConfigurationReference = 87B277C01311BF7C696BB6E9FBB74273 /* ZHDropDownMenu.xcconfig */; 502 | buildSettings = { 503 | CODE_SIGN_IDENTITY = ""; 504 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 505 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 506 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 507 | CURRENT_PROJECT_VERSION = 1; 508 | DEBUG_INFORMATION_FORMAT = dwarf; 509 | DEFINES_MODULE = YES; 510 | DYLIB_COMPATIBILITY_VERSION = 1; 511 | DYLIB_CURRENT_VERSION = 1; 512 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 513 | ENABLE_STRICT_OBJC_MSGSEND = YES; 514 | GCC_NO_COMMON_BLOCKS = YES; 515 | GCC_PREFIX_HEADER = "Target Support Files/ZHDropDownMenu/ZHDropDownMenu-prefix.pch"; 516 | INFOPLIST_FILE = "Target Support Files/ZHDropDownMenu/Info.plist"; 517 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 518 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 519 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 520 | MODULEMAP_FILE = "Target Support Files/ZHDropDownMenu/ZHDropDownMenu.modulemap"; 521 | MTL_ENABLE_DEBUG_INFO = YES; 522 | PRODUCT_NAME = ZHDropDownMenu; 523 | SDKROOT = iphoneos; 524 | SKIP_INSTALL = YES; 525 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 526 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 527 | SWIFT_VERSION = 4.0; 528 | TARGETED_DEVICE_FAMILY = "1,2"; 529 | VERSIONING_SYSTEM = "apple-generic"; 530 | VERSION_INFO_PREFIX = ""; 531 | }; 532 | name = Debug; 533 | }; 534 | AD1CE63638664E05352BC85B1EBA7AF8 /* Debug */ = { 535 | isa = XCBuildConfiguration; 536 | baseConfigurationReference = 2105F7E0195EB263022E5AEB855947F1 /* Pods-ZHDropDownMenu_Tests.debug.xcconfig */; 537 | buildSettings = { 538 | CODE_SIGN_IDENTITY = ""; 539 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 540 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 541 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 542 | CURRENT_PROJECT_VERSION = 1; 543 | DEBUG_INFORMATION_FORMAT = dwarf; 544 | DEFINES_MODULE = YES; 545 | DYLIB_COMPATIBILITY_VERSION = 1; 546 | DYLIB_CURRENT_VERSION = 1; 547 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 548 | ENABLE_STRICT_OBJC_MSGSEND = YES; 549 | GCC_NO_COMMON_BLOCKS = YES; 550 | INFOPLIST_FILE = "Target Support Files/Pods-ZHDropDownMenu_Tests/Info.plist"; 551 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 552 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 553 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 554 | MACH_O_TYPE = staticlib; 555 | MODULEMAP_FILE = "Target Support Files/Pods-ZHDropDownMenu_Tests/Pods-ZHDropDownMenu_Tests.modulemap"; 556 | MTL_ENABLE_DEBUG_INFO = YES; 557 | OTHER_LDFLAGS = ""; 558 | OTHER_LIBTOOLFLAGS = ""; 559 | PODS_ROOT = "$(SRCROOT)"; 560 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 561 | PRODUCT_NAME = Pods_ZHDropDownMenu_Tests; 562 | SDKROOT = iphoneos; 563 | SKIP_INSTALL = YES; 564 | TARGETED_DEVICE_FAMILY = "1,2"; 565 | VERSIONING_SYSTEM = "apple-generic"; 566 | VERSION_INFO_PREFIX = ""; 567 | }; 568 | name = Debug; 569 | }; 570 | EED546DBB23FC32035C9BDC4E22B30BD /* Debug */ = { 571 | isa = XCBuildConfiguration; 572 | buildSettings = { 573 | ALWAYS_SEARCH_USER_PATHS = NO; 574 | CLANG_ANALYZER_NONNULL = YES; 575 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; 576 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 577 | CLANG_CXX_LIBRARY = "libc++"; 578 | CLANG_ENABLE_MODULES = YES; 579 | CLANG_ENABLE_OBJC_ARC = YES; 580 | CLANG_WARN_BOOL_CONVERSION = YES; 581 | CLANG_WARN_CONSTANT_CONVERSION = YES; 582 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 583 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 584 | CLANG_WARN_EMPTY_BODY = YES; 585 | CLANG_WARN_ENUM_CONVERSION = YES; 586 | CLANG_WARN_INFINITE_RECURSION = YES; 587 | CLANG_WARN_INT_CONVERSION = YES; 588 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 589 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 590 | CLANG_WARN_UNREACHABLE_CODE = YES; 591 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 592 | CODE_SIGNING_REQUIRED = NO; 593 | COPY_PHASE_STRIP = NO; 594 | ENABLE_TESTABILITY = YES; 595 | GCC_C_LANGUAGE_STANDARD = gnu99; 596 | GCC_DYNAMIC_NO_PIC = NO; 597 | GCC_OPTIMIZATION_LEVEL = 0; 598 | GCC_PREPROCESSOR_DEFINITIONS = ( 599 | "POD_CONFIGURATION_DEBUG=1", 600 | "DEBUG=1", 601 | "$(inherited)", 602 | ); 603 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 604 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 605 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 606 | GCC_WARN_UNDECLARED_SELECTOR = YES; 607 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 608 | GCC_WARN_UNUSED_FUNCTION = YES; 609 | GCC_WARN_UNUSED_VARIABLE = YES; 610 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 611 | ONLY_ACTIVE_ARCH = YES; 612 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 613 | STRIP_INSTALLED_PRODUCT = NO; 614 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 615 | SYMROOT = "${SRCROOT}/../build"; 616 | }; 617 | name = Debug; 618 | }; 619 | F8948B7E0C811683E78E92AD1083C8EC /* Release */ = { 620 | isa = XCBuildConfiguration; 621 | baseConfigurationReference = 87B277C01311BF7C696BB6E9FBB74273 /* ZHDropDownMenu.xcconfig */; 622 | buildSettings = { 623 | CODE_SIGN_IDENTITY = ""; 624 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 625 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 626 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 627 | CURRENT_PROJECT_VERSION = 1; 628 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 629 | DEFINES_MODULE = YES; 630 | DYLIB_COMPATIBILITY_VERSION = 1; 631 | DYLIB_CURRENT_VERSION = 1; 632 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 633 | ENABLE_STRICT_OBJC_MSGSEND = YES; 634 | GCC_NO_COMMON_BLOCKS = YES; 635 | GCC_PREFIX_HEADER = "Target Support Files/ZHDropDownMenu/ZHDropDownMenu-prefix.pch"; 636 | INFOPLIST_FILE = "Target Support Files/ZHDropDownMenu/Info.plist"; 637 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 638 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 639 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 640 | MODULEMAP_FILE = "Target Support Files/ZHDropDownMenu/ZHDropDownMenu.modulemap"; 641 | MTL_ENABLE_DEBUG_INFO = NO; 642 | PRODUCT_NAME = ZHDropDownMenu; 643 | SDKROOT = iphoneos; 644 | SKIP_INSTALL = YES; 645 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 646 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 647 | SWIFT_VERSION = 4.0; 648 | TARGETED_DEVICE_FAMILY = "1,2"; 649 | VERSIONING_SYSTEM = "apple-generic"; 650 | VERSION_INFO_PREFIX = ""; 651 | }; 652 | name = Release; 653 | }; 654 | FFADA622555361966B3EDA79A15B6D86 /* Release */ = { 655 | isa = XCBuildConfiguration; 656 | baseConfigurationReference = D26AE36C7DD6F15CE878A2A97B2891F9 /* Pods-ZHDropDownMenu_Example.release.xcconfig */; 657 | buildSettings = { 658 | CODE_SIGN_IDENTITY = ""; 659 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 660 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 661 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 662 | CURRENT_PROJECT_VERSION = 1; 663 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 664 | DEFINES_MODULE = YES; 665 | DYLIB_COMPATIBILITY_VERSION = 1; 666 | DYLIB_CURRENT_VERSION = 1; 667 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 668 | ENABLE_STRICT_OBJC_MSGSEND = YES; 669 | GCC_NO_COMMON_BLOCKS = YES; 670 | INFOPLIST_FILE = "Target Support Files/Pods-ZHDropDownMenu_Example/Info.plist"; 671 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 672 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 673 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 674 | MACH_O_TYPE = staticlib; 675 | MODULEMAP_FILE = "Target Support Files/Pods-ZHDropDownMenu_Example/Pods-ZHDropDownMenu_Example.modulemap"; 676 | MTL_ENABLE_DEBUG_INFO = NO; 677 | OTHER_LDFLAGS = ""; 678 | OTHER_LIBTOOLFLAGS = ""; 679 | PODS_ROOT = "$(SRCROOT)"; 680 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 681 | PRODUCT_NAME = Pods_ZHDropDownMenu_Example; 682 | SDKROOT = iphoneos; 683 | SKIP_INSTALL = YES; 684 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 685 | SWIFT_VERSION = 3.0; 686 | TARGETED_DEVICE_FAMILY = "1,2"; 687 | VERSIONING_SYSTEM = "apple-generic"; 688 | VERSION_INFO_PREFIX = ""; 689 | }; 690 | name = Release; 691 | }; 692 | /* End XCBuildConfiguration section */ 693 | 694 | /* Begin XCConfigurationList section */ 695 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 696 | isa = XCConfigurationList; 697 | buildConfigurations = ( 698 | EED546DBB23FC32035C9BDC4E22B30BD /* Debug */, 699 | 157AF0CD5E5AB2A2E74D3B8ECD865185 /* Release */, 700 | ); 701 | defaultConfigurationIsVisible = 0; 702 | defaultConfigurationName = Release; 703 | }; 704 | 8AE05C7D805D0AA86730F3275A731E57 /* Build configuration list for PBXNativeTarget "ZHDropDownMenu" */ = { 705 | isa = XCConfigurationList; 706 | buildConfigurations = ( 707 | 54218BB25CA1C7C2F6E0CDE52BC97CAC /* Debug */, 708 | F8948B7E0C811683E78E92AD1083C8EC /* Release */, 709 | ); 710 | defaultConfigurationIsVisible = 0; 711 | defaultConfigurationName = Release; 712 | }; 713 | B5F13CB77A0C1210A6DCB43A808E18F2 /* Build configuration list for PBXNativeTarget "Pods-ZHDropDownMenu_Example" */ = { 714 | isa = XCConfigurationList; 715 | buildConfigurations = ( 716 | 232B469D18CB721C8FAEA2C31C73EA7D /* Debug */, 717 | FFADA622555361966B3EDA79A15B6D86 /* Release */, 718 | ); 719 | defaultConfigurationIsVisible = 0; 720 | defaultConfigurationName = Release; 721 | }; 722 | BA417304A0387615FDCF20BCCC0602AF /* Build configuration list for PBXNativeTarget "Pods-ZHDropDownMenu_Tests" */ = { 723 | isa = XCConfigurationList; 724 | buildConfigurations = ( 725 | AD1CE63638664E05352BC85B1EBA7AF8 /* Debug */, 726 | 267714861E350B620D85988891E05807 /* Release */, 727 | ); 728 | defaultConfigurationIsVisible = 0; 729 | defaultConfigurationName = Release; 730 | }; 731 | /* End XCConfigurationList section */ 732 | }; 733 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 734 | } 735 | --------------------------------------------------------------------------------