├── DPRadialMenu ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ ├── DPRadialMenuDelegate.h │ ├── DPRadialMenu.h │ └── DPRadialMenu.m ├── _Pods.xcodeproj ├── Example ├── Tests │ ├── en.lproj │ │ └── InfoPlist.strings │ ├── Tests-Prefix.pch │ ├── Tests-Info.plist │ └── Tests.m ├── DPRadialMenu │ ├── en.lproj │ │ └── InfoPlist.strings │ ├── Images.xcassets │ │ ├── Contents.json │ │ ├── facebook.imageset │ │ │ ├── facebook.png │ │ │ ├── facebook@2x.png │ │ │ ├── facebook@3x.png │ │ │ └── Contents.json │ │ ├── linked_in.imageset │ │ │ ├── linked_in.png │ │ │ ├── linked_in@2x.png │ │ │ ├── linked_in@3x.png │ │ │ └── Contents.json │ │ ├── google_plus.imageset │ │ │ ├── google_plus.png │ │ │ ├── google_plus@2x.png │ │ │ ├── google_plus@3x.png │ │ │ └── Contents.json │ │ ├── LaunchImage.launchimage │ │ │ ├── splash1024x768.png │ │ │ ├── splash640x1136.png │ │ │ ├── splash640x960.png │ │ │ ├── splash768x1024.png │ │ │ ├── splash1024x768@2x.png │ │ │ ├── splash768x1024@2x.png │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── DPAppDelegate.h │ ├── DPViewController.h │ ├── DPRadialMenu-Prefix.pch │ ├── main.m │ ├── DPRadialMenu-Info.plist │ ├── DPAppDelegate.m │ ├── DPViewController.m │ └── Main.storyboard ├── Pods │ ├── Target Support Files │ │ ├── DPRadialMenu │ │ │ ├── DPRadialMenu-prefix.pch │ │ │ ├── DPRadialMenu.modulemap │ │ │ ├── DPRadialMenu-dummy.m │ │ │ ├── DPRadialMenu-umbrella.h │ │ │ ├── DPRadialMenu.xcconfig │ │ │ └── Info.plist │ │ ├── Pods-DPRadialMenu_Tests │ │ │ ├── Pods-DPRadialMenu_Tests-acknowledgements.markdown │ │ │ ├── Pods-DPRadialMenu_Tests.modulemap │ │ │ ├── Pods-DPRadialMenu_Tests-dummy.m │ │ │ ├── Pods-DPRadialMenu_Tests-umbrella.h │ │ │ ├── Pods-DPRadialMenu_Tests.debug.xcconfig │ │ │ ├── Pods-DPRadialMenu_Tests.release.xcconfig │ │ │ ├── Info.plist │ │ │ ├── Pods-DPRadialMenu_Tests-acknowledgements.plist │ │ │ ├── Pods-DPRadialMenu_Tests-frameworks.sh │ │ │ └── Pods-DPRadialMenu_Tests-resources.sh │ │ └── Pods-DPRadialMenu_Example │ │ │ ├── Pods-DPRadialMenu_Example.modulemap │ │ │ ├── Pods-DPRadialMenu_Example-dummy.m │ │ │ ├── Pods-DPRadialMenu_Example-umbrella.h │ │ │ ├── Pods-DPRadialMenu_Example.debug.xcconfig │ │ │ ├── Pods-DPRadialMenu_Example.release.xcconfig │ │ │ ├── Info.plist │ │ │ ├── Pods-DPRadialMenu_Example-acknowledgements.markdown │ │ │ ├── Pods-DPRadialMenu_Example-acknowledgements.plist │ │ │ ├── Pods-DPRadialMenu_Example-frameworks.sh │ │ │ └── Pods-DPRadialMenu_Example-resources.sh │ ├── Manifest.lock │ ├── Local Podspecs │ │ └── DPRadialMenu.podspec.json │ └── Pods.xcodeproj │ │ └── project.pbxproj ├── Podfile ├── DPRadialMenu.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── DPRadialMenu-Example.xcscheme │ └── project.pbxproj ├── DPRadialMenu.xcworkspace │ └── contents.xcworkspacedata └── Podfile.lock ├── screen ├── screen1.png └── screen2.png ├── Screen └── animation.gif ├── .travis.yml ├── .gitignore ├── LICENSE ├── DPRadialMenu.podspec └── README.md /DPRadialMenu/Assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /DPRadialMenu/Classes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /Example/Tests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example/DPRadialMenu/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /screen/screen1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariopellegrini/DPRadialMenu/HEAD/screen/screen1.png -------------------------------------------------------------------------------- /screen/screen2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariopellegrini/DPRadialMenu/HEAD/screen/screen2.png -------------------------------------------------------------------------------- /Screen/animation.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariopellegrini/DPRadialMenu/HEAD/Screen/animation.gif -------------------------------------------------------------------------------- /Example/DPRadialMenu/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/DPRadialMenu/DPRadialMenu-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Example/Tests/Tests-Prefix.pch: -------------------------------------------------------------------------------- 1 | // The contents of this file are implicitly included at the beginning of every test case source file. 2 | 3 | #ifdef __OBJC__ 4 | 5 | 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /Example/DPRadialMenu/Images.xcassets/facebook.imageset/facebook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariopellegrini/DPRadialMenu/HEAD/Example/DPRadialMenu/Images.xcassets/facebook.imageset/facebook.png -------------------------------------------------------------------------------- /Example/DPRadialMenu/Images.xcassets/linked_in.imageset/linked_in.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariopellegrini/DPRadialMenu/HEAD/Example/DPRadialMenu/Images.xcassets/linked_in.imageset/linked_in.png -------------------------------------------------------------------------------- /Example/DPRadialMenu/Images.xcassets/facebook.imageset/facebook@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariopellegrini/DPRadialMenu/HEAD/Example/DPRadialMenu/Images.xcassets/facebook.imageset/facebook@2x.png -------------------------------------------------------------------------------- /Example/DPRadialMenu/Images.xcassets/facebook.imageset/facebook@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariopellegrini/DPRadialMenu/HEAD/Example/DPRadialMenu/Images.xcassets/facebook.imageset/facebook@3x.png -------------------------------------------------------------------------------- /Example/DPRadialMenu/Images.xcassets/linked_in.imageset/linked_in@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariopellegrini/DPRadialMenu/HEAD/Example/DPRadialMenu/Images.xcassets/linked_in.imageset/linked_in@2x.png -------------------------------------------------------------------------------- /Example/DPRadialMenu/Images.xcassets/linked_in.imageset/linked_in@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariopellegrini/DPRadialMenu/HEAD/Example/DPRadialMenu/Images.xcassets/linked_in.imageset/linked_in@3x.png -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/DPRadialMenu/DPRadialMenu.modulemap: -------------------------------------------------------------------------------- 1 | framework module DPRadialMenu { 2 | umbrella header "DPRadialMenu-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/DPRadialMenu/Images.xcassets/google_plus.imageset/google_plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariopellegrini/DPRadialMenu/HEAD/Example/DPRadialMenu/Images.xcassets/google_plus.imageset/google_plus.png -------------------------------------------------------------------------------- /Example/DPRadialMenu/Images.xcassets/google_plus.imageset/google_plus@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariopellegrini/DPRadialMenu/HEAD/Example/DPRadialMenu/Images.xcassets/google_plus.imageset/google_plus@2x.png -------------------------------------------------------------------------------- /Example/DPRadialMenu/Images.xcassets/google_plus.imageset/google_plus@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariopellegrini/DPRadialMenu/HEAD/Example/DPRadialMenu/Images.xcassets/google_plus.imageset/google_plus@3x.png -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/DPRadialMenu/DPRadialMenu-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_DPRadialMenu : NSObject 3 | @end 4 | @implementation PodsDummy_DPRadialMenu 5 | @end 6 | -------------------------------------------------------------------------------- /Example/DPRadialMenu/Images.xcassets/LaunchImage.launchimage/splash1024x768.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariopellegrini/DPRadialMenu/HEAD/Example/DPRadialMenu/Images.xcassets/LaunchImage.launchimage/splash1024x768.png -------------------------------------------------------------------------------- /Example/DPRadialMenu/Images.xcassets/LaunchImage.launchimage/splash640x1136.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariopellegrini/DPRadialMenu/HEAD/Example/DPRadialMenu/Images.xcassets/LaunchImage.launchimage/splash640x1136.png -------------------------------------------------------------------------------- /Example/DPRadialMenu/Images.xcassets/LaunchImage.launchimage/splash640x960.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariopellegrini/DPRadialMenu/HEAD/Example/DPRadialMenu/Images.xcassets/LaunchImage.launchimage/splash640x960.png -------------------------------------------------------------------------------- /Example/DPRadialMenu/Images.xcassets/LaunchImage.launchimage/splash768x1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariopellegrini/DPRadialMenu/HEAD/Example/DPRadialMenu/Images.xcassets/LaunchImage.launchimage/splash768x1024.png -------------------------------------------------------------------------------- /Example/DPRadialMenu/Images.xcassets/LaunchImage.launchimage/splash1024x768@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariopellegrini/DPRadialMenu/HEAD/Example/DPRadialMenu/Images.xcassets/LaunchImage.launchimage/splash1024x768@2x.png -------------------------------------------------------------------------------- /Example/DPRadialMenu/Images.xcassets/LaunchImage.launchimage/splash768x1024@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariopellegrini/DPRadialMenu/HEAD/Example/DPRadialMenu/Images.xcassets/LaunchImage.launchimage/splash768x1024@2x.png -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'DPRadialMenu_Example' do 4 | pod 'DPRadialMenu', :path => '../' 5 | 6 | target 'DPRadialMenu_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DPRadialMenu_Tests/Pods-DPRadialMenu_Tests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | Generated by CocoaPods - https://cocoapods.org 4 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DPRadialMenu_Tests/Pods-DPRadialMenu_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_DPRadialMenu_Tests { 2 | umbrella header "Pods-DPRadialMenu_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/DPRadialMenu.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DPRadialMenu_Example/Pods-DPRadialMenu_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_DPRadialMenu_Example { 2 | umbrella header "Pods-DPRadialMenu_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DPRadialMenu_Tests/Pods-DPRadialMenu_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_DPRadialMenu_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_DPRadialMenu_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DPRadialMenu_Example/Pods-DPRadialMenu_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_DPRadialMenu_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_DPRadialMenu_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DPRadialMenu_Tests/Pods-DPRadialMenu_Tests-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | FOUNDATION_EXPORT double Pods_DPRadialMenu_TestsVersionNumber; 5 | FOUNDATION_EXPORT const unsigned char Pods_DPRadialMenu_TestsVersionString[]; 6 | 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DPRadialMenu_Example/Pods-DPRadialMenu_Example-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | FOUNDATION_EXPORT double Pods_DPRadialMenu_ExampleVersionNumber; 5 | FOUNDATION_EXPORT const unsigned char Pods_DPRadialMenu_ExampleVersionString[]; 6 | 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/DPRadialMenu/DPRadialMenu-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | #import "DPRadialMenu.h" 4 | #import "DPRadialMenuDelegate.h" 5 | 6 | FOUNDATION_EXPORT double DPRadialMenuVersionNumber; 7 | FOUNDATION_EXPORT const unsigned char DPRadialMenuVersionString[]; 8 | 9 | -------------------------------------------------------------------------------- /Example/DPRadialMenu.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - DPRadialMenu (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - DPRadialMenu (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | DPRadialMenu: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | DPRadialMenu: 67d713ed0c0bed76048de96d811195aa827bfa72 13 | 14 | PODFILE CHECKSUM: 2a43384add1d212507e1e8562d949e09a9352ff4 15 | 16 | COCOAPODS: 1.0.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - DPRadialMenu (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - DPRadialMenu (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | DPRadialMenu: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | DPRadialMenu: 67d713ed0c0bed76048de96d811195aa827bfa72 13 | 14 | PODFILE CHECKSUM: 2a43384add1d212507e1e8562d949e09a9352ff4 15 | 16 | COCOAPODS: 1.0.1 17 | -------------------------------------------------------------------------------- /Example/DPRadialMenu/DPAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // DPAppDelegate.h 3 | // DPRadialMenu 4 | // 5 | // Created by Dario Pellegrini on 06/24/2016. 6 | // Copyright (c) 2016 Dario Pellegrini. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | 11 | @interface DPAppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | @end 15 | -------------------------------------------------------------------------------- /Example/DPRadialMenu/DPViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // DPViewController.h 3 | // DPRadialMenu 4 | // 5 | // Created by Dario Pellegrini on 06/24/2016. 6 | // Copyright (c) 2016 Dario Pellegrini. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | #import 11 | 12 | @interface DPViewController : UIViewController 13 | @property (weak, nonatomic) IBOutlet UIView *redView; 14 | @end 15 | -------------------------------------------------------------------------------- /Example/DPRadialMenu/DPRadialMenu-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #import 8 | 9 | #ifndef __IPHONE_5_0 10 | #warning "This project uses features only available in iOS SDK 5.0 and later." 11 | #endif 12 | 13 | #ifdef __OBJC__ 14 | @import UIKit; 15 | @import Foundation; 16 | #endif 17 | -------------------------------------------------------------------------------- /Example/DPRadialMenu/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // DPRadialMenu 4 | // 5 | // Created by Dario Pellegrini on 06/24/2016. 6 | // Copyright (c) 2016 Dario Pellegrini. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | #import "DPAppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) 13 | { 14 | @autoreleasepool { 15 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([DPAppDelegate class])); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /DPRadialMenu/Classes/DPRadialMenuDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // APTRadialMenuDelegate.h 3 | // Appertutti 4 | // 5 | // Created by Dario Pellegrini on 16/12/15. 6 | // Copyright © 2015 S4win. All rights reserved. 7 | // 8 | 9 | #import 10 | @import UIKit; 11 | @class DPRadialMenu; 12 | 13 | @protocol DPRadialMenuDelegate 14 | 15 | - (void)radialMenu:(DPRadialMenu *)radialMenu didSelectButton:(UIButton *)selectedButton; 16 | - (void)radialMenuDidCancel:(DPRadialMenu *)radialMenu; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/DPRadialMenu/DPRadialMenu.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/DPRadialMenu 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | PODS_BUILD_DIR = $BUILD_DIR 5 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 8 | SKIP_INSTALL = YES 9 | -------------------------------------------------------------------------------- /Example/DPRadialMenu/Images.xcassets/facebook.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "facebook.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "facebook@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "facebook@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /Example/DPRadialMenu/Images.xcassets/linked_in.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "linked_in.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "linked_in@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "linked_in@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /Example/DPRadialMenu/Images.xcassets/google_plus.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "google_plus.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "google_plus@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "google_plus@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * http://www.objc.io/issue-6/travis-ci.html 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | osx_image: xcode7.3 6 | language: objective-c 7 | # cache: cocoapods 8 | # podfile: Example/Podfile 9 | # before_install: 10 | # - gem install cocoapods # Since Travis is not always on latest version 11 | # - pod install --project-directory=Example 12 | script: 13 | - set -o pipefail && xcodebuild test -workspace Example/DPRadialMenu.xcworkspace -scheme DPRadialMenu-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DPRadialMenu_Tests/Pods-DPRadialMenu_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/DPRadialMenu" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/DPRadialMenu/DPRadialMenu.framework/Headers" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT}/Pods 8 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DPRadialMenu_Tests/Pods-DPRadialMenu_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/DPRadialMenu" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/DPRadialMenu/DPRadialMenu.framework/Headers" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT}/Pods 8 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DPRadialMenu_Example/Pods-DPRadialMenu_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/DPRadialMenu" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/DPRadialMenu/DPRadialMenu.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -framework "DPRadialMenu" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DPRadialMenu_Example/Pods-DPRadialMenu_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/DPRadialMenu" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/DPRadialMenu/DPRadialMenu.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -framework "DPRadialMenu" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/DPRadialMenu.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "DPRadialMenu", 3 | "version": "0.1.0", 4 | "summary": "A short description of DPRadialMenu.", 5 | "description": "TODO: Add long description of the pod here.", 6 | "homepage": "https://github.com//DPRadialMenu", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "Dario Pellegrini": "pellegrini.dario.1303@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com//DPRadialMenu.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "8.0" 20 | }, 21 | "source_files": "DPRadialMenu/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /.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/Tests/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 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /Example/Tests/Tests.m: -------------------------------------------------------------------------------- 1 | // 2 | // DPRadialMenuTests.m 3 | // DPRadialMenuTests 4 | // 5 | // Created by Dario Pellegrini on 06/24/2016. 6 | // Copyright (c) 2016 Dario Pellegrini. All rights reserved. 7 | // 8 | 9 | @import XCTest; 10 | 11 | @interface Tests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation Tests 16 | 17 | - (void)setUp 18 | { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown 24 | { 25 | // Put teardown code here. This method is called after the invocation of each test method in the class. 26 | [super tearDown]; 27 | } 28 | 29 | - (void)testExample 30 | { 31 | XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); 32 | } 33 | 34 | @end 35 | 36 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/DPRadialMenu/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DPRadialMenu_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-DPRadialMenu_Example/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DPRadialMenu_Tests/Pods-DPRadialMenu_Tests-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Generated by CocoaPods - https://cocoapods.org 18 | Title 19 | 20 | Type 21 | PSGroupSpecifier 22 | 23 | 24 | StringsTable 25 | Acknowledgements 26 | Title 27 | Acknowledgements 28 | 29 | 30 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2016 Dario Pellegrini 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 | -------------------------------------------------------------------------------- /DPRadialMenu/Classes/DPRadialMenu.h: -------------------------------------------------------------------------------- 1 | // 2 | // APTRadialMenu.h 3 | // Appertutti 4 | // 5 | // Created by Dario Pellegrini on 15/12/15. 6 | // Copyright © 2015 S4win. All rights reserved. 7 | // 8 | 9 | #import "DPRadialMenuDelegate.h" 10 | 11 | @interface DPRadialMenu : UIView 12 | @property (strong, nonatomic) UIView *anchorView; 13 | @property (strong, nonatomic) UIButton *firstButton; 14 | @property (strong, nonatomic) UIButton *secondButton; 15 | @property (strong, nonatomic) UIButton *thirdButton; 16 | @property (strong, nonatomic) UIView *radialMenuContainer; 17 | 18 | @property (nonatomic, strong) NSObject *delegate; 19 | 20 | @property (assign, nonatomic) BOOL displayBackgroundView; 21 | @property (assign, nonatomic) CGFloat animationTime; 22 | @property (strong, nonatomic) UIView *actionView; 23 | 24 | - (void)configureWithButtons:(NSArray *) buttons view:(UIView *)view delegate:(NSObject *) delegate; 25 | - (void)configureButtons:(NSArray *) buttons; 26 | - (void)insertInView:(UIView *)view; 27 | - (void)handleLongPress:(UILongPressGestureRecognizer *)gestureRecognizer point:(CGPoint)touchedPoint; 28 | - (void)configureGesture; 29 | @end 30 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DPRadialMenu_Example/Pods-DPRadialMenu_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## DPRadialMenu 5 | 6 | Copyright (c) 2016 Dario Pellegrini 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/DPRadialMenu/DPRadialMenu-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UIRequiresFullScreen 34 | 35 | UISupportedInterfaceOrientations 36 | 37 | UIInterfaceOrientationPortrait 38 | 39 | UISupportedInterfaceOrientations~ipad 40 | 41 | UIInterfaceOrientationPortrait 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /Example/DPRadialMenu/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "ipad", 35 | "size" : "29x29", 36 | "scale" : "1x" 37 | }, 38 | { 39 | "idiom" : "ipad", 40 | "size" : "29x29", 41 | "scale" : "2x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "40x40", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "40x40", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "76x76", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "76x76", 61 | "scale" : "2x" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "size" : "83.5x83.5", 66 | "scale" : "2x" 67 | } 68 | ], 69 | "info" : { 70 | "version" : 1, 71 | "author" : "xcode" 72 | } 73 | } -------------------------------------------------------------------------------- /Example/DPRadialMenu/Images.xcassets/LaunchImage.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "orientation" : "portrait", 5 | "idiom" : "iphone", 6 | "filename" : "splash640x960.png", 7 | "extent" : "full-screen", 8 | "minimum-system-version" : "7.0", 9 | "scale" : "2x" 10 | }, 11 | { 12 | "extent" : "full-screen", 13 | "idiom" : "iphone", 14 | "subtype" : "retina4", 15 | "filename" : "splash640x1136.png", 16 | "minimum-system-version" : "7.0", 17 | "orientation" : "portrait", 18 | "scale" : "2x" 19 | }, 20 | { 21 | "orientation" : "portrait", 22 | "idiom" : "ipad", 23 | "filename" : "splash768x1024.png", 24 | "extent" : "full-screen", 25 | "minimum-system-version" : "7.0", 26 | "scale" : "1x" 27 | }, 28 | { 29 | "orientation" : "landscape", 30 | "idiom" : "ipad", 31 | "filename" : "splash1024x768.png", 32 | "extent" : "full-screen", 33 | "minimum-system-version" : "7.0", 34 | "scale" : "1x" 35 | }, 36 | { 37 | "orientation" : "portrait", 38 | "idiom" : "ipad", 39 | "filename" : "splash768x1024@2x.png", 40 | "extent" : "full-screen", 41 | "minimum-system-version" : "7.0", 42 | "scale" : "2x" 43 | }, 44 | { 45 | "orientation" : "landscape", 46 | "idiom" : "ipad", 47 | "filename" : "splash1024x768@2x.png", 48 | "extent" : "full-screen", 49 | "minimum-system-version" : "7.0", 50 | "scale" : "2x" 51 | } 52 | ], 53 | "info" : { 54 | "version" : 1, 55 | "author" : "xcode" 56 | } 57 | } -------------------------------------------------------------------------------- /DPRadialMenu.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint DPRadialMenu.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 = 'DPRadialMenu' 11 | s.version = '0.0.1' 12 | s.summary = 'A simple from 1 to 3 buttons radial menu, to display radial button inside a view after a long press on that.' 13 | 14 | # This description is used to generate tags and improve search results. 15 | # * Think: What does it do? Why did you write it? What is the focus? 16 | # * Try to keep it short, snappy and to the point. 17 | # * Write the description between the DESC delimiters below. 18 | # * Finally, don't worry about the indent, CocoaPods strips it! 19 | 20 | s.description = <<-DESC 21 | Create your 3 buttons radial menu. You can add your own buttons and insert them inside a view with a single line of code. 22 | 23 | DESC 24 | 25 | s.homepage = 'https://github.com/dariopellegrini/DPRadialMenu' 26 | s.screenshots = 'https://raw.githubusercontent.com/dariopellegrini/DPRadialMenu/master/screen/screen1.png', 'https://raw.githubusercontent.com/dariopellegrini/DPRadialMenu/master/screen/screen2.png' 27 | s.license = { :type => 'MIT', :file => 'LICENSE' } 28 | s.author = { 'Dario Pellegrini' => 'pellegrini.dario.1303@gmail.com' } 29 | s.source = { :git => 'https://github.com/dariopellegrini/DPRadialMenu.git', :tag => s.version.to_s } 30 | # s.social_media_url = 'https://twitter.com/dario_p89' 31 | 32 | s.ios.deployment_target = '8.0' 33 | 34 | s.source_files = 'DPRadialMenu/Classes/**/*' 35 | 36 | # s.resource_bundles = { 37 | # 'DPRadialMenu' => ['DPRadialMenu/Assets/*.png'] 38 | # } 39 | 40 | # s.public_header_files = 'Pod/Classes/**/*.h' 41 | # s.frameworks = 'UIKit', 'MapKit' 42 | # s.dependency 'AFNetworking', '~> 2.3' 43 | end 44 | -------------------------------------------------------------------------------- /Example/DPRadialMenu/DPAppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // DPAppDelegate.m 3 | // DPRadialMenu 4 | // 5 | // Created by Dario Pellegrini on 06/24/2016. 6 | // Copyright (c) 2016 Dario Pellegrini. All rights reserved. 7 | // 8 | 9 | #import "DPAppDelegate.h" 10 | 11 | @implementation DPAppDelegate 12 | 13 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 14 | { 15 | // Override point for customization after application launch. 16 | return YES; 17 | } 18 | 19 | - (void)applicationWillResignActive:(UIApplication *)application 20 | { 21 | // 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. 22 | // 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. 23 | } 24 | 25 | - (void)applicationDidEnterBackground:(UIApplication *)application 26 | { 27 | // 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. 28 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 29 | } 30 | 31 | - (void)applicationWillEnterForeground:(UIApplication *)application 32 | { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | - (void)applicationDidBecomeActive:(UIApplication *)application 37 | { 38 | // 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. 39 | } 40 | 41 | - (void)applicationWillTerminate:(UIApplication *)application 42 | { 43 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 44 | } 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DPRadialMenu_Example/Pods-DPRadialMenu_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) 2016 Dario Pellegrini <pellegrini.dario.1303@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 | Title 38 | DPRadialMenu 39 | Type 40 | PSGroupSpecifier 41 | 42 | 43 | FooterText 44 | Generated by CocoaPods - https://cocoapods.org 45 | Title 46 | 47 | Type 48 | PSGroupSpecifier 49 | 50 | 51 | StringsTable 52 | Acknowledgements 53 | Title 54 | Acknowledgements 55 | 56 | 57 | -------------------------------------------------------------------------------- /Example/DPRadialMenu/DPViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // DPViewController.m 3 | // DPRadialMenu 4 | // 5 | // Created by Dario Pellegrini on 06/24/2016. 6 | // Copyright (c) 2016 Dario Pellegrini. All rights reserved. 7 | // 8 | 9 | #import "DPViewController.h" 10 | 11 | @interface DPViewController () 12 | 13 | @end 14 | 15 | @implementation DPViewController 16 | 17 | - (void)viewDidLoad 18 | { 19 | [super viewDidLoad]; 20 | 21 | // Creating radial menu 22 | DPRadialMenu *radialMenu = [[DPRadialMenu alloc] init]; 23 | DPRadialMenu *radialMenuSmall = [[DPRadialMenu alloc] init]; 24 | 25 | UIButton *b1 = [[UIButton alloc] init]; 26 | UIButton *b2 = [[UIButton alloc] init]; 27 | UIButton *b3 = [[UIButton alloc] init]; 28 | 29 | [b1 setTitle:@"1" forState:UIControlStateNormal]; 30 | [b2 setTitle:@"2" forState:UIControlStateNormal]; 31 | [b3 setTitle:@"3" forState:UIControlStateNormal]; 32 | 33 | UIButton *b4 = [[UIButton alloc] init]; 34 | UIButton *b5 = [[UIButton alloc] init]; 35 | UIButton *b6 = [[UIButton alloc] init]; 36 | 37 | b4.backgroundColor = [UIColor whiteColor]; 38 | b5.backgroundColor = [UIColor whiteColor]; 39 | b6.backgroundColor = [UIColor whiteColor]; 40 | 41 | [b4 setImage:[UIImage imageNamed:@"facebook"] forState:UIControlStateNormal]; 42 | [b5 setImage:[UIImage imageNamed:@"google_plus"] forState:UIControlStateNormal]; 43 | [b6 setImage:[UIImage imageNamed:@"linked_in"] forState:UIControlStateNormal]; 44 | 45 | // Configuring radial menu with buttons 46 | [radialMenu configureWithButtons:@[b1, b2, b3] view:self.view delegate:self]; 47 | 48 | // Display or not the fade vuew on the background 49 | radialMenu.displayBackgroundView = YES; 50 | 51 | // Animations time 52 | radialMenu.animationTime = 0.5; 53 | 54 | [radialMenuSmall configureWithButtons:@[b4, b5, b6] view:self.redView delegate:self]; 55 | 56 | // The color of the fade view on the background. Default is black with alpha 0.7 57 | radialMenuSmall.radialMenuContainer.backgroundColor = [UIColor blueColor]; 58 | 59 | /* 60 | The action region of the menu: the region in which the menu is active and from which it cinfigure its position. 61 | Default is the view passed in the constructor. 62 | In this case the action view is the view of the controller, in order to have a nice behavior on the whole screen. 63 | */ 64 | radialMenuSmall.actionView = self.view; 65 | } 66 | 67 | - (void)didReceiveMemoryWarning 68 | { 69 | [super didReceiveMemoryWarning]; 70 | // Dispose of any resources that can be recreated. 71 | } 72 | 73 | - (void) radialMenu:(DPRadialMenu *)radialMenu didSelectButton:(UIButton *)selectedButton { 74 | UIAlertController * alert = [UIAlertController 75 | alertControllerWithTitle:@"Button selected" 76 | message:[NSString stringWithFormat:@"%@", selectedButton] 77 | preferredStyle:UIAlertControllerStyleAlert]; 78 | 79 | UIAlertAction *okAction = [UIAlertAction actionWithTitle:@"OK" style:UIAlertActionStyleDefault handler:^(UIAlertAction *action){ 80 | }]; 81 | [alert addAction:okAction]; 82 | 83 | [self presentViewController:alert animated:YES completion:nil]; 84 | } 85 | 86 | - (void) radialMenuDidCancel:(DPRadialMenu *)radialMenu { 87 | NSLog(@"Canceled"); 88 | } 89 | 90 | @end 91 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DPRadialMenu_Tests/Pods-DPRadialMenu_Tests-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements \"$1\"" 63 | /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements "$1" 64 | fi 65 | } 66 | 67 | # Strip invalid architectures 68 | strip_invalid_archs() { 69 | binary="$1" 70 | # Get architectures for current file 71 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 72 | stripped="" 73 | for arch in $archs; do 74 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 75 | # Strip non-valid architectures in-place 76 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 77 | stripped="$stripped $arch" 78 | fi 79 | done 80 | if [[ "$stripped" ]]; then 81 | echo "Stripped $binary of architectures:$stripped" 82 | fi 83 | } 84 | 85 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DPRadialMenu_Example/Pods-DPRadialMenu_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements \"$1\"" 63 | /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements "$1" 64 | fi 65 | } 66 | 67 | # Strip invalid architectures 68 | strip_invalid_archs() { 69 | binary="$1" 70 | # Get architectures for current file 71 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 72 | stripped="" 73 | for arch in $archs; do 74 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 75 | # Strip non-valid architectures in-place 76 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 77 | stripped="$stripped $arch" 78 | fi 79 | done 80 | if [[ "$stripped" ]]; then 81 | echo "Stripped $binary of architectures:$stripped" 82 | fi 83 | } 84 | 85 | 86 | if [[ "$CONFIGURATION" == "Debug" ]]; then 87 | install_framework "$BUILT_PRODUCTS_DIR/DPRadialMenu/DPRadialMenu.framework" 88 | fi 89 | if [[ "$CONFIGURATION" == "Release" ]]; then 90 | install_framework "$BUILT_PRODUCTS_DIR/DPRadialMenu/DPRadialMenu.framework" 91 | fi 92 | -------------------------------------------------------------------------------- /Example/DPRadialMenu.xcodeproj/xcshareddata/xcschemes/DPRadialMenu-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 42 | 43 | 49 | 50 | 51 | 52 | 53 | 54 | 64 | 66 | 72 | 73 | 74 | 75 | 76 | 77 | 83 | 85 | 91 | 92 | 93 | 94 | 96 | 97 | 100 | 101 | 102 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # DPRadialMenu 2 | 3 | [![Version](https://img.shields.io/cocoapods/v/DPRadialMenu.svg?style=flat)](http://cocoapods.org/pods/DPRadialMenu) 4 | [![License](https://img.shields.io/cocoapods/l/DPRadialMenu.svg?style=flat)](http://cocoapods.org/pods/DPRadialMenu) 5 | [![Platform](https://img.shields.io/cocoapods/p/DPRadialMenu.svg?style=flat)](http://cocoapods.org/pods/DPRadialMenu) 6 | 7 | Radial menu written in Objective-C 8 | 9 | ![alt tag](https://raw.githubusercontent.com/dariopellegrini/DPRadialMenu/master/Screen/animation.gif) 10 | ![alt tag](https://raw.githubusercontent.com/dariopellegrini/DPRadialMenu/master/screen/screen2.png) 11 | 12 | ## Example 13 | 14 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 15 | 16 | ## Requirements 17 | iOS 8.0+ 18 | 19 | ## Installation 20 | 21 | DPRadialMenu is available through [CocoaPods](http://cocoapods.org). To install 22 | it, simply add the following line to your Podfile: 23 | 24 | ```ruby 25 | pod "DPRadialMenu" 26 | ``` 27 | 28 | After that import in your code files using 29 | 30 | ``` 31 | #import 32 | ``` 33 | 34 | If you are using Swift you have to create a bridging header and import DPRadialMenu.h there. 35 | 36 | ## Usage 37 | For the moment the maximum number of button is 3 and the minimum is 1. 38 | In order to use this you need a similar code: 39 | 40 | ```objective-c 41 | DPRadialMenu *radialMenu = [[DPRadialMenu alloc] init]; 42 | 43 | UIButton *b1 = [[UIButton alloc] init]; 44 | UIButton *b2 = [[UIButton alloc] init]; 45 | UIButton *b3 = [[UIButton alloc] init]; 46 | 47 | [b1 setTitle:@"1" forState:UIControlStateNormal]; 48 | [b2 setTitle:@"2" forState:UIControlStateNormal]; 49 | [b3 setTitle:@"3" forState:UIControlStateNormal]; 50 | 51 | /* 52 | here it's possible to configure buttons 53 | */ 54 | 55 | // Configuring radial menu with buttons, the view which will contain the menu and the delegate 56 | [radialMenu configureWithButtons:@[b1, b2, b3] view:self.view delegate:self]; 57 | ``` 58 | 59 | The menu works using UILongPressGestureRecognizer, so it is possible to add your personal gesture recognizer in this way: 60 | 61 | ```objective-c 62 | self.radialMenu = [[DPRadialMenu alloc] init]; 63 | 64 | [radialMenu configureButtons:buttons]; 65 | [radialMenu insertInView:theContainerView]; 66 | 67 | UILongPressGestureRecognizer *longPressGestureRecognizer = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(longPressAction:)]; 68 | longPressGestureRecognizer.minimumPressDuration = 0.5; 69 | [theContainerView addGestureRecognizer:longPressGestureRecognizer]; 70 | 71 | self.delegate = delegate; 72 | 73 | 74 | ... 75 | 76 | - (void) longPressAction: (UILongPressGestureRecognizer *)gesture { 77 | [self.radialMenu handleLongPress:gesture point:[gesture locationInView:theContainerView]]; 78 | } 79 | 80 | ``` 81 | 82 | Handling actions on menu buttons it's done using delegate methods: 83 | 84 | ```objective-c 85 | - (void) radialMenu:(DPRadialMenu *)radialMenu didSelectButton:(UIButton *)selectedButton { 86 | NSLog(@"%@", selectedButton); 87 | } 88 | 89 | - (void) radialMenuDidCancel:(DPRadialMenu *)radialMenu { 90 | NSLog(@"Canceled"); 91 | } 92 | ``` 93 | 94 | ## Customization 95 | 96 | To customize button simply add buttons already customized in constructor. 97 | 98 | Here are other simple customizations: 99 | 100 | ```objective-c 101 | // Display or not the fade view on the background 102 | radialMenu.displayBackgroundView = YES; 103 | 104 | // Animations time 105 | radialMenu.animationTime = 0.5; 106 | 107 | // The color of the fade view on the background. Default is black with alpha 0.7 108 | radialMenuSmall.radialMenuContainer.backgroundColor = [UIColor blueColor]; 109 | 110 | /* 111 | The action region of the menu: the region in which the menu is active and from which it configures its position. 112 | Default is the view passed in the constructor. 113 | In the next line the action view is set as the view of the controller, in order to have a nice behavior on the whole screen. 114 | */ 115 | radialMenuSmall.actionView = self.view; 116 | ``` 117 | 118 | ## Author 119 | 120 | Dario Pellegrini, pellegrini.dario.1303@gmail.com 121 | 122 | ## License 123 | 124 | DPRadialMenu is available under the MIT license. See the LICENSE file for more info. 125 | # DPRadialMenu 126 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DPRadialMenu_Tests/Pods-DPRadialMenu_Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | *) 22 | TARGET_DEVICE_ARGS="--target-device mac" 23 | ;; 24 | esac 25 | 26 | realpath() { 27 | DIRECTORY="$(cd "${1%/*}" && pwd)" 28 | FILENAME="${1##*/}" 29 | echo "$DIRECTORY/$FILENAME" 30 | } 31 | 32 | install_resource() 33 | { 34 | if [[ "$1" = /* ]] ; then 35 | RESOURCE_PATH="$1" 36 | else 37 | RESOURCE_PATH="${PODS_ROOT}/$1" 38 | fi 39 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 40 | cat << EOM 41 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 42 | EOM 43 | exit 1 44 | fi 45 | case $RESOURCE_PATH in 46 | *.storyboard) 47 | 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}" 48 | 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} 49 | ;; 50 | *.xib) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.framework) 55 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 57 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 58 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 59 | ;; 60 | *.xcdatamodel) 61 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 62 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 63 | ;; 64 | *.xcdatamodeld) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 67 | ;; 68 | *.xcmappingmodel) 69 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 70 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 71 | ;; 72 | *.xcassets) 73 | ABSOLUTE_XCASSET_FILE=$(realpath "$RESOURCE_PATH") 74 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 75 | ;; 76 | *) 77 | echo "$RESOURCE_PATH" 78 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 79 | ;; 80 | esac 81 | } 82 | 83 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 86 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 87 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | fi 89 | rm -f "$RESOURCES_TO_COPY" 90 | 91 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 92 | then 93 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 94 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 95 | while read line; do 96 | if [[ $line != "`realpath $PODS_ROOT`*" ]]; then 97 | XCASSET_FILES+=("$line") 98 | fi 99 | done <<<"$OTHER_XCASSETS" 100 | 101 | 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}" 102 | fi 103 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DPRadialMenu_Example/Pods-DPRadialMenu_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | *) 22 | TARGET_DEVICE_ARGS="--target-device mac" 23 | ;; 24 | esac 25 | 26 | realpath() { 27 | DIRECTORY="$(cd "${1%/*}" && pwd)" 28 | FILENAME="${1##*/}" 29 | echo "$DIRECTORY/$FILENAME" 30 | } 31 | 32 | install_resource() 33 | { 34 | if [[ "$1" = /* ]] ; then 35 | RESOURCE_PATH="$1" 36 | else 37 | RESOURCE_PATH="${PODS_ROOT}/$1" 38 | fi 39 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 40 | cat << EOM 41 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 42 | EOM 43 | exit 1 44 | fi 45 | case $RESOURCE_PATH in 46 | *.storyboard) 47 | 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}" 48 | 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} 49 | ;; 50 | *.xib) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.framework) 55 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 57 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 58 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 59 | ;; 60 | *.xcdatamodel) 61 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 62 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 63 | ;; 64 | *.xcdatamodeld) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 67 | ;; 68 | *.xcmappingmodel) 69 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 70 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 71 | ;; 72 | *.xcassets) 73 | ABSOLUTE_XCASSET_FILE=$(realpath "$RESOURCE_PATH") 74 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 75 | ;; 76 | *) 77 | echo "$RESOURCE_PATH" 78 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 79 | ;; 80 | esac 81 | } 82 | 83 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 86 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 87 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | fi 89 | rm -f "$RESOURCES_TO_COPY" 90 | 91 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 92 | then 93 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 94 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 95 | while read line; do 96 | if [[ $line != "`realpath $PODS_ROOT`*" ]]; then 97 | XCASSET_FILES+=("$line") 98 | fi 99 | done <<<"$OTHER_XCASSETS" 100 | 101 | 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}" 102 | fi 103 | -------------------------------------------------------------------------------- /Example/DPRadialMenu/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 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /DPRadialMenu/Classes/DPRadialMenu.m: -------------------------------------------------------------------------------- 1 | // 2 | // APTRadialMenu.m 3 | // Appertutti 4 | // 5 | // Created by Dario Pellegrini on 15/12/15. 6 | // Copyright © 2015 S4win. All rights reserved. 7 | // 8 | 9 | #import "DPRadialMenu.h" 10 | 11 | @interface DPRadialMenu () 12 | @property (nonatomic, strong) UIButton *selectedButton; 13 | @property (nonatomic, strong) NSArray *buttons; 14 | @property (nonatomic, assign) CGPoint pointOfView; 15 | @end 16 | 17 | @implementation DPRadialMenu 18 | + (DPRadialMenu *)radialMenu { 19 | NSArray *nibViews = [[NSBundle mainBundle] loadNibNamed:NSStringFromClass(self) owner:nil options:nil]; 20 | DPRadialMenu *radialMenu = [nibViews firstObject]; 21 | radialMenu.backgroundColor = [UIColor clearColor]; 22 | radialMenu.anchorView.layer.borderWidth = 3; 23 | radialMenu.anchorView.layer.borderColor = [[UIColor whiteColor] CGColor]; 24 | radialMenu.anchorView.layer.cornerRadius = radialMenu.anchorView.bounds.size.width / 2; 25 | radialMenu.anchorView.alpha = 0.0; 26 | 27 | radialMenu.firstButton.layer.borderWidth = 3; 28 | radialMenu.firstButton.layer.borderColor = [[UIColor whiteColor] CGColor]; 29 | radialMenu.firstButton.layer.cornerRadius = radialMenu.firstButton.bounds.size.width / 2; 30 | radialMenu.firstButton.alpha = 0.0; 31 | 32 | radialMenu.secondButton.layer.borderWidth = 3; 33 | radialMenu.secondButton.layer.borderColor = [[UIColor whiteColor] CGColor]; 34 | radialMenu.secondButton.layer.cornerRadius = radialMenu.firstButton.bounds.size.width / 2; 35 | radialMenu.secondButton.alpha = 0.0; 36 | 37 | radialMenu.thirdButton.layer.borderWidth = 3; 38 | radialMenu.thirdButton.layer.borderColor = [[UIColor whiteColor] CGColor]; 39 | radialMenu.thirdButton.layer.cornerRadius = radialMenu.firstButton.bounds.size.width / 2; 40 | radialMenu.thirdButton.alpha = 0.0; 41 | 42 | return radialMenu; 43 | } 44 | 45 | - (void)baseInit { 46 | self.backgroundColor = [UIColor clearColor]; 47 | self.anchorView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 50, 50)]; 48 | [self addSubview:self.anchorView]; 49 | self.anchorView.layer.borderWidth = 3; 50 | self.anchorView.layer.borderColor = [[UIColor whiteColor] CGColor]; 51 | self.anchorView.layer.cornerRadius = self.anchorView.bounds.size.width / 2; 52 | self.anchorView.alpha = 0.0; 53 | 54 | self.firstButton = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 50, 50)]; 55 | [self addSubview:self.firstButton]; 56 | self.firstButton.layer.borderWidth = 3; 57 | self.firstButton.layer.borderColor = [[UIColor whiteColor] CGColor]; 58 | self.firstButton.layer.cornerRadius = self.firstButton.bounds.size.width / 2; 59 | self.firstButton.alpha = 0.0; 60 | 61 | self.secondButton = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 50, 50)]; 62 | [self addSubview:self.secondButton]; 63 | self.secondButton.layer.borderWidth = 3; 64 | self.secondButton.layer.borderColor = [[UIColor whiteColor] CGColor]; 65 | self.secondButton.layer.cornerRadius = self.firstButton.bounds.size.width / 2; 66 | self.secondButton.alpha = 0.0; 67 | 68 | self.thirdButton = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 50, 50)]; 69 | [self addSubview:self.thirdButton]; 70 | self.thirdButton.layer.borderWidth = 3; 71 | self.thirdButton.layer.borderColor = [[UIColor whiteColor] CGColor]; 72 | self.thirdButton.layer.cornerRadius = self.firstButton.bounds.size.width / 2; 73 | self.thirdButton.alpha = 0.0; 74 | 75 | self.displayBackgroundView = YES; 76 | self.animationTime = 0.25; 77 | } 78 | 79 | - (id)init { 80 | self = [super init]; 81 | if (self) { 82 | // NSArray *nibViews = [[NSBundle mainBundle] loadNibNamed:NSStringFromClass(self.class) owner:nil options:nil]; 83 | // DPRadialMenu *radialMenu = [nibViews firstObject]; 84 | // self = radialMenu; 85 | [self baseInit]; 86 | } 87 | return self; 88 | } 89 | 90 | - (id)initWithFrame:(CGRect)frame 91 | { 92 | self = [super initWithFrame:frame]; 93 | if (self) { 94 | [self baseInit]; 95 | } 96 | return self; 97 | } 98 | 99 | - (id)initWithCoder:(NSCoder *)aDecoder { 100 | if ((self = [super initWithCoder:aDecoder])) { 101 | [self baseInit]; 102 | } 103 | return self; 104 | } 105 | 106 | - (void)configureWithButtons:(NSArray *)buttons view:(UIView *)view delegate:(NSObject *)delegate { 107 | [self configureButtons:buttons]; 108 | [self insertInView:view]; 109 | [self configureGesture]; 110 | 111 | self.delegate = delegate; 112 | } 113 | 114 | - (void)configureButtons:(NSArray *)buttons { 115 | if (buttons.count > 3) { 116 | NSLog(@"Too many buttons in radial menu: ignoring the last %td", buttons.count - 3); 117 | } 118 | self.buttons = @[buttons[0], buttons[1], buttons[2]]; 119 | for (NSInteger i = 0; i < self.buttons.count; i++) { 120 | UIButton *button = (UIButton*)[buttons objectAtIndex:i]; 121 | if (i == 0) { 122 | if (!CGRectIsEmpty(button.frame)) { 123 | // self.firstButton.frame = button.frame; 124 | } 125 | [self.firstButton setTitle:button.titleLabel.text forState:UIControlStateNormal]; 126 | [self.firstButton setImage:button.imageView.image forState:UIControlStateNormal]; 127 | self.firstButton.backgroundColor = button.backgroundColor; 128 | self.firstButton.tag = button.tag; 129 | } 130 | else if (i == 1) { 131 | if (!CGRectIsEmpty(button.frame)) { 132 | // self.secondButton.frame = button.frame; 133 | } 134 | [self.secondButton setTitle:button.titleLabel.text forState:UIControlStateNormal]; 135 | [self.secondButton setImage:button.imageView.image forState:UIControlStateNormal]; 136 | self.secondButton.backgroundColor = button.backgroundColor; 137 | self.secondButton.tag = button.tag; 138 | } 139 | else if (i == 2) { 140 | if (!CGRectIsEmpty(button.frame)) { 141 | // self.thirdButton.frame = button.frame; 142 | } 143 | [self.thirdButton setTitle:button.titleLabel.text forState:UIControlStateNormal]; 144 | [self.thirdButton setImage:button.imageView.image forState:UIControlStateNormal]; 145 | self.thirdButton.backgroundColor = button.backgroundColor; 146 | self.thirdButton.tag = button.tag; 147 | } 148 | } 149 | } 150 | 151 | - (void)insertInView:(UIView *)view { 152 | self.radialMenuContainer = [[UIView alloc] init]; 153 | self.radialMenuContainer.backgroundColor = [[UIColor blackColor] colorWithAlphaComponent:0.7]; 154 | self.radialMenuContainer.alpha = 0.0; 155 | 156 | [view addSubview:self.radialMenuContainer]; 157 | 158 | [self.radialMenuContainer addSubview:self]; 159 | 160 | NSDictionary *views = @{ @"radialMenuContainer": self.radialMenuContainer, @"radialMenu" : self }; 161 | 162 | self.translatesAutoresizingMaskIntoConstraints = NO; 163 | self.radialMenuContainer.translatesAutoresizingMaskIntoConstraints = NO; 164 | 165 | [view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"H:|-0-[radialMenuContainer]-0-|" options:kNilOptions metrics:nil views:views]]; 166 | [view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:|-0-[radialMenuContainer]-0-|" options:kNilOptions metrics:nil views:views]]; 167 | 168 | [self.radialMenuContainer addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"H:|-0-[radialMenu]-0-|" options:kNilOptions metrics:nil views:views]]; 169 | [self.radialMenuContainer addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:|-0-[radialMenu]-0-|" options:kNilOptions metrics:nil views:views]]; 170 | 171 | } 172 | 173 | - (void)configureGesture { 174 | UILongPressGestureRecognizer *longPressGestureRecognizer = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(longPressAction:)]; 175 | longPressGestureRecognizer.minimumPressDuration = 0.5; 176 | [self.radialMenuContainer.superview addGestureRecognizer:longPressGestureRecognizer]; 177 | 178 | } 179 | 180 | - (void) longPressAction: (UILongPressGestureRecognizer *)gesture { 181 | if (self.actionView) { 182 | self.pointOfView = [gesture locationInView:self.actionView]; 183 | } 184 | [self handleLongPress:gesture point:[gesture locationInView:self.radialMenuContainer.superview]]; 185 | } 186 | 187 | - (void)handleLongPress:(UILongPressGestureRecognizer *)gestureRecognizer point:(CGPoint)touchedPoint { 188 | 189 | if(UIGestureRecognizerStateBegan == gestureRecognizer.state) { 190 | 191 | self.anchorView.center = touchedPoint; 192 | self.firstButton.center = touchedPoint; 193 | self.secondButton.center = touchedPoint; 194 | self.thirdButton.center = touchedPoint; 195 | 196 | if (!self.displayBackgroundView) { 197 | self.radialMenuContainer.backgroundColor = [UIColor clearColor]; 198 | } 199 | 200 | [UIView animateWithDuration:self.animationTime animations:^(void){ 201 | self.radialMenuContainer.alpha = 1.0; 202 | self.anchorView.alpha = 1.0; 203 | }]; 204 | 205 | CGFloat distance = 90; 206 | NSArray *anglesArray = [self anglesArrayWithTouchedPoint:touchedPoint distance:distance]; 207 | 208 | if (anglesArray.count > 0) [self moveButton:self.firstButton fromPoint:touchedPoint distance:distance angle:[anglesArray[0] integerValue] delay:0.1]; 209 | if (anglesArray.count > 1)[self moveButton:self.secondButton fromPoint:touchedPoint distance:distance angle:[anglesArray[1] integerValue] delay:0.15]; 210 | if (anglesArray.count > 2)[self moveButton:self.thirdButton fromPoint:touchedPoint distance:distance angle:[anglesArray[2] integerValue] delay:0.2]; 211 | } 212 | 213 | if(UIGestureRecognizerStateEnded == gestureRecognizer.state) { 214 | if (self.selectedButton) { 215 | [self.delegate radialMenu:self didSelectButton:self.selectedButton]; 216 | } 217 | else { 218 | [self.delegate radialMenuDidCancel:self]; 219 | } 220 | 221 | [UIView animateWithDuration:self.animationTime animations:^(void){ 222 | if (self.radialMenuContainer.alpha > 0.0) { 223 | self.radialMenuContainer.alpha = 0.0; 224 | } 225 | self.anchorView.alpha = 0.0; 226 | self.firstButton.center = self.anchorView.center; 227 | self.firstButton.alpha = 0.0; 228 | self.secondButton.center = self.anchorView.center; 229 | self.secondButton.alpha = 0.0; 230 | self.thirdButton.center = self.anchorView.center; 231 | self.thirdButton.alpha = 0.0; 232 | }]; 233 | } 234 | 235 | if ([self touchPoint:touchedPoint isInsideView:self.firstButton]) { 236 | self.selectedButton = self.firstButton; 237 | [self scaleView:self.firstButton value:1.5]; 238 | } 239 | else { 240 | [self scaleView:self.firstButton value:1.0]; 241 | } 242 | 243 | if ([self touchPoint:touchedPoint isInsideView:self.secondButton]) { 244 | self.selectedButton = self.secondButton; 245 | [self scaleView:self.secondButton value:1.5]; 246 | } 247 | else { 248 | [self scaleView:self.secondButton value:1.0]; 249 | } 250 | 251 | if ([self touchPoint:touchedPoint isInsideView:self.thirdButton]) { 252 | self.selectedButton = self.thirdButton; 253 | [self scaleView:self.thirdButton value:1.5]; 254 | } 255 | else { 256 | [self scaleView:self.thirdButton value:1.0]; 257 | } 258 | 259 | if (![self touchPoint:touchedPoint isInsideView:self.firstButton] && ![self touchPoint:touchedPoint isInsideView:self.secondButton] && ![self touchPoint:touchedPoint isInsideView:self.thirdButton]) { 260 | self.selectedButton = nil; 261 | } 262 | } 263 | 264 | - (void)moveButton:(UIButton *)button fromPoint:(CGPoint)point distance:(CGFloat)distance angle:(CGFloat)angle delay:(CGFloat)delay { 265 | CGFloat x = distance * cosf(angle / 180.0 * M_PI); 266 | CGFloat y = distance * sinf(angle / 180.0 * M_PI); 267 | 268 | [UIView animateWithDuration:self.animationTime delay:delay usingSpringWithDamping:0.7 initialSpringVelocity:5 options:0 animations:^ (void){ 269 | button.alpha = 1.0; 270 | button.center = CGPointMake(point.x + x, point.y + y); 271 | } completion:nil]; 272 | } 273 | 274 | - (void)scaleView:(UIView *)view value:(CGFloat)value { 275 | 276 | [UIView animateWithDuration:self.animationTime delay:0.0 usingSpringWithDamping:7 initialSpringVelocity:5 options:0 animations:^(void){ 277 | view.transform = CGAffineTransformMakeScale(value, value); 278 | } completion:nil]; 279 | } 280 | 281 | - (BOOL)touchPoint:(CGPoint)point isInsideView:(UIView *)view { 282 | return ( (point.x > view.center.x - view.frame.size.width/2 && point.x < view.center.x + view.frame.size.width/2) && 283 | (point.y > view.center.y - view.frame.size.height/2 && point.y < view.center.y + view.frame.size.height/2) ); 284 | 285 | } 286 | 287 | - (NSArray *)anglesArrayWithTouchedPoint:(CGPoint)touchedPoint distance:(NSInteger)distance { 288 | 289 | if (self.actionView) { 290 | touchedPoint = self.pointOfView; 291 | } 292 | 293 | NSArray *positionArray = [[NSArray alloc] init]; 294 | 295 | CGFloat screenWidth = [UIScreen mainScreen].bounds.size.width; 296 | CGFloat screenHeight = [UIScreen mainScreen].bounds.size.height; 297 | 298 | NSInteger times = self.buttons.count; 299 | NSInteger step = 45; 300 | 301 | NSString *position = @"right"; 302 | positionArray = [self generateArrayFrom:270 times:times step:-step]; 303 | 304 | if (touchedPoint.x + distance > screenWidth) { 305 | position = @"right"; 306 | positionArray = [self generateArrayFrom:270 times:times step:-step]; 307 | 308 | if (touchedPoint.y + distance > screenHeight) { 309 | position = @"bottom right"; 310 | positionArray = [self generateArrayFrom:270 times:times step:-step]; 311 | } 312 | 313 | if (touchedPoint.y - distance < 60) { 314 | position = @"top right"; 315 | positionArray = [self generateArrayFrom:180 times:times step:-step]; 316 | } 317 | } 318 | 319 | if (touchedPoint.x - distance < 0) { 320 | position = @"left"; 321 | positionArray = [self generateArrayFrom:0 times:times step:-step]; 322 | 323 | if (touchedPoint.y + distance > screenHeight) { 324 | position = @"bottom left"; 325 | positionArray = [self generateArrayFrom:0 times:times step:-step]; 326 | } 327 | 328 | if (touchedPoint.y - distance < 60) { 329 | position = @"top left"; 330 | positionArray = [self generateArrayFrom:90 times:times step:-step]; 331 | } 332 | } 333 | 334 | if (touchedPoint.y - distance < 60) { 335 | position = @"top"; 336 | positionArray = [self generateArrayFrom:180 times:times step:-step]; 337 | 338 | if (touchedPoint.x + distance > screenWidth) { 339 | position = @"top right"; 340 | positionArray = [self generateArrayFrom:180 times:times step:-step]; 341 | } 342 | 343 | if (touchedPoint.x - distance < 0) { 344 | position = @"top left"; 345 | positionArray = [self generateArrayFrom:90 times:times step:-step]; 346 | } 347 | } 348 | 349 | if (touchedPoint.y + distance > screenHeight) { 350 | position = @"bottom"; 351 | positionArray = [self generateArrayFrom:270 times:times step:-step]; 352 | 353 | if (touchedPoint.x + distance > screenWidth) { 354 | position = @"bottom right"; 355 | positionArray = [self generateArrayFrom:270 times:times step:-step]; 356 | } 357 | 358 | if (touchedPoint.x - distance < 0) { 359 | position = @"bottom left"; 360 | positionArray = [self generateArrayFrom:0 times:times step:-step]; 361 | } 362 | } 363 | 364 | return positionArray; 365 | } 366 | 367 | - (NSArray *)generateArrayFrom:(NSInteger)from times:(NSInteger)times step:(NSInteger)step { 368 | NSMutableArray *array = [[NSMutableArray alloc] init]; 369 | if (step > 0) { 370 | for (NSInteger i = from; array.count < times; i += step) { 371 | [array addObject:@(i)]; 372 | } 373 | } 374 | else { 375 | for (NSInteger i = from; array.count < times; i += step) { 376 | [array addObject:@(i)]; 377 | } 378 | } 379 | return array; 380 | } 381 | @end 382 | -------------------------------------------------------------------------------- /Example/DPRadialMenu.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 3F62B5DA57F4A075FACF80CB /* Pods_DPRadialMenu_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CA08B858C5BE37B4E6CC21AE /* Pods_DPRadialMenu_Tests.framework */; }; 11 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 12 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58F195388D20070C39A /* CoreGraphics.framework */; }; 13 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 14 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F596195388D20070C39A /* InfoPlist.strings */; }; 15 | 6003F59A195388D20070C39A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F599195388D20070C39A /* main.m */; }; 16 | 6003F59E195388D20070C39A /* DPAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F59D195388D20070C39A /* DPAppDelegate.m */; }; 17 | 6003F5A7195388D20070C39A /* DPViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5A6195388D20070C39A /* DPViewController.m */; }; 18 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A8195388D20070C39A /* Images.xcassets */; }; 19 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F5AF195388D20070C39A /* XCTest.framework */; }; 20 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 21 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 22 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5B8195388D20070C39A /* InfoPlist.strings */; }; 23 | 6003F5BC195388D20070C39A /* Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5BB195388D20070C39A /* Tests.m */; }; 24 | 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */; }; 25 | BCC92F9350232E4B03489634 /* Pods_DPRadialMenu_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4FE8980F60DE5F1140FF6FA3 /* Pods_DPRadialMenu_Example.framework */; }; 26 | /* End PBXBuildFile section */ 27 | 28 | /* Begin PBXContainerItemProxy section */ 29 | 6003F5B3195388D20070C39A /* PBXContainerItemProxy */ = { 30 | isa = PBXContainerItemProxy; 31 | containerPortal = 6003F582195388D10070C39A /* Project object */; 32 | proxyType = 1; 33 | remoteGlobalIDString = 6003F589195388D20070C39A; 34 | remoteInfo = DPRadialMenu; 35 | }; 36 | /* End PBXContainerItemProxy section */ 37 | 38 | /* Begin PBXFileReference section */ 39 | 334C5CB29003E36748BBF460 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 40 | 341324A4CC3D77479A757955 /* Pods-DPRadialMenu_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DPRadialMenu_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-DPRadialMenu_Tests/Pods-DPRadialMenu_Tests.release.xcconfig"; sourceTree = ""; }; 41 | 3DA8333B202FC6753FCF7918 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 42 | 4FE8980F60DE5F1140FF6FA3 /* Pods_DPRadialMenu_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DPRadialMenu_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 43 | 6003F58A195388D20070C39A /* DPRadialMenu_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DPRadialMenu_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 44 | 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 45 | 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 46 | 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 47 | 6003F595195388D20070C39A /* DPRadialMenu-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "DPRadialMenu-Info.plist"; sourceTree = ""; }; 48 | 6003F597195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 49 | 6003F599195388D20070C39A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 50 | 6003F59B195388D20070C39A /* DPRadialMenu-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "DPRadialMenu-Prefix.pch"; sourceTree = ""; }; 51 | 6003F59C195388D20070C39A /* DPAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DPAppDelegate.h; sourceTree = ""; }; 52 | 6003F59D195388D20070C39A /* DPAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DPAppDelegate.m; sourceTree = ""; }; 53 | 6003F5A5195388D20070C39A /* DPViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DPViewController.h; sourceTree = ""; }; 54 | 6003F5A6195388D20070C39A /* DPViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DPViewController.m; sourceTree = ""; }; 55 | 6003F5A8195388D20070C39A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 56 | 6003F5AE195388D20070C39A /* DPRadialMenu_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DPRadialMenu_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 57 | 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; 58 | 6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = ""; }; 59 | 6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 60 | 6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = ""; }; 61 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = ""; }; 62 | 685B0680A29A5FBE0435C80C /* DPRadialMenu.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = DPRadialMenu.podspec; path = ../DPRadialMenu.podspec; sourceTree = ""; }; 63 | 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = ""; }; 64 | 8E800BC8A33E358F6AF75988 /* Pods-DPRadialMenu_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DPRadialMenu_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-DPRadialMenu_Example/Pods-DPRadialMenu_Example.debug.xcconfig"; sourceTree = ""; }; 65 | 8FE941E01098720FE3FD2474 /* Pods-DPRadialMenu_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DPRadialMenu_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-DPRadialMenu_Example/Pods-DPRadialMenu_Example.release.xcconfig"; sourceTree = ""; }; 66 | B87A3F282D180216AD51414D /* Pods-DPRadialMenu_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DPRadialMenu_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-DPRadialMenu_Tests/Pods-DPRadialMenu_Tests.debug.xcconfig"; sourceTree = ""; }; 67 | CA08B858C5BE37B4E6CC21AE /* Pods_DPRadialMenu_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DPRadialMenu_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 68 | /* End PBXFileReference section */ 69 | 70 | /* Begin PBXFrameworksBuildPhase section */ 71 | 6003F587195388D20070C39A /* Frameworks */ = { 72 | isa = PBXFrameworksBuildPhase; 73 | buildActionMask = 2147483647; 74 | files = ( 75 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */, 76 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */, 77 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */, 78 | BCC92F9350232E4B03489634 /* Pods_DPRadialMenu_Example.framework in Frameworks */, 79 | ); 80 | runOnlyForDeploymentPostprocessing = 0; 81 | }; 82 | 6003F5AB195388D20070C39A /* Frameworks */ = { 83 | isa = PBXFrameworksBuildPhase; 84 | buildActionMask = 2147483647; 85 | files = ( 86 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */, 87 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */, 88 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */, 89 | 3F62B5DA57F4A075FACF80CB /* Pods_DPRadialMenu_Tests.framework in Frameworks */, 90 | ); 91 | runOnlyForDeploymentPostprocessing = 0; 92 | }; 93 | /* End PBXFrameworksBuildPhase section */ 94 | 95 | /* Begin PBXGroup section */ 96 | 6003F581195388D10070C39A = { 97 | isa = PBXGroup; 98 | children = ( 99 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */, 100 | 6003F593195388D20070C39A /* Example for DPRadialMenu */, 101 | 6003F5B5195388D20070C39A /* Tests */, 102 | 6003F58C195388D20070C39A /* Frameworks */, 103 | 6003F58B195388D20070C39A /* Products */, 104 | C729446558D9EC0CCD44E644 /* Pods */, 105 | ); 106 | sourceTree = ""; 107 | }; 108 | 6003F58B195388D20070C39A /* Products */ = { 109 | isa = PBXGroup; 110 | children = ( 111 | 6003F58A195388D20070C39A /* DPRadialMenu_Example.app */, 112 | 6003F5AE195388D20070C39A /* DPRadialMenu_Tests.xctest */, 113 | ); 114 | name = Products; 115 | sourceTree = ""; 116 | }; 117 | 6003F58C195388D20070C39A /* Frameworks */ = { 118 | isa = PBXGroup; 119 | children = ( 120 | 6003F58D195388D20070C39A /* Foundation.framework */, 121 | 6003F58F195388D20070C39A /* CoreGraphics.framework */, 122 | 6003F591195388D20070C39A /* UIKit.framework */, 123 | 6003F5AF195388D20070C39A /* XCTest.framework */, 124 | 4FE8980F60DE5F1140FF6FA3 /* Pods_DPRadialMenu_Example.framework */, 125 | CA08B858C5BE37B4E6CC21AE /* Pods_DPRadialMenu_Tests.framework */, 126 | ); 127 | name = Frameworks; 128 | sourceTree = ""; 129 | }; 130 | 6003F593195388D20070C39A /* Example for DPRadialMenu */ = { 131 | isa = PBXGroup; 132 | children = ( 133 | 6003F59C195388D20070C39A /* DPAppDelegate.h */, 134 | 6003F59D195388D20070C39A /* DPAppDelegate.m */, 135 | 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */, 136 | 6003F5A5195388D20070C39A /* DPViewController.h */, 137 | 6003F5A6195388D20070C39A /* DPViewController.m */, 138 | 6003F5A8195388D20070C39A /* Images.xcassets */, 139 | 6003F594195388D20070C39A /* Supporting Files */, 140 | ); 141 | name = "Example for DPRadialMenu"; 142 | path = DPRadialMenu; 143 | sourceTree = ""; 144 | }; 145 | 6003F594195388D20070C39A /* Supporting Files */ = { 146 | isa = PBXGroup; 147 | children = ( 148 | 6003F595195388D20070C39A /* DPRadialMenu-Info.plist */, 149 | 6003F596195388D20070C39A /* InfoPlist.strings */, 150 | 6003F599195388D20070C39A /* main.m */, 151 | 6003F59B195388D20070C39A /* DPRadialMenu-Prefix.pch */, 152 | ); 153 | name = "Supporting Files"; 154 | sourceTree = ""; 155 | }; 156 | 6003F5B5195388D20070C39A /* Tests */ = { 157 | isa = PBXGroup; 158 | children = ( 159 | 6003F5BB195388D20070C39A /* Tests.m */, 160 | 6003F5B6195388D20070C39A /* Supporting Files */, 161 | ); 162 | path = Tests; 163 | sourceTree = ""; 164 | }; 165 | 6003F5B6195388D20070C39A /* Supporting Files */ = { 166 | isa = PBXGroup; 167 | children = ( 168 | 6003F5B7195388D20070C39A /* Tests-Info.plist */, 169 | 6003F5B8195388D20070C39A /* InfoPlist.strings */, 170 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */, 171 | ); 172 | name = "Supporting Files"; 173 | sourceTree = ""; 174 | }; 175 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */ = { 176 | isa = PBXGroup; 177 | children = ( 178 | 685B0680A29A5FBE0435C80C /* DPRadialMenu.podspec */, 179 | 334C5CB29003E36748BBF460 /* README.md */, 180 | 3DA8333B202FC6753FCF7918 /* LICENSE */, 181 | ); 182 | name = "Podspec Metadata"; 183 | sourceTree = ""; 184 | }; 185 | C729446558D9EC0CCD44E644 /* Pods */ = { 186 | isa = PBXGroup; 187 | children = ( 188 | 8E800BC8A33E358F6AF75988 /* Pods-DPRadialMenu_Example.debug.xcconfig */, 189 | 8FE941E01098720FE3FD2474 /* Pods-DPRadialMenu_Example.release.xcconfig */, 190 | B87A3F282D180216AD51414D /* Pods-DPRadialMenu_Tests.debug.xcconfig */, 191 | 341324A4CC3D77479A757955 /* Pods-DPRadialMenu_Tests.release.xcconfig */, 192 | ); 193 | name = Pods; 194 | sourceTree = ""; 195 | }; 196 | /* End PBXGroup section */ 197 | 198 | /* Begin PBXNativeTarget section */ 199 | 6003F589195388D20070C39A /* DPRadialMenu_Example */ = { 200 | isa = PBXNativeTarget; 201 | buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "DPRadialMenu_Example" */; 202 | buildPhases = ( 203 | 480D6E478C0B18C1E1303179 /* [CP] Check Pods Manifest.lock */, 204 | 6003F586195388D20070C39A /* Sources */, 205 | 6003F587195388D20070C39A /* Frameworks */, 206 | 6003F588195388D20070C39A /* Resources */, 207 | 0000F32DB764DC5305B5930D /* [CP] Embed Pods Frameworks */, 208 | 9CB9B5EB39E5AFA344A34E2C /* [CP] Copy Pods Resources */, 209 | ); 210 | buildRules = ( 211 | ); 212 | dependencies = ( 213 | ); 214 | name = DPRadialMenu_Example; 215 | productName = DPRadialMenu; 216 | productReference = 6003F58A195388D20070C39A /* DPRadialMenu_Example.app */; 217 | productType = "com.apple.product-type.application"; 218 | }; 219 | 6003F5AD195388D20070C39A /* DPRadialMenu_Tests */ = { 220 | isa = PBXNativeTarget; 221 | buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "DPRadialMenu_Tests" */; 222 | buildPhases = ( 223 | D6CD3221DFC34844E4CE94BD /* [CP] Check Pods Manifest.lock */, 224 | 6003F5AA195388D20070C39A /* Sources */, 225 | 6003F5AB195388D20070C39A /* Frameworks */, 226 | 6003F5AC195388D20070C39A /* Resources */, 227 | D99522BB88178068CB1097D7 /* [CP] Embed Pods Frameworks */, 228 | 70B43DA1014D9CB761F59DE0 /* [CP] Copy Pods Resources */, 229 | ); 230 | buildRules = ( 231 | ); 232 | dependencies = ( 233 | 6003F5B4195388D20070C39A /* PBXTargetDependency */, 234 | ); 235 | name = DPRadialMenu_Tests; 236 | productName = DPRadialMenuTests; 237 | productReference = 6003F5AE195388D20070C39A /* DPRadialMenu_Tests.xctest */; 238 | productType = "com.apple.product-type.bundle.unit-test"; 239 | }; 240 | /* End PBXNativeTarget section */ 241 | 242 | /* Begin PBXProject section */ 243 | 6003F582195388D10070C39A /* Project object */ = { 244 | isa = PBXProject; 245 | attributes = { 246 | CLASSPREFIX = DP; 247 | LastUpgradeCheck = 0720; 248 | ORGANIZATIONNAME = "Dario Pellegrini"; 249 | TargetAttributes = { 250 | 6003F5AD195388D20070C39A = { 251 | TestTargetID = 6003F589195388D20070C39A; 252 | }; 253 | }; 254 | }; 255 | buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "DPRadialMenu" */; 256 | compatibilityVersion = "Xcode 3.2"; 257 | developmentRegion = English; 258 | hasScannedForEncodings = 0; 259 | knownRegions = ( 260 | en, 261 | Base, 262 | ); 263 | mainGroup = 6003F581195388D10070C39A; 264 | productRefGroup = 6003F58B195388D20070C39A /* Products */; 265 | projectDirPath = ""; 266 | projectRoot = ""; 267 | targets = ( 268 | 6003F589195388D20070C39A /* DPRadialMenu_Example */, 269 | 6003F5AD195388D20070C39A /* DPRadialMenu_Tests */, 270 | ); 271 | }; 272 | /* End PBXProject section */ 273 | 274 | /* Begin PBXResourcesBuildPhase section */ 275 | 6003F588195388D20070C39A /* Resources */ = { 276 | isa = PBXResourcesBuildPhase; 277 | buildActionMask = 2147483647; 278 | files = ( 279 | 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */, 280 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */, 281 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */, 282 | ); 283 | runOnlyForDeploymentPostprocessing = 0; 284 | }; 285 | 6003F5AC195388D20070C39A /* Resources */ = { 286 | isa = PBXResourcesBuildPhase; 287 | buildActionMask = 2147483647; 288 | files = ( 289 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */, 290 | ); 291 | runOnlyForDeploymentPostprocessing = 0; 292 | }; 293 | /* End PBXResourcesBuildPhase section */ 294 | 295 | /* Begin PBXShellScriptBuildPhase section */ 296 | 0000F32DB764DC5305B5930D /* [CP] Embed Pods Frameworks */ = { 297 | isa = PBXShellScriptBuildPhase; 298 | buildActionMask = 2147483647; 299 | files = ( 300 | ); 301 | inputPaths = ( 302 | ); 303 | name = "[CP] Embed Pods Frameworks"; 304 | outputPaths = ( 305 | ); 306 | runOnlyForDeploymentPostprocessing = 0; 307 | shellPath = /bin/sh; 308 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-DPRadialMenu_Example/Pods-DPRadialMenu_Example-frameworks.sh\"\n"; 309 | showEnvVarsInLog = 0; 310 | }; 311 | 480D6E478C0B18C1E1303179 /* [CP] Check Pods Manifest.lock */ = { 312 | isa = PBXShellScriptBuildPhase; 313 | buildActionMask = 2147483647; 314 | files = ( 315 | ); 316 | inputPaths = ( 317 | ); 318 | name = "[CP] Check Pods Manifest.lock"; 319 | outputPaths = ( 320 | ); 321 | runOnlyForDeploymentPostprocessing = 0; 322 | shellPath = /bin/sh; 323 | shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; 324 | showEnvVarsInLog = 0; 325 | }; 326 | 70B43DA1014D9CB761F59DE0 /* [CP] Copy Pods Resources */ = { 327 | isa = PBXShellScriptBuildPhase; 328 | buildActionMask = 2147483647; 329 | files = ( 330 | ); 331 | inputPaths = ( 332 | ); 333 | name = "[CP] Copy Pods Resources"; 334 | outputPaths = ( 335 | ); 336 | runOnlyForDeploymentPostprocessing = 0; 337 | shellPath = /bin/sh; 338 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-DPRadialMenu_Tests/Pods-DPRadialMenu_Tests-resources.sh\"\n"; 339 | showEnvVarsInLog = 0; 340 | }; 341 | 9CB9B5EB39E5AFA344A34E2C /* [CP] Copy Pods Resources */ = { 342 | isa = PBXShellScriptBuildPhase; 343 | buildActionMask = 2147483647; 344 | files = ( 345 | ); 346 | inputPaths = ( 347 | ); 348 | name = "[CP] Copy Pods Resources"; 349 | outputPaths = ( 350 | ); 351 | runOnlyForDeploymentPostprocessing = 0; 352 | shellPath = /bin/sh; 353 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-DPRadialMenu_Example/Pods-DPRadialMenu_Example-resources.sh\"\n"; 354 | showEnvVarsInLog = 0; 355 | }; 356 | D6CD3221DFC34844E4CE94BD /* [CP] Check Pods Manifest.lock */ = { 357 | isa = PBXShellScriptBuildPhase; 358 | buildActionMask = 2147483647; 359 | files = ( 360 | ); 361 | inputPaths = ( 362 | ); 363 | name = "[CP] Check Pods Manifest.lock"; 364 | outputPaths = ( 365 | ); 366 | runOnlyForDeploymentPostprocessing = 0; 367 | shellPath = /bin/sh; 368 | shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; 369 | showEnvVarsInLog = 0; 370 | }; 371 | D99522BB88178068CB1097D7 /* [CP] Embed Pods Frameworks */ = { 372 | isa = PBXShellScriptBuildPhase; 373 | buildActionMask = 2147483647; 374 | files = ( 375 | ); 376 | inputPaths = ( 377 | ); 378 | name = "[CP] Embed Pods Frameworks"; 379 | outputPaths = ( 380 | ); 381 | runOnlyForDeploymentPostprocessing = 0; 382 | shellPath = /bin/sh; 383 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-DPRadialMenu_Tests/Pods-DPRadialMenu_Tests-frameworks.sh\"\n"; 384 | showEnvVarsInLog = 0; 385 | }; 386 | /* End PBXShellScriptBuildPhase section */ 387 | 388 | /* Begin PBXSourcesBuildPhase section */ 389 | 6003F586195388D20070C39A /* Sources */ = { 390 | isa = PBXSourcesBuildPhase; 391 | buildActionMask = 2147483647; 392 | files = ( 393 | 6003F59E195388D20070C39A /* DPAppDelegate.m in Sources */, 394 | 6003F5A7195388D20070C39A /* DPViewController.m in Sources */, 395 | 6003F59A195388D20070C39A /* main.m in Sources */, 396 | ); 397 | runOnlyForDeploymentPostprocessing = 0; 398 | }; 399 | 6003F5AA195388D20070C39A /* Sources */ = { 400 | isa = PBXSourcesBuildPhase; 401 | buildActionMask = 2147483647; 402 | files = ( 403 | 6003F5BC195388D20070C39A /* Tests.m in Sources */, 404 | ); 405 | runOnlyForDeploymentPostprocessing = 0; 406 | }; 407 | /* End PBXSourcesBuildPhase section */ 408 | 409 | /* Begin PBXTargetDependency section */ 410 | 6003F5B4195388D20070C39A /* PBXTargetDependency */ = { 411 | isa = PBXTargetDependency; 412 | target = 6003F589195388D20070C39A /* DPRadialMenu_Example */; 413 | targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */; 414 | }; 415 | /* End PBXTargetDependency section */ 416 | 417 | /* Begin PBXVariantGroup section */ 418 | 6003F596195388D20070C39A /* InfoPlist.strings */ = { 419 | isa = PBXVariantGroup; 420 | children = ( 421 | 6003F597195388D20070C39A /* en */, 422 | ); 423 | name = InfoPlist.strings; 424 | sourceTree = ""; 425 | }; 426 | 6003F5B8195388D20070C39A /* InfoPlist.strings */ = { 427 | isa = PBXVariantGroup; 428 | children = ( 429 | 6003F5B9195388D20070C39A /* en */, 430 | ); 431 | name = InfoPlist.strings; 432 | sourceTree = ""; 433 | }; 434 | /* End PBXVariantGroup section */ 435 | 436 | /* Begin XCBuildConfiguration section */ 437 | 6003F5BD195388D20070C39A /* Debug */ = { 438 | isa = XCBuildConfiguration; 439 | buildSettings = { 440 | ALWAYS_SEARCH_USER_PATHS = NO; 441 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 442 | CLANG_CXX_LIBRARY = "libc++"; 443 | CLANG_ENABLE_MODULES = YES; 444 | CLANG_ENABLE_OBJC_ARC = YES; 445 | CLANG_WARN_BOOL_CONVERSION = YES; 446 | CLANG_WARN_CONSTANT_CONVERSION = YES; 447 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 448 | CLANG_WARN_EMPTY_BODY = YES; 449 | CLANG_WARN_ENUM_CONVERSION = YES; 450 | CLANG_WARN_INT_CONVERSION = YES; 451 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 452 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 453 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 454 | COPY_PHASE_STRIP = NO; 455 | ENABLE_TESTABILITY = YES; 456 | GCC_C_LANGUAGE_STANDARD = gnu99; 457 | GCC_DYNAMIC_NO_PIC = NO; 458 | GCC_OPTIMIZATION_LEVEL = 0; 459 | GCC_PREPROCESSOR_DEFINITIONS = ( 460 | "DEBUG=1", 461 | "$(inherited)", 462 | ); 463 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 464 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 465 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 466 | GCC_WARN_UNDECLARED_SELECTOR = YES; 467 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 468 | GCC_WARN_UNUSED_FUNCTION = YES; 469 | GCC_WARN_UNUSED_VARIABLE = YES; 470 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 471 | ONLY_ACTIVE_ARCH = YES; 472 | SDKROOT = iphoneos; 473 | TARGETED_DEVICE_FAMILY = "1,2"; 474 | }; 475 | name = Debug; 476 | }; 477 | 6003F5BE195388D20070C39A /* Release */ = { 478 | isa = XCBuildConfiguration; 479 | buildSettings = { 480 | ALWAYS_SEARCH_USER_PATHS = NO; 481 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 482 | CLANG_CXX_LIBRARY = "libc++"; 483 | CLANG_ENABLE_MODULES = YES; 484 | CLANG_ENABLE_OBJC_ARC = YES; 485 | CLANG_WARN_BOOL_CONVERSION = YES; 486 | CLANG_WARN_CONSTANT_CONVERSION = YES; 487 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 488 | CLANG_WARN_EMPTY_BODY = YES; 489 | CLANG_WARN_ENUM_CONVERSION = YES; 490 | CLANG_WARN_INT_CONVERSION = YES; 491 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 492 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 493 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 494 | COPY_PHASE_STRIP = YES; 495 | ENABLE_NS_ASSERTIONS = NO; 496 | GCC_C_LANGUAGE_STANDARD = gnu99; 497 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 498 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 499 | GCC_WARN_UNDECLARED_SELECTOR = YES; 500 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 501 | GCC_WARN_UNUSED_FUNCTION = YES; 502 | GCC_WARN_UNUSED_VARIABLE = YES; 503 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 504 | SDKROOT = iphoneos; 505 | TARGETED_DEVICE_FAMILY = "1,2"; 506 | VALIDATE_PRODUCT = YES; 507 | }; 508 | name = Release; 509 | }; 510 | 6003F5C0195388D20070C39A /* Debug */ = { 511 | isa = XCBuildConfiguration; 512 | baseConfigurationReference = 8E800BC8A33E358F6AF75988 /* Pods-DPRadialMenu_Example.debug.xcconfig */; 513 | buildSettings = { 514 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 515 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 516 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 517 | GCC_PREFIX_HEADER = "DPRadialMenu/DPRadialMenu-Prefix.pch"; 518 | INFOPLIST_FILE = "DPRadialMenu/DPRadialMenu-Info.plist"; 519 | MODULE_NAME = ExampleApp; 520 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 521 | PRODUCT_NAME = "$(TARGET_NAME)"; 522 | WRAPPER_EXTENSION = app; 523 | }; 524 | name = Debug; 525 | }; 526 | 6003F5C1195388D20070C39A /* Release */ = { 527 | isa = XCBuildConfiguration; 528 | baseConfigurationReference = 8FE941E01098720FE3FD2474 /* Pods-DPRadialMenu_Example.release.xcconfig */; 529 | buildSettings = { 530 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 531 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 532 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 533 | GCC_PREFIX_HEADER = "DPRadialMenu/DPRadialMenu-Prefix.pch"; 534 | INFOPLIST_FILE = "DPRadialMenu/DPRadialMenu-Info.plist"; 535 | MODULE_NAME = ExampleApp; 536 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 537 | PRODUCT_NAME = "$(TARGET_NAME)"; 538 | WRAPPER_EXTENSION = app; 539 | }; 540 | name = Release; 541 | }; 542 | 6003F5C3195388D20070C39A /* Debug */ = { 543 | isa = XCBuildConfiguration; 544 | baseConfigurationReference = B87A3F282D180216AD51414D /* Pods-DPRadialMenu_Tests.debug.xcconfig */; 545 | buildSettings = { 546 | BUNDLE_LOADER = "$(TEST_HOST)"; 547 | FRAMEWORK_SEARCH_PATHS = ( 548 | "$(SDKROOT)/Developer/Library/Frameworks", 549 | "$(inherited)", 550 | "$(DEVELOPER_FRAMEWORKS_DIR)", 551 | ); 552 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 553 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 554 | GCC_PREPROCESSOR_DEFINITIONS = ( 555 | "DEBUG=1", 556 | "$(inherited)", 557 | ); 558 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 559 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 560 | PRODUCT_NAME = "$(TARGET_NAME)"; 561 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/DPRadialMenu_Example.app/DPRadialMenu_Example"; 562 | WRAPPER_EXTENSION = xctest; 563 | }; 564 | name = Debug; 565 | }; 566 | 6003F5C4195388D20070C39A /* Release */ = { 567 | isa = XCBuildConfiguration; 568 | baseConfigurationReference = 341324A4CC3D77479A757955 /* Pods-DPRadialMenu_Tests.release.xcconfig */; 569 | buildSettings = { 570 | BUNDLE_LOADER = "$(TEST_HOST)"; 571 | FRAMEWORK_SEARCH_PATHS = ( 572 | "$(SDKROOT)/Developer/Library/Frameworks", 573 | "$(inherited)", 574 | "$(DEVELOPER_FRAMEWORKS_DIR)", 575 | ); 576 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 577 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 578 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 579 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 580 | PRODUCT_NAME = "$(TARGET_NAME)"; 581 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/DPRadialMenu_Example.app/DPRadialMenu_Example"; 582 | WRAPPER_EXTENSION = xctest; 583 | }; 584 | name = Release; 585 | }; 586 | /* End XCBuildConfiguration section */ 587 | 588 | /* Begin XCConfigurationList section */ 589 | 6003F585195388D10070C39A /* Build configuration list for PBXProject "DPRadialMenu" */ = { 590 | isa = XCConfigurationList; 591 | buildConfigurations = ( 592 | 6003F5BD195388D20070C39A /* Debug */, 593 | 6003F5BE195388D20070C39A /* Release */, 594 | ); 595 | defaultConfigurationIsVisible = 0; 596 | defaultConfigurationName = Release; 597 | }; 598 | 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "DPRadialMenu_Example" */ = { 599 | isa = XCConfigurationList; 600 | buildConfigurations = ( 601 | 6003F5C0195388D20070C39A /* Debug */, 602 | 6003F5C1195388D20070C39A /* Release */, 603 | ); 604 | defaultConfigurationIsVisible = 0; 605 | defaultConfigurationName = Release; 606 | }; 607 | 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "DPRadialMenu_Tests" */ = { 608 | isa = XCConfigurationList; 609 | buildConfigurations = ( 610 | 6003F5C3195388D20070C39A /* Debug */, 611 | 6003F5C4195388D20070C39A /* Release */, 612 | ); 613 | defaultConfigurationIsVisible = 0; 614 | defaultConfigurationName = Release; 615 | }; 616 | /* End XCConfigurationList section */ 617 | }; 618 | rootObject = 6003F582195388D10070C39A /* Project object */; 619 | } 620 | -------------------------------------------------------------------------------- /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 | 187219ED3A4AC303341863CD0BEDB6C3 /* DPRadialMenu.m in Sources */ = {isa = PBXBuildFile; fileRef = 4303B99AB7F04C98F7B2CB684B4BAC5B /* DPRadialMenu.m */; }; 11 | 2D58F9120F01A3071EE7DD34EBC97F0A /* DPRadialMenu-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 7111C2395F20EF64C834C5ECF009EE1C /* DPRadialMenu-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 12 | 369E9ADFF1C2123B23BE81F0F49D4BC4 /* Pods-DPRadialMenu_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 0AE51D8E7D51155A3ADD77B6DD5D3A54 /* Pods-DPRadialMenu_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 13 | 6A34F998259D714A6C0A0D5905C77025 /* DPRadialMenuDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 7A60A05C1154A2AB67E00CDD3945A8C9 /* DPRadialMenuDelegate.h */; settings = {ATTRIBUTES = (Public, ); }; }; 14 | 8C3A68A0D425DBAAD3736C68777DCE4D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CEC22C73C1608DFA5D5D78BDCB218219 /* Foundation.framework */; }; 15 | 8E627422E78D9246AD867C3FCC6263E2 /* Pods-DPRadialMenu_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 112A2181925913672AE045C2D4BBEEDD /* Pods-DPRadialMenu_Example-dummy.m */; }; 16 | 9290B116EAC2FD17E972D4B5C9B87F2E /* DPRadialMenu-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = B16CB782D1283D87EAEF37C6E8F730BB /* DPRadialMenu-dummy.m */; }; 17 | BEDB59183077137CD0F9AFF00BB9F175 /* Pods-DPRadialMenu_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = ABD40E294DFC97921C9F7467EDEF5026 /* Pods-DPRadialMenu_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 18 | CB836E76507B74252156395CCF4C9BBD /* DPRadialMenu.h in Headers */ = {isa = PBXBuildFile; fileRef = 9510639CB2312ED4049F95853973B14B /* DPRadialMenu.h */; settings = {ATTRIBUTES = (Public, ); }; }; 19 | CCF03E4773498FBA68452018F3EAFB38 /* Pods-DPRadialMenu_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = BE6D993968F6908824E6EBD8FFA1859C /* Pods-DPRadialMenu_Tests-dummy.m */; }; 20 | E8705B13F915B0979C38896C7029A951 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CEC22C73C1608DFA5D5D78BDCB218219 /* Foundation.framework */; }; 21 | F1915315EB73FDDE8FCB73DE06A2F3FE /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CEC22C73C1608DFA5D5D78BDCB218219 /* Foundation.framework */; }; 22 | /* End PBXBuildFile section */ 23 | 24 | /* Begin PBXContainerItemProxy section */ 25 | 0C38CEB7BA1819CD64DCA598F55E98A5 /* PBXContainerItemProxy */ = { 26 | isa = PBXContainerItemProxy; 27 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 28 | proxyType = 1; 29 | remoteGlobalIDString = 2CCCF7B431B8EC42AAD7487302A40C39; 30 | remoteInfo = DPRadialMenu; 31 | }; 32 | /* End PBXContainerItemProxy section */ 33 | 34 | /* Begin PBXFileReference section */ 35 | 0AE51D8E7D51155A3ADD77B6DD5D3A54 /* Pods-DPRadialMenu_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-DPRadialMenu_Example-umbrella.h"; sourceTree = ""; }; 36 | 0C92E5D74F616C39F2E604606688384D /* Pods-DPRadialMenu_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-DPRadialMenu_Example.modulemap"; sourceTree = ""; }; 37 | 0CD07493EE48346D43F82814DEB85157 /* Pods-DPRadialMenu_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-DPRadialMenu_Tests.release.xcconfig"; sourceTree = ""; }; 38 | 112A2181925913672AE045C2D4BBEEDD /* Pods-DPRadialMenu_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-DPRadialMenu_Example-dummy.m"; sourceTree = ""; }; 39 | 2070910BE040CD51ED891E03EFD893B2 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 40 | 235FA92A3B13DE19539FA06F59595E32 /* Pods-DPRadialMenu_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-DPRadialMenu_Example-acknowledgements.markdown"; sourceTree = ""; }; 41 | 2390EE99E0AD1E010A224960A0DDD932 /* DPRadialMenu.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = DPRadialMenu.xcconfig; sourceTree = ""; }; 42 | 298BB089EC0E5F87E2E6683BCD6EC81A /* Pods-DPRadialMenu_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-DPRadialMenu_Tests-frameworks.sh"; sourceTree = ""; }; 43 | 2B41C6DF9D3092C3C6D79ABC7341E524 /* DPRadialMenu.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = DPRadialMenu.modulemap; sourceTree = ""; }; 44 | 3B7644739702897D594545005ECEA503 /* Pods-DPRadialMenu_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-DPRadialMenu_Example-frameworks.sh"; sourceTree = ""; }; 45 | 4303B99AB7F04C98F7B2CB684B4BAC5B /* DPRadialMenu.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = DPRadialMenu.m; sourceTree = ""; }; 46 | 48B374237EDE122499041D854FDC2532 /* DPRadialMenu-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "DPRadialMenu-prefix.pch"; sourceTree = ""; }; 47 | 4DD32E8A60591448C620EBB96CDF748E /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 48 | 6B401A57F5377AB4519A6757806E5AF4 /* Pods-DPRadialMenu_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-DPRadialMenu_Tests-acknowledgements.plist"; sourceTree = ""; }; 49 | 7111C2395F20EF64C834C5ECF009EE1C /* DPRadialMenu-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "DPRadialMenu-umbrella.h"; sourceTree = ""; }; 50 | 74CB007DDE3C694FDE15D7E0B13CECB9 /* Pods-DPRadialMenu_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-DPRadialMenu_Example.debug.xcconfig"; sourceTree = ""; }; 51 | 7A60A05C1154A2AB67E00CDD3945A8C9 /* DPRadialMenuDelegate.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = DPRadialMenuDelegate.h; sourceTree = ""; }; 52 | 8777417CA4D86DE35DF27F4B1D6BEE2F /* Pods-DPRadialMenu_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-DPRadialMenu_Example-resources.sh"; sourceTree = ""; }; 53 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 54 | 9510639CB2312ED4049F95853973B14B /* DPRadialMenu.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = DPRadialMenu.h; sourceTree = ""; }; 55 | 9E882FFB99A6E51F86197D62334AC745 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 56 | A1E9E0C733D357743B9E65A861B5917A /* Pods-DPRadialMenu_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-DPRadialMenu_Tests.modulemap"; sourceTree = ""; }; 57 | A2DAD7BAA1498E8E94AE1E0B2EB9551F /* Pods-DPRadialMenu_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-DPRadialMenu_Example-acknowledgements.plist"; sourceTree = ""; }; 58 | A833D4B3B5F58A00E5F46D243351F262 /* DPRadialMenu.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = DPRadialMenu.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 59 | ABD40E294DFC97921C9F7467EDEF5026 /* Pods-DPRadialMenu_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-DPRadialMenu_Tests-umbrella.h"; sourceTree = ""; }; 60 | AC69F0E8FA83A7E1AC64AB82C996A544 /* Pods-DPRadialMenu_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-DPRadialMenu_Tests.debug.xcconfig"; sourceTree = ""; }; 61 | B16CB782D1283D87EAEF37C6E8F730BB /* DPRadialMenu-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "DPRadialMenu-dummy.m"; sourceTree = ""; }; 62 | BE6D993968F6908824E6EBD8FFA1859C /* Pods-DPRadialMenu_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-DPRadialMenu_Tests-dummy.m"; sourceTree = ""; }; 63 | C7B10E90152F05409BBFE65683969BFC /* Pods_DPRadialMenu_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DPRadialMenu_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 64 | C9FFEBB3F3E430B5095D1B77B6D94CB5 /* Pods-DPRadialMenu_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-DPRadialMenu_Example.release.xcconfig"; sourceTree = ""; }; 65 | CEC22C73C1608DFA5D5D78BDCB218219 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 66 | D7744CBA3AC08BB0D51DCED1774CCF63 /* Pods-DPRadialMenu_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-DPRadialMenu_Tests-resources.sh"; sourceTree = ""; }; 67 | D8A714D3921950B1E3A3AB7902B0DCAA /* Pods_DPRadialMenu_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DPRadialMenu_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 68 | E5DC7D1B93C0ED0462D432E68CD42C6A /* Pods-DPRadialMenu_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-DPRadialMenu_Tests-acknowledgements.markdown"; sourceTree = ""; }; 69 | /* End PBXFileReference section */ 70 | 71 | /* Begin PBXFrameworksBuildPhase section */ 72 | 2D0FBDD04CDEF4D30118ED6EA943A973 /* Frameworks */ = { 73 | isa = PBXFrameworksBuildPhase; 74 | buildActionMask = 2147483647; 75 | files = ( 76 | 8C3A68A0D425DBAAD3736C68777DCE4D /* Foundation.framework in Frameworks */, 77 | ); 78 | runOnlyForDeploymentPostprocessing = 0; 79 | }; 80 | 80BA5A49EE9306870BF2FBFE8506D58D /* Frameworks */ = { 81 | isa = PBXFrameworksBuildPhase; 82 | buildActionMask = 2147483647; 83 | files = ( 84 | E8705B13F915B0979C38896C7029A951 /* Foundation.framework in Frameworks */, 85 | ); 86 | runOnlyForDeploymentPostprocessing = 0; 87 | }; 88 | 92F3BACAC73DC6435B1425916F12950D /* Frameworks */ = { 89 | isa = PBXFrameworksBuildPhase; 90 | buildActionMask = 2147483647; 91 | files = ( 92 | F1915315EB73FDDE8FCB73DE06A2F3FE /* Foundation.framework in Frameworks */, 93 | ); 94 | runOnlyForDeploymentPostprocessing = 0; 95 | }; 96 | /* End PBXFrameworksBuildPhase section */ 97 | 98 | /* Begin PBXGroup section */ 99 | 2B4B755EBE94A2A58C3C9D7AA40A87CA /* Pods-DPRadialMenu_Example */ = { 100 | isa = PBXGroup; 101 | children = ( 102 | 4DD32E8A60591448C620EBB96CDF748E /* Info.plist */, 103 | 0C92E5D74F616C39F2E604606688384D /* Pods-DPRadialMenu_Example.modulemap */, 104 | 235FA92A3B13DE19539FA06F59595E32 /* Pods-DPRadialMenu_Example-acknowledgements.markdown */, 105 | A2DAD7BAA1498E8E94AE1E0B2EB9551F /* Pods-DPRadialMenu_Example-acknowledgements.plist */, 106 | 112A2181925913672AE045C2D4BBEEDD /* Pods-DPRadialMenu_Example-dummy.m */, 107 | 3B7644739702897D594545005ECEA503 /* Pods-DPRadialMenu_Example-frameworks.sh */, 108 | 8777417CA4D86DE35DF27F4B1D6BEE2F /* Pods-DPRadialMenu_Example-resources.sh */, 109 | 0AE51D8E7D51155A3ADD77B6DD5D3A54 /* Pods-DPRadialMenu_Example-umbrella.h */, 110 | 74CB007DDE3C694FDE15D7E0B13CECB9 /* Pods-DPRadialMenu_Example.debug.xcconfig */, 111 | C9FFEBB3F3E430B5095D1B77B6D94CB5 /* Pods-DPRadialMenu_Example.release.xcconfig */, 112 | ); 113 | name = "Pods-DPRadialMenu_Example"; 114 | path = "Target Support Files/Pods-DPRadialMenu_Example"; 115 | sourceTree = ""; 116 | }; 117 | 2B71A771EFB2E53E93D78D5446219B29 /* DPRadialMenu */ = { 118 | isa = PBXGroup; 119 | children = ( 120 | 9E101D4D40EA9B9E3ED06A8C9BE49C47 /* Classes */, 121 | ); 122 | path = DPRadialMenu; 123 | sourceTree = ""; 124 | }; 125 | 3DCAB2B7CDE207B3958B6CB957FCC758 /* iOS */ = { 126 | isa = PBXGroup; 127 | children = ( 128 | CEC22C73C1608DFA5D5D78BDCB218219 /* Foundation.framework */, 129 | ); 130 | name = iOS; 131 | sourceTree = ""; 132 | }; 133 | 5FF375A042328B2784FCE42973D09400 /* Targets Support Files */ = { 134 | isa = PBXGroup; 135 | children = ( 136 | 2B4B755EBE94A2A58C3C9D7AA40A87CA /* Pods-DPRadialMenu_Example */, 137 | F8A952DBB590C9D91D7D4BA5C83D2E21 /* Pods-DPRadialMenu_Tests */, 138 | ); 139 | name = "Targets Support Files"; 140 | sourceTree = ""; 141 | }; 142 | 7DB346D0F39D3F0E887471402A8071AB = { 143 | isa = PBXGroup; 144 | children = ( 145 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 146 | EA51E9393D46BC66682274B86368EF4B /* Development Pods */, 147 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 148 | E795354D9CCFE4210FB1B16834DEE930 /* Products */, 149 | 5FF375A042328B2784FCE42973D09400 /* Targets Support Files */, 150 | ); 151 | sourceTree = ""; 152 | }; 153 | 9E101D4D40EA9B9E3ED06A8C9BE49C47 /* Classes */ = { 154 | isa = PBXGroup; 155 | children = ( 156 | 9510639CB2312ED4049F95853973B14B /* DPRadialMenu.h */, 157 | 4303B99AB7F04C98F7B2CB684B4BAC5B /* DPRadialMenu.m */, 158 | 7A60A05C1154A2AB67E00CDD3945A8C9 /* DPRadialMenuDelegate.h */, 159 | ); 160 | path = Classes; 161 | sourceTree = ""; 162 | }; 163 | AE26B9D9F44F496006A95901B8CA9582 /* Support Files */ = { 164 | isa = PBXGroup; 165 | children = ( 166 | 2B41C6DF9D3092C3C6D79ABC7341E524 /* DPRadialMenu.modulemap */, 167 | 2390EE99E0AD1E010A224960A0DDD932 /* DPRadialMenu.xcconfig */, 168 | B16CB782D1283D87EAEF37C6E8F730BB /* DPRadialMenu-dummy.m */, 169 | 48B374237EDE122499041D854FDC2532 /* DPRadialMenu-prefix.pch */, 170 | 7111C2395F20EF64C834C5ECF009EE1C /* DPRadialMenu-umbrella.h */, 171 | 2070910BE040CD51ED891E03EFD893B2 /* Info.plist */, 172 | ); 173 | name = "Support Files"; 174 | path = "Example/Pods/Target Support Files/DPRadialMenu"; 175 | sourceTree = ""; 176 | }; 177 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 178 | isa = PBXGroup; 179 | children = ( 180 | 3DCAB2B7CDE207B3958B6CB957FCC758 /* iOS */, 181 | ); 182 | name = Frameworks; 183 | sourceTree = ""; 184 | }; 185 | E795354D9CCFE4210FB1B16834DEE930 /* Products */ = { 186 | isa = PBXGroup; 187 | children = ( 188 | A833D4B3B5F58A00E5F46D243351F262 /* DPRadialMenu.framework */, 189 | C7B10E90152F05409BBFE65683969BFC /* Pods_DPRadialMenu_Example.framework */, 190 | D8A714D3921950B1E3A3AB7902B0DCAA /* Pods_DPRadialMenu_Tests.framework */, 191 | ); 192 | name = Products; 193 | sourceTree = ""; 194 | }; 195 | EA51E9393D46BC66682274B86368EF4B /* Development Pods */ = { 196 | isa = PBXGroup; 197 | children = ( 198 | F4FB2375D513D1B1A545DD3EEE0F52CB /* DPRadialMenu */, 199 | ); 200 | name = "Development Pods"; 201 | sourceTree = ""; 202 | }; 203 | F4FB2375D513D1B1A545DD3EEE0F52CB /* DPRadialMenu */ = { 204 | isa = PBXGroup; 205 | children = ( 206 | 2B71A771EFB2E53E93D78D5446219B29 /* DPRadialMenu */, 207 | AE26B9D9F44F496006A95901B8CA9582 /* Support Files */, 208 | ); 209 | name = DPRadialMenu; 210 | path = ../..; 211 | sourceTree = ""; 212 | }; 213 | F8A952DBB590C9D91D7D4BA5C83D2E21 /* Pods-DPRadialMenu_Tests */ = { 214 | isa = PBXGroup; 215 | children = ( 216 | 9E882FFB99A6E51F86197D62334AC745 /* Info.plist */, 217 | A1E9E0C733D357743B9E65A861B5917A /* Pods-DPRadialMenu_Tests.modulemap */, 218 | E5DC7D1B93C0ED0462D432E68CD42C6A /* Pods-DPRadialMenu_Tests-acknowledgements.markdown */, 219 | 6B401A57F5377AB4519A6757806E5AF4 /* Pods-DPRadialMenu_Tests-acknowledgements.plist */, 220 | BE6D993968F6908824E6EBD8FFA1859C /* Pods-DPRadialMenu_Tests-dummy.m */, 221 | 298BB089EC0E5F87E2E6683BCD6EC81A /* Pods-DPRadialMenu_Tests-frameworks.sh */, 222 | D7744CBA3AC08BB0D51DCED1774CCF63 /* Pods-DPRadialMenu_Tests-resources.sh */, 223 | ABD40E294DFC97921C9F7467EDEF5026 /* Pods-DPRadialMenu_Tests-umbrella.h */, 224 | AC69F0E8FA83A7E1AC64AB82C996A544 /* Pods-DPRadialMenu_Tests.debug.xcconfig */, 225 | 0CD07493EE48346D43F82814DEB85157 /* Pods-DPRadialMenu_Tests.release.xcconfig */, 226 | ); 227 | name = "Pods-DPRadialMenu_Tests"; 228 | path = "Target Support Files/Pods-DPRadialMenu_Tests"; 229 | sourceTree = ""; 230 | }; 231 | /* End PBXGroup section */ 232 | 233 | /* Begin PBXHeadersBuildPhase section */ 234 | 1467BD3F176CC0617EA0095D8F9A4FD6 /* Headers */ = { 235 | isa = PBXHeadersBuildPhase; 236 | buildActionMask = 2147483647; 237 | files = ( 238 | 2D58F9120F01A3071EE7DD34EBC97F0A /* DPRadialMenu-umbrella.h in Headers */, 239 | CB836E76507B74252156395CCF4C9BBD /* DPRadialMenu.h in Headers */, 240 | 6A34F998259D714A6C0A0D5905C77025 /* DPRadialMenuDelegate.h in Headers */, 241 | ); 242 | runOnlyForDeploymentPostprocessing = 0; 243 | }; 244 | 7BE78AFDEDDCE3E884C1C93B22C30024 /* Headers */ = { 245 | isa = PBXHeadersBuildPhase; 246 | buildActionMask = 2147483647; 247 | files = ( 248 | 369E9ADFF1C2123B23BE81F0F49D4BC4 /* Pods-DPRadialMenu_Example-umbrella.h in Headers */, 249 | ); 250 | runOnlyForDeploymentPostprocessing = 0; 251 | }; 252 | D04890A82D2315DF38885587351F5163 /* Headers */ = { 253 | isa = PBXHeadersBuildPhase; 254 | buildActionMask = 2147483647; 255 | files = ( 256 | BEDB59183077137CD0F9AFF00BB9F175 /* Pods-DPRadialMenu_Tests-umbrella.h in Headers */, 257 | ); 258 | runOnlyForDeploymentPostprocessing = 0; 259 | }; 260 | /* End PBXHeadersBuildPhase section */ 261 | 262 | /* Begin PBXNativeTarget section */ 263 | 2CCCF7B431B8EC42AAD7487302A40C39 /* DPRadialMenu */ = { 264 | isa = PBXNativeTarget; 265 | buildConfigurationList = A4BAB1AF86E12868651056129F42D7FF /* Build configuration list for PBXNativeTarget "DPRadialMenu" */; 266 | buildPhases = ( 267 | B2BFBB91EA2CAFD83D068DA9AEC88E97 /* Sources */, 268 | 80BA5A49EE9306870BF2FBFE8506D58D /* Frameworks */, 269 | 1467BD3F176CC0617EA0095D8F9A4FD6 /* Headers */, 270 | ); 271 | buildRules = ( 272 | ); 273 | dependencies = ( 274 | ); 275 | name = DPRadialMenu; 276 | productName = DPRadialMenu; 277 | productReference = A833D4B3B5F58A00E5F46D243351F262 /* DPRadialMenu.framework */; 278 | productType = "com.apple.product-type.framework"; 279 | }; 280 | A2BEB0EC250703F0D783213E1FC769DE /* Pods-DPRadialMenu_Example */ = { 281 | isa = PBXNativeTarget; 282 | buildConfigurationList = C9AEFDA05D3E9C65ADA249B48C927F54 /* Build configuration list for PBXNativeTarget "Pods-DPRadialMenu_Example" */; 283 | buildPhases = ( 284 | 638ADF3FA689105B21446D27E87DE8F7 /* Sources */, 285 | 2D0FBDD04CDEF4D30118ED6EA943A973 /* Frameworks */, 286 | 7BE78AFDEDDCE3E884C1C93B22C30024 /* Headers */, 287 | ); 288 | buildRules = ( 289 | ); 290 | dependencies = ( 291 | 411903E233A08793E1699C6EB4C28763 /* PBXTargetDependency */, 292 | ); 293 | name = "Pods-DPRadialMenu_Example"; 294 | productName = "Pods-DPRadialMenu_Example"; 295 | productReference = C7B10E90152F05409BBFE65683969BFC /* Pods_DPRadialMenu_Example.framework */; 296 | productType = "com.apple.product-type.framework"; 297 | }; 298 | EF0325918D78E23391B657389E390756 /* Pods-DPRadialMenu_Tests */ = { 299 | isa = PBXNativeTarget; 300 | buildConfigurationList = EE247128F9807DC63AE8669B5E1DCEEE /* Build configuration list for PBXNativeTarget "Pods-DPRadialMenu_Tests" */; 301 | buildPhases = ( 302 | 60A68CBE981988DE77DD411A49234E0A /* Sources */, 303 | 92F3BACAC73DC6435B1425916F12950D /* Frameworks */, 304 | D04890A82D2315DF38885587351F5163 /* Headers */, 305 | ); 306 | buildRules = ( 307 | ); 308 | dependencies = ( 309 | ); 310 | name = "Pods-DPRadialMenu_Tests"; 311 | productName = "Pods-DPRadialMenu_Tests"; 312 | productReference = D8A714D3921950B1E3A3AB7902B0DCAA /* Pods_DPRadialMenu_Tests.framework */; 313 | productType = "com.apple.product-type.framework"; 314 | }; 315 | /* End PBXNativeTarget section */ 316 | 317 | /* Begin PBXProject section */ 318 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 319 | isa = PBXProject; 320 | attributes = { 321 | LastSwiftUpdateCheck = 0730; 322 | LastUpgradeCheck = 0700; 323 | }; 324 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 325 | compatibilityVersion = "Xcode 3.2"; 326 | developmentRegion = English; 327 | hasScannedForEncodings = 0; 328 | knownRegions = ( 329 | en, 330 | ); 331 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 332 | productRefGroup = E795354D9CCFE4210FB1B16834DEE930 /* Products */; 333 | projectDirPath = ""; 334 | projectRoot = ""; 335 | targets = ( 336 | 2CCCF7B431B8EC42AAD7487302A40C39 /* DPRadialMenu */, 337 | A2BEB0EC250703F0D783213E1FC769DE /* Pods-DPRadialMenu_Example */, 338 | EF0325918D78E23391B657389E390756 /* Pods-DPRadialMenu_Tests */, 339 | ); 340 | }; 341 | /* End PBXProject section */ 342 | 343 | /* Begin PBXSourcesBuildPhase section */ 344 | 60A68CBE981988DE77DD411A49234E0A /* Sources */ = { 345 | isa = PBXSourcesBuildPhase; 346 | buildActionMask = 2147483647; 347 | files = ( 348 | CCF03E4773498FBA68452018F3EAFB38 /* Pods-DPRadialMenu_Tests-dummy.m in Sources */, 349 | ); 350 | runOnlyForDeploymentPostprocessing = 0; 351 | }; 352 | 638ADF3FA689105B21446D27E87DE8F7 /* Sources */ = { 353 | isa = PBXSourcesBuildPhase; 354 | buildActionMask = 2147483647; 355 | files = ( 356 | 8E627422E78D9246AD867C3FCC6263E2 /* Pods-DPRadialMenu_Example-dummy.m in Sources */, 357 | ); 358 | runOnlyForDeploymentPostprocessing = 0; 359 | }; 360 | B2BFBB91EA2CAFD83D068DA9AEC88E97 /* Sources */ = { 361 | isa = PBXSourcesBuildPhase; 362 | buildActionMask = 2147483647; 363 | files = ( 364 | 9290B116EAC2FD17E972D4B5C9B87F2E /* DPRadialMenu-dummy.m in Sources */, 365 | 187219ED3A4AC303341863CD0BEDB6C3 /* DPRadialMenu.m in Sources */, 366 | ); 367 | runOnlyForDeploymentPostprocessing = 0; 368 | }; 369 | /* End PBXSourcesBuildPhase section */ 370 | 371 | /* Begin PBXTargetDependency section */ 372 | 411903E233A08793E1699C6EB4C28763 /* PBXTargetDependency */ = { 373 | isa = PBXTargetDependency; 374 | name = DPRadialMenu; 375 | target = 2CCCF7B431B8EC42AAD7487302A40C39 /* DPRadialMenu */; 376 | targetProxy = 0C38CEB7BA1819CD64DCA598F55E98A5 /* PBXContainerItemProxy */; 377 | }; 378 | /* End PBXTargetDependency section */ 379 | 380 | /* Begin XCBuildConfiguration section */ 381 | 0ACDCBCB0B6796575F46FFA2F5410C6B /* Release */ = { 382 | isa = XCBuildConfiguration; 383 | buildSettings = { 384 | ALWAYS_SEARCH_USER_PATHS = NO; 385 | CLANG_ANALYZER_NONNULL = YES; 386 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 387 | CLANG_CXX_LIBRARY = "libc++"; 388 | CLANG_ENABLE_MODULES = YES; 389 | CLANG_ENABLE_OBJC_ARC = YES; 390 | CLANG_WARN_BOOL_CONVERSION = YES; 391 | CLANG_WARN_CONSTANT_CONVERSION = YES; 392 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 393 | CLANG_WARN_EMPTY_BODY = YES; 394 | CLANG_WARN_ENUM_CONVERSION = YES; 395 | CLANG_WARN_INT_CONVERSION = YES; 396 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 397 | CLANG_WARN_UNREACHABLE_CODE = YES; 398 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 399 | COPY_PHASE_STRIP = YES; 400 | ENABLE_NS_ASSERTIONS = NO; 401 | GCC_C_LANGUAGE_STANDARD = gnu99; 402 | GCC_PREPROCESSOR_DEFINITIONS = ( 403 | "POD_CONFIGURATION_RELEASE=1", 404 | "$(inherited)", 405 | ); 406 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 407 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 408 | GCC_WARN_UNDECLARED_SELECTOR = YES; 409 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 410 | GCC_WARN_UNUSED_FUNCTION = YES; 411 | GCC_WARN_UNUSED_VARIABLE = YES; 412 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 413 | STRIP_INSTALLED_PRODUCT = NO; 414 | SYMROOT = "${SRCROOT}/../build"; 415 | VALIDATE_PRODUCT = YES; 416 | }; 417 | name = Release; 418 | }; 419 | 29BEA7C70B30065ED4A62B32BFD09785 /* Debug */ = { 420 | isa = XCBuildConfiguration; 421 | baseConfigurationReference = AC69F0E8FA83A7E1AC64AB82C996A544 /* Pods-DPRadialMenu_Tests.debug.xcconfig */; 422 | buildSettings = { 423 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 424 | CURRENT_PROJECT_VERSION = 1; 425 | DEBUG_INFORMATION_FORMAT = dwarf; 426 | DEFINES_MODULE = YES; 427 | DYLIB_COMPATIBILITY_VERSION = 1; 428 | DYLIB_CURRENT_VERSION = 1; 429 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 430 | ENABLE_STRICT_OBJC_MSGSEND = YES; 431 | GCC_NO_COMMON_BLOCKS = YES; 432 | INFOPLIST_FILE = "Target Support Files/Pods-DPRadialMenu_Tests/Info.plist"; 433 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 434 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 435 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 436 | MACH_O_TYPE = staticlib; 437 | MODULEMAP_FILE = "Target Support Files/Pods-DPRadialMenu_Tests/Pods-DPRadialMenu_Tests.modulemap"; 438 | MTL_ENABLE_DEBUG_INFO = YES; 439 | OTHER_LDFLAGS = ""; 440 | OTHER_LIBTOOLFLAGS = ""; 441 | PODS_ROOT = "$(SRCROOT)"; 442 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 443 | PRODUCT_NAME = Pods_DPRadialMenu_Tests; 444 | SDKROOT = iphoneos; 445 | SKIP_INSTALL = YES; 446 | TARGETED_DEVICE_FAMILY = "1,2"; 447 | VERSIONING_SYSTEM = "apple-generic"; 448 | VERSION_INFO_PREFIX = ""; 449 | }; 450 | name = Debug; 451 | }; 452 | 51B13DF102201275D8761F56014660C7 /* Debug */ = { 453 | isa = XCBuildConfiguration; 454 | baseConfigurationReference = 2390EE99E0AD1E010A224960A0DDD932 /* DPRadialMenu.xcconfig */; 455 | buildSettings = { 456 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 457 | CURRENT_PROJECT_VERSION = 1; 458 | DEBUG_INFORMATION_FORMAT = dwarf; 459 | DEFINES_MODULE = YES; 460 | DYLIB_COMPATIBILITY_VERSION = 1; 461 | DYLIB_CURRENT_VERSION = 1; 462 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 463 | ENABLE_STRICT_OBJC_MSGSEND = YES; 464 | GCC_NO_COMMON_BLOCKS = YES; 465 | GCC_PREFIX_HEADER = "Target Support Files/DPRadialMenu/DPRadialMenu-prefix.pch"; 466 | INFOPLIST_FILE = "Target Support Files/DPRadialMenu/Info.plist"; 467 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 468 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 469 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 470 | MODULEMAP_FILE = "Target Support Files/DPRadialMenu/DPRadialMenu.modulemap"; 471 | MTL_ENABLE_DEBUG_INFO = YES; 472 | PRODUCT_NAME = DPRadialMenu; 473 | SDKROOT = iphoneos; 474 | SKIP_INSTALL = YES; 475 | TARGETED_DEVICE_FAMILY = "1,2"; 476 | VERSIONING_SYSTEM = "apple-generic"; 477 | VERSION_INFO_PREFIX = ""; 478 | }; 479 | name = Debug; 480 | }; 481 | 6BA3E148ECBD2B7F2EECB0F966A5F2AE /* Debug */ = { 482 | isa = XCBuildConfiguration; 483 | baseConfigurationReference = 74CB007DDE3C694FDE15D7E0B13CECB9 /* Pods-DPRadialMenu_Example.debug.xcconfig */; 484 | buildSettings = { 485 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 486 | CURRENT_PROJECT_VERSION = 1; 487 | DEBUG_INFORMATION_FORMAT = dwarf; 488 | DEFINES_MODULE = YES; 489 | DYLIB_COMPATIBILITY_VERSION = 1; 490 | DYLIB_CURRENT_VERSION = 1; 491 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 492 | ENABLE_STRICT_OBJC_MSGSEND = YES; 493 | GCC_NO_COMMON_BLOCKS = YES; 494 | INFOPLIST_FILE = "Target Support Files/Pods-DPRadialMenu_Example/Info.plist"; 495 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 496 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 497 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 498 | MACH_O_TYPE = staticlib; 499 | MODULEMAP_FILE = "Target Support Files/Pods-DPRadialMenu_Example/Pods-DPRadialMenu_Example.modulemap"; 500 | MTL_ENABLE_DEBUG_INFO = YES; 501 | OTHER_LDFLAGS = ""; 502 | OTHER_LIBTOOLFLAGS = ""; 503 | PODS_ROOT = "$(SRCROOT)"; 504 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 505 | PRODUCT_NAME = Pods_DPRadialMenu_Example; 506 | SDKROOT = iphoneos; 507 | SKIP_INSTALL = YES; 508 | TARGETED_DEVICE_FAMILY = "1,2"; 509 | VERSIONING_SYSTEM = "apple-generic"; 510 | VERSION_INFO_PREFIX = ""; 511 | }; 512 | name = Debug; 513 | }; 514 | 8D51F4BE3E181E9EE95D11DAA3127F43 /* Release */ = { 515 | isa = XCBuildConfiguration; 516 | baseConfigurationReference = 2390EE99E0AD1E010A224960A0DDD932 /* DPRadialMenu.xcconfig */; 517 | buildSettings = { 518 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 519 | CURRENT_PROJECT_VERSION = 1; 520 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 521 | DEFINES_MODULE = YES; 522 | DYLIB_COMPATIBILITY_VERSION = 1; 523 | DYLIB_CURRENT_VERSION = 1; 524 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 525 | ENABLE_STRICT_OBJC_MSGSEND = YES; 526 | GCC_NO_COMMON_BLOCKS = YES; 527 | GCC_PREFIX_HEADER = "Target Support Files/DPRadialMenu/DPRadialMenu-prefix.pch"; 528 | INFOPLIST_FILE = "Target Support Files/DPRadialMenu/Info.plist"; 529 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 530 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 531 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 532 | MODULEMAP_FILE = "Target Support Files/DPRadialMenu/DPRadialMenu.modulemap"; 533 | MTL_ENABLE_DEBUG_INFO = NO; 534 | PRODUCT_NAME = DPRadialMenu; 535 | SDKROOT = iphoneos; 536 | SKIP_INSTALL = YES; 537 | TARGETED_DEVICE_FAMILY = "1,2"; 538 | VERSIONING_SYSTEM = "apple-generic"; 539 | VERSION_INFO_PREFIX = ""; 540 | }; 541 | name = Release; 542 | }; 543 | C9606512ED88AAA533CA04D0235FC391 /* Release */ = { 544 | isa = XCBuildConfiguration; 545 | baseConfigurationReference = C9FFEBB3F3E430B5095D1B77B6D94CB5 /* Pods-DPRadialMenu_Example.release.xcconfig */; 546 | buildSettings = { 547 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 548 | CURRENT_PROJECT_VERSION = 1; 549 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 550 | DEFINES_MODULE = YES; 551 | DYLIB_COMPATIBILITY_VERSION = 1; 552 | DYLIB_CURRENT_VERSION = 1; 553 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 554 | ENABLE_STRICT_OBJC_MSGSEND = YES; 555 | GCC_NO_COMMON_BLOCKS = YES; 556 | INFOPLIST_FILE = "Target Support Files/Pods-DPRadialMenu_Example/Info.plist"; 557 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 558 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 559 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 560 | MACH_O_TYPE = staticlib; 561 | MODULEMAP_FILE = "Target Support Files/Pods-DPRadialMenu_Example/Pods-DPRadialMenu_Example.modulemap"; 562 | MTL_ENABLE_DEBUG_INFO = NO; 563 | OTHER_LDFLAGS = ""; 564 | OTHER_LIBTOOLFLAGS = ""; 565 | PODS_ROOT = "$(SRCROOT)"; 566 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 567 | PRODUCT_NAME = Pods_DPRadialMenu_Example; 568 | SDKROOT = iphoneos; 569 | SKIP_INSTALL = YES; 570 | TARGETED_DEVICE_FAMILY = "1,2"; 571 | VERSIONING_SYSTEM = "apple-generic"; 572 | VERSION_INFO_PREFIX = ""; 573 | }; 574 | name = Release; 575 | }; 576 | D3E3D092A3FF7311A98E44BBA36FFD12 /* Debug */ = { 577 | isa = XCBuildConfiguration; 578 | buildSettings = { 579 | ALWAYS_SEARCH_USER_PATHS = NO; 580 | CLANG_ANALYZER_NONNULL = YES; 581 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 582 | CLANG_CXX_LIBRARY = "libc++"; 583 | CLANG_ENABLE_MODULES = YES; 584 | CLANG_ENABLE_OBJC_ARC = YES; 585 | CLANG_WARN_BOOL_CONVERSION = YES; 586 | CLANG_WARN_CONSTANT_CONVERSION = YES; 587 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 588 | CLANG_WARN_EMPTY_BODY = YES; 589 | CLANG_WARN_ENUM_CONVERSION = YES; 590 | CLANG_WARN_INT_CONVERSION = YES; 591 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 592 | CLANG_WARN_UNREACHABLE_CODE = YES; 593 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 594 | COPY_PHASE_STRIP = NO; 595 | ENABLE_TESTABILITY = YES; 596 | GCC_C_LANGUAGE_STANDARD = gnu99; 597 | GCC_DYNAMIC_NO_PIC = NO; 598 | GCC_OPTIMIZATION_LEVEL = 0; 599 | GCC_PREPROCESSOR_DEFINITIONS = ( 600 | "POD_CONFIGURATION_DEBUG=1", 601 | "DEBUG=1", 602 | "$(inherited)", 603 | ); 604 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 605 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 606 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 607 | GCC_WARN_UNDECLARED_SELECTOR = YES; 608 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 609 | GCC_WARN_UNUSED_FUNCTION = YES; 610 | GCC_WARN_UNUSED_VARIABLE = YES; 611 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 612 | ONLY_ACTIVE_ARCH = YES; 613 | STRIP_INSTALLED_PRODUCT = NO; 614 | SYMROOT = "${SRCROOT}/../build"; 615 | }; 616 | name = Debug; 617 | }; 618 | D86EF541360D78B2FE88EED26D541D0E /* Release */ = { 619 | isa = XCBuildConfiguration; 620 | baseConfigurationReference = 0CD07493EE48346D43F82814DEB85157 /* Pods-DPRadialMenu_Tests.release.xcconfig */; 621 | buildSettings = { 622 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 623 | CURRENT_PROJECT_VERSION = 1; 624 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 625 | DEFINES_MODULE = YES; 626 | DYLIB_COMPATIBILITY_VERSION = 1; 627 | DYLIB_CURRENT_VERSION = 1; 628 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 629 | ENABLE_STRICT_OBJC_MSGSEND = YES; 630 | GCC_NO_COMMON_BLOCKS = YES; 631 | INFOPLIST_FILE = "Target Support Files/Pods-DPRadialMenu_Tests/Info.plist"; 632 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 633 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 634 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 635 | MACH_O_TYPE = staticlib; 636 | MODULEMAP_FILE = "Target Support Files/Pods-DPRadialMenu_Tests/Pods-DPRadialMenu_Tests.modulemap"; 637 | MTL_ENABLE_DEBUG_INFO = NO; 638 | OTHER_LDFLAGS = ""; 639 | OTHER_LIBTOOLFLAGS = ""; 640 | PODS_ROOT = "$(SRCROOT)"; 641 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 642 | PRODUCT_NAME = Pods_DPRadialMenu_Tests; 643 | SDKROOT = iphoneos; 644 | SKIP_INSTALL = YES; 645 | TARGETED_DEVICE_FAMILY = "1,2"; 646 | VERSIONING_SYSTEM = "apple-generic"; 647 | VERSION_INFO_PREFIX = ""; 648 | }; 649 | name = Release; 650 | }; 651 | /* End XCBuildConfiguration section */ 652 | 653 | /* Begin XCConfigurationList section */ 654 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 655 | isa = XCConfigurationList; 656 | buildConfigurations = ( 657 | D3E3D092A3FF7311A98E44BBA36FFD12 /* Debug */, 658 | 0ACDCBCB0B6796575F46FFA2F5410C6B /* Release */, 659 | ); 660 | defaultConfigurationIsVisible = 0; 661 | defaultConfigurationName = Release; 662 | }; 663 | A4BAB1AF86E12868651056129F42D7FF /* Build configuration list for PBXNativeTarget "DPRadialMenu" */ = { 664 | isa = XCConfigurationList; 665 | buildConfigurations = ( 666 | 51B13DF102201275D8761F56014660C7 /* Debug */, 667 | 8D51F4BE3E181E9EE95D11DAA3127F43 /* Release */, 668 | ); 669 | defaultConfigurationIsVisible = 0; 670 | defaultConfigurationName = Release; 671 | }; 672 | C9AEFDA05D3E9C65ADA249B48C927F54 /* Build configuration list for PBXNativeTarget "Pods-DPRadialMenu_Example" */ = { 673 | isa = XCConfigurationList; 674 | buildConfigurations = ( 675 | 6BA3E148ECBD2B7F2EECB0F966A5F2AE /* Debug */, 676 | C9606512ED88AAA533CA04D0235FC391 /* Release */, 677 | ); 678 | defaultConfigurationIsVisible = 0; 679 | defaultConfigurationName = Release; 680 | }; 681 | EE247128F9807DC63AE8669B5E1DCEEE /* Build configuration list for PBXNativeTarget "Pods-DPRadialMenu_Tests" */ = { 682 | isa = XCConfigurationList; 683 | buildConfigurations = ( 684 | 29BEA7C70B30065ED4A62B32BFD09785 /* Debug */, 685 | D86EF541360D78B2FE88EED26D541D0E /* Release */, 686 | ); 687 | defaultConfigurationIsVisible = 0; 688 | defaultConfigurationName = Release; 689 | }; 690 | /* End XCConfigurationList section */ 691 | }; 692 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 693 | } 694 | --------------------------------------------------------------------------------