├── .swift-version ├── ExpandingMenu ├── Assets │ ├── .gitkeep │ └── Sounds │ │ ├── fold.caf │ │ ├── selected.caf │ │ └── expanding.caf └── Classes │ ├── .gitkeep │ ├── ExpandingMenuItem.swift │ └── ExpandingMenuButton.swift ├── _Pods.xcodeproj ├── imgs └── demo.gif ├── Example ├── ExpandingMenu │ ├── Images.xcassets │ │ ├── Contents.json │ │ ├── chooser-button-tab.imageset │ │ │ ├── chooser-button-tab.png │ │ │ ├── chooser-button-tab@2x.png │ │ │ └── Contents.json │ │ ├── chooser-button-input.imageset │ │ │ ├── chooser-button-input.png │ │ │ ├── chooser-button-input@2x.png │ │ │ └── Contents.json │ │ ├── chooser-moment-button.imageset │ │ │ ├── chooser-moment-button.png │ │ │ ├── chooser-moment-button@2x.png │ │ │ └── Contents.json │ │ ├── chooser-moment-icon-music.imageset │ │ │ ├── chooser-moment-icon-music.png │ │ │ ├── chooser-moment-icon-music@2x.png │ │ │ └── Contents.json │ │ ├── chooser-moment-icon-place.imageset │ │ │ ├── chooser-moment-icon-place.png │ │ │ ├── chooser-moment-icon-place@2x.png │ │ │ └── Contents.json │ │ ├── chooser-moment-icon-sleep.imageset │ │ │ ├── chooser-moment-icon-sleep.png │ │ │ ├── chooser-moment-icon-sleep@2x.png │ │ │ └── Contents.json │ │ ├── chooser-moment-icon-camera.imageset │ │ │ ├── chooser-moment-icon-camera.png │ │ │ ├── chooser-moment-icon-camera@2x.png │ │ │ └── Contents.json │ │ ├── chooser-moment-icon-thought.imageset │ │ │ ├── chooser-moment-icon-thought.png │ │ │ ├── chooser-moment-icon-thought@2x.png │ │ │ └── Contents.json │ │ ├── chooser-button-tab-highlighted.imageset │ │ │ ├── chooser-button-tab-highlighted.png │ │ │ ├── chooser-button-tab-highlighted@2x.png │ │ │ └── Contents.json │ │ ├── chooser-button-input-highlighted.imageset │ │ │ ├── chooser-button-input-highlighted.png │ │ │ ├── chooser-button-input-highlighted@2x.png │ │ │ └── Contents.json │ │ ├── chooser-moment-button-highlighted.imageset │ │ │ ├── chooser-moment-button-highlighted.png │ │ │ ├── chooser-moment-button-highlighted@2x.png │ │ │ └── Contents.json │ │ ├── chooser-moment-icon-camera-highlighted.imageset │ │ │ ├── chooser-moment-icon-camera-highlighted.png │ │ │ ├── chooser-moment-icon-camera-highlighted@2x.png │ │ │ └── Contents.json │ │ ├── chooser-moment-icon-music-highlighted.imageset │ │ │ ├── chooser-moment-icon-music-highlighted.png │ │ │ ├── chooser-moment-icon-music-highlighted@2x.png │ │ │ └── Contents.json │ │ ├── chooser-moment-icon-place-highlighted.imageset │ │ │ ├── chooser-moment-icon-place-highlighted.png │ │ │ ├── chooser-moment-icon-place-highlighted@2x.png │ │ │ └── Contents.json │ │ ├── chooser-moment-icon-sleep-highlighted.imageset │ │ │ ├── chooser-moment-icon-sleep-highlighted.png │ │ │ ├── chooser-moment-icon-sleep-highlighted@2x.png │ │ │ └── Contents.json │ │ ├── chooser-moment-icon-thought-highlighted.imageset │ │ │ ├── chooser-moment-icon-thought-highlighted.png │ │ │ ├── chooser-moment-icon-thought-highlighted@2x.png │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ ├── Base.lproj │ │ ├── Main.storyboard │ │ └── LaunchScreen.xib │ ├── AppDelegate.swift │ └── ViewController.swift ├── Pods │ ├── Target Support Files │ │ ├── ExpandingMenu │ │ │ ├── ExpandingMenu.modulemap │ │ │ ├── ExpandingMenu-dummy.m │ │ │ ├── ExpandingMenu-prefix.pch │ │ │ ├── ExpandingMenu-umbrella.h │ │ │ ├── ExpandingMenu.xcconfig │ │ │ ├── ResourceBundle-ExpandingMenu-Info.plist │ │ │ └── Info.plist │ │ ├── Pods-ExpandingMenu_Tests │ │ │ ├── Pods-ExpandingMenu_Tests.modulemap │ │ │ ├── Pods-ExpandingMenu_Tests-dummy.m │ │ │ ├── Pods-ExpandingMenu_Tests-umbrella.h │ │ │ ├── Pods-ExpandingMenu_Tests.debug.xcconfig │ │ │ ├── Pods-ExpandingMenu_Tests.release.xcconfig │ │ │ ├── Info.plist │ │ │ ├── Pods-ExpandingMenu_Tests-acknowledgements.markdown │ │ │ ├── Pods-ExpandingMenu_Tests-acknowledgements.plist │ │ │ ├── Pods-ExpandingMenu_Tests-resources.sh │ │ │ └── Pods-ExpandingMenu_Tests-frameworks.sh │ │ └── Pods-ExpandingMenu_Example │ │ │ ├── Pods-ExpandingMenu_Example.modulemap │ │ │ ├── Pods-ExpandingMenu_Example-dummy.m │ │ │ ├── Pods-ExpandingMenu_Example-umbrella.h │ │ │ ├── Pods-ExpandingMenu_Example.debug.xcconfig │ │ │ ├── Pods-ExpandingMenu_Example.release.xcconfig │ │ │ ├── Info.plist │ │ │ ├── Pods-ExpandingMenu_Example-acknowledgements.markdown │ │ │ ├── Pods-ExpandingMenu_Example-acknowledgements.plist │ │ │ ├── Pods-ExpandingMenu_Example-resources.sh │ │ │ └── Pods-ExpandingMenu_Example-frameworks.sh │ ├── Pods.xcodeproj │ │ ├── project.xcworkspace │ │ │ └── xcshareddata │ │ │ │ └── IDEWorkspaceChecks.plist │ │ ├── xcshareddata │ │ │ └── xcschemes │ │ │ │ └── ExpandingMenu.xcscheme │ │ └── project.pbxproj │ ├── Manifest.lock │ └── Local Podspecs │ │ └── ExpandingMenu.podspec.json ├── ExpandingMenu.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── ExpandingMenu-Example.xcscheme │ └── project.pbxproj ├── Podfile ├── ExpandingMenu.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── Podfile.lock └── Tests │ ├── Info.plist │ └── Tests.swift ├── .travis.yml ├── .gitignore ├── LICENSE ├── ExpandingMenu.podspec └── README.md /.swift-version: -------------------------------------------------------------------------------- 1 | 4.2 2 | -------------------------------------------------------------------------------- /ExpandingMenu/Assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ExpandingMenu/Classes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /imgs/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/imgs/demo.gif -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /ExpandingMenu/Assets/Sounds/fold.caf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/ExpandingMenu/Assets/Sounds/fold.caf -------------------------------------------------------------------------------- /ExpandingMenu/Assets/Sounds/selected.caf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/ExpandingMenu/Assets/Sounds/selected.caf -------------------------------------------------------------------------------- /ExpandingMenu/Assets/Sounds/expanding.caf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/ExpandingMenu/Assets/Sounds/expanding.caf -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ExpandingMenu/ExpandingMenu.modulemap: -------------------------------------------------------------------------------- 1 | framework module ExpandingMenu { 2 | umbrella header "ExpandingMenu-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ExpandingMenu/ExpandingMenu-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_ExpandingMenu : NSObject 3 | @end 4 | @implementation PodsDummy_ExpandingMenu 5 | @end 6 | -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-button-tab.imageset/chooser-button-tab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-button-tab.imageset/chooser-button-tab.png -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-button-input.imageset/chooser-button-input.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-button-input.imageset/chooser-button-input.png -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-button-tab.imageset/chooser-button-tab@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-button-tab.imageset/chooser-button-tab@2x.png -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-button-input.imageset/chooser-button-input@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-button-input.imageset/chooser-button-input@2x.png -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-button.imageset/chooser-moment-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-moment-button.imageset/chooser-moment-button.png -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-button.imageset/chooser-moment-button@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-moment-button.imageset/chooser-moment-button@2x.png -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandingMenu_Tests/Pods-ExpandingMenu_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_ExpandingMenu_Tests { 2 | umbrella header "Pods-ExpandingMenu_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/ExpandingMenu.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-music.imageset/chooser-moment-icon-music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-music.imageset/chooser-moment-icon-music.png -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-place.imageset/chooser-moment-icon-place.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-place.imageset/chooser-moment-icon-place.png -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-sleep.imageset/chooser-moment-icon-sleep.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-sleep.imageset/chooser-moment-icon-sleep.png -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandingMenu_Example/Pods-ExpandingMenu_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_ExpandingMenu_Example { 2 | umbrella header "Pods-ExpandingMenu_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandingMenu_Tests/Pods-ExpandingMenu_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_ExpandingMenu_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_ExpandingMenu_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-camera.imageset/chooser-moment-icon-camera.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-camera.imageset/chooser-moment-icon-camera.png -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-music.imageset/chooser-moment-icon-music@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-music.imageset/chooser-moment-icon-music@2x.png -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-place.imageset/chooser-moment-icon-place@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-place.imageset/chooser-moment-icon-place@2x.png -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-sleep.imageset/chooser-moment-icon-sleep@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-sleep.imageset/chooser-moment-icon-sleep@2x.png -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-camera.imageset/chooser-moment-icon-camera@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-camera.imageset/chooser-moment-icon-camera@2x.png -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-thought.imageset/chooser-moment-icon-thought.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-thought.imageset/chooser-moment-icon-thought.png -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandingMenu_Example/Pods-ExpandingMenu_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_ExpandingMenu_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_ExpandingMenu_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-thought.imageset/chooser-moment-icon-thought@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-thought.imageset/chooser-moment-icon-thought@2x.png -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-button-tab-highlighted.imageset/chooser-button-tab-highlighted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-button-tab-highlighted.imageset/chooser-button-tab-highlighted.png -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-button-tab-highlighted.imageset/chooser-button-tab-highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-button-tab-highlighted.imageset/chooser-button-tab-highlighted@2x.png -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-button-input-highlighted.imageset/chooser-button-input-highlighted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-button-input-highlighted.imageset/chooser-button-input-highlighted.png -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-button-highlighted.imageset/chooser-moment-button-highlighted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-moment-button-highlighted.imageset/chooser-moment-button-highlighted.png -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-button-input-highlighted.imageset/chooser-button-input-highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-button-input-highlighted.imageset/chooser-button-input-highlighted@2x.png -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-button-highlighted.imageset/chooser-moment-button-highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-moment-button-highlighted.imageset/chooser-moment-button-highlighted@2x.png -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-camera-highlighted.imageset/chooser-moment-icon-camera-highlighted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-camera-highlighted.imageset/chooser-moment-icon-camera-highlighted.png -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-music-highlighted.imageset/chooser-moment-icon-music-highlighted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-music-highlighted.imageset/chooser-moment-icon-music-highlighted.png -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-place-highlighted.imageset/chooser-moment-icon-place-highlighted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-place-highlighted.imageset/chooser-moment-icon-place-highlighted.png -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-sleep-highlighted.imageset/chooser-moment-icon-sleep-highlighted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-sleep-highlighted.imageset/chooser-moment-icon-sleep-highlighted.png -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | source 'https://github.com/CocoaPods/Specs.git' 2 | use_frameworks! 3 | platform :ios, '12.0' 4 | 5 | target 'ExpandingMenu_Example' do 6 | pod "ExpandingMenu", :path => "../" 7 | end 8 | 9 | target 'ExpandingMenu_Tests' do 10 | pod "ExpandingMenu", :path => "../" 11 | end 12 | -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-music-highlighted.imageset/chooser-moment-icon-music-highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-music-highlighted.imageset/chooser-moment-icon-music-highlighted@2x.png -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-place-highlighted.imageset/chooser-moment-icon-place-highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-place-highlighted.imageset/chooser-moment-icon-place-highlighted@2x.png -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-sleep-highlighted.imageset/chooser-moment-icon-sleep-highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-sleep-highlighted.imageset/chooser-moment-icon-sleep-highlighted@2x.png -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-thought-highlighted.imageset/chooser-moment-icon-thought-highlighted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-thought-highlighted.imageset/chooser-moment-icon-thought-highlighted.png -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-camera-highlighted.imageset/chooser-moment-icon-camera-highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-camera-highlighted.imageset/chooser-moment-icon-camera-highlighted@2x.png -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-thought-highlighted.imageset/chooser-moment-icon-thought-highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monoqlo/ExpandingMenu/HEAD/Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-thought-highlighted.imageset/chooser-moment-icon-thought-highlighted@2x.png -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ExpandingMenu/ExpandingMenu-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/ExpandingMenu.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/ExpandingMenu.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - ExpandingMenu (0.4.0) 3 | 4 | DEPENDENCIES: 5 | - ExpandingMenu (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | ExpandingMenu: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | ExpandingMenu: c07667eafc801476f52e07b27ff7c45288b8ae9e 13 | 14 | PODFILE CHECKSUM: ab98438e8c5488472eb90e6606d943c9f0b58519 15 | 16 | COCOAPODS: 1.5.3 17 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - ExpandingMenu (0.4.0) 3 | 4 | DEPENDENCIES: 5 | - ExpandingMenu (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | ExpandingMenu: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | ExpandingMenu: c07667eafc801476f52e07b27ff7c45288b8ae9e 13 | 14 | PODFILE CHECKSUM: ab98438e8c5488472eb90e6606d943c9f0b58519 15 | 16 | COCOAPODS: 1.5.3 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ExpandingMenu/ExpandingMenu-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 ExpandingMenuVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char ExpandingMenuVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandingMenu_Tests/Pods-ExpandingMenu_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_ExpandingMenu_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_ExpandingMenu_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandingMenu_Example/Pods-ExpandingMenu_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_ExpandingMenu_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_ExpandingMenu_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-button-tab.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "chooser-button-tab.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "chooser-button-tab@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-button-input.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "chooser-button-input.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "chooser-button-input@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-button.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "chooser-moment-button.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "chooser-moment-button@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-camera.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "chooser-moment-icon-camera.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "chooser-moment-icon-camera@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-music.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "chooser-moment-icon-music.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "chooser-moment-icon-music@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-place.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "chooser-moment-icon-place.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "chooser-moment-icon-place@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-sleep.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "chooser-moment-icon-sleep.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "chooser-moment-icon-sleep@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-thought.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "chooser-moment-icon-thought.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "chooser-moment-icon-thought@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-button-tab-highlighted.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "chooser-button-tab-highlighted.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "chooser-button-tab-highlighted@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-button-input-highlighted.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "chooser-button-input-highlighted.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "chooser-button-input-highlighted@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-button-highlighted.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "chooser-moment-button-highlighted.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "chooser-moment-button-highlighted@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-camera-highlighted.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "chooser-moment-icon-camera-highlighted.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "chooser-moment-icon-camera-highlighted@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-music-highlighted.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "chooser-moment-icon-music-highlighted.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "chooser-moment-icon-music-highlighted@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-place-highlighted.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "chooser-moment-icon-place-highlighted.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "chooser-moment-icon-place-highlighted@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-sleep-highlighted.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "chooser-moment-icon-sleep-highlighted.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "chooser-moment-icon-sleep-highlighted@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Example/ExpandingMenu/Images.xcassets/chooser-moment-icon-thought-highlighted.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "chooser-moment-icon-thought-highlighted.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "chooser-moment-icon-thought-highlighted@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ExpandingMenu/ExpandingMenu.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ExpandingMenu 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_LDFLAGS = -framework "AudioToolBox" -framework "QuartzCore" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * http://www.objc.io/issue-6/travis-ci.html 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | language: objective-c 6 | # cache: cocoapods 7 | # podfile: Example/Podfile 8 | # before_install: 9 | # - gem install cocoapods # Since Travis is not always on latest version 10 | # - pod install --project-directory=Example 11 | install: 12 | - gem install xcpretty --no-rdoc --no-ri --no-document --quiet 13 | script: 14 | - set -o pipefail && xcodebuild test -workspace Example/ExpandingMenu.xcworkspace -scheme ExpandingMenu-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty -c 15 | - pod lib lint --quick 16 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OS X 2 | .DS_Store 3 | 4 | # Xcode 5 | build/ 6 | *.pbxuser 7 | !default.pbxuser 8 | *.mode1v3 9 | !default.mode1v3 10 | *.mode2v3 11 | !default.mode2v3 12 | *.perspectivev3 13 | !default.perspectivev3 14 | xcuserdata 15 | *.xccheckout 16 | profile 17 | *.moved-aside 18 | DerivedData 19 | *.hmap 20 | *.ipa 21 | 22 | # Bundler 23 | .bundle 24 | 25 | Carthage 26 | # We recommend against adding the Pods directory to your .gitignore. However 27 | # you should judge for yourself, the pros and cons are mentioned at: 28 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 29 | # 30 | # Note: if you ignore the Pods directory, make sure to uncomment 31 | # `pod install` in .travis.yml 32 | # 33 | # Pods/ 34 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandingMenu_Example/Pods-ExpandingMenu_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ExpandingMenu" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/ExpandingMenu/ExpandingMenu.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "ExpandingMenu" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandingMenu_Tests/Pods-ExpandingMenu_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ExpandingMenu" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/ExpandingMenu/ExpandingMenu.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "ExpandingMenu" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandingMenu_Tests/Pods-ExpandingMenu_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ExpandingMenu" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/ExpandingMenu/ExpandingMenu.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "ExpandingMenu" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandingMenu_Example/Pods-ExpandingMenu_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ExpandingMenu" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/ExpandingMenu/ExpandingMenu.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "ExpandingMenu" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/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/Local Podspecs/ExpandingMenu.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ExpandingMenu", 3 | "version": "0.4.0", 4 | "summary": "A menu button expanding vertical.", 5 | "description": "This library provides a global menu button.", 6 | "homepage": "https://github.com/monoqlo/ExpandingMenu", 7 | "license": "MIT", 8 | "authors": { 9 | "monoqlo": "monoqlo44@gmail.com" 10 | }, 11 | "source": { 12 | "git": "https://github.com/monoqlo/ExpandingMenu.git", 13 | "tag": "0.4.0" 14 | }, 15 | "social_media_url": "https://twitter.com/monoqlo", 16 | "platforms": { 17 | "ios": "8.0" 18 | }, 19 | "requires_arc": true, 20 | "source_files": "ExpandingMenu/Classes/*.swift", 21 | "resource_bundles": { 22 | "ExpandingMenu": [ 23 | "ExpandingMenu/Assets/Sounds/*" 24 | ] 25 | }, 26 | "frameworks": [ 27 | "QuartzCore", 28 | "AudioToolBox" 29 | ] 30 | } 31 | -------------------------------------------------------------------------------- /Example/Tests/Tests.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import XCTest 3 | import ExpandingMenu 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/ExpandingMenu/ResourceBundle-ExpandingMenu-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleIdentifier 8 | ${PRODUCT_BUNDLE_IDENTIFIER} 9 | CFBundleInfoDictionaryVersion 10 | 6.0 11 | CFBundleName 12 | ${PRODUCT_NAME} 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 0.4.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | NSPrincipalClass 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ExpandingMenu/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.4.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandingMenu_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-ExpandingMenu_Example/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015 monoqlo 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/ExpandingMenu/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 | } -------------------------------------------------------------------------------- /Example/ExpandingMenu/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-ExpandingMenu_Tests/Pods-ExpandingMenu_Tests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## ExpandingMenu 5 | 6 | Copyright (c) 2015 monoqlo 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 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandingMenu_Example/Pods-ExpandingMenu_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## ExpandingMenu 5 | 6 | Copyright (c) 2015 monoqlo 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 | -------------------------------------------------------------------------------- /ExpandingMenu.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint ExpandingMenu.podspec' to ensure this is a 3 | # valid spec before submitting. 4 | # 5 | # Any lines starting with a # are optional, but their use is encouraged 6 | # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | s.name = "ExpandingMenu" 11 | s.version = "0.4.0" 12 | s.summary = "A menu button expanding vertical." 13 | 14 | # This description is used to generate tags and improve search results. 15 | # * Think: What does it do? Why did you write it? What is the focus? 16 | # * Try to keep it short, snappy and to the point. 17 | # * Write the description between the DESC delimiters below. 18 | # * Finally, don't worry about the indent, CocoaPods strips it! 19 | s.description = <<-DESC 20 | This library provides a global menu button. 21 | DESC 22 | 23 | s.homepage = "https://github.com/monoqlo/ExpandingMenu" 24 | # s.screenshots = "www.example.com/screenshots_1", "www.example.com/screenshots_2" 25 | s.license = 'MIT' 26 | s.author = { "monoqlo" => "monoqlo44@gmail.com" } 27 | s.source = { :git => "https://github.com/monoqlo/ExpandingMenu.git", :tag => s.version.to_s } 28 | s.social_media_url = 'https://twitter.com/monoqlo' 29 | 30 | s.platform = :ios, '8.0' 31 | s.requires_arc = true 32 | 33 | s.source_files = 'ExpandingMenu/Classes/*.swift' 34 | s.resource_bundles = { 35 | 'ExpandingMenu' => ['ExpandingMenu/Assets/Sounds/*'] 36 | } 37 | 38 | s.frameworks = 'QuartzCore','AudioToolBox' 39 | end 40 | -------------------------------------------------------------------------------- /Example/ExpandingMenu/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 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandingMenu_Tests/Pods-ExpandingMenu_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 | Copyright (c) 2015 monoqlo <monoqlo44@gmail.com> 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | License 38 | MIT 39 | Title 40 | ExpandingMenu 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/Target Support Files/Pods-ExpandingMenu_Example/Pods-ExpandingMenu_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) 2015 monoqlo <monoqlo44@gmail.com> 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | License 38 | MIT 39 | Title 40 | ExpandingMenu 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/ExpandingMenu/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // ExpandingMenu 4 | // 5 | // Created by monoqlo on 09/20/2015. 6 | // Copyright (c) 2015 monoqlo. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | #if swift(>=4.2) 17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | #else 22 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { 23 | // Override point for customization after application launch. 24 | return true 25 | } 26 | #endif 27 | 28 | func applicationWillResignActive(_ application: UIApplication) { 29 | // 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. 30 | // 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. 31 | } 32 | 33 | func applicationDidEnterBackground(_ application: UIApplication) { 34 | // 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. 35 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 36 | } 37 | 38 | func applicationWillEnterForeground(_ application: UIApplication) { 39 | // 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. 40 | } 41 | 42 | func applicationDidBecomeActive(_ application: UIApplication) { 43 | // 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. 44 | } 45 | 46 | func applicationWillTerminate(_ application: UIApplication) { 47 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 48 | } 49 | 50 | 51 | } 52 | 53 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/ExpandingMenu.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | 45 | 46 | 52 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 66 | 67 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /Example/ExpandingMenu/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 21 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /Example/ExpandingMenu/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // ExpandingMenu 4 | // 5 | // Created by monoqlo on 09/20/2015. 6 | // Copyright (c) 2015 monoqlo. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import ExpandingMenu 11 | 12 | class ViewController: UIViewController { 13 | 14 | override func viewDidLoad() { 15 | super.viewDidLoad() 16 | // Do any additional setup after loading the view, typically from a nib. 17 | 18 | configureExpandingMenuButton() 19 | } 20 | 21 | override func didReceiveMemoryWarning() { 22 | super.didReceiveMemoryWarning() 23 | // Dispose of any resources that can be recreated. 24 | } 25 | 26 | fileprivate func configureExpandingMenuButton() { 27 | let menuButtonSize: CGSize = CGSize(width: 64.0, height: 64.0) 28 | let menuButton = ExpandingMenuButton(frame: CGRect(origin: CGPoint.zero, size: menuButtonSize), image: UIImage(named: "chooser-button-tab")!, rotatedImage: UIImage(named: "chooser-button-tab-highlighted")!) 29 | menuButton.center = CGPoint(x: self.view.bounds.width - 32.0, y: self.view.bounds.height - 72.0) 30 | self.view.addSubview(menuButton) 31 | 32 | func showAlert(_ title: String) { 33 | let alert = UIAlertController(title: title, message: nil, preferredStyle: .alert) 34 | alert.addAction(UIAlertAction(title: "OK", style: .cancel, handler: nil)) 35 | self.present(alert, animated: true, completion: nil) 36 | } 37 | 38 | let item1 = ExpandingMenuItem(size: menuButtonSize, title: "Music", image: UIImage(named: "chooser-moment-icon-music")!, highlightedImage: UIImage(named: "chooser-moment-icon-place-highlighted")!, backgroundImage: UIImage(named: "chooser-moment-button"), backgroundHighlightedImage: UIImage(named: "chooser-moment-button-highlighted")) { () -> Void in 39 | showAlert("Music") 40 | } 41 | 42 | let item2 = ExpandingMenuItem(size: menuButtonSize, title: "Place", image: UIImage(named: "chooser-moment-icon-place")!, highlightedImage: UIImage(named: "chooser-moment-icon-place-highlighted")!, backgroundImage: UIImage(named: "chooser-moment-button"), backgroundHighlightedImage: UIImage(named: "chooser-moment-button-highlighted")) { () -> Void in 43 | showAlert("Place") 44 | } 45 | 46 | let item3 = ExpandingMenuItem(size: menuButtonSize, title: "Camera", image: UIImage(named: "chooser-moment-icon-camera")!, highlightedImage: UIImage(named: "chooser-moment-icon-camera-highlighted")!, backgroundImage: UIImage(named: "chooser-moment-button"), backgroundHighlightedImage: UIImage(named: "chooser-moment-button-highlighted")) { () -> Void in 47 | showAlert("Camera") 48 | } 49 | 50 | let item4 = ExpandingMenuItem(size: menuButtonSize, title: "Thought", image: UIImage(named: "chooser-moment-icon-thought")!, highlightedImage: UIImage(named: "chooser-moment-icon-thought-highlighted")!, backgroundImage: UIImage(named: "chooser-moment-button"), backgroundHighlightedImage: UIImage(named: "chooser-moment-button-highlighted")) { () -> Void in 51 | showAlert("Thought") 52 | } 53 | 54 | let item5 = ExpandingMenuItem(size: menuButtonSize, title: "Sleep", image: UIImage(named: "chooser-moment-icon-sleep")!, highlightedImage: UIImage(named: "chooser-moment-icon-sleep-highlighted")!, backgroundImage: UIImage(named: "chooser-moment-button"), backgroundHighlightedImage: UIImage(named: "chooser-moment-button-highlighted")) { () -> Void in 55 | showAlert("Sleep") 56 | } 57 | 58 | menuButton.addMenuItems([item1, item2, item3, item4, item5]) 59 | 60 | menuButton.willPresentMenuItems = { (menu) -> Void in 61 | print("MenuItems will present.") 62 | } 63 | 64 | menuButton.didDismissMenuItems = { (menu) -> Void in 65 | print("MenuItems dismissed.") 66 | } 67 | } 68 | } 69 | 70 | -------------------------------------------------------------------------------- /Example/ExpandingMenu.xcodeproj/xcshareddata/xcschemes/ExpandingMenu-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 67 | 68 | 78 | 80 | 86 | 87 | 88 | 89 | 90 | 91 | 97 | 99 | 105 | 106 | 107 | 108 | 110 | 111 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ExpandingMenu 2 | 3 | [![CI Status](http://img.shields.io/travis/monoqlo/ExpandingMenu.svg?style=flat)](https://travis-ci.org/monoqlo/ExpandingMenu) 4 | [![Version](https://img.shields.io/cocoapods/v/ExpandingMenu.svg?style=flat)](http://cocoapods.org/pods/ExpandingMenu) 5 | [![License](https://img.shields.io/cocoapods/l/ExpandingMenu.svg?style=flat)](http://cocoapods.org/pods/ExpandingMenu) 6 | [![Platform](https://img.shields.io/cocoapods/p/ExpandingMenu.svg?style=flat)](http://cocoapods.org/pods/ExpandingMenu) 7 | 8 | ![demo](https://github.com/monoqlo/ExpandingMenu/blob/master/imgs/demo.gif) 9 | 10 | ExpandingMenu is written in Swift. 11 | 12 | ## Requirements 13 | 14 | - iOS 8.0+ 15 | - Xcode 10.0+ 16 | - Swift 3.x+ 17 | 18 | ## Installation 19 | 20 | ### CocoaPods 21 | 22 | You can install [CocoaPods](http://cocoapods.org) with the following command: 23 | 24 | ```bash 25 | $ gem install cocoapods 26 | ``` 27 | 28 | To integrate ExpandingMenu into your Xcode project using CocoaPods, specify it in your `Podfile`: 29 | 30 | ```ruby 31 | source 'https://github.com/CocoaPods/Specs.git' 32 | platform :ios, '8.0' 33 | use_frameworks! 34 | 35 | target '' do 36 | pod 'ExpandingMenu', '~> 0.4' 37 | end 38 | ``` 39 | 40 | Then, run the following command: 41 | 42 | ```bash 43 | $ pod install 44 | ``` 45 | 46 | ### Carthage 47 | 48 | You can install [Carthage](https://github.com/Carthage/Carthage) with [Homebrew](http://brew.sh/) using the following command: 49 | 50 | ```bash 51 | $ brew update 52 | $ brew install carthage 53 | ``` 54 | 55 | To integrate ExpandingMenu into your Xcode project using Carthage, specify it in your `Cartfile`: 56 | 57 | ```ogdl 58 | github "monoqlo/ExpandingMenu" ~> 0.4 59 | ``` 60 | 61 | Run `carthage update` to build the framework and drag the built `ExpandingMenu.framework` into your Xcode project. 62 | 63 | ### Manually 64 | 1. Download and drop ```/ExpandingMenu```folder in your project. 65 | 2. Congratulations! 66 | 67 | ## Usage 68 | 69 | ```swift 70 | import ExpandingMenu 71 | 72 | let menuButtonSize: CGSize = CGSize(width: 64.0, height: 64.0) 73 | let menuButton = ExpandingMenuButton(frame: CGRect(origin: CGPoint.zero, size: menuButtonSize), image: UIImage(named: "chooser-button-tab")!, rotatedImage: UIImage(named: "chooser-button-tab-highlighted")!) 74 | menuButton.center = CGPoint(x: self.view.bounds.width - 32.0, y: self.view.bounds.height - 72.0) 75 | view.addSubview(menuButton) 76 | 77 | let item1 = ExpandingMenuItem(size: menuButtonSize, title: "Music", image: UIImage(named: "chooser-moment-icon-music")!, highlightedImage: UIImage(named: "chooser-moment-icon-music-highlighted")!, backgroundImage: UIImage(named: "chooser-moment-button"), backgroundHighlightedImage: UIImage(named: "chooser-moment-button-highlighted")) { () -> Void in 78 | // Do some action 79 | } 80 | 81 | ・・・ 82 | 83 | let item5 = ExpandingMenuItem(size: menuButtonSize, title: "Sleep", image: UIImage(named: "chooser-moment-icon-sleep")!, highlightedImage: UIImage(named: "chooser-moment-icon-sleep-highlighted")!, backgroundImage: UIImage(named: "chooser-moment-button"), backgroundHighlightedImage: UIImage(named: "chooser-moment-button-highlighted")) { () -> Void in 84 | // Do some action 85 | } 86 | 87 | menuButton.addMenuItems([item1, item2, item3, item4, item5]) 88 | ``` 89 | 90 | ## Customize 91 | 92 | ### ExpandingMenuButton 93 | 94 | ```swift 95 | // Bottom dim view 96 | menuButton.bottomViewColor = UIColor.redColor() 97 | menuButton.bottomViewAlpha = 0.2 98 | 99 | // Whether the tapped action fires when title are tapped 100 | menuButton.titleTappedActionEnabled = false 101 | 102 | // Menu item direction 103 | menuButton.expandingDirection = .Bottom 104 | menuButton.menuTitleDirection = .Right 105 | 106 | // The action when the menu appears/disappears 107 | menuButton.willPresentMenuItems = { (menu) -> Void in 108 | print("MenuItems will present.") 109 | } 110 | 111 | menuButton.didPresentMenuItems = { (menu) -> Void in 112 | print("MenuItems will present.") 113 | } 114 | 115 | menuButton.willDismissMenuItems = { (menu) -> Void in 116 | print("MenuItems dismissed.") 117 | } 118 | 119 | menuButton.didDismissMenuItems = { (menu) -> Void in 120 | print("MenuItems will present.") 121 | } 122 | 123 | // Expanding Animation 124 | menuButton.expandingAnimations = [] // No animation 125 | 126 | menuButton.expandingAnimations = CustomAnimationOptions.all.symmetricDifference(.menuButtonRotate) 127 | 128 | // Folding Animation 129 | menuButton.foldingAnimations = .all 130 | 131 | menuButton.foldingAnimations = [.MenuItemMoving, .MenuItemFade, .MenuButtonRotation] 132 | ``` 133 | 134 | 135 | ### ExpandingMenuItem 136 | 137 | ```swift 138 | // Title 139 | item.title = "text" 140 | item.titleColor = UIColor.redColor() 141 | 142 | // Title margin to menu item 143 | item.titleMargin = 4 144 | ``` 145 | 146 | ## Author 147 | 148 | monoqlo, monoqlo44@gmail.com 149 | 150 | ## License 151 | 152 | ExpandingMenu is available under the MIT license. See the LICENSE file for more info. 153 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandingMenu_Tests/Pods-ExpandingMenu_Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then 7 | # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy 8 | # resources to, so exit 0 (signalling the script phase was successful). 9 | exit 0 10 | fi 11 | 12 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 13 | 14 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 15 | > "$RESOURCES_TO_COPY" 16 | 17 | XCASSET_FILES=() 18 | 19 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 20 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 21 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 22 | 23 | case "${TARGETED_DEVICE_FAMILY:-}" in 24 | 1,2) 25 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 26 | ;; 27 | 1) 28 | TARGET_DEVICE_ARGS="--target-device iphone" 29 | ;; 30 | 2) 31 | TARGET_DEVICE_ARGS="--target-device ipad" 32 | ;; 33 | 3) 34 | TARGET_DEVICE_ARGS="--target-device tv" 35 | ;; 36 | 4) 37 | TARGET_DEVICE_ARGS="--target-device watch" 38 | ;; 39 | *) 40 | TARGET_DEVICE_ARGS="--target-device mac" 41 | ;; 42 | esac 43 | 44 | install_resource() 45 | { 46 | if [[ "$1" = /* ]] ; then 47 | RESOURCE_PATH="$1" 48 | else 49 | RESOURCE_PATH="${PODS_ROOT}/$1" 50 | fi 51 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 52 | cat << EOM 53 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 54 | EOM 55 | exit 1 56 | fi 57 | case $RESOURCE_PATH in 58 | *.storyboard) 59 | 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 60 | 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} 61 | ;; 62 | *.xib) 63 | 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 64 | 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} 65 | ;; 66 | *.framework) 67 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 68 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 69 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 70 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 71 | ;; 72 | *.xcdatamodel) 73 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 74 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 75 | ;; 76 | *.xcdatamodeld) 77 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 78 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 79 | ;; 80 | *.xcmappingmodel) 81 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 82 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 83 | ;; 84 | *.xcassets) 85 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 86 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 87 | ;; 88 | *) 89 | echo "$RESOURCE_PATH" || true 90 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 91 | ;; 92 | esac 93 | } 94 | 95 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 96 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 97 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 98 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 99 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 100 | fi 101 | rm -f "$RESOURCES_TO_COPY" 102 | 103 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "${XCASSET_FILES:-}" ] 104 | then 105 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 106 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 107 | while read line; do 108 | if [[ $line != "${PODS_ROOT}*" ]]; then 109 | XCASSET_FILES+=("$line") 110 | fi 111 | done <<<"$OTHER_XCASSETS" 112 | 113 | if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then 114 | 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}" 115 | else 116 | 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}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_TEMP_DIR}/assetcatalog_generated_info_cocoapods.plist" 117 | fi 118 | fi 119 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandingMenu_Example/Pods-ExpandingMenu_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then 7 | # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy 8 | # resources to, so exit 0 (signalling the script phase was successful). 9 | exit 0 10 | fi 11 | 12 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 13 | 14 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 15 | > "$RESOURCES_TO_COPY" 16 | 17 | XCASSET_FILES=() 18 | 19 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 20 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 21 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 22 | 23 | case "${TARGETED_DEVICE_FAMILY:-}" in 24 | 1,2) 25 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 26 | ;; 27 | 1) 28 | TARGET_DEVICE_ARGS="--target-device iphone" 29 | ;; 30 | 2) 31 | TARGET_DEVICE_ARGS="--target-device ipad" 32 | ;; 33 | 3) 34 | TARGET_DEVICE_ARGS="--target-device tv" 35 | ;; 36 | 4) 37 | TARGET_DEVICE_ARGS="--target-device watch" 38 | ;; 39 | *) 40 | TARGET_DEVICE_ARGS="--target-device mac" 41 | ;; 42 | esac 43 | 44 | install_resource() 45 | { 46 | if [[ "$1" = /* ]] ; then 47 | RESOURCE_PATH="$1" 48 | else 49 | RESOURCE_PATH="${PODS_ROOT}/$1" 50 | fi 51 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 52 | cat << EOM 53 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 54 | EOM 55 | exit 1 56 | fi 57 | case $RESOURCE_PATH in 58 | *.storyboard) 59 | 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 60 | 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} 61 | ;; 62 | *.xib) 63 | 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 64 | 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} 65 | ;; 66 | *.framework) 67 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 68 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 69 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 70 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 71 | ;; 72 | *.xcdatamodel) 73 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 74 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 75 | ;; 76 | *.xcdatamodeld) 77 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 78 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 79 | ;; 80 | *.xcmappingmodel) 81 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 82 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 83 | ;; 84 | *.xcassets) 85 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 86 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 87 | ;; 88 | *) 89 | echo "$RESOURCE_PATH" || true 90 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 91 | ;; 92 | esac 93 | } 94 | 95 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 96 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 97 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 98 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 99 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 100 | fi 101 | rm -f "$RESOURCES_TO_COPY" 102 | 103 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "${XCASSET_FILES:-}" ] 104 | then 105 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 106 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 107 | while read line; do 108 | if [[ $line != "${PODS_ROOT}*" ]]; then 109 | XCASSET_FILES+=("$line") 110 | fi 111 | done <<<"$OTHER_XCASSETS" 112 | 113 | if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then 114 | 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}" 115 | else 116 | 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}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_TEMP_DIR}/assetcatalog_generated_info_cocoapods.plist" 117 | fi 118 | fi 119 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandingMenu_Tests/Pods-ExpandingMenu_Tests-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then 7 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy 8 | # frameworks to, so exit 0 (signalling the script phase was successful). 9 | exit 0 10 | fi 11 | 12 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 13 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 14 | 15 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" 16 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 17 | 18 | # Used as a return value for each invocation of `strip_invalid_archs` function. 19 | STRIP_BINARY_RETVAL=0 20 | 21 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 22 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 23 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 24 | 25 | # Copies and strips a vendored framework 26 | install_framework() 27 | { 28 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 29 | local source="${BUILT_PRODUCTS_DIR}/$1" 30 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 31 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 32 | elif [ -r "$1" ]; then 33 | local source="$1" 34 | fi 35 | 36 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 37 | 38 | if [ -L "${source}" ]; then 39 | echo "Symlinked..." 40 | source="$(readlink "${source}")" 41 | fi 42 | 43 | # Use filter instead of exclude so missing patterns don't throw errors. 44 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 45 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 46 | 47 | local basename 48 | basename="$(basename -s .framework "$1")" 49 | binary="${destination}/${basename}.framework/${basename}" 50 | if ! [ -r "$binary" ]; then 51 | binary="${destination}/${basename}" 52 | fi 53 | 54 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 55 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 56 | strip_invalid_archs "$binary" 57 | fi 58 | 59 | # Resign the code if required by the build settings to avoid unstable apps 60 | code_sign_if_enabled "${destination}/$(basename "$1")" 61 | 62 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 63 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 64 | local swift_runtime_libs 65 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 66 | for lib in $swift_runtime_libs; do 67 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 68 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 69 | code_sign_if_enabled "${destination}/${lib}" 70 | done 71 | fi 72 | } 73 | 74 | # Copies and strips a vendored dSYM 75 | install_dsym() { 76 | local source="$1" 77 | if [ -r "$source" ]; then 78 | # Copy the dSYM into a the targets temp dir. 79 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" 80 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" 81 | 82 | local basename 83 | basename="$(basename -s .framework.dSYM "$source")" 84 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 85 | 86 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 87 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 88 | strip_invalid_archs "$binary" 89 | fi 90 | 91 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 92 | # Move the stripped file into its final destination. 93 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 94 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 95 | else 96 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. 97 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 98 | fi 99 | fi 100 | } 101 | 102 | # Signs a framework with the provided identity 103 | code_sign_if_enabled() { 104 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 105 | # Use the current code_sign_identitiy 106 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 107 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 108 | 109 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 110 | code_sign_cmd="$code_sign_cmd &" 111 | fi 112 | echo "$code_sign_cmd" 113 | eval "$code_sign_cmd" 114 | fi 115 | } 116 | 117 | # Strip invalid architectures 118 | strip_invalid_archs() { 119 | binary="$1" 120 | # Get architectures for current target binary 121 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 122 | # Intersect them with the architectures we are building for 123 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 124 | # If there are no archs supported by this binary then warn the user 125 | if [[ -z "$intersected_archs" ]]; then 126 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 127 | STRIP_BINARY_RETVAL=0 128 | return 129 | fi 130 | stripped="" 131 | for arch in $binary_archs; do 132 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 133 | # Strip non-valid architectures in-place 134 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 135 | stripped="$stripped $arch" 136 | fi 137 | done 138 | if [[ "$stripped" ]]; then 139 | echo "Stripped $binary of architectures:$stripped" 140 | fi 141 | STRIP_BINARY_RETVAL=1 142 | } 143 | 144 | 145 | if [[ "$CONFIGURATION" == "Debug" ]]; then 146 | install_framework "${BUILT_PRODUCTS_DIR}/ExpandingMenu/ExpandingMenu.framework" 147 | fi 148 | if [[ "$CONFIGURATION" == "Release" ]]; then 149 | install_framework "${BUILT_PRODUCTS_DIR}/ExpandingMenu/ExpandingMenu.framework" 150 | fi 151 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 152 | wait 153 | fi 154 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandingMenu_Example/Pods-ExpandingMenu_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then 7 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy 8 | # frameworks to, so exit 0 (signalling the script phase was successful). 9 | exit 0 10 | fi 11 | 12 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 13 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 14 | 15 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" 16 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 17 | 18 | # Used as a return value for each invocation of `strip_invalid_archs` function. 19 | STRIP_BINARY_RETVAL=0 20 | 21 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 22 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 23 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 24 | 25 | # Copies and strips a vendored framework 26 | install_framework() 27 | { 28 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 29 | local source="${BUILT_PRODUCTS_DIR}/$1" 30 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 31 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 32 | elif [ -r "$1" ]; then 33 | local source="$1" 34 | fi 35 | 36 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 37 | 38 | if [ -L "${source}" ]; then 39 | echo "Symlinked..." 40 | source="$(readlink "${source}")" 41 | fi 42 | 43 | # Use filter instead of exclude so missing patterns don't throw errors. 44 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 45 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 46 | 47 | local basename 48 | basename="$(basename -s .framework "$1")" 49 | binary="${destination}/${basename}.framework/${basename}" 50 | if ! [ -r "$binary" ]; then 51 | binary="${destination}/${basename}" 52 | fi 53 | 54 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 55 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 56 | strip_invalid_archs "$binary" 57 | fi 58 | 59 | # Resign the code if required by the build settings to avoid unstable apps 60 | code_sign_if_enabled "${destination}/$(basename "$1")" 61 | 62 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 63 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 64 | local swift_runtime_libs 65 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 66 | for lib in $swift_runtime_libs; do 67 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 68 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 69 | code_sign_if_enabled "${destination}/${lib}" 70 | done 71 | fi 72 | } 73 | 74 | # Copies and strips a vendored dSYM 75 | install_dsym() { 76 | local source="$1" 77 | if [ -r "$source" ]; then 78 | # Copy the dSYM into a the targets temp dir. 79 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" 80 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" 81 | 82 | local basename 83 | basename="$(basename -s .framework.dSYM "$source")" 84 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 85 | 86 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 87 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 88 | strip_invalid_archs "$binary" 89 | fi 90 | 91 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 92 | # Move the stripped file into its final destination. 93 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 94 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 95 | else 96 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. 97 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 98 | fi 99 | fi 100 | } 101 | 102 | # Signs a framework with the provided identity 103 | code_sign_if_enabled() { 104 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 105 | # Use the current code_sign_identitiy 106 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 107 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 108 | 109 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 110 | code_sign_cmd="$code_sign_cmd &" 111 | fi 112 | echo "$code_sign_cmd" 113 | eval "$code_sign_cmd" 114 | fi 115 | } 116 | 117 | # Strip invalid architectures 118 | strip_invalid_archs() { 119 | binary="$1" 120 | # Get architectures for current target binary 121 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 122 | # Intersect them with the architectures we are building for 123 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 124 | # If there are no archs supported by this binary then warn the user 125 | if [[ -z "$intersected_archs" ]]; then 126 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 127 | STRIP_BINARY_RETVAL=0 128 | return 129 | fi 130 | stripped="" 131 | for arch in $binary_archs; do 132 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 133 | # Strip non-valid architectures in-place 134 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 135 | stripped="$stripped $arch" 136 | fi 137 | done 138 | if [[ "$stripped" ]]; then 139 | echo "Stripped $binary of architectures:$stripped" 140 | fi 141 | STRIP_BINARY_RETVAL=1 142 | } 143 | 144 | 145 | if [[ "$CONFIGURATION" == "Debug" ]]; then 146 | install_framework "${BUILT_PRODUCTS_DIR}/ExpandingMenu/ExpandingMenu.framework" 147 | fi 148 | if [[ "$CONFIGURATION" == "Release" ]]; then 149 | install_framework "${BUILT_PRODUCTS_DIR}/ExpandingMenu/ExpandingMenu.framework" 150 | fi 151 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 152 | wait 153 | fi 154 | -------------------------------------------------------------------------------- /ExpandingMenu/Classes/ExpandingMenuItem.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ExpandingMenuButtonItem.swift 3 | // 4 | // Created by monoqlo on 2015/07/17. 5 | // Copyright (c) 2015年 monoqlo All rights reserved. 6 | // 7 | 8 | import UIKit 9 | 10 | open class ExpandingMenuItem: UIView { 11 | 12 | @objc open var title: String? { 13 | get { return self.titleButton?.titleLabel?.text } 14 | set { 15 | if let title = newValue { 16 | if let titleButton = self.titleButton { 17 | #if swift(>=4.2) 18 | titleButton.setTitle(title, for: UIControl.State()) 19 | #else 20 | titleButton.setTitle(title, for: UIControlState()) 21 | #endif 22 | } else { 23 | self.titleButton = self.createTitleButton(title, titleColor: self.titleColor) 24 | } 25 | self.titleButton?.sizeToFit() 26 | } else { 27 | self.titleButton = nil 28 | } 29 | } 30 | } 31 | 32 | @objc open var titleMargin: CGFloat = 5.0 33 | 34 | #if swift(>=4.2) 35 | @objc open var titleColor: UIColor? { 36 | get { return self.titleButton?.titleColor(for: UIControl.State()) } 37 | set { self.titleButton?.setTitleColor(newValue, for: UIControl.State()) } 38 | } 39 | #else 40 | @objc open var titleColor: UIColor? { 41 | get { return self.titleButton?.titleColor(for: UIControlState()) } 42 | set { self.titleButton?.setTitleColor(newValue, for: UIControlState()) } 43 | } 44 | #endif 45 | 46 | @objc var titleTappedActionEnabled: Bool = true { 47 | didSet { 48 | self.titleButton?.isUserInteractionEnabled = titleTappedActionEnabled 49 | } 50 | } 51 | 52 | var index: Int = 0 53 | weak var delegate: ExpandingMenuButton? 54 | fileprivate(set) var titleButton: UIButton? 55 | fileprivate var frontImageView: UIImageView 56 | fileprivate var tappedAction: (() -> Void)? 57 | 58 | // MARK: - Initializer 59 | public init(size: CGSize?, title: String? = nil, titleColor: UIColor? = nil, image: UIImage, highlightedImage: UIImage?, backgroundImage: UIImage?, backgroundHighlightedImage: UIImage?, itemTapped: (() -> Void)?) { 60 | 61 | // Initialize properties 62 | // 63 | self.frontImageView = UIImageView(image: image, highlightedImage: highlightedImage) 64 | self.tappedAction = itemTapped 65 | 66 | // Configure frame 67 | // 68 | let itemFrame: CGRect 69 | if let itemSize = size , itemSize != CGSize.zero { 70 | itemFrame = CGRect(x: 0.0, y: 0.0, width: itemSize.width, height: itemSize.height) 71 | } else { 72 | if let bgImage = backgroundImage , backgroundHighlightedImage != nil { 73 | itemFrame = CGRect(x: 0.0, y: 0.0, width: bgImage.size.width, height: bgImage.size.height) 74 | } else { 75 | itemFrame = CGRect(x: 0.0, y: 0.0, width: image.size.width, height: image.size.height) 76 | } 77 | } 78 | 79 | super.init(frame: itemFrame) 80 | 81 | // Configure base button 82 | // 83 | let baseButton = UIButton() 84 | #if swift(>=4.2) 85 | baseButton.setImage(backgroundImage, for: UIControl.State()) 86 | #else 87 | baseButton.setImage(backgroundImage, for: UIControlState()) 88 | #endif 89 | baseButton.setImage(backgroundHighlightedImage, for: .highlighted) 90 | baseButton.translatesAutoresizingMaskIntoConstraints = false 91 | self.addSubview(baseButton) 92 | 93 | self.addConstraint(NSLayoutConstraint(item: baseButton, attribute: .top, relatedBy: .equal, toItem: self, attribute: .top, multiplier: 1, constant: 0)) 94 | self.addConstraint(NSLayoutConstraint(item: baseButton, attribute: .bottom, relatedBy: .equal, toItem: self, attribute: .bottom, multiplier: 1, constant: 0)) 95 | self.addConstraint(NSLayoutConstraint(item: baseButton, attribute: .leading, relatedBy: .equal, toItem: self, attribute: .leading, multiplier: 1, constant: 0)) 96 | self.addConstraint(NSLayoutConstraint(item: baseButton, attribute: .trailing, relatedBy: .equal, toItem: self, attribute: .trailing, multiplier: 1, constant: 0)) 97 | 98 | 99 | // Add an action for the item 100 | // 101 | baseButton.addTarget(self, action: #selector(tapped), for: .touchUpInside) 102 | 103 | // Configure front images 104 | // 105 | self.frontImageView.contentMode = .center 106 | self.frontImageView.translatesAutoresizingMaskIntoConstraints = false 107 | self.addSubview(self.frontImageView) 108 | 109 | self.addConstraint(NSLayoutConstraint(item: self.frontImageView, attribute: .top, relatedBy: .equal, toItem: self, attribute: .top, multiplier: 1, constant: 0)) 110 | self.addConstraint(NSLayoutConstraint(item: self.frontImageView, attribute: .bottom, relatedBy: .equal, toItem: self, attribute: .bottom, multiplier: 1, constant: 0)) 111 | self.addConstraint(NSLayoutConstraint(item: self.frontImageView, attribute: .leading, relatedBy: .equal, toItem: self, attribute: .leading, multiplier: 1, constant: 0)) 112 | self.addConstraint(NSLayoutConstraint(item: self.frontImageView, attribute: .trailing, relatedBy: .equal, toItem: self, attribute: .trailing, multiplier: 1, constant: 0)) 113 | 114 | // Configure title button 115 | // 116 | if let title = title { 117 | self.titleButton = self.createTitleButton(title, titleColor: titleColor) 118 | } 119 | } 120 | 121 | @objc public convenience init(image: UIImage, highlightedImage: UIImage, backgroundImage: UIImage?, backgroundHighlightedImage: UIImage?, itemTapped: (() -> Void)?) { 122 | self.init(size: nil, title: nil, image: image, highlightedImage: highlightedImage, backgroundImage: backgroundImage, backgroundHighlightedImage: backgroundHighlightedImage, itemTapped: itemTapped) 123 | } 124 | 125 | @objc public convenience init(title: String, titleColor: UIColor? = nil, image: UIImage, highlightedImage: UIImage, backgroundImage: UIImage?, backgroundHighlightedImage: UIImage?, itemTapped: (() -> Void)?) { 126 | self.init(size: nil, title: title, titleColor: titleColor, image: image, highlightedImage: highlightedImage, backgroundImage: backgroundImage, backgroundHighlightedImage: backgroundHighlightedImage, itemTapped: itemTapped) 127 | } 128 | 129 | @objc public convenience init(size: CGSize, image: UIImage, highlightedImage: UIImage, backgroundImage: UIImage?, backgroundHighlightedImage: UIImage?, itemTapped: (() -> Void)?) { 130 | self.init(size: size, title: nil, image: image, highlightedImage: highlightedImage, backgroundImage: backgroundImage, backgroundHighlightedImage: backgroundHighlightedImage, itemTapped: itemTapped) 131 | } 132 | 133 | required public init?(coder aDecoder: NSCoder) { 134 | self.frontImageView = UIImageView() 135 | 136 | super.init(coder: aDecoder) 137 | } 138 | 139 | // MARK: - Title Button 140 | fileprivate func createTitleButton(_ title: String, titleColor: UIColor? = nil) -> UIButton { 141 | let button = UIButton() 142 | #if swift(>=4.2) 143 | button.setTitle(title, for: UIControl.State()) 144 | button.setTitleColor(titleColor, for: UIControl.State()) 145 | #else 146 | button.setTitle(title, for: UIControlState()) 147 | button.setTitleColor(titleColor, for: UIControlState()) 148 | #endif 149 | button.sizeToFit() 150 | 151 | button.addTarget(self, action: #selector(tapped), for: .touchUpInside) 152 | 153 | return button 154 | } 155 | 156 | // MARK: - Tapped Action 157 | @objc func tapped() { 158 | self.delegate?.menuItemTapped(self) 159 | self.tappedAction?() 160 | } 161 | } 162 | -------------------------------------------------------------------------------- /Example/ExpandingMenu.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 560EB6917B02D5F538ED2B59 /* Pods_ExpandingMenu_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 42125BB774D82D56E6A7061F /* Pods_ExpandingMenu_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 | A28995EBE70A3A1985B8345F /* Pods_ExpandingMenu_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5FC6CE3B855EF0776131C15C /* Pods_ExpandingMenu_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 = ExpandingMenu; 27 | }; 28 | /* End PBXContainerItemProxy section */ 29 | 30 | /* Begin PBXFileReference section */ 31 | 187AB5699249FD44978325C4 /* Pods-ExpandingMenu_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ExpandingMenu_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ExpandingMenu_Example/Pods-ExpandingMenu_Example.debug.xcconfig"; sourceTree = ""; }; 32 | 295C0A07DD22366E04F76DB6 /* ExpandingMenu.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = ExpandingMenu.podspec; path = ../ExpandingMenu.podspec; sourceTree = ""; }; 33 | 42125BB774D82D56E6A7061F /* Pods_ExpandingMenu_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ExpandingMenu_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 34 | 53BE62AC3BB1F98AD6784103 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 35 | 55F00543E988E3A7D120470E /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 36 | 5FC6CE3B855EF0776131C15C /* Pods_ExpandingMenu_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ExpandingMenu_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 37 | 607FACD01AFB9204008FA782 /* ExpandingMenu_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ExpandingMenu_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 38 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 39 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 40 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 41 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 42 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 43 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 44 | 607FACE51AFB9204008FA782 /* ExpandingMenu_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ExpandingMenu_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 45 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 46 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 47 | 97E7AEAD2A4049C016026C9F /* Pods-ExpandingMenu_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ExpandingMenu_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-ExpandingMenu_Tests/Pods-ExpandingMenu_Tests.release.xcconfig"; sourceTree = ""; }; 48 | A5B1A86ECFB0763E9E46FA7A /* Pods-ExpandingMenu_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ExpandingMenu_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ExpandingMenu_Tests/Pods-ExpandingMenu_Tests.debug.xcconfig"; sourceTree = ""; }; 49 | ED9C3948DBE34AFA77E2E29A /* Pods-ExpandingMenu_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ExpandingMenu_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-ExpandingMenu_Example/Pods-ExpandingMenu_Example.release.xcconfig"; sourceTree = ""; }; 50 | /* End PBXFileReference section */ 51 | 52 | /* Begin PBXFrameworksBuildPhase section */ 53 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 54 | isa = PBXFrameworksBuildPhase; 55 | buildActionMask = 2147483647; 56 | files = ( 57 | A28995EBE70A3A1985B8345F /* Pods_ExpandingMenu_Example.framework in Frameworks */, 58 | ); 59 | runOnlyForDeploymentPostprocessing = 0; 60 | }; 61 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 62 | isa = PBXFrameworksBuildPhase; 63 | buildActionMask = 2147483647; 64 | files = ( 65 | 560EB6917B02D5F538ED2B59 /* Pods_ExpandingMenu_Tests.framework in Frameworks */, 66 | ); 67 | runOnlyForDeploymentPostprocessing = 0; 68 | }; 69 | /* End PBXFrameworksBuildPhase section */ 70 | 71 | /* Begin PBXGroup section */ 72 | 38FD9F6FE870F32172111E2A /* Pods */ = { 73 | isa = PBXGroup; 74 | children = ( 75 | 187AB5699249FD44978325C4 /* Pods-ExpandingMenu_Example.debug.xcconfig */, 76 | ED9C3948DBE34AFA77E2E29A /* Pods-ExpandingMenu_Example.release.xcconfig */, 77 | A5B1A86ECFB0763E9E46FA7A /* Pods-ExpandingMenu_Tests.debug.xcconfig */, 78 | 97E7AEAD2A4049C016026C9F /* Pods-ExpandingMenu_Tests.release.xcconfig */, 79 | ); 80 | name = Pods; 81 | sourceTree = ""; 82 | }; 83 | 3C3B3703AE90301D50B6F319 /* Frameworks */ = { 84 | isa = PBXGroup; 85 | children = ( 86 | 5FC6CE3B855EF0776131C15C /* Pods_ExpandingMenu_Example.framework */, 87 | 42125BB774D82D56E6A7061F /* Pods_ExpandingMenu_Tests.framework */, 88 | ); 89 | name = Frameworks; 90 | sourceTree = ""; 91 | }; 92 | 607FACC71AFB9204008FA782 = { 93 | isa = PBXGroup; 94 | children = ( 95 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 96 | 607FACD21AFB9204008FA782 /* Example for ExpandingMenu */, 97 | 607FACE81AFB9204008FA782 /* Tests */, 98 | 607FACD11AFB9204008FA782 /* Products */, 99 | 38FD9F6FE870F32172111E2A /* Pods */, 100 | 3C3B3703AE90301D50B6F319 /* Frameworks */, 101 | ); 102 | sourceTree = ""; 103 | }; 104 | 607FACD11AFB9204008FA782 /* Products */ = { 105 | isa = PBXGroup; 106 | children = ( 107 | 607FACD01AFB9204008FA782 /* ExpandingMenu_Example.app */, 108 | 607FACE51AFB9204008FA782 /* ExpandingMenu_Tests.xctest */, 109 | ); 110 | name = Products; 111 | sourceTree = ""; 112 | }; 113 | 607FACD21AFB9204008FA782 /* Example for ExpandingMenu */ = { 114 | isa = PBXGroup; 115 | children = ( 116 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 117 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 118 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 119 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 120 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 121 | 607FACD31AFB9204008FA782 /* Supporting Files */, 122 | ); 123 | name = "Example for ExpandingMenu"; 124 | path = ExpandingMenu; 125 | sourceTree = ""; 126 | }; 127 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 128 | isa = PBXGroup; 129 | children = ( 130 | 607FACD41AFB9204008FA782 /* Info.plist */, 131 | ); 132 | name = "Supporting Files"; 133 | sourceTree = ""; 134 | }; 135 | 607FACE81AFB9204008FA782 /* Tests */ = { 136 | isa = PBXGroup; 137 | children = ( 138 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 139 | 607FACE91AFB9204008FA782 /* Supporting Files */, 140 | ); 141 | path = Tests; 142 | sourceTree = ""; 143 | }; 144 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 145 | isa = PBXGroup; 146 | children = ( 147 | 607FACEA1AFB9204008FA782 /* Info.plist */, 148 | ); 149 | name = "Supporting Files"; 150 | sourceTree = ""; 151 | }; 152 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 153 | isa = PBXGroup; 154 | children = ( 155 | 295C0A07DD22366E04F76DB6 /* ExpandingMenu.podspec */, 156 | 53BE62AC3BB1F98AD6784103 /* README.md */, 157 | 55F00543E988E3A7D120470E /* LICENSE */, 158 | ); 159 | name = "Podspec Metadata"; 160 | sourceTree = ""; 161 | }; 162 | /* End PBXGroup section */ 163 | 164 | /* Begin PBXNativeTarget section */ 165 | 607FACCF1AFB9204008FA782 /* ExpandingMenu_Example */ = { 166 | isa = PBXNativeTarget; 167 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "ExpandingMenu_Example" */; 168 | buildPhases = ( 169 | 5E43DB48E2888B8895AD1848 /* [CP] Check Pods Manifest.lock */, 170 | 607FACCC1AFB9204008FA782 /* Sources */, 171 | 607FACCD1AFB9204008FA782 /* Frameworks */, 172 | 607FACCE1AFB9204008FA782 /* Resources */, 173 | 1B769920912C17716C67D5E8 /* [CP] Embed Pods Frameworks */, 174 | ); 175 | buildRules = ( 176 | ); 177 | dependencies = ( 178 | ); 179 | name = ExpandingMenu_Example; 180 | productName = ExpandingMenu; 181 | productReference = 607FACD01AFB9204008FA782 /* ExpandingMenu_Example.app */; 182 | productType = "com.apple.product-type.application"; 183 | }; 184 | 607FACE41AFB9204008FA782 /* ExpandingMenu_Tests */ = { 185 | isa = PBXNativeTarget; 186 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "ExpandingMenu_Tests" */; 187 | buildPhases = ( 188 | 684D8C52CE91F4527C1D695C /* [CP] Check Pods Manifest.lock */, 189 | 607FACE11AFB9204008FA782 /* Sources */, 190 | 607FACE21AFB9204008FA782 /* Frameworks */, 191 | 607FACE31AFB9204008FA782 /* Resources */, 192 | 460318B37EDC3A1153A8F3B5 /* [CP] Embed Pods Frameworks */, 193 | ); 194 | buildRules = ( 195 | ); 196 | dependencies = ( 197 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 198 | ); 199 | name = ExpandingMenu_Tests; 200 | productName = Tests; 201 | productReference = 607FACE51AFB9204008FA782 /* ExpandingMenu_Tests.xctest */; 202 | productType = "com.apple.product-type.bundle.unit-test"; 203 | }; 204 | /* End PBXNativeTarget section */ 205 | 206 | /* Begin PBXProject section */ 207 | 607FACC81AFB9204008FA782 /* Project object */ = { 208 | isa = PBXProject; 209 | attributes = { 210 | LastSwiftMigration = 0730; 211 | LastSwiftUpdateCheck = 0700; 212 | LastUpgradeCheck = 1000; 213 | ORGANIZATIONNAME = CocoaPods; 214 | TargetAttributes = { 215 | 607FACCF1AFB9204008FA782 = { 216 | CreatedOnToolsVersion = 6.3.1; 217 | LastSwiftMigration = 0800; 218 | }; 219 | 607FACE41AFB9204008FA782 = { 220 | CreatedOnToolsVersion = 6.3.1; 221 | LastSwiftMigration = 0800; 222 | TestTargetID = 607FACCF1AFB9204008FA782; 223 | }; 224 | }; 225 | }; 226 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "ExpandingMenu" */; 227 | compatibilityVersion = "Xcode 3.2"; 228 | developmentRegion = English; 229 | hasScannedForEncodings = 0; 230 | knownRegions = ( 231 | en, 232 | Base, 233 | ); 234 | mainGroup = 607FACC71AFB9204008FA782; 235 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 236 | projectDirPath = ""; 237 | projectRoot = ""; 238 | targets = ( 239 | 607FACCF1AFB9204008FA782 /* ExpandingMenu_Example */, 240 | 607FACE41AFB9204008FA782 /* ExpandingMenu_Tests */, 241 | ); 242 | }; 243 | /* End PBXProject section */ 244 | 245 | /* Begin PBXResourcesBuildPhase section */ 246 | 607FACCE1AFB9204008FA782 /* Resources */ = { 247 | isa = PBXResourcesBuildPhase; 248 | buildActionMask = 2147483647; 249 | files = ( 250 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 251 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 252 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 253 | ); 254 | runOnlyForDeploymentPostprocessing = 0; 255 | }; 256 | 607FACE31AFB9204008FA782 /* Resources */ = { 257 | isa = PBXResourcesBuildPhase; 258 | buildActionMask = 2147483647; 259 | files = ( 260 | ); 261 | runOnlyForDeploymentPostprocessing = 0; 262 | }; 263 | /* End PBXResourcesBuildPhase section */ 264 | 265 | /* Begin PBXShellScriptBuildPhase section */ 266 | 1B769920912C17716C67D5E8 /* [CP] Embed Pods Frameworks */ = { 267 | isa = PBXShellScriptBuildPhase; 268 | buildActionMask = 2147483647; 269 | files = ( 270 | ); 271 | inputPaths = ( 272 | "${SRCROOT}/Pods/Target Support Files/Pods-ExpandingMenu_Example/Pods-ExpandingMenu_Example-frameworks.sh", 273 | "${BUILT_PRODUCTS_DIR}/ExpandingMenu/ExpandingMenu.framework", 274 | ); 275 | name = "[CP] Embed Pods Frameworks"; 276 | outputPaths = ( 277 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ExpandingMenu.framework", 278 | ); 279 | runOnlyForDeploymentPostprocessing = 0; 280 | shellPath = /bin/sh; 281 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ExpandingMenu_Example/Pods-ExpandingMenu_Example-frameworks.sh\"\n"; 282 | showEnvVarsInLog = 0; 283 | }; 284 | 460318B37EDC3A1153A8F3B5 /* [CP] Embed Pods Frameworks */ = { 285 | isa = PBXShellScriptBuildPhase; 286 | buildActionMask = 2147483647; 287 | files = ( 288 | ); 289 | inputPaths = ( 290 | "${SRCROOT}/Pods/Target Support Files/Pods-ExpandingMenu_Tests/Pods-ExpandingMenu_Tests-frameworks.sh", 291 | "${BUILT_PRODUCTS_DIR}/ExpandingMenu/ExpandingMenu.framework", 292 | ); 293 | name = "[CP] Embed Pods Frameworks"; 294 | outputPaths = ( 295 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ExpandingMenu.framework", 296 | ); 297 | runOnlyForDeploymentPostprocessing = 0; 298 | shellPath = /bin/sh; 299 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ExpandingMenu_Tests/Pods-ExpandingMenu_Tests-frameworks.sh\"\n"; 300 | showEnvVarsInLog = 0; 301 | }; 302 | 5E43DB48E2888B8895AD1848 /* [CP] Check Pods Manifest.lock */ = { 303 | isa = PBXShellScriptBuildPhase; 304 | buildActionMask = 2147483647; 305 | files = ( 306 | ); 307 | inputPaths = ( 308 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 309 | "${PODS_ROOT}/Manifest.lock", 310 | ); 311 | name = "[CP] Check Pods Manifest.lock"; 312 | outputPaths = ( 313 | "$(DERIVED_FILE_DIR)/Pods-ExpandingMenu_Example-checkManifestLockResult.txt", 314 | ); 315 | runOnlyForDeploymentPostprocessing = 0; 316 | shellPath = /bin/sh; 317 | 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"; 318 | showEnvVarsInLog = 0; 319 | }; 320 | 684D8C52CE91F4527C1D695C /* [CP] Check Pods Manifest.lock */ = { 321 | isa = PBXShellScriptBuildPhase; 322 | buildActionMask = 2147483647; 323 | files = ( 324 | ); 325 | inputPaths = ( 326 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 327 | "${PODS_ROOT}/Manifest.lock", 328 | ); 329 | name = "[CP] Check Pods Manifest.lock"; 330 | outputPaths = ( 331 | "$(DERIVED_FILE_DIR)/Pods-ExpandingMenu_Tests-checkManifestLockResult.txt", 332 | ); 333 | runOnlyForDeploymentPostprocessing = 0; 334 | shellPath = /bin/sh; 335 | 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"; 336 | showEnvVarsInLog = 0; 337 | }; 338 | /* End PBXShellScriptBuildPhase section */ 339 | 340 | /* Begin PBXSourcesBuildPhase section */ 341 | 607FACCC1AFB9204008FA782 /* Sources */ = { 342 | isa = PBXSourcesBuildPhase; 343 | buildActionMask = 2147483647; 344 | files = ( 345 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 346 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 347 | ); 348 | runOnlyForDeploymentPostprocessing = 0; 349 | }; 350 | 607FACE11AFB9204008FA782 /* Sources */ = { 351 | isa = PBXSourcesBuildPhase; 352 | buildActionMask = 2147483647; 353 | files = ( 354 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 355 | ); 356 | runOnlyForDeploymentPostprocessing = 0; 357 | }; 358 | /* End PBXSourcesBuildPhase section */ 359 | 360 | /* Begin PBXTargetDependency section */ 361 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 362 | isa = PBXTargetDependency; 363 | target = 607FACCF1AFB9204008FA782 /* ExpandingMenu_Example */; 364 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 365 | }; 366 | /* End PBXTargetDependency section */ 367 | 368 | /* Begin PBXVariantGroup section */ 369 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 370 | isa = PBXVariantGroup; 371 | children = ( 372 | 607FACDA1AFB9204008FA782 /* Base */, 373 | ); 374 | name = Main.storyboard; 375 | sourceTree = ""; 376 | }; 377 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 378 | isa = PBXVariantGroup; 379 | children = ( 380 | 607FACDF1AFB9204008FA782 /* Base */, 381 | ); 382 | name = LaunchScreen.xib; 383 | sourceTree = ""; 384 | }; 385 | /* End PBXVariantGroup section */ 386 | 387 | /* Begin XCBuildConfiguration section */ 388 | 607FACED1AFB9204008FA782 /* Debug */ = { 389 | isa = XCBuildConfiguration; 390 | buildSettings = { 391 | ALWAYS_SEARCH_USER_PATHS = NO; 392 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 393 | CLANG_CXX_LIBRARY = "libc++"; 394 | CLANG_ENABLE_MODULES = YES; 395 | CLANG_ENABLE_OBJC_ARC = YES; 396 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 397 | CLANG_WARN_BOOL_CONVERSION = YES; 398 | CLANG_WARN_COMMA = YES; 399 | CLANG_WARN_CONSTANT_CONVERSION = YES; 400 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 401 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 402 | CLANG_WARN_EMPTY_BODY = YES; 403 | CLANG_WARN_ENUM_CONVERSION = YES; 404 | CLANG_WARN_INFINITE_RECURSION = YES; 405 | CLANG_WARN_INT_CONVERSION = YES; 406 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 407 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 408 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 409 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 410 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 411 | CLANG_WARN_STRICT_PROTOTYPES = YES; 412 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 413 | CLANG_WARN_UNREACHABLE_CODE = YES; 414 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 415 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 416 | COPY_PHASE_STRIP = NO; 417 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 418 | ENABLE_STRICT_OBJC_MSGSEND = YES; 419 | ENABLE_TESTABILITY = YES; 420 | GCC_C_LANGUAGE_STANDARD = gnu99; 421 | GCC_DYNAMIC_NO_PIC = NO; 422 | GCC_NO_COMMON_BLOCKS = YES; 423 | GCC_OPTIMIZATION_LEVEL = 0; 424 | GCC_PREPROCESSOR_DEFINITIONS = ( 425 | "DEBUG=1", 426 | "$(inherited)", 427 | ); 428 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 429 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 430 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 431 | GCC_WARN_UNDECLARED_SELECTOR = NO; 432 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 433 | GCC_WARN_UNUSED_FUNCTION = YES; 434 | GCC_WARN_UNUSED_VARIABLE = YES; 435 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 436 | MTL_ENABLE_DEBUG_INFO = YES; 437 | ONLY_ACTIVE_ARCH = YES; 438 | SDKROOT = iphoneos; 439 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 440 | SWIFT_VERSION = 3.0; 441 | }; 442 | name = Debug; 443 | }; 444 | 607FACEE1AFB9204008FA782 /* Release */ = { 445 | isa = XCBuildConfiguration; 446 | buildSettings = { 447 | ALWAYS_SEARCH_USER_PATHS = NO; 448 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 449 | CLANG_CXX_LIBRARY = "libc++"; 450 | CLANG_ENABLE_MODULES = YES; 451 | CLANG_ENABLE_OBJC_ARC = YES; 452 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 453 | CLANG_WARN_BOOL_CONVERSION = YES; 454 | CLANG_WARN_COMMA = YES; 455 | CLANG_WARN_CONSTANT_CONVERSION = YES; 456 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 457 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 458 | CLANG_WARN_EMPTY_BODY = YES; 459 | CLANG_WARN_ENUM_CONVERSION = YES; 460 | CLANG_WARN_INFINITE_RECURSION = YES; 461 | CLANG_WARN_INT_CONVERSION = YES; 462 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 463 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 464 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 465 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 466 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 467 | CLANG_WARN_STRICT_PROTOTYPES = YES; 468 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 469 | CLANG_WARN_UNREACHABLE_CODE = YES; 470 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 471 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 472 | COPY_PHASE_STRIP = NO; 473 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 474 | ENABLE_NS_ASSERTIONS = NO; 475 | ENABLE_STRICT_OBJC_MSGSEND = YES; 476 | GCC_C_LANGUAGE_STANDARD = gnu99; 477 | GCC_NO_COMMON_BLOCKS = YES; 478 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 479 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 480 | GCC_WARN_UNDECLARED_SELECTOR = NO; 481 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 482 | GCC_WARN_UNUSED_FUNCTION = YES; 483 | GCC_WARN_UNUSED_VARIABLE = YES; 484 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 485 | MTL_ENABLE_DEBUG_INFO = NO; 486 | SDKROOT = iphoneos; 487 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 488 | SWIFT_VERSION = 3.0; 489 | VALIDATE_PRODUCT = YES; 490 | }; 491 | name = Release; 492 | }; 493 | 607FACF01AFB9204008FA782 /* Debug */ = { 494 | isa = XCBuildConfiguration; 495 | baseConfigurationReference = 187AB5699249FD44978325C4 /* Pods-ExpandingMenu_Example.debug.xcconfig */; 496 | buildSettings = { 497 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(inherited)"; 498 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 499 | INFOPLIST_FILE = ExpandingMenu/Info.plist; 500 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 501 | MODULE_NAME = ExampleApp; 502 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 503 | PRODUCT_NAME = "$(TARGET_NAME)"; 504 | SWIFT_VERSION = 4.2; 505 | }; 506 | name = Debug; 507 | }; 508 | 607FACF11AFB9204008FA782 /* Release */ = { 509 | isa = XCBuildConfiguration; 510 | baseConfigurationReference = ED9C3948DBE34AFA77E2E29A /* Pods-ExpandingMenu_Example.release.xcconfig */; 511 | buildSettings = { 512 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(inherited)"; 513 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 514 | INFOPLIST_FILE = ExpandingMenu/Info.plist; 515 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 516 | MODULE_NAME = ExampleApp; 517 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 518 | PRODUCT_NAME = "$(TARGET_NAME)"; 519 | SWIFT_VERSION = 4.2; 520 | }; 521 | name = Release; 522 | }; 523 | 607FACF31AFB9204008FA782 /* Debug */ = { 524 | isa = XCBuildConfiguration; 525 | baseConfigurationReference = A5B1A86ECFB0763E9E46FA7A /* Pods-ExpandingMenu_Tests.debug.xcconfig */; 526 | buildSettings = { 527 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(inherited)"; 528 | BUNDLE_LOADER = "$(TEST_HOST)"; 529 | FRAMEWORK_SEARCH_PATHS = ( 530 | "$(SDKROOT)/Developer/Library/Frameworks", 531 | "$(inherited)", 532 | ); 533 | GCC_PREPROCESSOR_DEFINITIONS = ( 534 | "DEBUG=1", 535 | "$(inherited)", 536 | ); 537 | INFOPLIST_FILE = Tests/Info.plist; 538 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 539 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 540 | PRODUCT_NAME = "$(TARGET_NAME)"; 541 | SWIFT_VERSION = 4.2; 542 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ExpandingMenu_Example.app/ExpandingMenu_Example"; 543 | }; 544 | name = Debug; 545 | }; 546 | 607FACF41AFB9204008FA782 /* Release */ = { 547 | isa = XCBuildConfiguration; 548 | baseConfigurationReference = 97E7AEAD2A4049C016026C9F /* Pods-ExpandingMenu_Tests.release.xcconfig */; 549 | buildSettings = { 550 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(inherited)"; 551 | BUNDLE_LOADER = "$(TEST_HOST)"; 552 | FRAMEWORK_SEARCH_PATHS = ( 553 | "$(SDKROOT)/Developer/Library/Frameworks", 554 | "$(inherited)", 555 | ); 556 | INFOPLIST_FILE = Tests/Info.plist; 557 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 558 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 559 | PRODUCT_NAME = "$(TARGET_NAME)"; 560 | SWIFT_VERSION = 4.2; 561 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ExpandingMenu_Example.app/ExpandingMenu_Example"; 562 | }; 563 | name = Release; 564 | }; 565 | /* End XCBuildConfiguration section */ 566 | 567 | /* Begin XCConfigurationList section */ 568 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "ExpandingMenu" */ = { 569 | isa = XCConfigurationList; 570 | buildConfigurations = ( 571 | 607FACED1AFB9204008FA782 /* Debug */, 572 | 607FACEE1AFB9204008FA782 /* Release */, 573 | ); 574 | defaultConfigurationIsVisible = 0; 575 | defaultConfigurationName = Release; 576 | }; 577 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "ExpandingMenu_Example" */ = { 578 | isa = XCConfigurationList; 579 | buildConfigurations = ( 580 | 607FACF01AFB9204008FA782 /* Debug */, 581 | 607FACF11AFB9204008FA782 /* Release */, 582 | ); 583 | defaultConfigurationIsVisible = 0; 584 | defaultConfigurationName = Release; 585 | }; 586 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "ExpandingMenu_Tests" */ = { 587 | isa = XCConfigurationList; 588 | buildConfigurations = ( 589 | 607FACF31AFB9204008FA782 /* Debug */, 590 | 607FACF41AFB9204008FA782 /* Release */, 591 | ); 592 | defaultConfigurationIsVisible = 0; 593 | defaultConfigurationName = Release; 594 | }; 595 | /* End XCConfigurationList section */ 596 | }; 597 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 598 | } 599 | -------------------------------------------------------------------------------- /ExpandingMenu/Classes/ExpandingMenuButton.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ExpandingMenuButton.swift 3 | // 4 | // Created by monoqlo on 2015/07/21. 5 | // Copyright (c) 2015年 monoqlo All rights reserved. 6 | // 7 | 8 | import UIKit 9 | import AudioToolbox 10 | import AVFoundation 11 | 12 | public struct CustomAnimationOptions: OptionSet { 13 | public let rawValue: Int 14 | public init(rawValue: Int) { self.rawValue = rawValue } 15 | public static let rotate = CustomAnimationOptions(rawValue: 1 << 0) 16 | public static let bound = CustomAnimationOptions(rawValue: 1 << 1) 17 | public static let move = CustomAnimationOptions(rawValue: 1 << 2) 18 | public static let fade = CustomAnimationOptions(rawValue: 1 << 3) 19 | public static let menuButtonRotate = CustomAnimationOptions(rawValue: 1 << 4) 20 | public static let `default`: CustomAnimationOptions = [rotate, bound, move, menuButtonRotate] 21 | public static let all: CustomAnimationOptions = [rotate, bound, move, fade, menuButtonRotate] 22 | } 23 | 24 | open class ExpandingMenuButton: UIView, UIGestureRecognizerDelegate { 25 | 26 | @objc public enum ExpandingDirection: Int { 27 | case top 28 | case bottom 29 | } 30 | 31 | @objc public enum MenuTitleDirection: Int { 32 | case left 33 | case right 34 | } 35 | 36 | @objc public enum HapticFeedbackStyle: Int { 37 | case light 38 | case medium 39 | case heavy 40 | case none 41 | } 42 | 43 | // MARK: Public Properties 44 | @objc open var menuItemMargin: CGFloat = 7.0 45 | @objc open var menuButtonHapticStyle: HapticFeedbackStyle = .medium 46 | @objc open var menuItemsHapticStyle: HapticFeedbackStyle = .light 47 | 48 | @objc open var playSound: Bool = true { 49 | didSet { 50 | self.configureSounds() 51 | } 52 | } 53 | 54 | @objc open var expandingSoundPath: String? { 55 | didSet { 56 | self.configureSounds() 57 | } 58 | } 59 | 60 | @objc open var foldSoundPath: String? { 61 | didSet { 62 | self.configureSounds() 63 | } 64 | } 65 | 66 | @objc open var selectedSoundPath: String? { 67 | didSet { 68 | self.configureSounds() 69 | } 70 | } 71 | 72 | @objc open var bottomViewColor: UIColor = UIColor.black { 73 | didSet { 74 | self.bottomView.backgroundColor = bottomViewColor 75 | } 76 | } 77 | 78 | @objc open var bottomViewAlpha: CGFloat = 0.618 79 | @objc open var titleTappedActionEnabled: Bool = true 80 | @objc open var expandingDirection: ExpandingDirection = .top 81 | @objc open var menuTitleDirection: MenuTitleDirection = .left 82 | open var expandingAnimations: CustomAnimationOptions = .default 83 | open var foldingAnimations: CustomAnimationOptions = .default 84 | @objc open var willPresentMenuItems: ((ExpandingMenuButton) -> Void)? 85 | @objc open var didPresentMenuItems: ((ExpandingMenuButton) -> Void)? 86 | @objc open var willDismissMenuItems: ((ExpandingMenuButton) -> Void)? 87 | @objc open var didDismissMenuItems: ((ExpandingMenuButton) -> Void)? 88 | 89 | // MARK: Private Properties 90 | fileprivate var defaultCenterPoint: CGPoint = .zero 91 | fileprivate var expandingSize: CGSize = UIScreen.main.bounds.size 92 | fileprivate var foldedSize: CGSize = CGSize.zero 93 | 94 | //Menu button 95 | fileprivate var menuButton: UIButton = UIButton() 96 | fileprivate var menuButtonImage: UIImage? 97 | fileprivate var menuButtonHighlightedImage: UIImage? 98 | fileprivate var menuButtonRotatedImage: UIImage? 99 | fileprivate var menuButtonRotatedHighlightedImage: UIImage? 100 | 101 | fileprivate var bottomView: UIView = UIView() 102 | fileprivate var menuItems: [ExpandingMenuItem] = [] 103 | 104 | fileprivate var foldSound: SystemSoundID = 0 105 | fileprivate var expandingSound: SystemSoundID = 0 106 | fileprivate var selectedSound: SystemSoundID = 0 107 | 108 | fileprivate var isExpanding: Bool = false 109 | fileprivate var isAnimating: Bool = false 110 | 111 | 112 | // MARK: - Initializer 113 | @objc public init(frame: CGRect, image: UIImage, highlightedImage: UIImage? = nil, rotatedImage: UIImage, rotatedHighlightedImage: UIImage? = nil) { 114 | super.init(frame: frame) 115 | 116 | func configureViewsLayoutWithButtonSize(_ menuButtonSize: CGSize) { 117 | // Configure menu button frame 118 | // 119 | self.foldedSize = menuButtonSize 120 | self.frame = CGRect(x: self.frame.origin.x, y: self.frame.origin.y, width: self.foldedSize.width, height: self.foldedSize.height); 121 | 122 | // Congifure center button 123 | // 124 | self.menuButton = UIButton(frame: CGRect(x: 0.0, y: 0.0, width: menuButtonSize.width, height: menuButtonSize.height)) 125 | self.menuButton.setImage(self.menuButtonImage, for: .normal) 126 | self.menuButton.setImage(self.menuButtonHighlightedImage, for: .highlighted) 127 | self.menuButton.addTarget(self, action: #selector(centerButtonTapped), for: .touchDown) 128 | self.menuButton.center = CGPoint(x: self.frame.width / 2.0, y: self.frame.height / 2.0) 129 | self.addSubview(self.menuButton) 130 | 131 | // Configure bottom view 132 | // 133 | self.bottomView = UIView(frame: CGRect(x: 0.0, y: 0.0, width: self.expandingSize.width, height: self.expandingSize.height)) 134 | self.bottomView.backgroundColor = self.bottomViewColor 135 | self.bottomView.alpha = 0.0 136 | 137 | // Make bottomView's touch can delay superView witch like UIScrollView scrolling 138 | // 139 | self.bottomView.isUserInteractionEnabled = true; 140 | let tapGesture = UIGestureRecognizer() 141 | tapGesture.delegate = self 142 | self.bottomView.addGestureRecognizer(tapGesture) 143 | 144 | self.expandingSoundPath = Bundle(url: Bundle(for: ExpandingMenuButton.classForCoder()).url(forResource: "ExpandingMenu", withExtension: "bundle")!)?.path(forResource: "expanding", ofType: "caf") 145 | self.foldSoundPath = Bundle(url: Bundle(for: ExpandingMenuButton.classForCoder()).url(forResource: "ExpandingMenu", withExtension: "bundle")!)?.path(forResource: "fold", ofType: "caf") 146 | self.selectedSoundPath = Bundle(url: Bundle(for: ExpandingMenuButton.classForCoder()).url(forResource: "ExpandingMenu", withExtension: "bundle")!)?.path(forResource: "selected", ofType: "caf") 147 | } 148 | 149 | // Configure enter and highlighted center image 150 | // 151 | self.menuButtonImage = image 152 | self.menuButtonHighlightedImage = highlightedImage 153 | self.menuButtonRotatedImage = rotatedImage 154 | self.menuButtonRotatedHighlightedImage = rotatedHighlightedImage 155 | 156 | if frame == CGRect.zero { 157 | configureViewsLayoutWithButtonSize(self.menuButtonImage?.size ?? CGSize.zero) 158 | } else { 159 | configureViewsLayoutWithButtonSize(frame.size) 160 | self.defaultCenterPoint = self.center 161 | } 162 | self.configureSounds() 163 | } 164 | 165 | @objc public convenience init(image: UIImage, rotatedImage: UIImage) { 166 | self.init(frame: CGRect.zero, image: image, rotatedImage: rotatedImage) 167 | } 168 | 169 | required public init?(coder aDecoder: NSCoder) { 170 | super.init(coder: aDecoder) 171 | } 172 | 173 | // MARK: - Configure Menu Items 174 | @objc open func addMenuItems(_ menuItems: [ExpandingMenuItem]) { 175 | self.menuItems += menuItems 176 | } 177 | 178 | // MARK: - Menu Item Tapped Action 179 | @objc open func menuItemTapped(_ item: ExpandingMenuItem) { 180 | self.willDismissMenuItems?(self) 181 | self.isAnimating = true 182 | 183 | let selectedIndex: Int = item.index 184 | 185 | if self.playSound == true { 186 | AudioServicesPlaySystemSound(self.selectedSound) 187 | } 188 | 189 | if self.menuItemsHapticStyle != .none { 190 | self.generateHapticFeedback(self.menuItemsHapticStyle) 191 | } 192 | 193 | // Excute the explode animation when the item is seleted 194 | // 195 | UIView.animate(withDuration: 0.0618 * 5.0, animations: { () -> Void in 196 | item.transform = CGAffineTransform(scaleX: 3.0, y: 3.0) 197 | item.alpha = 0.0 198 | }) 199 | 200 | // Excute the dismiss animation when the item is unselected 201 | // 202 | for (index, item) in self.menuItems.enumerated() { 203 | // Remove title button 204 | // 205 | if let titleButton = item.titleButton { 206 | UIView.animate(withDuration: 0.15, animations: { () -> Void in 207 | titleButton.alpha = 0.0 208 | }, completion: { (finished) -> Void in 209 | titleButton.removeFromSuperview() 210 | }) 211 | } 212 | 213 | if index == selectedIndex { 214 | continue 215 | } 216 | 217 | UIView.animate(withDuration: 0.0618 * 2.0, animations: { () -> Void in 218 | item.transform = CGAffineTransform(scaleX: 0.0, y: 0.0) 219 | }) 220 | } 221 | 222 | self.resizeToFoldedFrame { () -> Void in 223 | self.isAnimating = false 224 | self.didDismissMenuItems?(self) 225 | } 226 | } 227 | 228 | // MARK: - Center Button Action 229 | @objc fileprivate func centerButtonTapped() { 230 | if self.isAnimating == false { 231 | if self.isExpanding == true { 232 | self.foldMenuItems() 233 | } else { 234 | self.expandMenuItems() 235 | } 236 | } 237 | } 238 | 239 | // MARK: - Configure Sounds 240 | fileprivate func configureSounds() { 241 | if self.playSound == true { 242 | if let path = self.expandingSoundPath { 243 | AudioServicesCreateSystemSoundID(URL(fileURLWithPath: path) as CFURL, &self.expandingSound) 244 | } 245 | if let path = self.foldSoundPath { 246 | AudioServicesCreateSystemSoundID(URL(fileURLWithPath: path) as CFURL, &self.foldSound) 247 | } 248 | if let path = self.foldSoundPath { 249 | AudioServicesCreateSystemSoundID(URL(fileURLWithPath: path) as CFURL, &self.selectedSound) 250 | } 251 | } else { 252 | AudioServicesDisposeSystemSoundID(self.expandingSound) 253 | AudioServicesDisposeSystemSoundID(self.foldSound) 254 | AudioServicesDisposeSystemSoundID(self.selectedSound) 255 | } 256 | } 257 | 258 | // MARK: - Calculate The Distance From Center Button 259 | fileprivate func makeDistanceFromCenterButton(_ itemSize: CGSize, lastDisance: CGFloat, lastItemSize: CGSize) -> CGFloat { 260 | return lastDisance + itemSize.height / 2.0 + self.menuItemMargin + lastItemSize.height / 2.0 261 | } 262 | 263 | // MARK: - Caculate The Item's End Point 264 | fileprivate func makeEndPoint(_ itemExpandRadius: CGFloat, angle: CGFloat) -> CGPoint { 265 | switch self.expandingDirection { 266 | case .top: 267 | return CGPoint( 268 | x: self.menuButton.center.x + CGFloat(cosf((Float(angle) + 1.0) * Float.pi)) * itemExpandRadius, 269 | y: self.menuButton.center.y + CGFloat(sinf((Float(angle) + 1.0) * Float.pi)) * itemExpandRadius 270 | ) 271 | case .bottom: 272 | return CGPoint( 273 | x: self.menuButton.center.x + CGFloat(cosf(Float(angle) * Float.pi)) * itemExpandRadius, 274 | y: self.menuButton.center.y + CGFloat(sinf(Float(angle) * Float.pi)) * itemExpandRadius 275 | ) 276 | } 277 | } 278 | 279 | // MARK: - Fold Menu Items 280 | fileprivate func foldMenuItems() { 281 | self.willDismissMenuItems?(self) 282 | self.isAnimating = true 283 | 284 | if self.playSound == true { 285 | AudioServicesPlaySystemSound(self.foldSound) 286 | } 287 | 288 | if self.menuButtonHapticStyle != .none { 289 | self.generateHapticFeedback(self.menuButtonHapticStyle) 290 | } 291 | 292 | let currentAngle: CGFloat = 90.0 293 | 294 | var lastDistance: CGFloat = 0.0 295 | var lastItemSize: CGSize = self.menuButton.bounds.size 296 | 297 | for item in self.menuItems { 298 | let distance: CGFloat = self.makeDistanceFromCenterButton(item.bounds.size, lastDisance: lastDistance, lastItemSize: lastItemSize) 299 | lastDistance = distance 300 | lastItemSize = item.bounds.size 301 | let backwardPoint: CGPoint = self.makeEndPoint(distance + 5.0, angle: currentAngle / 180.0) 302 | 303 | let foldAnimation: CAAnimationGroup = self.makeFoldAnimation(startingPoint: item.center, backwardPoint: backwardPoint, endPoint: self.menuButton.center) 304 | 305 | item.layer.add(foldAnimation, forKey: "foldAnimation") 306 | item.center = self.menuButton.center 307 | 308 | // Remove title button 309 | // 310 | if let titleButton = item.titleButton { 311 | UIView.animate(withDuration: 0.15, animations: { () -> Void in 312 | titleButton.alpha = 0.0 313 | }, completion: { (finished) -> Void in 314 | titleButton.removeFromSuperview() 315 | }) 316 | } 317 | } 318 | #if swift(>=4.2) 319 | self.bringSubviewToFront(self.menuButton) 320 | #else 321 | self.bringSubview(toFront: self.menuButton) 322 | #endif 323 | 324 | // Resize the ExpandingMenuButton's frame to the foled frame and remove the item buttons 325 | // 326 | self.resizeToFoldedFrame { () -> Void in 327 | self.isAnimating = false 328 | self.didDismissMenuItems?(self) 329 | } 330 | } 331 | 332 | fileprivate func resizeToFoldedFrame(completion: (() -> Void)?) { 333 | if self.foldingAnimations.contains(.menuButtonRotate) == true { 334 | UIView.animate(withDuration: 0.0618 * 3, delay: 0.0618 * 2, options: .curveEaseIn, animations: { () -> Void in 335 | self.menuButton.transform = CGAffineTransform(rotationAngle: 0.0) 336 | self.menuButton.setImage(self.menuButtonImage, for: .normal) 337 | self.menuButton.setImage(self.menuButtonHighlightedImage, for: .highlighted) 338 | }, completion: nil) 339 | } else { 340 | self.menuButton.transform = CGAffineTransform(rotationAngle: 0.0) 341 | } 342 | 343 | UIView.animate(withDuration: 0.15, delay: 0.35, options: .curveLinear, animations: { () -> Void in 344 | self.bottomView.alpha = 0.0 345 | }, completion: { (finished) -> Void in 346 | // Remove the items from the superview 347 | // 348 | for item in self.menuItems { 349 | item.removeFromSuperview() 350 | } 351 | 352 | self.frame = CGRect(x: 0.0, y: 0.0, width: self.foldedSize.width, height: self.foldedSize.height) 353 | self.center = self.defaultCenterPoint 354 | 355 | self.menuButton.center = CGPoint(x: self.frame.width / 2.0, y: self.frame.height / 2.0) 356 | 357 | self.bottomView.removeFromSuperview() 358 | 359 | completion?() 360 | }) 361 | 362 | self.isExpanding = false 363 | } 364 | 365 | fileprivate func makeFoldAnimation(startingPoint: CGPoint, backwardPoint: CGPoint, endPoint: CGPoint) -> CAAnimationGroup { 366 | let animationGroup: CAAnimationGroup = CAAnimationGroup() 367 | animationGroup.animations = [] 368 | animationGroup.duration = 0.35 369 | 370 | // 1.Configure rotation animation 371 | // 372 | if self.foldingAnimations.contains(.rotate) == true { 373 | let rotationAnimation: CAKeyframeAnimation = CAKeyframeAnimation(keyPath: "transform.rotation.z") 374 | rotationAnimation.values = [0.0, Double.pi, Double.pi * 2.0] 375 | #if swift(>=4.2) 376 | rotationAnimation.timingFunction = CAMediaTimingFunction(name: .linear) 377 | #else 378 | rotationAnimation.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionLinear) 379 | #endif 380 | rotationAnimation.duration = 0.35 381 | 382 | animationGroup.animations?.append(rotationAnimation) 383 | } 384 | 385 | // 2.Configure moving animation 386 | // 387 | let movingAnimation: CAKeyframeAnimation = CAKeyframeAnimation(keyPath: "position") 388 | 389 | // Create moving path 390 | // 391 | let path: CGMutablePath = CGMutablePath() 392 | 393 | if self.foldingAnimations.contains([.move, .bound]) == true { 394 | path.move(to: CGPoint(x: startingPoint.x, y: startingPoint.y)) 395 | path.addLine(to: CGPoint(x: backwardPoint.x, y: backwardPoint.y)) 396 | path.addLine(to: CGPoint(x: endPoint.x, y: endPoint.y)) 397 | 398 | movingAnimation.keyTimes = [0.0, 0.75, 1.0] 399 | } else if self.foldingAnimations.contains(.move) == true { 400 | path.move(to: CGPoint(x: startingPoint.x, y: startingPoint.y)) 401 | path.addLine(to: CGPoint(x: endPoint.x, y: endPoint.y)) 402 | 403 | movingAnimation.keyTimes = [0.0, 0.75, 1.0] 404 | } else if self.foldingAnimations.contains(.bound) == true { 405 | path.move(to: CGPoint(x: startingPoint.x, y: startingPoint.y)) 406 | path.addLine(to: CGPoint(x: backwardPoint.x, y: backwardPoint.y)) 407 | path.addLine(to: CGPoint(x: startingPoint.x, y: startingPoint.y)) 408 | 409 | movingAnimation.keyTimes = [0.0, 0.3, 0.5, 1.0] 410 | } else if self.foldingAnimations.contains(.fade) { 411 | path.move(to: CGPoint(x: startingPoint.x, y: startingPoint.y)) 412 | path.addLine(to: CGPoint(x: startingPoint.x, y: startingPoint.y)) 413 | } 414 | 415 | movingAnimation.path = path 416 | movingAnimation.duration = 0.35 417 | 418 | animationGroup.animations?.append(movingAnimation) 419 | 420 | // 3.Configure fade animation 421 | // 422 | if self.foldingAnimations.contains(.fade) { 423 | let fadeAnimation = CAKeyframeAnimation(keyPath: "opacity") 424 | fadeAnimation.values = [1.0, 0.0] 425 | fadeAnimation.keyTimes = [0.0, 0.75, 1.0] 426 | fadeAnimation.duration = 0.35 427 | animationGroup.animations?.append(fadeAnimation) 428 | } 429 | 430 | return animationGroup 431 | } 432 | 433 | 434 | // MARK: - Expand Menu Items 435 | fileprivate func expandMenuItems() { 436 | self.willPresentMenuItems?(self) 437 | self.isAnimating = false 438 | 439 | if self.playSound == true { 440 | AudioServicesPlaySystemSound(self.expandingSound) 441 | } 442 | 443 | if self.menuButtonHapticStyle != .none { 444 | self.generateHapticFeedback(self.menuButtonHapticStyle) 445 | } 446 | 447 | // Configure center button expanding 448 | // 449 | // 1. Copy the current center point and backup default center point 450 | // 451 | self.menuButton.center = self.center 452 | self.defaultCenterPoint = self.center 453 | 454 | // 2. Resize the frame 455 | // 456 | self.frame = CGRect(x: 0.0, y: 0.0, width: self.expandingSize.width, height: self.expandingSize.height) 457 | self.center = CGPoint(x: self.expandingSize.width / 2.0, y: self.expandingSize.height / 2.0) 458 | 459 | self.insertSubview(self.bottomView, belowSubview: self.menuButton) 460 | 461 | // 3. Excute the bottom view alpha animation 462 | // 463 | UIView.animate(withDuration: 0.0618 * 3, delay: 0.0, options: .curveEaseIn, animations: { () -> Void in 464 | self.bottomView.alpha = self.bottomViewAlpha 465 | }, completion: nil) 466 | 467 | // 4. Excute the center button rotation animation 468 | // 469 | if self.expandingAnimations.contains(.menuButtonRotate) == true { 470 | UIView.animate(withDuration: 0.1575, animations: { () -> Void in 471 | self.menuButton.transform = CGAffineTransform(rotationAngle: CGFloat(-0.5 * Float.pi)) 472 | self.menuButton.setImage(self.menuButtonRotatedImage, for: .normal) 473 | self.menuButton.setImage(self.menuButtonRotatedHighlightedImage, for: .highlighted) 474 | }) 475 | } else { 476 | self.menuButton.transform = CGAffineTransform(rotationAngle: CGFloat(-0.5 * Float.pi)) 477 | } 478 | 479 | // 5. Excute the expanding animation 480 | // 481 | let currentAngle: CGFloat = 90.0 482 | 483 | var lastDistance: CGFloat = 0.0 484 | var lastItemSize: CGSize = self.menuButton.bounds.size 485 | 486 | for (index, item) in self.menuItems.enumerated() { 487 | item.delegate = self 488 | item.index = index 489 | item.transform = CGAffineTransform(translationX: 1.0, y: 1.0) 490 | item.alpha = 1.0 491 | 492 | // 1. Add item to the view 493 | // 494 | item.center = self.menuButton.center 495 | 496 | self.insertSubview(item, belowSubview: self.menuButton) 497 | 498 | // 2. Excute expand animation 499 | // 500 | let distance: CGFloat = self.makeDistanceFromCenterButton(item.bounds.size, lastDisance: lastDistance, lastItemSize: lastItemSize) 501 | lastDistance = distance 502 | lastItemSize = item.bounds.size 503 | let endPoint: CGPoint = self.makeEndPoint(distance, angle: currentAngle / 180.0) 504 | let farPoint: CGPoint = self.makeEndPoint(distance + 10.0, angle: currentAngle / 180.0) 505 | let nearPoint: CGPoint = self.makeEndPoint(distance - 5.0, angle: currentAngle / 180.0) 506 | 507 | let expandingAnimation: CAAnimationGroup = self.makeExpandingAnimation(startingPoint: item.center, farPoint: farPoint, nearPoint: nearPoint, endPoint: endPoint) 508 | 509 | item.layer.add(expandingAnimation, forKey: "expandingAnimation") 510 | item.center = endPoint 511 | 512 | // 3. Add Title Button 513 | // 514 | item.titleTappedActionEnabled = self.titleTappedActionEnabled 515 | 516 | if let titleButton = item.titleButton { 517 | titleButton.center = endPoint 518 | let margin: CGFloat = item.titleMargin 519 | 520 | let originX: CGFloat 521 | 522 | switch self.menuTitleDirection { 523 | case .left: 524 | originX = endPoint.x - item.bounds.width / 2.0 - margin - titleButton.bounds.width 525 | case .right: 526 | originX = endPoint.x + item.bounds.width / 2.0 + margin; 527 | } 528 | 529 | var titleButtonFrame: CGRect = titleButton.frame 530 | titleButtonFrame.origin.x = originX 531 | titleButton.frame = titleButtonFrame 532 | titleButton.alpha = 0.0 533 | 534 | self.insertSubview(titleButton, belowSubview: self.menuButton) 535 | 536 | UIView.animate(withDuration: 0.3, animations: { () -> Void in 537 | titleButton.alpha = 1.0 538 | }) 539 | } 540 | } 541 | 542 | // Configure the expanding status 543 | // 544 | self.isExpanding = true 545 | self.isAnimating = false 546 | 547 | self.didPresentMenuItems?(self) 548 | } 549 | 550 | fileprivate func makeExpandingAnimation(startingPoint: CGPoint, farPoint: CGPoint, nearPoint: CGPoint, endPoint: CGPoint) -> CAAnimationGroup { 551 | let animationGroup: CAAnimationGroup = CAAnimationGroup() 552 | animationGroup.animations = [] 553 | animationGroup.duration = 0.3 554 | 555 | // 1.Configure rotation animation 556 | // 557 | if self.expandingAnimations.contains(.rotate) == true { 558 | let rotationAnimation: CAKeyframeAnimation = CAKeyframeAnimation(keyPath: "transform.rotation.z") 559 | rotationAnimation.values = [0.0, -Double.pi, -Double.pi * 1.5, -Double.pi * 2.0] 560 | rotationAnimation.duration = 0.3 561 | rotationAnimation.keyTimes = [0.0, 0.3, 0.6, 1.0] 562 | 563 | animationGroup.animations?.append(rotationAnimation) 564 | } 565 | 566 | // 2.Configure moving animation 567 | // 568 | let movingAnimation: CAKeyframeAnimation = CAKeyframeAnimation(keyPath: "position") 569 | 570 | // Create moving path 571 | // 572 | let path: CGMutablePath = CGMutablePath() 573 | 574 | if self.expandingAnimations.contains([.move, .bound]) == true { 575 | path.move(to: CGPoint(x: startingPoint.x, y: startingPoint.y)) 576 | path.addLine(to: CGPoint(x: farPoint.x, y: farPoint.y)) 577 | path.addLine(to: CGPoint(x: nearPoint.x, y: nearPoint.y)) 578 | path.addLine(to: CGPoint(x: endPoint.x, y: endPoint.y)) 579 | 580 | movingAnimation.keyTimes = [0.0, 0.5, 0.7, 1.0] 581 | } else if self.expandingAnimations.contains(.move) == true { 582 | path.move(to: CGPoint(x: startingPoint.x, y: startingPoint.y)) 583 | path.addLine(to: CGPoint(x: endPoint.x, y: endPoint.y)) 584 | 585 | movingAnimation.keyTimes = [0.0, 0.5, 1.0] 586 | } else if self.expandingAnimations.contains(.bound) == true { 587 | path.move(to: CGPoint(x: farPoint.x, y: farPoint.y)) 588 | path.addLine(to: CGPoint(x: nearPoint.x, y: nearPoint.y)) 589 | path.addLine(to: CGPoint(x: endPoint.x, y: endPoint.y)) 590 | 591 | movingAnimation.keyTimes = [0.0, 0.3, 0.5, 1.0] 592 | } else if self.expandingAnimations.contains(.fade) { 593 | path.move(to: CGPoint(x: endPoint.x, y: endPoint.y)) 594 | path.addLine(to: CGPoint(x: endPoint.x, y: endPoint.y)) 595 | } 596 | 597 | movingAnimation.path = path 598 | movingAnimation.duration = 0.3 599 | 600 | animationGroup.animations?.append(movingAnimation) 601 | 602 | // 3.Configure fade animation 603 | // 604 | if self.expandingAnimations.contains(.fade) { 605 | let fadeAnimation = CAKeyframeAnimation(keyPath: "opacity") 606 | fadeAnimation.values = [0.0, 1.0] 607 | fadeAnimation.duration = 0.3 608 | animationGroup.animations?.append(fadeAnimation) 609 | } 610 | 611 | return animationGroup 612 | } 613 | 614 | // MARK: - Touch Event 615 | override open func touchesBegan(_ touches: Set, with event: UIEvent?) { 616 | // Tap the bottom area, excute the fold animation 617 | self.foldMenuItems() 618 | } 619 | 620 | // MARK: - UIGestureRecognizer Delegate 621 | override open func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool { 622 | return true 623 | } 624 | 625 | open func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldBeRequiredToFailBy otherGestureRecognizer: UIGestureRecognizer) -> Bool { 626 | return true 627 | } 628 | } 629 | 630 | 631 | extension ExpandingMenuButton { 632 | 633 | func generateHapticFeedback(_ style: HapticFeedbackStyle) { 634 | if style == .none { 635 | return 636 | } 637 | if #available(iOS 10.0, *) { 638 | if style == .light { 639 | UIImpactFeedbackGenerator(style: .light).impactOccurred() 640 | } else if style == .medium { 641 | UIImpactFeedbackGenerator(style: .medium).impactOccurred() 642 | } else if style == .heavy { 643 | UIImpactFeedbackGenerator(style: .heavy).impactOccurred() 644 | } 645 | } else { 646 | AudioServicesPlaySystemSound(SystemSoundID(kSystemSoundID_Vibrate)) 647 | } 648 | 649 | } 650 | 651 | } 652 | -------------------------------------------------------------------------------- /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 | 0CF2AAB174466AC11780C646C2FED431 /* ExpandingMenu.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 8D7894B2A19391F3EC8796841B7C18CB /* ExpandingMenu.bundle */; }; 11 | 1C70E75A25802A1E1042713C29BAA829 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3EAFDA9777C21790C4EFBE4837BB2576 /* Foundation.framework */; }; 12 | 3424ECCDFB4591D726A48586EF3093C9 /* Pods-ExpandingMenu_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = D2FD32FD528101CBD31DDC32DF428524 /* Pods-ExpandingMenu_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 13 | 3ACD100DEF0527C0328ED4E09E42A389 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3EAFDA9777C21790C4EFBE4837BB2576 /* Foundation.framework */; }; 14 | 3E820183589C10E2C0CD87C9F4628268 /* ExpandingMenuButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6FD123F01513D25E25227E04D5A72917 /* ExpandingMenuButton.swift */; }; 15 | 41245F3FA2CFD6D8C33957EA3E81733F /* selected.caf in Resources */ = {isa = PBXBuildFile; fileRef = 6F5891B0EF0210038F983DC8297E7242 /* selected.caf */; }; 16 | 43B8E0DE26A85AAADC62BF0B47C4E963 /* ExpandingMenu-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = C5697462B66C8BBEFCDE7AA1CB8186F7 /* ExpandingMenu-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 17 | 483F2E61AE30F429944AC32FA62A4F2E /* expanding.caf in Resources */ = {isa = PBXBuildFile; fileRef = 92A15E78FFE3E8AC2DC64538BC9B200E /* expanding.caf */; }; 18 | 49223BDFB662E64EA35A0663CE90623E /* AudioToolBox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 59E29F0D4DE877C13DFCE366CECA159D /* AudioToolBox.framework */; }; 19 | 5F85C64F0A5EBA4EB774329C261230CA /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3EAFDA9777C21790C4EFBE4837BB2576 /* Foundation.framework */; }; 20 | 6798493106CA6A9793D6597C2B319C9E /* Pods-ExpandingMenu_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 7DBBA90F51CD7E6E9756FCA0639C3D6D /* Pods-ExpandingMenu_Tests-dummy.m */; }; 21 | 8F7C17870524B50092D5394FAE808560 /* fold.caf in Resources */ = {isa = PBXBuildFile; fileRef = 3238A5B7B9CD55B89DE2737C18D46CA0 /* fold.caf */; }; 22 | B7D7A729CB35F47961ADBE48001757D6 /* Pods-ExpandingMenu_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 55134ECE3BD1B1E27E86687758A1EA24 /* Pods-ExpandingMenu_Example-dummy.m */; }; 23 | BA01E5EDAD34AD70456E9EAA01428DC1 /* ExpandingMenu-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = AEE1F4980CCFF94D47A196D9CA18C53F /* ExpandingMenu-dummy.m */; }; 24 | BA634A66AF5E6ACDA6724C4E7065A5E1 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7183F99A6A0D972C487DCEAB410D285C /* QuartzCore.framework */; }; 25 | CD78942FEE98A03525CD716500EE0D68 /* Pods-ExpandingMenu_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = BC9E9E7E84BF3AEFDF6F08E94F4FD868 /* Pods-ExpandingMenu_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 26 | CE6544633F7C907D97BB98164DDE8EAD /* ExpandingMenuItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4997261823750AF2399F4A81C4C3730F /* ExpandingMenuItem.swift */; }; 27 | /* End PBXBuildFile section */ 28 | 29 | /* Begin PBXContainerItemProxy section */ 30 | 3BBE8BC25C3FCF01EE773C659564A33F /* PBXContainerItemProxy */ = { 31 | isa = PBXContainerItemProxy; 32 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 33 | proxyType = 1; 34 | remoteGlobalIDString = EB3C30C12812E277147F8CAC42660691; 35 | remoteInfo = ExpandingMenu; 36 | }; 37 | 63382FB2D09C6C04156A56F1B4DCB4AF /* PBXContainerItemProxy */ = { 38 | isa = PBXContainerItemProxy; 39 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 40 | proxyType = 1; 41 | remoteGlobalIDString = EB3C30C12812E277147F8CAC42660691; 42 | remoteInfo = ExpandingMenu; 43 | }; 44 | B74F7A8D09EFB1A97FD25BCAFBE89049 /* PBXContainerItemProxy */ = { 45 | isa = PBXContainerItemProxy; 46 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 47 | proxyType = 1; 48 | remoteGlobalIDString = 7409E312376929E18E79DC1DE95F21FF; 49 | remoteInfo = "ExpandingMenu-ExpandingMenu"; 50 | }; 51 | /* End PBXContainerItemProxy section */ 52 | 53 | /* Begin PBXFileReference section */ 54 | 0785486EA1786CE7676426364F81927F /* Pods-ExpandingMenu_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-ExpandingMenu_Tests-acknowledgements.markdown"; sourceTree = ""; }; 55 | 0C96EB559BE03659E4080A3F6B2E5786 /* ResourceBundle-ExpandingMenu-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "ResourceBundle-ExpandingMenu-Info.plist"; sourceTree = ""; }; 56 | 2EDD7B528DAAB527CC987EBF0C39B930 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = ""; }; 57 | 3238A5B7B9CD55B89DE2737C18D46CA0 /* fold.caf */ = {isa = PBXFileReference; includeInIndex = 1; name = fold.caf; path = ExpandingMenu/Assets/Sounds/fold.caf; sourceTree = ""; }; 58 | 3A6ED19DEA4576B9CDE4C688D55A2EBA /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 59 | 3EAFDA9777C21790C4EFBE4837BB2576 /* 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; }; 60 | 426BE4AD55747686D7A84D4BB2D40ECA /* Pods_ExpandingMenu_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_ExpandingMenu_Example.framework; path = "Pods-ExpandingMenu_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 61 | 43142DFFB82441B07D4D212C4EEE0DBC /* ExpandingMenu.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = ExpandingMenu.framework; path = ExpandingMenu.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 62 | 4997261823750AF2399F4A81C4C3730F /* ExpandingMenuItem.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ExpandingMenuItem.swift; path = ExpandingMenu/Classes/ExpandingMenuItem.swift; sourceTree = ""; }; 63 | 4A1D11D35C9C03D977FAA20C20F86127 /* Pods-ExpandingMenu_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ExpandingMenu_Tests.release.xcconfig"; sourceTree = ""; }; 64 | 4E39152F887615D6FF59C96AA8DB69EC /* Pods-ExpandingMenu_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ExpandingMenu_Tests-resources.sh"; sourceTree = ""; }; 65 | 55134ECE3BD1B1E27E86687758A1EA24 /* Pods-ExpandingMenu_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-ExpandingMenu_Example-dummy.m"; sourceTree = ""; }; 66 | 5597CFE86A59E1B90CB8F265017F9C96 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 67 | 59E29F0D4DE877C13DFCE366CECA159D /* AudioToolBox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolBox.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/AudioToolBox.framework; sourceTree = DEVELOPER_DIR; }; 68 | 59F81C8D64EAB93713BB1438A48448C2 /* Pods-ExpandingMenu_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ExpandingMenu_Example-frameworks.sh"; sourceTree = ""; }; 69 | 61F47DEDD93D86359675013B63C6AFFF /* Pods-ExpandingMenu_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ExpandingMenu_Example.release.xcconfig"; sourceTree = ""; }; 70 | 6C8939F2D14D37423FD74E0FC1B99FED /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 71 | 6F5891B0EF0210038F983DC8297E7242 /* selected.caf */ = {isa = PBXFileReference; includeInIndex = 1; name = selected.caf; path = ExpandingMenu/Assets/Sounds/selected.caf; sourceTree = ""; }; 72 | 6FD123F01513D25E25227E04D5A72917 /* ExpandingMenuButton.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ExpandingMenuButton.swift; path = ExpandingMenu/Classes/ExpandingMenuButton.swift; sourceTree = ""; }; 73 | 7183F99A6A0D972C487DCEAB410D285C /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/QuartzCore.framework; sourceTree = DEVELOPER_DIR; }; 74 | 745853269B2D93D86323CB4329061BE5 /* Pods-ExpandingMenu_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ExpandingMenu_Tests-frameworks.sh"; sourceTree = ""; }; 75 | 7DBBA90F51CD7E6E9756FCA0639C3D6D /* Pods-ExpandingMenu_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-ExpandingMenu_Tests-dummy.m"; sourceTree = ""; }; 76 | 84D87A8413BB0B1B534CB522AF7F06E7 /* Pods_ExpandingMenu_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_ExpandingMenu_Tests.framework; path = "Pods-ExpandingMenu_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 77 | 8D7894B2A19391F3EC8796841B7C18CB /* ExpandingMenu.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; name = ExpandingMenu.bundle; path = "ExpandingMenu-ExpandingMenu.bundle"; sourceTree = BUILT_PRODUCTS_DIR; }; 78 | 92A15E78FFE3E8AC2DC64538BC9B200E /* expanding.caf */ = {isa = PBXFileReference; includeInIndex = 1; name = expanding.caf; path = ExpandingMenu/Assets/Sounds/expanding.caf; sourceTree = ""; }; 79 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 80 | 950EF952C5917C030D45D446A449CC08 /* Pods-ExpandingMenu_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ExpandingMenu_Tests-acknowledgements.plist"; sourceTree = ""; }; 81 | 966643692697460688C9EB54E14FF177 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = ""; }; 82 | 9B430DFF8A3FC875F68AEE96DA80A353 /* ExpandingMenu.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; path = ExpandingMenu.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 83 | 9F24A3ACA9375BB4822CAA4AE8520AAE /* Pods-ExpandingMenu_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ExpandingMenu_Example-resources.sh"; sourceTree = ""; }; 84 | A5D442F09C9DD8A38D04ED6B10CE9016 /* Pods-ExpandingMenu_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ExpandingMenu_Tests.debug.xcconfig"; sourceTree = ""; }; 85 | AEE1F4980CCFF94D47A196D9CA18C53F /* ExpandingMenu-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "ExpandingMenu-dummy.m"; sourceTree = ""; }; 86 | BC9E9E7E84BF3AEFDF6F08E94F4FD868 /* Pods-ExpandingMenu_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-ExpandingMenu_Example-umbrella.h"; sourceTree = ""; }; 87 | C5697462B66C8BBEFCDE7AA1CB8186F7 /* ExpandingMenu-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ExpandingMenu-umbrella.h"; sourceTree = ""; }; 88 | C696455815DE70AB3A88266F967A8CE6 /* Pods-ExpandingMenu_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-ExpandingMenu_Example.modulemap"; sourceTree = ""; }; 89 | C89BFD65B1C81DB054A828C118B57F01 /* Pods-ExpandingMenu_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-ExpandingMenu_Tests.modulemap"; sourceTree = ""; }; 90 | CC5B0CB513B4329286C4D9E394EC84ED /* Pods-ExpandingMenu_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ExpandingMenu_Example-acknowledgements.plist"; sourceTree = ""; }; 91 | D2D0C92F5C5E57F0C1A57622DC2BF7A7 /* Pods-ExpandingMenu_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-ExpandingMenu_Example-acknowledgements.markdown"; sourceTree = ""; }; 92 | D2FD32FD528101CBD31DDC32DF428524 /* Pods-ExpandingMenu_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-ExpandingMenu_Tests-umbrella.h"; sourceTree = ""; }; 93 | D560232EDB1143BA3A14DA91CA84D42C /* Pods-ExpandingMenu_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ExpandingMenu_Example.debug.xcconfig"; sourceTree = ""; }; 94 | E86F6E63CE6DF1CC2D3DBD255DC04137 /* ExpandingMenu.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = ExpandingMenu.xcconfig; sourceTree = ""; }; 95 | F087BEECC696910CE2F06215BEDC26F4 /* ExpandingMenu.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = ExpandingMenu.modulemap; sourceTree = ""; }; 96 | F3DE0A8E18426006317DC921F30DD44B /* ExpandingMenu-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ExpandingMenu-prefix.pch"; sourceTree = ""; }; 97 | /* End PBXFileReference section */ 98 | 99 | /* Begin PBXFrameworksBuildPhase section */ 100 | 81DD16F2456655338FF578B75C91DD09 /* Frameworks */ = { 101 | isa = PBXFrameworksBuildPhase; 102 | buildActionMask = 2147483647; 103 | files = ( 104 | 49223BDFB662E64EA35A0663CE90623E /* AudioToolBox.framework in Frameworks */, 105 | 1C70E75A25802A1E1042713C29BAA829 /* Foundation.framework in Frameworks */, 106 | BA634A66AF5E6ACDA6724C4E7065A5E1 /* QuartzCore.framework in Frameworks */, 107 | ); 108 | runOnlyForDeploymentPostprocessing = 0; 109 | }; 110 | 870759B4747A151C5067113B98F685DB /* Frameworks */ = { 111 | isa = PBXFrameworksBuildPhase; 112 | buildActionMask = 2147483647; 113 | files = ( 114 | ); 115 | runOnlyForDeploymentPostprocessing = 0; 116 | }; 117 | B9B4C11D392AD31D1A49F43CCFEB4F96 /* Frameworks */ = { 118 | isa = PBXFrameworksBuildPhase; 119 | buildActionMask = 2147483647; 120 | files = ( 121 | 3ACD100DEF0527C0328ED4E09E42A389 /* Foundation.framework in Frameworks */, 122 | ); 123 | runOnlyForDeploymentPostprocessing = 0; 124 | }; 125 | F3B16BD678F8D5A67A673692E63AABAC /* Frameworks */ = { 126 | isa = PBXFrameworksBuildPhase; 127 | buildActionMask = 2147483647; 128 | files = ( 129 | 5F85C64F0A5EBA4EB774329C261230CA /* Foundation.framework in Frameworks */, 130 | ); 131 | runOnlyForDeploymentPostprocessing = 0; 132 | }; 133 | /* End PBXFrameworksBuildPhase section */ 134 | 135 | /* Begin PBXGroup section */ 136 | 0619652CDBA6CDCF9D86CC6B22527877 /* Support Files */ = { 137 | isa = PBXGroup; 138 | children = ( 139 | F087BEECC696910CE2F06215BEDC26F4 /* ExpandingMenu.modulemap */, 140 | E86F6E63CE6DF1CC2D3DBD255DC04137 /* ExpandingMenu.xcconfig */, 141 | AEE1F4980CCFF94D47A196D9CA18C53F /* ExpandingMenu-dummy.m */, 142 | F3DE0A8E18426006317DC921F30DD44B /* ExpandingMenu-prefix.pch */, 143 | C5697462B66C8BBEFCDE7AA1CB8186F7 /* ExpandingMenu-umbrella.h */, 144 | 5597CFE86A59E1B90CB8F265017F9C96 /* Info.plist */, 145 | 0C96EB559BE03659E4080A3F6B2E5786 /* ResourceBundle-ExpandingMenu-Info.plist */, 146 | ); 147 | name = "Support Files"; 148 | path = "Example/Pods/Target Support Files/ExpandingMenu"; 149 | sourceTree = ""; 150 | }; 151 | 0A2EC7DE8A5FB39187E6FE533A6B2010 /* Pods-ExpandingMenu_Tests */ = { 152 | isa = PBXGroup; 153 | children = ( 154 | 6C8939F2D14D37423FD74E0FC1B99FED /* Info.plist */, 155 | C89BFD65B1C81DB054A828C118B57F01 /* Pods-ExpandingMenu_Tests.modulemap */, 156 | 0785486EA1786CE7676426364F81927F /* Pods-ExpandingMenu_Tests-acknowledgements.markdown */, 157 | 950EF952C5917C030D45D446A449CC08 /* Pods-ExpandingMenu_Tests-acknowledgements.plist */, 158 | 7DBBA90F51CD7E6E9756FCA0639C3D6D /* Pods-ExpandingMenu_Tests-dummy.m */, 159 | 745853269B2D93D86323CB4329061BE5 /* Pods-ExpandingMenu_Tests-frameworks.sh */, 160 | 4E39152F887615D6FF59C96AA8DB69EC /* Pods-ExpandingMenu_Tests-resources.sh */, 161 | D2FD32FD528101CBD31DDC32DF428524 /* Pods-ExpandingMenu_Tests-umbrella.h */, 162 | A5D442F09C9DD8A38D04ED6B10CE9016 /* Pods-ExpandingMenu_Tests.debug.xcconfig */, 163 | 4A1D11D35C9C03D977FAA20C20F86127 /* Pods-ExpandingMenu_Tests.release.xcconfig */, 164 | ); 165 | name = "Pods-ExpandingMenu_Tests"; 166 | path = "Target Support Files/Pods-ExpandingMenu_Tests"; 167 | sourceTree = ""; 168 | }; 169 | 122DA2E5084A4393C29BE363C764795C /* Frameworks */ = { 170 | isa = PBXGroup; 171 | children = ( 172 | 42C97C71F972A06A01AECAC1A104507C /* iOS */, 173 | ); 174 | name = Frameworks; 175 | sourceTree = ""; 176 | }; 177 | 42C97C71F972A06A01AECAC1A104507C /* iOS */ = { 178 | isa = PBXGroup; 179 | children = ( 180 | 59E29F0D4DE877C13DFCE366CECA159D /* AudioToolBox.framework */, 181 | 3EAFDA9777C21790C4EFBE4837BB2576 /* Foundation.framework */, 182 | 7183F99A6A0D972C487DCEAB410D285C /* QuartzCore.framework */, 183 | ); 184 | name = iOS; 185 | sourceTree = ""; 186 | }; 187 | 71BCEBBCB611F1FE00B837B32CFE455D /* Pods-ExpandingMenu_Example */ = { 188 | isa = PBXGroup; 189 | children = ( 190 | 3A6ED19DEA4576B9CDE4C688D55A2EBA /* Info.plist */, 191 | C696455815DE70AB3A88266F967A8CE6 /* Pods-ExpandingMenu_Example.modulemap */, 192 | D2D0C92F5C5E57F0C1A57622DC2BF7A7 /* Pods-ExpandingMenu_Example-acknowledgements.markdown */, 193 | CC5B0CB513B4329286C4D9E394EC84ED /* Pods-ExpandingMenu_Example-acknowledgements.plist */, 194 | 55134ECE3BD1B1E27E86687758A1EA24 /* Pods-ExpandingMenu_Example-dummy.m */, 195 | 59F81C8D64EAB93713BB1438A48448C2 /* Pods-ExpandingMenu_Example-frameworks.sh */, 196 | 9F24A3ACA9375BB4822CAA4AE8520AAE /* Pods-ExpandingMenu_Example-resources.sh */, 197 | BC9E9E7E84BF3AEFDF6F08E94F4FD868 /* Pods-ExpandingMenu_Example-umbrella.h */, 198 | D560232EDB1143BA3A14DA91CA84D42C /* Pods-ExpandingMenu_Example.debug.xcconfig */, 199 | 61F47DEDD93D86359675013B63C6AFFF /* Pods-ExpandingMenu_Example.release.xcconfig */, 200 | ); 201 | name = "Pods-ExpandingMenu_Example"; 202 | path = "Target Support Files/Pods-ExpandingMenu_Example"; 203 | sourceTree = ""; 204 | }; 205 | 784CAAD7080BD7CC0DEE14137FF93735 /* Targets Support Files */ = { 206 | isa = PBXGroup; 207 | children = ( 208 | 71BCEBBCB611F1FE00B837B32CFE455D /* Pods-ExpandingMenu_Example */, 209 | 0A2EC7DE8A5FB39187E6FE533A6B2010 /* Pods-ExpandingMenu_Tests */, 210 | ); 211 | name = "Targets Support Files"; 212 | sourceTree = ""; 213 | }; 214 | 7DB346D0F39D3F0E887471402A8071AB = { 215 | isa = PBXGroup; 216 | children = ( 217 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 218 | D7E1EB9233422AE1F4D9490D324302CC /* Development Pods */, 219 | 122DA2E5084A4393C29BE363C764795C /* Frameworks */, 220 | B49982355AF0B57AC1BE06839F1D6DED /* Products */, 221 | 784CAAD7080BD7CC0DEE14137FF93735 /* Targets Support Files */, 222 | ); 223 | sourceTree = ""; 224 | }; 225 | 84D809FA7D1999168C888165E3E91890 /* Resources */ = { 226 | isa = PBXGroup; 227 | children = ( 228 | 92A15E78FFE3E8AC2DC64538BC9B200E /* expanding.caf */, 229 | 3238A5B7B9CD55B89DE2737C18D46CA0 /* fold.caf */, 230 | 6F5891B0EF0210038F983DC8297E7242 /* selected.caf */, 231 | ); 232 | name = Resources; 233 | sourceTree = ""; 234 | }; 235 | 8A7B879903FD08010AB34C39C499AADE /* ExpandingMenu */ = { 236 | isa = PBXGroup; 237 | children = ( 238 | 6FD123F01513D25E25227E04D5A72917 /* ExpandingMenuButton.swift */, 239 | 4997261823750AF2399F4A81C4C3730F /* ExpandingMenuItem.swift */, 240 | B403BAE1FB146AF821490F7431A016E7 /* Pod */, 241 | 84D809FA7D1999168C888165E3E91890 /* Resources */, 242 | 0619652CDBA6CDCF9D86CC6B22527877 /* Support Files */, 243 | ); 244 | name = ExpandingMenu; 245 | path = ../..; 246 | sourceTree = ""; 247 | }; 248 | B403BAE1FB146AF821490F7431A016E7 /* Pod */ = { 249 | isa = PBXGroup; 250 | children = ( 251 | 9B430DFF8A3FC875F68AEE96DA80A353 /* ExpandingMenu.podspec */, 252 | 966643692697460688C9EB54E14FF177 /* LICENSE */, 253 | 2EDD7B528DAAB527CC987EBF0C39B930 /* README.md */, 254 | ); 255 | name = Pod; 256 | sourceTree = ""; 257 | }; 258 | B49982355AF0B57AC1BE06839F1D6DED /* Products */ = { 259 | isa = PBXGroup; 260 | children = ( 261 | 8D7894B2A19391F3EC8796841B7C18CB /* ExpandingMenu.bundle */, 262 | 43142DFFB82441B07D4D212C4EEE0DBC /* ExpandingMenu.framework */, 263 | 426BE4AD55747686D7A84D4BB2D40ECA /* Pods_ExpandingMenu_Example.framework */, 264 | 84D87A8413BB0B1B534CB522AF7F06E7 /* Pods_ExpandingMenu_Tests.framework */, 265 | ); 266 | name = Products; 267 | sourceTree = ""; 268 | }; 269 | D7E1EB9233422AE1F4D9490D324302CC /* Development Pods */ = { 270 | isa = PBXGroup; 271 | children = ( 272 | 8A7B879903FD08010AB34C39C499AADE /* ExpandingMenu */, 273 | ); 274 | name = "Development Pods"; 275 | sourceTree = ""; 276 | }; 277 | /* End PBXGroup section */ 278 | 279 | /* Begin PBXHeadersBuildPhase section */ 280 | 304428BDE004FAC57CCBBD8AE50E7AEB /* Headers */ = { 281 | isa = PBXHeadersBuildPhase; 282 | buildActionMask = 2147483647; 283 | files = ( 284 | 3424ECCDFB4591D726A48586EF3093C9 /* Pods-ExpandingMenu_Tests-umbrella.h in Headers */, 285 | ); 286 | runOnlyForDeploymentPostprocessing = 0; 287 | }; 288 | 8A5E04DB602EA1BC1283DD88A772CBDF /* Headers */ = { 289 | isa = PBXHeadersBuildPhase; 290 | buildActionMask = 2147483647; 291 | files = ( 292 | CD78942FEE98A03525CD716500EE0D68 /* Pods-ExpandingMenu_Example-umbrella.h in Headers */, 293 | ); 294 | runOnlyForDeploymentPostprocessing = 0; 295 | }; 296 | 9D83C276873AA0F0EEEA19AAC33D6836 /* Headers */ = { 297 | isa = PBXHeadersBuildPhase; 298 | buildActionMask = 2147483647; 299 | files = ( 300 | 43B8E0DE26A85AAADC62BF0B47C4E963 /* ExpandingMenu-umbrella.h in Headers */, 301 | ); 302 | runOnlyForDeploymentPostprocessing = 0; 303 | }; 304 | /* End PBXHeadersBuildPhase section */ 305 | 306 | /* Begin PBXNativeTarget section */ 307 | 70860CD2E8D2735F6681260B3560F5EA /* Pods-ExpandingMenu_Tests */ = { 308 | isa = PBXNativeTarget; 309 | buildConfigurationList = 52272F33F1A7FF13ECA112A6C7D31CF7 /* Build configuration list for PBXNativeTarget "Pods-ExpandingMenu_Tests" */; 310 | buildPhases = ( 311 | B6A7F4D804295719EA5B3CD179410778 /* Sources */, 312 | B9B4C11D392AD31D1A49F43CCFEB4F96 /* Frameworks */, 313 | 304428BDE004FAC57CCBBD8AE50E7AEB /* Headers */, 314 | ); 315 | buildRules = ( 316 | ); 317 | dependencies = ( 318 | C9D61A391916CA4BD13B794EB145A9F6 /* PBXTargetDependency */, 319 | ); 320 | name = "Pods-ExpandingMenu_Tests"; 321 | productName = "Pods-ExpandingMenu_Tests"; 322 | productReference = 84D87A8413BB0B1B534CB522AF7F06E7 /* Pods_ExpandingMenu_Tests.framework */; 323 | productType = "com.apple.product-type.framework"; 324 | }; 325 | 7409E312376929E18E79DC1DE95F21FF /* ExpandingMenu-ExpandingMenu */ = { 326 | isa = PBXNativeTarget; 327 | buildConfigurationList = 5D1E1FE600E20EB968667426A71E6FE9 /* Build configuration list for PBXNativeTarget "ExpandingMenu-ExpandingMenu" */; 328 | buildPhases = ( 329 | DE89ADE01EC5D0887808926020ACE29C /* Sources */, 330 | 870759B4747A151C5067113B98F685DB /* Frameworks */, 331 | 55F276F7398AA85BBB056ECED7A07ECD /* Resources */, 332 | ); 333 | buildRules = ( 334 | ); 335 | dependencies = ( 336 | ); 337 | name = "ExpandingMenu-ExpandingMenu"; 338 | productName = "ExpandingMenu-ExpandingMenu"; 339 | productReference = 8D7894B2A19391F3EC8796841B7C18CB /* ExpandingMenu.bundle */; 340 | productType = "com.apple.product-type.bundle"; 341 | }; 342 | C83C60A804E3B1CC507B2BE77866A0C8 /* Pods-ExpandingMenu_Example */ = { 343 | isa = PBXNativeTarget; 344 | buildConfigurationList = 3BFE53119A8A404ADA1845CF635FED58 /* Build configuration list for PBXNativeTarget "Pods-ExpandingMenu_Example" */; 345 | buildPhases = ( 346 | 4FA642EFDF58F609FAAA294DBFAB6D84 /* Sources */, 347 | F3B16BD678F8D5A67A673692E63AABAC /* Frameworks */, 348 | 8A5E04DB602EA1BC1283DD88A772CBDF /* Headers */, 349 | ); 350 | buildRules = ( 351 | ); 352 | dependencies = ( 353 | 4824D60D7581885744FC119CB10FA36E /* PBXTargetDependency */, 354 | ); 355 | name = "Pods-ExpandingMenu_Example"; 356 | productName = "Pods-ExpandingMenu_Example"; 357 | productReference = 426BE4AD55747686D7A84D4BB2D40ECA /* Pods_ExpandingMenu_Example.framework */; 358 | productType = "com.apple.product-type.framework"; 359 | }; 360 | EB3C30C12812E277147F8CAC42660691 /* ExpandingMenu */ = { 361 | isa = PBXNativeTarget; 362 | buildConfigurationList = 2CEFE185EB30E9041D9EE9953CF3B66A /* Build configuration list for PBXNativeTarget "ExpandingMenu" */; 363 | buildPhases = ( 364 | 77A4D6DF7B39C1229C487E6393B695BC /* Sources */, 365 | 81DD16F2456655338FF578B75C91DD09 /* Frameworks */, 366 | B7A5DEA02571A80336113D9EE7FEBF26 /* Resources */, 367 | 9D83C276873AA0F0EEEA19AAC33D6836 /* Headers */, 368 | ); 369 | buildRules = ( 370 | ); 371 | dependencies = ( 372 | 9F21672CD9283941093BB17B9B1ED90F /* PBXTargetDependency */, 373 | ); 374 | name = ExpandingMenu; 375 | productName = ExpandingMenu; 376 | productReference = 43142DFFB82441B07D4D212C4EEE0DBC /* ExpandingMenu.framework */; 377 | productType = "com.apple.product-type.framework"; 378 | }; 379 | /* End PBXNativeTarget section */ 380 | 381 | /* Begin PBXProject section */ 382 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 383 | isa = PBXProject; 384 | attributes = { 385 | LastSwiftUpdateCheck = 0930; 386 | LastUpgradeCheck = 0930; 387 | }; 388 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 389 | compatibilityVersion = "Xcode 3.2"; 390 | developmentRegion = English; 391 | hasScannedForEncodings = 0; 392 | knownRegions = ( 393 | en, 394 | ); 395 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 396 | productRefGroup = B49982355AF0B57AC1BE06839F1D6DED /* Products */; 397 | projectDirPath = ""; 398 | projectRoot = ""; 399 | targets = ( 400 | EB3C30C12812E277147F8CAC42660691 /* ExpandingMenu */, 401 | 7409E312376929E18E79DC1DE95F21FF /* ExpandingMenu-ExpandingMenu */, 402 | C83C60A804E3B1CC507B2BE77866A0C8 /* Pods-ExpandingMenu_Example */, 403 | 70860CD2E8D2735F6681260B3560F5EA /* Pods-ExpandingMenu_Tests */, 404 | ); 405 | }; 406 | /* End PBXProject section */ 407 | 408 | /* Begin PBXResourcesBuildPhase section */ 409 | 55F276F7398AA85BBB056ECED7A07ECD /* Resources */ = { 410 | isa = PBXResourcesBuildPhase; 411 | buildActionMask = 2147483647; 412 | files = ( 413 | 483F2E61AE30F429944AC32FA62A4F2E /* expanding.caf in Resources */, 414 | 8F7C17870524B50092D5394FAE808560 /* fold.caf in Resources */, 415 | 41245F3FA2CFD6D8C33957EA3E81733F /* selected.caf in Resources */, 416 | ); 417 | runOnlyForDeploymentPostprocessing = 0; 418 | }; 419 | B7A5DEA02571A80336113D9EE7FEBF26 /* Resources */ = { 420 | isa = PBXResourcesBuildPhase; 421 | buildActionMask = 2147483647; 422 | files = ( 423 | 0CF2AAB174466AC11780C646C2FED431 /* ExpandingMenu.bundle in Resources */, 424 | ); 425 | runOnlyForDeploymentPostprocessing = 0; 426 | }; 427 | /* End PBXResourcesBuildPhase section */ 428 | 429 | /* Begin PBXSourcesBuildPhase section */ 430 | 4FA642EFDF58F609FAAA294DBFAB6D84 /* Sources */ = { 431 | isa = PBXSourcesBuildPhase; 432 | buildActionMask = 2147483647; 433 | files = ( 434 | B7D7A729CB35F47961ADBE48001757D6 /* Pods-ExpandingMenu_Example-dummy.m in Sources */, 435 | ); 436 | runOnlyForDeploymentPostprocessing = 0; 437 | }; 438 | 77A4D6DF7B39C1229C487E6393B695BC /* Sources */ = { 439 | isa = PBXSourcesBuildPhase; 440 | buildActionMask = 2147483647; 441 | files = ( 442 | BA01E5EDAD34AD70456E9EAA01428DC1 /* ExpandingMenu-dummy.m in Sources */, 443 | 3E820183589C10E2C0CD87C9F4628268 /* ExpandingMenuButton.swift in Sources */, 444 | CE6544633F7C907D97BB98164DDE8EAD /* ExpandingMenuItem.swift in Sources */, 445 | ); 446 | runOnlyForDeploymentPostprocessing = 0; 447 | }; 448 | B6A7F4D804295719EA5B3CD179410778 /* Sources */ = { 449 | isa = PBXSourcesBuildPhase; 450 | buildActionMask = 2147483647; 451 | files = ( 452 | 6798493106CA6A9793D6597C2B319C9E /* Pods-ExpandingMenu_Tests-dummy.m in Sources */, 453 | ); 454 | runOnlyForDeploymentPostprocessing = 0; 455 | }; 456 | DE89ADE01EC5D0887808926020ACE29C /* Sources */ = { 457 | isa = PBXSourcesBuildPhase; 458 | buildActionMask = 2147483647; 459 | files = ( 460 | ); 461 | runOnlyForDeploymentPostprocessing = 0; 462 | }; 463 | /* End PBXSourcesBuildPhase section */ 464 | 465 | /* Begin PBXTargetDependency section */ 466 | 4824D60D7581885744FC119CB10FA36E /* PBXTargetDependency */ = { 467 | isa = PBXTargetDependency; 468 | name = ExpandingMenu; 469 | target = EB3C30C12812E277147F8CAC42660691 /* ExpandingMenu */; 470 | targetProxy = 63382FB2D09C6C04156A56F1B4DCB4AF /* PBXContainerItemProxy */; 471 | }; 472 | 9F21672CD9283941093BB17B9B1ED90F /* PBXTargetDependency */ = { 473 | isa = PBXTargetDependency; 474 | name = "ExpandingMenu-ExpandingMenu"; 475 | target = 7409E312376929E18E79DC1DE95F21FF /* ExpandingMenu-ExpandingMenu */; 476 | targetProxy = B74F7A8D09EFB1A97FD25BCAFBE89049 /* PBXContainerItemProxy */; 477 | }; 478 | C9D61A391916CA4BD13B794EB145A9F6 /* PBXTargetDependency */ = { 479 | isa = PBXTargetDependency; 480 | name = ExpandingMenu; 481 | target = EB3C30C12812E277147F8CAC42660691 /* ExpandingMenu */; 482 | targetProxy = 3BBE8BC25C3FCF01EE773C659564A33F /* PBXContainerItemProxy */; 483 | }; 484 | /* End PBXTargetDependency section */ 485 | 486 | /* Begin XCBuildConfiguration section */ 487 | 0E12B7268EF0862DFEEB8B6B0BD7C9F4 /* Debug */ = { 488 | isa = XCBuildConfiguration; 489 | buildSettings = { 490 | ALWAYS_SEARCH_USER_PATHS = NO; 491 | CLANG_ANALYZER_NONNULL = YES; 492 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 493 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 494 | CLANG_CXX_LIBRARY = "libc++"; 495 | CLANG_ENABLE_MODULES = YES; 496 | CLANG_ENABLE_OBJC_ARC = YES; 497 | CLANG_ENABLE_OBJC_WEAK = YES; 498 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 499 | CLANG_WARN_BOOL_CONVERSION = YES; 500 | CLANG_WARN_COMMA = YES; 501 | CLANG_WARN_CONSTANT_CONVERSION = YES; 502 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 503 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 504 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 505 | CLANG_WARN_EMPTY_BODY = YES; 506 | CLANG_WARN_ENUM_CONVERSION = YES; 507 | CLANG_WARN_INFINITE_RECURSION = YES; 508 | CLANG_WARN_INT_CONVERSION = YES; 509 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 510 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 511 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 512 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 513 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 514 | CLANG_WARN_STRICT_PROTOTYPES = YES; 515 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 516 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 517 | CLANG_WARN_UNREACHABLE_CODE = YES; 518 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 519 | CODE_SIGNING_ALLOWED = NO; 520 | CODE_SIGNING_REQUIRED = NO; 521 | COPY_PHASE_STRIP = NO; 522 | DEBUG_INFORMATION_FORMAT = dwarf; 523 | ENABLE_STRICT_OBJC_MSGSEND = YES; 524 | ENABLE_TESTABILITY = YES; 525 | GCC_C_LANGUAGE_STANDARD = gnu11; 526 | GCC_DYNAMIC_NO_PIC = NO; 527 | GCC_NO_COMMON_BLOCKS = YES; 528 | GCC_OPTIMIZATION_LEVEL = 0; 529 | GCC_PREPROCESSOR_DEFINITIONS = ( 530 | "POD_CONFIGURATION_DEBUG=1", 531 | "DEBUG=1", 532 | "$(inherited)", 533 | ); 534 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 535 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 536 | GCC_WARN_UNDECLARED_SELECTOR = YES; 537 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 538 | GCC_WARN_UNUSED_FUNCTION = YES; 539 | GCC_WARN_UNUSED_VARIABLE = YES; 540 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 541 | MTL_ENABLE_DEBUG_INFO = YES; 542 | ONLY_ACTIVE_ARCH = YES; 543 | PRODUCT_NAME = "$(TARGET_NAME)"; 544 | STRIP_INSTALLED_PRODUCT = NO; 545 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 546 | SYMROOT = "${SRCROOT}/../build"; 547 | }; 548 | name = Debug; 549 | }; 550 | 30BE79C65911F4051586B9D99BA903FA /* Debug */ = { 551 | isa = XCBuildConfiguration; 552 | baseConfigurationReference = D560232EDB1143BA3A14DA91CA84D42C /* Pods-ExpandingMenu_Example.debug.xcconfig */; 553 | buildSettings = { 554 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 555 | CLANG_ENABLE_OBJC_WEAK = NO; 556 | CODE_SIGN_IDENTITY = ""; 557 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 558 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 559 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 560 | CURRENT_PROJECT_VERSION = 1; 561 | DEFINES_MODULE = YES; 562 | DYLIB_COMPATIBILITY_VERSION = 1; 563 | DYLIB_CURRENT_VERSION = 1; 564 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 565 | INFOPLIST_FILE = "Target Support Files/Pods-ExpandingMenu_Example/Info.plist"; 566 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 567 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 568 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 569 | MACH_O_TYPE = staticlib; 570 | MODULEMAP_FILE = "Target Support Files/Pods-ExpandingMenu_Example/Pods-ExpandingMenu_Example.modulemap"; 571 | OTHER_LDFLAGS = ""; 572 | OTHER_LIBTOOLFLAGS = ""; 573 | PODS_ROOT = "$(SRCROOT)"; 574 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 575 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 576 | SDKROOT = iphoneos; 577 | SKIP_INSTALL = YES; 578 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 579 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 580 | TARGETED_DEVICE_FAMILY = "1,2"; 581 | VERSIONING_SYSTEM = "apple-generic"; 582 | VERSION_INFO_PREFIX = ""; 583 | }; 584 | name = Debug; 585 | }; 586 | 7ABC379986100371A86F511121C9F3F2 /* Release */ = { 587 | isa = XCBuildConfiguration; 588 | baseConfigurationReference = E86F6E63CE6DF1CC2D3DBD255DC04137 /* ExpandingMenu.xcconfig */; 589 | buildSettings = { 590 | CODE_SIGN_IDENTITY = ""; 591 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 592 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 593 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 594 | CURRENT_PROJECT_VERSION = 1; 595 | DEFINES_MODULE = YES; 596 | DYLIB_COMPATIBILITY_VERSION = 1; 597 | DYLIB_CURRENT_VERSION = 1; 598 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 599 | GCC_PREFIX_HEADER = "Target Support Files/ExpandingMenu/ExpandingMenu-prefix.pch"; 600 | INFOPLIST_FILE = "Target Support Files/ExpandingMenu/Info.plist"; 601 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 602 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 603 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 604 | MODULEMAP_FILE = "Target Support Files/ExpandingMenu/ExpandingMenu.modulemap"; 605 | PRODUCT_MODULE_NAME = ExpandingMenu; 606 | PRODUCT_NAME = ExpandingMenu; 607 | SDKROOT = iphoneos; 608 | SKIP_INSTALL = YES; 609 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 610 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 611 | SWIFT_VERSION = 4.2; 612 | TARGETED_DEVICE_FAMILY = "1,2"; 613 | VALIDATE_PRODUCT = YES; 614 | VERSIONING_SYSTEM = "apple-generic"; 615 | VERSION_INFO_PREFIX = ""; 616 | }; 617 | name = Release; 618 | }; 619 | 84BCC248C1A102F8E06D61B856393986 /* Release */ = { 620 | isa = XCBuildConfiguration; 621 | baseConfigurationReference = 61F47DEDD93D86359675013B63C6AFFF /* Pods-ExpandingMenu_Example.release.xcconfig */; 622 | buildSettings = { 623 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 624 | CLANG_ENABLE_OBJC_WEAK = NO; 625 | CODE_SIGN_IDENTITY = ""; 626 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 627 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 628 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 629 | CURRENT_PROJECT_VERSION = 1; 630 | DEFINES_MODULE = YES; 631 | DYLIB_COMPATIBILITY_VERSION = 1; 632 | DYLIB_CURRENT_VERSION = 1; 633 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 634 | INFOPLIST_FILE = "Target Support Files/Pods-ExpandingMenu_Example/Info.plist"; 635 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 636 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 637 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 638 | MACH_O_TYPE = staticlib; 639 | MODULEMAP_FILE = "Target Support Files/Pods-ExpandingMenu_Example/Pods-ExpandingMenu_Example.modulemap"; 640 | OTHER_LDFLAGS = ""; 641 | OTHER_LIBTOOLFLAGS = ""; 642 | PODS_ROOT = "$(SRCROOT)"; 643 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 644 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 645 | SDKROOT = iphoneos; 646 | SKIP_INSTALL = YES; 647 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 648 | TARGETED_DEVICE_FAMILY = "1,2"; 649 | VALIDATE_PRODUCT = YES; 650 | VERSIONING_SYSTEM = "apple-generic"; 651 | VERSION_INFO_PREFIX = ""; 652 | }; 653 | name = Release; 654 | }; 655 | 85A2959289E0F34B4EFF06C742DB5A4F /* Release */ = { 656 | isa = XCBuildConfiguration; 657 | baseConfigurationReference = E86F6E63CE6DF1CC2D3DBD255DC04137 /* ExpandingMenu.xcconfig */; 658 | buildSettings = { 659 | CODE_SIGN_IDENTITY = "iPhone Developer"; 660 | CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/ExpandingMenu"; 661 | INFOPLIST_FILE = "Target Support Files/ExpandingMenu/ResourceBundle-ExpandingMenu-Info.plist"; 662 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 663 | PRODUCT_NAME = ExpandingMenu; 664 | SDKROOT = iphoneos; 665 | SKIP_INSTALL = YES; 666 | TARGETED_DEVICE_FAMILY = "1,2"; 667 | WRAPPER_EXTENSION = bundle; 668 | }; 669 | name = Release; 670 | }; 671 | 8F86E959FFF6F11A0BBC549941C3479E /* Debug */ = { 672 | isa = XCBuildConfiguration; 673 | baseConfigurationReference = E86F6E63CE6DF1CC2D3DBD255DC04137 /* ExpandingMenu.xcconfig */; 674 | buildSettings = { 675 | CODE_SIGN_IDENTITY = "iPhone Developer"; 676 | CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/ExpandingMenu"; 677 | INFOPLIST_FILE = "Target Support Files/ExpandingMenu/ResourceBundle-ExpandingMenu-Info.plist"; 678 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 679 | PRODUCT_NAME = ExpandingMenu; 680 | SDKROOT = iphoneos; 681 | SKIP_INSTALL = YES; 682 | TARGETED_DEVICE_FAMILY = "1,2"; 683 | WRAPPER_EXTENSION = bundle; 684 | }; 685 | name = Debug; 686 | }; 687 | CD8324D57CD462761E218EEA4EA91EC7 /* Release */ = { 688 | isa = XCBuildConfiguration; 689 | buildSettings = { 690 | ALWAYS_SEARCH_USER_PATHS = NO; 691 | CLANG_ANALYZER_NONNULL = YES; 692 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 693 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 694 | CLANG_CXX_LIBRARY = "libc++"; 695 | CLANG_ENABLE_MODULES = YES; 696 | CLANG_ENABLE_OBJC_ARC = YES; 697 | CLANG_ENABLE_OBJC_WEAK = YES; 698 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 699 | CLANG_WARN_BOOL_CONVERSION = YES; 700 | CLANG_WARN_COMMA = YES; 701 | CLANG_WARN_CONSTANT_CONVERSION = YES; 702 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 703 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 704 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 705 | CLANG_WARN_EMPTY_BODY = YES; 706 | CLANG_WARN_ENUM_CONVERSION = YES; 707 | CLANG_WARN_INFINITE_RECURSION = YES; 708 | CLANG_WARN_INT_CONVERSION = YES; 709 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 710 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 711 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 712 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 713 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 714 | CLANG_WARN_STRICT_PROTOTYPES = YES; 715 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 716 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 717 | CLANG_WARN_UNREACHABLE_CODE = YES; 718 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 719 | CODE_SIGNING_ALLOWED = NO; 720 | CODE_SIGNING_REQUIRED = NO; 721 | COPY_PHASE_STRIP = NO; 722 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 723 | ENABLE_NS_ASSERTIONS = NO; 724 | ENABLE_STRICT_OBJC_MSGSEND = YES; 725 | GCC_C_LANGUAGE_STANDARD = gnu11; 726 | GCC_NO_COMMON_BLOCKS = YES; 727 | GCC_PREPROCESSOR_DEFINITIONS = ( 728 | "POD_CONFIGURATION_RELEASE=1", 729 | "$(inherited)", 730 | ); 731 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 732 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 733 | GCC_WARN_UNDECLARED_SELECTOR = YES; 734 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 735 | GCC_WARN_UNUSED_FUNCTION = YES; 736 | GCC_WARN_UNUSED_VARIABLE = YES; 737 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 738 | MTL_ENABLE_DEBUG_INFO = NO; 739 | PRODUCT_NAME = "$(TARGET_NAME)"; 740 | STRIP_INSTALLED_PRODUCT = NO; 741 | SYMROOT = "${SRCROOT}/../build"; 742 | }; 743 | name = Release; 744 | }; 745 | E9C74309D57FC3CF901512FBE309FD95 /* Debug */ = { 746 | isa = XCBuildConfiguration; 747 | baseConfigurationReference = A5D442F09C9DD8A38D04ED6B10CE9016 /* Pods-ExpandingMenu_Tests.debug.xcconfig */; 748 | buildSettings = { 749 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 750 | CLANG_ENABLE_OBJC_WEAK = NO; 751 | CODE_SIGN_IDENTITY = ""; 752 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 753 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 754 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 755 | CURRENT_PROJECT_VERSION = 1; 756 | DEFINES_MODULE = YES; 757 | DYLIB_COMPATIBILITY_VERSION = 1; 758 | DYLIB_CURRENT_VERSION = 1; 759 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 760 | INFOPLIST_FILE = "Target Support Files/Pods-ExpandingMenu_Tests/Info.plist"; 761 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 762 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 763 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 764 | MACH_O_TYPE = staticlib; 765 | MODULEMAP_FILE = "Target Support Files/Pods-ExpandingMenu_Tests/Pods-ExpandingMenu_Tests.modulemap"; 766 | OTHER_LDFLAGS = ""; 767 | OTHER_LIBTOOLFLAGS = ""; 768 | PODS_ROOT = "$(SRCROOT)"; 769 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 770 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 771 | SDKROOT = iphoneos; 772 | SKIP_INSTALL = YES; 773 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 774 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 775 | TARGETED_DEVICE_FAMILY = "1,2"; 776 | VERSIONING_SYSTEM = "apple-generic"; 777 | VERSION_INFO_PREFIX = ""; 778 | }; 779 | name = Debug; 780 | }; 781 | EDD95C99033807C8FB438ADDFCE0997F /* Release */ = { 782 | isa = XCBuildConfiguration; 783 | baseConfigurationReference = 4A1D11D35C9C03D977FAA20C20F86127 /* Pods-ExpandingMenu_Tests.release.xcconfig */; 784 | buildSettings = { 785 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 786 | CLANG_ENABLE_OBJC_WEAK = NO; 787 | CODE_SIGN_IDENTITY = ""; 788 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 789 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 790 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 791 | CURRENT_PROJECT_VERSION = 1; 792 | DEFINES_MODULE = YES; 793 | DYLIB_COMPATIBILITY_VERSION = 1; 794 | DYLIB_CURRENT_VERSION = 1; 795 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 796 | INFOPLIST_FILE = "Target Support Files/Pods-ExpandingMenu_Tests/Info.plist"; 797 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 798 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 799 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 800 | MACH_O_TYPE = staticlib; 801 | MODULEMAP_FILE = "Target Support Files/Pods-ExpandingMenu_Tests/Pods-ExpandingMenu_Tests.modulemap"; 802 | OTHER_LDFLAGS = ""; 803 | OTHER_LIBTOOLFLAGS = ""; 804 | PODS_ROOT = "$(SRCROOT)"; 805 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 806 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 807 | SDKROOT = iphoneos; 808 | SKIP_INSTALL = YES; 809 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 810 | TARGETED_DEVICE_FAMILY = "1,2"; 811 | VALIDATE_PRODUCT = YES; 812 | VERSIONING_SYSTEM = "apple-generic"; 813 | VERSION_INFO_PREFIX = ""; 814 | }; 815 | name = Release; 816 | }; 817 | F37BF5DEDBD606DF6DB9D79BDBA1C1E2 /* Debug */ = { 818 | isa = XCBuildConfiguration; 819 | baseConfigurationReference = E86F6E63CE6DF1CC2D3DBD255DC04137 /* ExpandingMenu.xcconfig */; 820 | buildSettings = { 821 | CODE_SIGN_IDENTITY = ""; 822 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 823 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 824 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 825 | CURRENT_PROJECT_VERSION = 1; 826 | DEFINES_MODULE = YES; 827 | DYLIB_COMPATIBILITY_VERSION = 1; 828 | DYLIB_CURRENT_VERSION = 1; 829 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 830 | GCC_PREFIX_HEADER = "Target Support Files/ExpandingMenu/ExpandingMenu-prefix.pch"; 831 | INFOPLIST_FILE = "Target Support Files/ExpandingMenu/Info.plist"; 832 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 833 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 834 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 835 | MODULEMAP_FILE = "Target Support Files/ExpandingMenu/ExpandingMenu.modulemap"; 836 | PRODUCT_MODULE_NAME = ExpandingMenu; 837 | PRODUCT_NAME = ExpandingMenu; 838 | SDKROOT = iphoneos; 839 | SKIP_INSTALL = YES; 840 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 841 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 842 | SWIFT_VERSION = 4.2; 843 | TARGETED_DEVICE_FAMILY = "1,2"; 844 | VERSIONING_SYSTEM = "apple-generic"; 845 | VERSION_INFO_PREFIX = ""; 846 | }; 847 | name = Debug; 848 | }; 849 | /* End XCBuildConfiguration section */ 850 | 851 | /* Begin XCConfigurationList section */ 852 | 2CEFE185EB30E9041D9EE9953CF3B66A /* Build configuration list for PBXNativeTarget "ExpandingMenu" */ = { 853 | isa = XCConfigurationList; 854 | buildConfigurations = ( 855 | F37BF5DEDBD606DF6DB9D79BDBA1C1E2 /* Debug */, 856 | 7ABC379986100371A86F511121C9F3F2 /* Release */, 857 | ); 858 | defaultConfigurationIsVisible = 0; 859 | defaultConfigurationName = Release; 860 | }; 861 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 862 | isa = XCConfigurationList; 863 | buildConfigurations = ( 864 | 0E12B7268EF0862DFEEB8B6B0BD7C9F4 /* Debug */, 865 | CD8324D57CD462761E218EEA4EA91EC7 /* Release */, 866 | ); 867 | defaultConfigurationIsVisible = 0; 868 | defaultConfigurationName = Release; 869 | }; 870 | 3BFE53119A8A404ADA1845CF635FED58 /* Build configuration list for PBXNativeTarget "Pods-ExpandingMenu_Example" */ = { 871 | isa = XCConfigurationList; 872 | buildConfigurations = ( 873 | 30BE79C65911F4051586B9D99BA903FA /* Debug */, 874 | 84BCC248C1A102F8E06D61B856393986 /* Release */, 875 | ); 876 | defaultConfigurationIsVisible = 0; 877 | defaultConfigurationName = Release; 878 | }; 879 | 52272F33F1A7FF13ECA112A6C7D31CF7 /* Build configuration list for PBXNativeTarget "Pods-ExpandingMenu_Tests" */ = { 880 | isa = XCConfigurationList; 881 | buildConfigurations = ( 882 | E9C74309D57FC3CF901512FBE309FD95 /* Debug */, 883 | EDD95C99033807C8FB438ADDFCE0997F /* Release */, 884 | ); 885 | defaultConfigurationIsVisible = 0; 886 | defaultConfigurationName = Release; 887 | }; 888 | 5D1E1FE600E20EB968667426A71E6FE9 /* Build configuration list for PBXNativeTarget "ExpandingMenu-ExpandingMenu" */ = { 889 | isa = XCConfigurationList; 890 | buildConfigurations = ( 891 | 8F86E959FFF6F11A0BBC549941C3479E /* Debug */, 892 | 85A2959289E0F34B4EFF06C742DB5A4F /* Release */, 893 | ); 894 | defaultConfigurationIsVisible = 0; 895 | defaultConfigurationName = Release; 896 | }; 897 | /* End XCConfigurationList section */ 898 | }; 899 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 900 | } 901 | --------------------------------------------------------------------------------