├── demo.gif ├── JQMenuPopView ├── JQMenuPopView │ ├── JQMenuPopView │ │ ├── image │ │ │ ├── button-chat.png │ │ │ ├── button-link.png │ │ │ ├── button-photo.png │ │ │ ├── button-quote.png │ │ │ ├── button-text.png │ │ │ ├── button-video.png │ │ │ ├── button-chat@2x.png │ │ │ └── button-chat@3x.png │ │ ├── JQMenuPopView.h │ │ └── JQMenuPopView.m │ ├── ViewController.h │ ├── AppDelegate.h │ ├── main.m │ ├── Assets.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ ├── ViewController.m │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ └── AppDelegate.m ├── JQMenuPopView.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── project.pbxproj ├── JQMenuPopViewTests │ ├── Info.plist │ └── JQMenuPopViewTests.m └── JQMenuPopViewUITests │ ├── Info.plist │ └── JQMenuPopViewUITests.m ├── LICENSE ├── .gitignore └── README.md /demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaohange/JQMenuPopView/HEAD/demo.gif -------------------------------------------------------------------------------- /JQMenuPopView/JQMenuPopView/JQMenuPopView/image/button-chat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaohange/JQMenuPopView/HEAD/JQMenuPopView/JQMenuPopView/JQMenuPopView/image/button-chat.png -------------------------------------------------------------------------------- /JQMenuPopView/JQMenuPopView/JQMenuPopView/image/button-link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaohange/JQMenuPopView/HEAD/JQMenuPopView/JQMenuPopView/JQMenuPopView/image/button-link.png -------------------------------------------------------------------------------- /JQMenuPopView/JQMenuPopView/JQMenuPopView/image/button-photo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaohange/JQMenuPopView/HEAD/JQMenuPopView/JQMenuPopView/JQMenuPopView/image/button-photo.png -------------------------------------------------------------------------------- /JQMenuPopView/JQMenuPopView/JQMenuPopView/image/button-quote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaohange/JQMenuPopView/HEAD/JQMenuPopView/JQMenuPopView/JQMenuPopView/image/button-quote.png -------------------------------------------------------------------------------- /JQMenuPopView/JQMenuPopView/JQMenuPopView/image/button-text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaohange/JQMenuPopView/HEAD/JQMenuPopView/JQMenuPopView/JQMenuPopView/image/button-text.png -------------------------------------------------------------------------------- /JQMenuPopView/JQMenuPopView/JQMenuPopView/image/button-video.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaohange/JQMenuPopView/HEAD/JQMenuPopView/JQMenuPopView/JQMenuPopView/image/button-video.png -------------------------------------------------------------------------------- /JQMenuPopView/JQMenuPopView/JQMenuPopView/image/button-chat@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaohange/JQMenuPopView/HEAD/JQMenuPopView/JQMenuPopView/JQMenuPopView/image/button-chat@2x.png -------------------------------------------------------------------------------- /JQMenuPopView/JQMenuPopView/JQMenuPopView/image/button-chat@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaohange/JQMenuPopView/HEAD/JQMenuPopView/JQMenuPopView/JQMenuPopView/image/button-chat@3x.png -------------------------------------------------------------------------------- /JQMenuPopView/JQMenuPopView.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /JQMenuPopView/JQMenuPopView/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // JQMenuPopView 4 | // 5 | // Created by 韩俊强 on 2017/4/17. 6 | // Copyright © 2017年 HaRi. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ViewController : UIViewController 12 | 13 | 14 | @end 15 | 16 | -------------------------------------------------------------------------------- /JQMenuPopView/JQMenuPopView/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // JQMenuPopView 4 | // 5 | // Created by 韩俊强 on 2017/4/17. 6 | // Copyright © 2017年 HaRi. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /JQMenuPopView/JQMenuPopView/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // JQMenuPopView 4 | // 5 | // Created by 韩俊强 on 2017/4/17. 6 | // Copyright © 2017年 HaRi. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /JQMenuPopView/JQMenuPopViewTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /JQMenuPopView/JQMenuPopViewUITests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /JQMenuPopView/JQMenuPopViewTests/JQMenuPopViewTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // JQMenuPopViewTests.m 3 | // JQMenuPopViewTests 4 | // 5 | // Created by 韩俊强 on 2017/4/17. 6 | // Copyright © 2017年 HaRi. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface JQMenuPopViewTests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation JQMenuPopViewTests 16 | 17 | - (void)setUp { 18 | [super setUp]; 19 | // Put setup code here. This method is called before the invocation of each test method in the class. 20 | } 21 | 22 | - (void)tearDown { 23 | // Put teardown code here. This method is called after the invocation of each test method in the class. 24 | [super tearDown]; 25 | } 26 | 27 | - (void)testExample { 28 | // This is an example of a functional test case. 29 | // Use XCTAssert and related functions to verify your tests produce the correct results. 30 | } 31 | 32 | - (void)testPerformanceExample { 33 | // This is an example of a performance test case. 34 | [self measureBlock:^{ 35 | // Put the code you want to measure the time of here. 36 | }]; 37 | } 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 HanJunqiang 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /JQMenuPopView/JQMenuPopView/JQMenuPopView/JQMenuPopView.h: -------------------------------------------------------------------------------- 1 | // 2 | // JQMenuPopView.h 3 | // Spread 4 | // 5 | // Created by HaRi on 17/4/10. 6 | // Copyright © 2017年 HanJunqiang. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class JQMenuPopView; 12 | 13 | //定义选中协议 14 | @protocol MenuPopDelegate 15 | 16 | @required 17 | /** 选择相应功能 */ 18 | -(void)JQMenuPopView:(JQMenuPopView *)MenuPopView didSelectedMenuIndex:(NSInteger)selectedIndex; 19 | 20 | @end 21 | @interface JQMenuPopView : UIView 22 | 23 | /** 代理 */ 24 | @property (nonatomic, assign) id menuPopDelegate; 25 | 26 | //属性 27 | @property (nonatomic, strong) UIView *backgroundView; 28 | @property (nonatomic, strong) NSMutableArray * centerHigh; 29 | @property (nonatomic, strong) NSMutableArray * centerLow; 30 | @property (nonatomic, strong) NSMutableArray * centerMenu; 31 | @property (nonatomic, assign) BOOL isHidding ; 32 | @property (nonatomic, strong) UIButton * nevermindButton; 33 | 34 | @property (nonatomic, strong) UIButton *textButton; 35 | @property (nonatomic, strong) UIButton *photoButton; 36 | @property (nonatomic, strong) UIButton *quoteButton; 37 | 38 | @property (nonatomic, strong) UIButton *videoButton; 39 | @property (nonatomic, strong) UIButton *linkButton; 40 | @property (nonatomic, strong) UIButton *chatButton; 41 | 42 | //展示弹出菜单 43 | -(void)showMenu; 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /JQMenuPopView/JQMenuPopViewUITests/JQMenuPopViewUITests.m: -------------------------------------------------------------------------------- 1 | // 2 | // JQMenuPopViewUITests.m 3 | // JQMenuPopViewUITests 4 | // 5 | // Created by 韩俊强 on 2017/4/17. 6 | // Copyright © 2017年 HaRi. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface JQMenuPopViewUITests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation JQMenuPopViewUITests 16 | 17 | - (void)setUp { 18 | [super setUp]; 19 | 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | 22 | // In UI tests it is usually best to stop immediately when a failure occurs. 23 | self.continueAfterFailure = NO; 24 | // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method. 25 | [[[XCUIApplication alloc] init] launch]; 26 | 27 | // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. 28 | } 29 | 30 | - (void)tearDown { 31 | // Put teardown code here. This method is called after the invocation of each test method in the class. 32 | [super tearDown]; 33 | } 34 | 35 | - (void)testExample { 36 | // Use recording to get started writing UI tests. 37 | // Use XCTAssert and related functions to verify your tests produce the correct results. 38 | } 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /JQMenuPopView/JQMenuPopView/Assets.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 | "info" : { 65 | "version" : 1, 66 | "author" : "xcode" 67 | } 68 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 4 | 5 | ## Build generated 6 | build/ 7 | DerivedData/ 8 | 9 | ## Various settings 10 | *.pbxuser 11 | !default.pbxuser 12 | *.mode1v3 13 | !default.mode1v3 14 | *.mode2v3 15 | !default.mode2v3 16 | *.perspectivev3 17 | !default.perspectivev3 18 | xcuserdata/ 19 | 20 | ## Other 21 | *.moved-aside 22 | *.xcuserstate 23 | 24 | ## Obj-C/Swift specific 25 | *.hmap 26 | *.ipa 27 | *.dSYM.zip 28 | *.dSYM 29 | 30 | # CocoaPods 31 | # 32 | # We recommend against adding the Pods directory to your .gitignore. However 33 | # you should judge for yourself, the pros and cons are mentioned at: 34 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 35 | # 36 | # Pods/ 37 | 38 | # Carthage 39 | # 40 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 41 | # Carthage/Checkouts 42 | 43 | Carthage/Build 44 | 45 | # fastlane 46 | # 47 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 48 | # screenshots whenever they are needed. 49 | # For more information about the recommended setup visit: 50 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md 51 | 52 | fastlane/report.xml 53 | fastlane/screenshots 54 | 55 | #Code Injection 56 | # 57 | # After new code Injection tools there's a generated folder /iOSInjectionProject 58 | # https://github.com/johnno1962/injectionforxcode 59 | 60 | iOSInjectionProject/ 61 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # JQMenuPopView 2 | 仿Tumblr弹出视图发音频、视频、图片、文字的视图,接入方便。高仿Tumblr,tumblr-popview. 3 | 4 | ![](https://github.com/xiaohange/JQMenuPopView/blob/master/demo.gif?raw=true) 5 | 6 | ## Instalation 7 | 8 | Add the JQMenuPopView.h and JQMenuPopView.m source files to your project. 9 | 10 | ## Usage 11 | 12 | ```objective-c 13 | @property (nonatomic, strong) JQMenuPopView *myMenuPopView; 14 | 15 | _myMenuPopView = [[JQMenuPopView alloc] initWithFrame:CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.height)]; 16 | 17 | [_myMenuPopView setMenuPopDelegate:self]; 18 | 19 | UIWindow *window = [UIApplication sharedApplication].keyWindow;[window addSubview:_myMenuPopView]; 20 | 21 | [_myMenuPopView showMenu]; 22 | ``` 23 | ***MenuPopDelegate*** 代理方法: 24 | ``` 25 | -(void)JQMenuPopView:(JQMenuPopView *)MenuPopView didSelectedMenuIndex:(NSInteger)selectedIndex{ 26 | NSLog(@"->>didSelectedMenuIndex->>点击的是第%ld个按钮",selectedIndex); 27 | } 28 | ``` 29 | 30 | ## Star 31 | >iOS开发者交流群:446310206 喜欢就❤️❤️❤️star一下吧!你的支持是我更新的动力! Love is every every every star! Your support is my renewed motivation! 32 | 33 | ## Other 34 | [JQTumblrHud-高仿Tumblr App 加载指示器hud](https://github.com/xiaohange/JQTumblrHud) 35 | 36 | [JQScrollNumberLabel:仿tumblr热度滚动数字条数](https://github.com/xiaohange/JQScrollNumberLabel) 37 | 38 | [TumblrLikeAnimView-仿Tumblr点赞动画效果](https://github.com/xiaohange/TumblrLikeAnimView) 39 | 40 | [JQMenuPopView-仿Tumblr弹出视图发音频、视频、图片、文字的视图](https://github.com/xiaohange/JQMenuPopView) 41 | 42 | ## License 43 | 44 | This code is distributed under the terms and conditions of the [MIT license](LICENSE). 45 | -------------------------------------------------------------------------------- /JQMenuPopView/JQMenuPopView/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | LSRequiresIPhoneOS 22 | 23 | UILaunchStoryboardName 24 | LaunchScreen 25 | UIMainStoryboardFile 26 | Main 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UISupportedInterfaceOrientations~ipad 38 | 39 | UIInterfaceOrientationPortrait 40 | UIInterfaceOrientationPortraitUpsideDown 41 | UIInterfaceOrientationLandscapeLeft 42 | UIInterfaceOrientationLandscapeRight 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /JQMenuPopView/JQMenuPopView/ViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // JQMenuPopView 4 | // 5 | // Created by 韩俊强 on 2017/4/17. 6 | // Copyright © 2017年 HaRi. All rights reserved. 7 | // 8 | 9 | #import "ViewController.h" 10 | #import "JQMenuPopView.h" 11 | 12 | @interface ViewController () 13 | 14 | @property (nonatomic, strong) JQMenuPopView *myMenuPopView; 15 | 16 | @end 17 | 18 | @implementation ViewController 19 | 20 | - (void)viewDidLoad { 21 | [super viewDidLoad]; 22 | // Do any additional setup after loading the view, typically from a nib. 23 | 24 | self.view.backgroundColor =[UIColor colorWithRed:55.0/265.0 green:69/265.0 blue:93.0/265.0 alpha:1.0]; 25 | self.title = @"Demo"; 26 | } 27 | 28 | - (IBAction)showJQMenuPopViewAction:(UIButton *)sender 29 | { 30 | //将弹出菜单视图添加到主视图 31 | _myMenuPopView = [[JQMenuPopView alloc] initWithFrame:CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.height)]; 32 | [_myMenuPopView setMenuPopDelegate:self]; 33 | UIWindow *window = [UIApplication sharedApplication].keyWindow; 34 | [window addSubview:_myMenuPopView]; 35 | [_myMenuPopView showMenu]; 36 | 37 | /** 如果弹出视图不是在最前端显示,可以 */ 38 | //[self.view bringSubviewToFront:_myMenuPopView]; 39 | //如果弹出视图是在自定义UITabBarController封装的控制器,需要将 JQMenuPopView 添加在UITabBarController 子视图中 40 | } 41 | 42 | #pragma mark - MenuPopDelegate 43 | 44 | -(void)JQMenuPopView:(JQMenuPopView *)MenuPopView didSelectedMenuIndex:(NSInteger)selectedIndex{ 45 | NSLog(@"->>didSelectedMenuIndex->>点击的是第%ld个按钮",selectedIndex); 46 | } 47 | 48 | - (void)didReceiveMemoryWarning { 49 | [super didReceiveMemoryWarning]; 50 | // Dispose of any resources that can be recreated. 51 | } 52 | 53 | 54 | @end 55 | -------------------------------------------------------------------------------- /JQMenuPopView/JQMenuPopView/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /JQMenuPopView/JQMenuPopView/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.m 3 | // JQMenuPopView 4 | // 5 | // Created by 韩俊强 on 2017/4/17. 6 | // Copyright © 2017年 HaRi. All rights reserved. 7 | // 8 | 9 | #import "AppDelegate.h" 10 | 11 | @interface AppDelegate () 12 | 13 | @end 14 | 15 | @implementation AppDelegate 16 | 17 | 18 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 19 | // Override point for customization after application launch. 20 | return YES; 21 | } 22 | 23 | 24 | - (void)applicationWillResignActive:(UIApplication *)application { 25 | // 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. 26 | // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game. 27 | } 28 | 29 | 30 | - (void)applicationDidEnterBackground:(UIApplication *)application { 31 | // 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. 32 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 33 | } 34 | 35 | 36 | - (void)applicationWillEnterForeground:(UIApplication *)application { 37 | // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. 38 | } 39 | 40 | 41 | - (void)applicationDidBecomeActive:(UIApplication *)application { 42 | // 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. 43 | } 44 | 45 | 46 | - (void)applicationWillTerminate:(UIApplication *)application { 47 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 48 | } 49 | 50 | 51 | @end 52 | -------------------------------------------------------------------------------- /JQMenuPopView/JQMenuPopView/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /JQMenuPopView/JQMenuPopView/JQMenuPopView/JQMenuPopView.m: -------------------------------------------------------------------------------- 1 | // 2 | // JQMenuPopView.m 3 | // Spread 4 | // 5 | // Created by HaRi on 17/4/10. 6 | // Copyright © 2017年 HanJunqiang. All rights reserved. 7 | // 8 | 9 | #import "JQMenuPopView.h" 10 | 11 | @implementation JQMenuPopView 12 | /** 初始化视图 */ 13 | -(instancetype)initWithFrame:(CGRect)frame{ 14 | self = [super initWithFrame:frame]; 15 | if (self) { 16 | [self initImageView]; 17 | [self initCenterArrayWithFrame:frame]; 18 | [self setUpView]; 19 | } 20 | return self; 21 | } 22 | 23 | //初始化按钮视图(尺寸+图片,使用不同尺寸适配不同屏幕->) 24 | -(void)initImageView{ 25 | UIImage *image = [UIImage imageNamed:@"button-chat"]; 26 | CGRect frame = CGRectMake(0, 0, image.size.width, image.size.height); 27 | 28 | _textButton = [UIButton buttonWithType:UIButtonTypeCustom]; 29 | _textButton.frame = frame; 30 | [_textButton setBackgroundImage:[UIImage imageNamed:@"button-text"] forState:UIControlStateNormal]; 31 | 32 | _photoButton = [UIButton buttonWithType:UIButtonTypeCustom]; 33 | _photoButton.frame = frame; 34 | [_photoButton setBackgroundImage:[UIImage imageNamed:@"button-photo"] forState:UIControlStateNormal]; 35 | 36 | _quoteButton = [UIButton buttonWithType:UIButtonTypeCustom]; 37 | _quoteButton.frame = frame; 38 | [_quoteButton setBackgroundImage:[UIImage imageNamed:@"button-quote"] forState:UIControlStateNormal]; 39 | 40 | _linkButton = [UIButton buttonWithType:UIButtonTypeCustom]; 41 | _linkButton.frame = frame; 42 | [_linkButton setBackgroundImage:[UIImage imageNamed:@"button-link"] forState:UIControlStateNormal]; 43 | 44 | _chatButton = [UIButton buttonWithType:UIButtonTypeCustom]; 45 | _chatButton.frame = frame; 46 | [_chatButton setBackgroundImage:[UIImage imageNamed:@"button-chat"] forState:UIControlStateNormal]; 47 | 48 | _videoButton = [UIButton buttonWithType:UIButtonTypeCustom]; 49 | _videoButton.frame = frame; 50 | [_videoButton setBackgroundImage:[UIImage imageNamed:@"button-video"] forState:UIControlStateNormal]; 51 | 52 | _nevermindButton = [UIButton buttonWithType:UIButtonTypeCustom]; 53 | _nevermindButton.frame = CGRectMake(0, 0, self.frame.size.width, _textButton.frame.size.height * 0.5); 54 | [_nevermindButton setTitle:@"以后再说" forState:UIControlStateNormal]; 55 | [_nevermindButton setBackgroundColor:[UIColor redColor]]; 56 | 57 | _backgroundView = [[UIView alloc] initWithFrame:self.frame]; 58 | 59 | _textButton.tag = 0; 60 | _photoButton.tag = 1; 61 | _quoteButton.tag = 2; 62 | _linkButton.tag = 3; 63 | _chatButton.tag = 4; 64 | _videoButton.tag = 5; 65 | } 66 | //尺寸数组 67 | -(void)initCenterArrayWithFrame:(CGRect)frame{ 68 | 69 | //每个按钮的边长 70 | CGFloat widthUnit = frame.size.width * 0.25; 71 | //屏幕上方 72 | CGFloat heightHight = frame.origin.y - _textButton.frame.size.height * 0.5; 73 | //屏幕下方 74 | CGFloat heightLow = frame.size.height + _textButton.frame.size.height * 0.5; 75 | //按钮直接间隔距离 76 | CGFloat gap = _textButton.frame.size.height * 0.5 + 5; 77 | 78 | //上移尺寸 79 | _centerHigh = [[NSMutableArray alloc] initWithObjects:[NSValue valueWithCGPoint:CGPointMake(widthUnit, heightHight)], [NSValue valueWithCGPoint:CGPointMake(widthUnit * 2, heightHight)],[NSValue valueWithCGPoint:CGPointMake(widthUnit * 3, heightHight)],nil]; 80 | 81 | //下移尺寸 82 | _centerLow = [[NSMutableArray alloc] initWithObjects:[NSValue valueWithCGPoint:CGPointMake(widthUnit, heightLow)], [NSValue valueWithCGPoint:CGPointMake(widthUnit * 2, heightLow)],[NSValue valueWithCGPoint:CGPointMake(widthUnit * 3, heightLow)],[NSValue valueWithCGPoint:CGPointMake(widthUnit * 2, frame.size.height + _nevermindButton.frame.size.height * 0.5)],nil]; 83 | 84 | //中间显示尺寸 85 | _centerMenu = [[NSMutableArray alloc] initWithObjects: 86 | [NSValue valueWithCGPoint:CGPointMake(widthUnit, frame.size.height * 0.5 - gap)], 87 | [NSValue valueWithCGPoint:CGPointMake(widthUnit * 2, frame.size.height * 0.5 - gap)], 88 | [NSValue valueWithCGPoint:CGPointMake(widthUnit * 3, frame.size.height * 0.5 - gap)], 89 | [NSValue valueWithCGPoint:CGPointMake(widthUnit, frame.size.height * 0.5 + gap)], 90 | [NSValue valueWithCGPoint:CGPointMake(widthUnit * 2, frame.size.height * 0.5 + gap)], 91 | [NSValue valueWithCGPoint:CGPointMake(widthUnit * 3, frame.size.height * 0.5 + gap)], 92 | [NSValue valueWithCGPoint:CGPointMake(widthUnit * 2, frame.size.height - _nevermindButton.frame.size.height * 0.5)], 93 | nil]; 94 | } 95 | //初始化视图 96 | -(void)setUpView{ 97 | self.hidden = YES; 98 | 99 | _backgroundView.backgroundColor = [UIColor colorWithRed:55.0/265.0 green:69/265.0 blue:93.0/265.0 alpha:1.0]; 100 | 101 | //增加点击事件 102 | UITapGestureRecognizer *gestur = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(handleTap)]; 103 | [_backgroundView setUserInteractionEnabled:YES]; 104 | [_backgroundView addGestureRecognizer:gestur]; 105 | 106 | _nevermindButton.hidden = YES; 107 | [_nevermindButton setUserInteractionEnabled:YES]; 108 | [_nevermindButton setBackgroundColor:[UIColor colorWithRed:61/255.0 green:77/255.0 blue:100/255.0 alpha:1]]; 109 | [_nevermindButton setTintColor:[UIColor colorWithRed:133/255.0 green:141/255.0 blue:152/255.0 alpha:1]]; 110 | 111 | //监听方法-> 112 | [_nevermindButton addTarget:self action:@selector(handleTap) forControlEvents:UIControlEventTouchUpInside]; 113 | [_textButton addTarget:self action:@selector(clickMenu:) forControlEvents:UIControlEventTouchUpInside]; 114 | [_photoButton addTarget:self action:@selector(clickMenu:) forControlEvents:UIControlEventTouchUpInside]; 115 | [_quoteButton addTarget:self action:@selector(clickMenu:) forControlEvents:UIControlEventTouchUpInside]; 116 | [_linkButton addTarget:self action:@selector(clickMenu:) forControlEvents:UIControlEventTouchUpInside]; 117 | [_chatButton addTarget:self action:@selector(clickMenu:) forControlEvents:UIControlEventTouchUpInside]; 118 | [_videoButton addTarget:self action:@selector(clickMenu:) forControlEvents:UIControlEventTouchUpInside]; 119 | 120 | //添加子视图! 121 | [self addSubview:_backgroundView]; 122 | [self addSubview:_textButton]; 123 | [self addSubview:_photoButton]; 124 | [self addSubview:_quoteButton]; 125 | [self addSubview:_linkButton]; 126 | [self addSubview:_chatButton]; 127 | [self addSubview:_videoButton]; 128 | [self addSubview:_nevermindButton]; 129 | } 130 | 131 | //取消的动画往下移动进而消失 132 | -(void)handleTap{ 133 | [self hideMenuViewWithCancel]; 134 | } 135 | 136 | //点击方法执行代理 137 | -(void)clickMenu:(UIButton *)button{ 138 | NSInteger selectedIndex = button.tag; 139 | if (_menuPopDelegate && [_menuPopDelegate respondsToSelector:@selector(JQMenuPopView:didSelectedMenuIndex:)]) { 140 | [self hideMenuViewTop]; 141 | [_menuPopDelegate JQMenuPopView:self didSelectedMenuIndex:selectedIndex]; 142 | } 143 | } 144 | //向上Pop 145 | -(void)hideMenuViewTop 146 | { 147 | if (_isHidding) { 148 | return; 149 | } 150 | 151 | _isHidding = YES; 152 | 153 | /* _nevermindButton */ 154 | _nevermindButton.center = [ _centerMenu[6] CGPointValue]; 155 | [UIView animateWithDuration:0.3 delay:0.3 options:UIViewAnimationOptionCurveEaseOut animations:^{ 156 | _nevermindButton.center = [ _centerLow[3] CGPointValue]; 157 | 158 | } completion:^(BOOL finished) { 159 | _nevermindButton.hidden = YES; 160 | _isHidding = NO; 161 | 162 | }]; 163 | 164 | /* _photoButton */ 165 | 166 | [UIView animateWithDuration:0.6 delay:0 usingSpringWithDamping:0.7 initialSpringVelocity:1.0 options:UIViewAnimationOptionCurveEaseOut animations:^{ 167 | _photoButton.center = [ _centerHigh[1] CGPointValue]; 168 | 169 | } completion:^(BOOL finished) { 170 | self.hidden = YES; 171 | 172 | }]; 173 | 174 | 175 | /* Text | Chat | Quote Image */ 176 | 177 | [UIView animateWithDuration:0.6 delay:0 usingSpringWithDamping:0.7 initialSpringVelocity:1.0 options:UIViewAnimationOptionCurveEaseOut animations:^{ 178 | 179 | _textButton.center = [_centerHigh[0] CGPointValue]; 180 | _quoteButton.center = [_centerHigh[2] CGPointValue]; 181 | _chatButton.center = [_centerHigh[1] CGPointValue]; 182 | 183 | } completion:^(BOOL finished) { 184 | 185 | }]; 186 | 187 | /* Link | Video Image */ 188 | _photoButton.center = [ _centerHigh[1] CGPointValue]; 189 | [UIView animateWithDuration:0.6 delay:0.2 usingSpringWithDamping:0.7 initialSpringVelocity:1.0 options:UIViewAnimationOptionCurveEaseOut animations:^{ 190 | _linkButton.center = [_centerHigh[0] CGPointValue]; 191 | _videoButton.center = [_centerHigh[2] CGPointValue]; 192 | } completion:^(BOOL finished) { 193 | 194 | }]; 195 | 196 | 197 | } 198 | //向底部Pop 199 | -(void)hideMenuViewWithCancel 200 | { 201 | if (_isHidding) { 202 | return; 203 | } 204 | 205 | _isHidding = YES; 206 | 207 | /* _nevermindButton */ 208 | _nevermindButton.center = [ _centerMenu[6] CGPointValue]; 209 | [UIView animateWithDuration:0.3 delay:0.3 options:UIViewAnimationOptionCurveEaseOut animations:^{ 210 | _nevermindButton.center = [ _centerLow[3] CGPointValue]; 211 | 212 | } completion:^(BOOL finished) { 213 | _nevermindButton.hidden = YES; 214 | _isHidding = NO; 215 | 216 | }]; 217 | 218 | /* _photoButton */ 219 | 220 | [UIView animateWithDuration:0.6 delay:0 usingSpringWithDamping:0.7 initialSpringVelocity:1.0 options:UIViewAnimationOptionCurveEaseOut animations:^{ 221 | _photoButton.center = [ _centerLow[1] CGPointValue]; 222 | 223 | } completion:^(BOOL finished) { 224 | self.hidden = YES; 225 | 226 | }]; 227 | 228 | 229 | /* Text | Chat | Quote Image */ 230 | 231 | [UIView animateWithDuration:0.6 delay:0 usingSpringWithDamping:0.7 initialSpringVelocity:1.0 options:UIViewAnimationOptionCurveEaseOut animations:^{ 232 | 233 | _textButton.center = [_centerLow[0] CGPointValue]; 234 | _quoteButton.center = [_centerLow[2] CGPointValue]; 235 | _chatButton.center = [_centerLow[1] CGPointValue]; 236 | 237 | } completion:^(BOOL finished) { 238 | 239 | }]; 240 | 241 | /* Link | Video Image */ 242 | _photoButton.center = [ _centerHigh[1] CGPointValue]; 243 | [UIView animateWithDuration:0.6 delay:0.2 usingSpringWithDamping:0.7 initialSpringVelocity:1.0 options:UIViewAnimationOptionCurveEaseOut animations:^{ 244 | _linkButton.center = [_centerLow[0] CGPointValue]; 245 | _videoButton.center = [_centerLow[2] CGPointValue]; 246 | } completion:^(BOOL finished) { 247 | 248 | }]; 249 | 250 | 251 | } 252 | //展示弹出视图 253 | -(void)showMenu 254 | { 255 | self.hidden = NO; 256 | 257 | /* _nevermindButton */ 258 | _nevermindButton.center = [_centerLow[3] CGPointValue]; 259 | _nevermindButton.hidden = NO; 260 | [UIView animateWithDuration:0.3 delay:0.3 options:UIViewAnimationOptionCurveEaseOut animations:^{ 261 | _nevermindButton.center = [_centerMenu [6] CGPointValue]; 262 | } completion:^(BOOL finished) { 263 | 264 | }]; 265 | 266 | /* _photoButton */ 267 | 268 | _photoButton.center = [_centerLow[1] CGPointValue]; 269 | [UIView animateWithDuration:0.6 delay:0 usingSpringWithDamping:0.7 initialSpringVelocity:1.0 options:UIViewAnimationOptionCurveEaseOut animations:^{ 270 | _photoButton.center = [_centerMenu[1] CGPointValue]; 271 | } completion:^(BOOL finished) { 272 | 273 | }]; 274 | 275 | /* Text | Chat | Quote Image */ 276 | _textButton.center = [_centerLow[0] CGPointValue]; 277 | _quoteButton.center = [_centerLow[2] CGPointValue]; 278 | _chatButton.center = [_centerLow [1] CGPointValue]; 279 | [UIView animateWithDuration:0.6 delay:0.1 usingSpringWithDamping:0.7 initialSpringVelocity:1.0 options:UIViewAnimationOptionCurveEaseOut animations:^{ 280 | 281 | _textButton.center = [_centerMenu[0] CGPointValue]; 282 | _quoteButton.center = [_centerMenu[2] CGPointValue]; 283 | _chatButton.center = [_centerMenu[4] CGPointValue]; 284 | } completion:^(BOOL finished) { 285 | 286 | }]; 287 | 288 | 289 | /* Link | Video Image */ 290 | 291 | _linkButton.center = [_centerLow[0] CGPointValue]; 292 | _videoButton.center = [_centerLow [2] CGPointValue]; 293 | [UIView animateWithDuration:0.6 delay:0.2 usingSpringWithDamping:0.7 initialSpringVelocity:1.0 options:UIViewAnimationOptionCurveEaseOut animations:^{ 294 | _linkButton.center = [_centerMenu[3] CGPointValue]; 295 | _videoButton.center = [_centerMenu[5] CGPointValue]; 296 | } completion:^(BOOL finished) { 297 | 298 | }]; 299 | } 300 | @end 301 | -------------------------------------------------------------------------------- /JQMenuPopView/JQMenuPopView.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 479D7C8B1EA4BBD700523454 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 479D7C8A1EA4BBD700523454 /* main.m */; }; 11 | 479D7C8E1EA4BBD700523454 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 479D7C8D1EA4BBD700523454 /* AppDelegate.m */; }; 12 | 479D7C911EA4BBD700523454 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 479D7C901EA4BBD700523454 /* ViewController.m */; }; 13 | 479D7C941EA4BBD700523454 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 479D7C921EA4BBD700523454 /* Main.storyboard */; }; 14 | 479D7C961EA4BBD700523454 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 479D7C951EA4BBD700523454 /* Assets.xcassets */; }; 15 | 479D7C991EA4BBD700523454 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 479D7C971EA4BBD700523454 /* LaunchScreen.storyboard */; }; 16 | 479D7CA41EA4BBD700523454 /* JQMenuPopViewTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 479D7CA31EA4BBD700523454 /* JQMenuPopViewTests.m */; }; 17 | 479D7CAF1EA4BBD700523454 /* JQMenuPopViewUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = 479D7CAE1EA4BBD700523454 /* JQMenuPopViewUITests.m */; }; 18 | 479D7CC81EA4BBE700523454 /* button-chat.png in Resources */ = {isa = PBXBuildFile; fileRef = 479D7CBE1EA4BBE700523454 /* button-chat.png */; }; 19 | 479D7CC91EA4BBE700523454 /* button-chat@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 479D7CBF1EA4BBE700523454 /* button-chat@2x.png */; }; 20 | 479D7CCA1EA4BBE700523454 /* button-chat@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = 479D7CC01EA4BBE700523454 /* button-chat@3x.png */; }; 21 | 479D7CCB1EA4BBE700523454 /* button-link.png in Resources */ = {isa = PBXBuildFile; fileRef = 479D7CC11EA4BBE700523454 /* button-link.png */; }; 22 | 479D7CCC1EA4BBE700523454 /* button-photo.png in Resources */ = {isa = PBXBuildFile; fileRef = 479D7CC21EA4BBE700523454 /* button-photo.png */; }; 23 | 479D7CCD1EA4BBE700523454 /* button-quote.png in Resources */ = {isa = PBXBuildFile; fileRef = 479D7CC31EA4BBE700523454 /* button-quote.png */; }; 24 | 479D7CCE1EA4BBE700523454 /* button-text.png in Resources */ = {isa = PBXBuildFile; fileRef = 479D7CC41EA4BBE700523454 /* button-text.png */; }; 25 | 479D7CCF1EA4BBE700523454 /* button-video.png in Resources */ = {isa = PBXBuildFile; fileRef = 479D7CC51EA4BBE700523454 /* button-video.png */; }; 26 | 479D7CD01EA4BBE700523454 /* JQMenuPopView.m in Sources */ = {isa = PBXBuildFile; fileRef = 479D7CC71EA4BBE700523454 /* JQMenuPopView.m */; }; 27 | /* End PBXBuildFile section */ 28 | 29 | /* Begin PBXContainerItemProxy section */ 30 | 479D7CA01EA4BBD700523454 /* PBXContainerItemProxy */ = { 31 | isa = PBXContainerItemProxy; 32 | containerPortal = 479D7C7E1EA4BBD700523454 /* Project object */; 33 | proxyType = 1; 34 | remoteGlobalIDString = 479D7C851EA4BBD700523454; 35 | remoteInfo = JQMenuPopView; 36 | }; 37 | 479D7CAB1EA4BBD700523454 /* PBXContainerItemProxy */ = { 38 | isa = PBXContainerItemProxy; 39 | containerPortal = 479D7C7E1EA4BBD700523454 /* Project object */; 40 | proxyType = 1; 41 | remoteGlobalIDString = 479D7C851EA4BBD700523454; 42 | remoteInfo = JQMenuPopView; 43 | }; 44 | /* End PBXContainerItemProxy section */ 45 | 46 | /* Begin PBXFileReference section */ 47 | 479D7C861EA4BBD700523454 /* JQMenuPopView.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = JQMenuPopView.app; sourceTree = BUILT_PRODUCTS_DIR; }; 48 | 479D7C8A1EA4BBD700523454 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 49 | 479D7C8C1EA4BBD700523454 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 50 | 479D7C8D1EA4BBD700523454 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 51 | 479D7C8F1EA4BBD700523454 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; 52 | 479D7C901EA4BBD700523454 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; 53 | 479D7C931EA4BBD700523454 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 54 | 479D7C951EA4BBD700523454 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 55 | 479D7C981EA4BBD700523454 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 56 | 479D7C9A1EA4BBD700523454 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 57 | 479D7C9F1EA4BBD700523454 /* JQMenuPopViewTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = JQMenuPopViewTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 58 | 479D7CA31EA4BBD700523454 /* JQMenuPopViewTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = JQMenuPopViewTests.m; sourceTree = ""; }; 59 | 479D7CA51EA4BBD700523454 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 60 | 479D7CAA1EA4BBD700523454 /* JQMenuPopViewUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = JQMenuPopViewUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 61 | 479D7CAE1EA4BBD700523454 /* JQMenuPopViewUITests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = JQMenuPopViewUITests.m; sourceTree = ""; }; 62 | 479D7CB01EA4BBD700523454 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 63 | 479D7CBE1EA4BBE700523454 /* button-chat.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "button-chat.png"; sourceTree = ""; }; 64 | 479D7CBF1EA4BBE700523454 /* button-chat@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "button-chat@2x.png"; sourceTree = ""; }; 65 | 479D7CC01EA4BBE700523454 /* button-chat@3x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "button-chat@3x.png"; sourceTree = ""; }; 66 | 479D7CC11EA4BBE700523454 /* button-link.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "button-link.png"; sourceTree = ""; }; 67 | 479D7CC21EA4BBE700523454 /* button-photo.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "button-photo.png"; sourceTree = ""; }; 68 | 479D7CC31EA4BBE700523454 /* button-quote.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "button-quote.png"; sourceTree = ""; }; 69 | 479D7CC41EA4BBE700523454 /* button-text.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "button-text.png"; sourceTree = ""; }; 70 | 479D7CC51EA4BBE700523454 /* button-video.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "button-video.png"; sourceTree = ""; }; 71 | 479D7CC61EA4BBE700523454 /* JQMenuPopView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JQMenuPopView.h; sourceTree = ""; }; 72 | 479D7CC71EA4BBE700523454 /* JQMenuPopView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JQMenuPopView.m; sourceTree = ""; }; 73 | /* End PBXFileReference section */ 74 | 75 | /* Begin PBXFrameworksBuildPhase section */ 76 | 479D7C831EA4BBD700523454 /* Frameworks */ = { 77 | isa = PBXFrameworksBuildPhase; 78 | buildActionMask = 2147483647; 79 | files = ( 80 | ); 81 | runOnlyForDeploymentPostprocessing = 0; 82 | }; 83 | 479D7C9C1EA4BBD700523454 /* Frameworks */ = { 84 | isa = PBXFrameworksBuildPhase; 85 | buildActionMask = 2147483647; 86 | files = ( 87 | ); 88 | runOnlyForDeploymentPostprocessing = 0; 89 | }; 90 | 479D7CA71EA4BBD700523454 /* Frameworks */ = { 91 | isa = PBXFrameworksBuildPhase; 92 | buildActionMask = 2147483647; 93 | files = ( 94 | ); 95 | runOnlyForDeploymentPostprocessing = 0; 96 | }; 97 | /* End PBXFrameworksBuildPhase section */ 98 | 99 | /* Begin PBXGroup section */ 100 | 479D7C7D1EA4BBD700523454 = { 101 | isa = PBXGroup; 102 | children = ( 103 | 479D7C881EA4BBD700523454 /* JQMenuPopView */, 104 | 479D7CA21EA4BBD700523454 /* JQMenuPopViewTests */, 105 | 479D7CAD1EA4BBD700523454 /* JQMenuPopViewUITests */, 106 | 479D7C871EA4BBD700523454 /* Products */, 107 | ); 108 | sourceTree = ""; 109 | }; 110 | 479D7C871EA4BBD700523454 /* Products */ = { 111 | isa = PBXGroup; 112 | children = ( 113 | 479D7C861EA4BBD700523454 /* JQMenuPopView.app */, 114 | 479D7C9F1EA4BBD700523454 /* JQMenuPopViewTests.xctest */, 115 | 479D7CAA1EA4BBD700523454 /* JQMenuPopViewUITests.xctest */, 116 | ); 117 | name = Products; 118 | sourceTree = ""; 119 | }; 120 | 479D7C881EA4BBD700523454 /* JQMenuPopView */ = { 121 | isa = PBXGroup; 122 | children = ( 123 | 479D7CBC1EA4BBE700523454 /* JQMenuPopView */, 124 | 479D7C8C1EA4BBD700523454 /* AppDelegate.h */, 125 | 479D7C8D1EA4BBD700523454 /* AppDelegate.m */, 126 | 479D7C8F1EA4BBD700523454 /* ViewController.h */, 127 | 479D7C901EA4BBD700523454 /* ViewController.m */, 128 | 479D7C921EA4BBD700523454 /* Main.storyboard */, 129 | 479D7C951EA4BBD700523454 /* Assets.xcassets */, 130 | 479D7C971EA4BBD700523454 /* LaunchScreen.storyboard */, 131 | 479D7C9A1EA4BBD700523454 /* Info.plist */, 132 | 479D7C891EA4BBD700523454 /* Supporting Files */, 133 | ); 134 | path = JQMenuPopView; 135 | sourceTree = ""; 136 | }; 137 | 479D7C891EA4BBD700523454 /* Supporting Files */ = { 138 | isa = PBXGroup; 139 | children = ( 140 | 479D7C8A1EA4BBD700523454 /* main.m */, 141 | ); 142 | name = "Supporting Files"; 143 | sourceTree = ""; 144 | }; 145 | 479D7CA21EA4BBD700523454 /* JQMenuPopViewTests */ = { 146 | isa = PBXGroup; 147 | children = ( 148 | 479D7CA31EA4BBD700523454 /* JQMenuPopViewTests.m */, 149 | 479D7CA51EA4BBD700523454 /* Info.plist */, 150 | ); 151 | path = JQMenuPopViewTests; 152 | sourceTree = ""; 153 | }; 154 | 479D7CAD1EA4BBD700523454 /* JQMenuPopViewUITests */ = { 155 | isa = PBXGroup; 156 | children = ( 157 | 479D7CAE1EA4BBD700523454 /* JQMenuPopViewUITests.m */, 158 | 479D7CB01EA4BBD700523454 /* Info.plist */, 159 | ); 160 | path = JQMenuPopViewUITests; 161 | sourceTree = ""; 162 | }; 163 | 479D7CBC1EA4BBE700523454 /* JQMenuPopView */ = { 164 | isa = PBXGroup; 165 | children = ( 166 | 479D7CBD1EA4BBE700523454 /* image */, 167 | 479D7CC61EA4BBE700523454 /* JQMenuPopView.h */, 168 | 479D7CC71EA4BBE700523454 /* JQMenuPopView.m */, 169 | ); 170 | path = JQMenuPopView; 171 | sourceTree = ""; 172 | }; 173 | 479D7CBD1EA4BBE700523454 /* image */ = { 174 | isa = PBXGroup; 175 | children = ( 176 | 479D7CBE1EA4BBE700523454 /* button-chat.png */, 177 | 479D7CBF1EA4BBE700523454 /* button-chat@2x.png */, 178 | 479D7CC01EA4BBE700523454 /* button-chat@3x.png */, 179 | 479D7CC11EA4BBE700523454 /* button-link.png */, 180 | 479D7CC21EA4BBE700523454 /* button-photo.png */, 181 | 479D7CC31EA4BBE700523454 /* button-quote.png */, 182 | 479D7CC41EA4BBE700523454 /* button-text.png */, 183 | 479D7CC51EA4BBE700523454 /* button-video.png */, 184 | ); 185 | path = image; 186 | sourceTree = ""; 187 | }; 188 | /* End PBXGroup section */ 189 | 190 | /* Begin PBXNativeTarget section */ 191 | 479D7C851EA4BBD700523454 /* JQMenuPopView */ = { 192 | isa = PBXNativeTarget; 193 | buildConfigurationList = 479D7CB31EA4BBD700523454 /* Build configuration list for PBXNativeTarget "JQMenuPopView" */; 194 | buildPhases = ( 195 | 479D7C821EA4BBD700523454 /* Sources */, 196 | 479D7C831EA4BBD700523454 /* Frameworks */, 197 | 479D7C841EA4BBD700523454 /* Resources */, 198 | ); 199 | buildRules = ( 200 | ); 201 | dependencies = ( 202 | ); 203 | name = JQMenuPopView; 204 | productName = JQMenuPopView; 205 | productReference = 479D7C861EA4BBD700523454 /* JQMenuPopView.app */; 206 | productType = "com.apple.product-type.application"; 207 | }; 208 | 479D7C9E1EA4BBD700523454 /* JQMenuPopViewTests */ = { 209 | isa = PBXNativeTarget; 210 | buildConfigurationList = 479D7CB61EA4BBD700523454 /* Build configuration list for PBXNativeTarget "JQMenuPopViewTests" */; 211 | buildPhases = ( 212 | 479D7C9B1EA4BBD700523454 /* Sources */, 213 | 479D7C9C1EA4BBD700523454 /* Frameworks */, 214 | 479D7C9D1EA4BBD700523454 /* Resources */, 215 | ); 216 | buildRules = ( 217 | ); 218 | dependencies = ( 219 | 479D7CA11EA4BBD700523454 /* PBXTargetDependency */, 220 | ); 221 | name = JQMenuPopViewTests; 222 | productName = JQMenuPopViewTests; 223 | productReference = 479D7C9F1EA4BBD700523454 /* JQMenuPopViewTests.xctest */; 224 | productType = "com.apple.product-type.bundle.unit-test"; 225 | }; 226 | 479D7CA91EA4BBD700523454 /* JQMenuPopViewUITests */ = { 227 | isa = PBXNativeTarget; 228 | buildConfigurationList = 479D7CB91EA4BBD700523454 /* Build configuration list for PBXNativeTarget "JQMenuPopViewUITests" */; 229 | buildPhases = ( 230 | 479D7CA61EA4BBD700523454 /* Sources */, 231 | 479D7CA71EA4BBD700523454 /* Frameworks */, 232 | 479D7CA81EA4BBD700523454 /* Resources */, 233 | ); 234 | buildRules = ( 235 | ); 236 | dependencies = ( 237 | 479D7CAC1EA4BBD700523454 /* PBXTargetDependency */, 238 | ); 239 | name = JQMenuPopViewUITests; 240 | productName = JQMenuPopViewUITests; 241 | productReference = 479D7CAA1EA4BBD700523454 /* JQMenuPopViewUITests.xctest */; 242 | productType = "com.apple.product-type.bundle.ui-testing"; 243 | }; 244 | /* End PBXNativeTarget section */ 245 | 246 | /* Begin PBXProject section */ 247 | 479D7C7E1EA4BBD700523454 /* Project object */ = { 248 | isa = PBXProject; 249 | attributes = { 250 | LastUpgradeCheck = 0830; 251 | ORGANIZATIONNAME = HaRi; 252 | TargetAttributes = { 253 | 479D7C851EA4BBD700523454 = { 254 | CreatedOnToolsVersion = 8.3.1; 255 | DevelopmentTeam = WTB2BKP7UZ; 256 | ProvisioningStyle = Automatic; 257 | }; 258 | 479D7C9E1EA4BBD700523454 = { 259 | CreatedOnToolsVersion = 8.3.1; 260 | DevelopmentTeam = WTB2BKP7UZ; 261 | ProvisioningStyle = Automatic; 262 | TestTargetID = 479D7C851EA4BBD700523454; 263 | }; 264 | 479D7CA91EA4BBD700523454 = { 265 | CreatedOnToolsVersion = 8.3.1; 266 | DevelopmentTeam = WTB2BKP7UZ; 267 | ProvisioningStyle = Automatic; 268 | TestTargetID = 479D7C851EA4BBD700523454; 269 | }; 270 | }; 271 | }; 272 | buildConfigurationList = 479D7C811EA4BBD700523454 /* Build configuration list for PBXProject "JQMenuPopView" */; 273 | compatibilityVersion = "Xcode 3.2"; 274 | developmentRegion = English; 275 | hasScannedForEncodings = 0; 276 | knownRegions = ( 277 | en, 278 | Base, 279 | ); 280 | mainGroup = 479D7C7D1EA4BBD700523454; 281 | productRefGroup = 479D7C871EA4BBD700523454 /* Products */; 282 | projectDirPath = ""; 283 | projectRoot = ""; 284 | targets = ( 285 | 479D7C851EA4BBD700523454 /* JQMenuPopView */, 286 | 479D7C9E1EA4BBD700523454 /* JQMenuPopViewTests */, 287 | 479D7CA91EA4BBD700523454 /* JQMenuPopViewUITests */, 288 | ); 289 | }; 290 | /* End PBXProject section */ 291 | 292 | /* Begin PBXResourcesBuildPhase section */ 293 | 479D7C841EA4BBD700523454 /* Resources */ = { 294 | isa = PBXResourcesBuildPhase; 295 | buildActionMask = 2147483647; 296 | files = ( 297 | 479D7CCD1EA4BBE700523454 /* button-quote.png in Resources */, 298 | 479D7C991EA4BBD700523454 /* LaunchScreen.storyboard in Resources */, 299 | 479D7CCA1EA4BBE700523454 /* button-chat@3x.png in Resources */, 300 | 479D7C961EA4BBD700523454 /* Assets.xcassets in Resources */, 301 | 479D7C941EA4BBD700523454 /* Main.storyboard in Resources */, 302 | 479D7CCB1EA4BBE700523454 /* button-link.png in Resources */, 303 | 479D7CC81EA4BBE700523454 /* button-chat.png in Resources */, 304 | 479D7CCC1EA4BBE700523454 /* button-photo.png in Resources */, 305 | 479D7CCE1EA4BBE700523454 /* button-text.png in Resources */, 306 | 479D7CC91EA4BBE700523454 /* button-chat@2x.png in Resources */, 307 | 479D7CCF1EA4BBE700523454 /* button-video.png in Resources */, 308 | ); 309 | runOnlyForDeploymentPostprocessing = 0; 310 | }; 311 | 479D7C9D1EA4BBD700523454 /* Resources */ = { 312 | isa = PBXResourcesBuildPhase; 313 | buildActionMask = 2147483647; 314 | files = ( 315 | ); 316 | runOnlyForDeploymentPostprocessing = 0; 317 | }; 318 | 479D7CA81EA4BBD700523454 /* Resources */ = { 319 | isa = PBXResourcesBuildPhase; 320 | buildActionMask = 2147483647; 321 | files = ( 322 | ); 323 | runOnlyForDeploymentPostprocessing = 0; 324 | }; 325 | /* End PBXResourcesBuildPhase section */ 326 | 327 | /* Begin PBXSourcesBuildPhase section */ 328 | 479D7C821EA4BBD700523454 /* Sources */ = { 329 | isa = PBXSourcesBuildPhase; 330 | buildActionMask = 2147483647; 331 | files = ( 332 | 479D7CD01EA4BBE700523454 /* JQMenuPopView.m in Sources */, 333 | 479D7C911EA4BBD700523454 /* ViewController.m in Sources */, 334 | 479D7C8E1EA4BBD700523454 /* AppDelegate.m in Sources */, 335 | 479D7C8B1EA4BBD700523454 /* main.m in Sources */, 336 | ); 337 | runOnlyForDeploymentPostprocessing = 0; 338 | }; 339 | 479D7C9B1EA4BBD700523454 /* Sources */ = { 340 | isa = PBXSourcesBuildPhase; 341 | buildActionMask = 2147483647; 342 | files = ( 343 | 479D7CA41EA4BBD700523454 /* JQMenuPopViewTests.m in Sources */, 344 | ); 345 | runOnlyForDeploymentPostprocessing = 0; 346 | }; 347 | 479D7CA61EA4BBD700523454 /* Sources */ = { 348 | isa = PBXSourcesBuildPhase; 349 | buildActionMask = 2147483647; 350 | files = ( 351 | 479D7CAF1EA4BBD700523454 /* JQMenuPopViewUITests.m in Sources */, 352 | ); 353 | runOnlyForDeploymentPostprocessing = 0; 354 | }; 355 | /* End PBXSourcesBuildPhase section */ 356 | 357 | /* Begin PBXTargetDependency section */ 358 | 479D7CA11EA4BBD700523454 /* PBXTargetDependency */ = { 359 | isa = PBXTargetDependency; 360 | target = 479D7C851EA4BBD700523454 /* JQMenuPopView */; 361 | targetProxy = 479D7CA01EA4BBD700523454 /* PBXContainerItemProxy */; 362 | }; 363 | 479D7CAC1EA4BBD700523454 /* PBXTargetDependency */ = { 364 | isa = PBXTargetDependency; 365 | target = 479D7C851EA4BBD700523454 /* JQMenuPopView */; 366 | targetProxy = 479D7CAB1EA4BBD700523454 /* PBXContainerItemProxy */; 367 | }; 368 | /* End PBXTargetDependency section */ 369 | 370 | /* Begin PBXVariantGroup section */ 371 | 479D7C921EA4BBD700523454 /* Main.storyboard */ = { 372 | isa = PBXVariantGroup; 373 | children = ( 374 | 479D7C931EA4BBD700523454 /* Base */, 375 | ); 376 | name = Main.storyboard; 377 | sourceTree = ""; 378 | }; 379 | 479D7C971EA4BBD700523454 /* LaunchScreen.storyboard */ = { 380 | isa = PBXVariantGroup; 381 | children = ( 382 | 479D7C981EA4BBD700523454 /* Base */, 383 | ); 384 | name = LaunchScreen.storyboard; 385 | sourceTree = ""; 386 | }; 387 | /* End PBXVariantGroup section */ 388 | 389 | /* Begin XCBuildConfiguration section */ 390 | 479D7CB11EA4BBD700523454 /* Debug */ = { 391 | isa = XCBuildConfiguration; 392 | buildSettings = { 393 | ALWAYS_SEARCH_USER_PATHS = NO; 394 | CLANG_ANALYZER_NONNULL = YES; 395 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 396 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 397 | CLANG_CXX_LIBRARY = "libc++"; 398 | CLANG_ENABLE_MODULES = YES; 399 | CLANG_ENABLE_OBJC_ARC = YES; 400 | CLANG_WARN_BOOL_CONVERSION = YES; 401 | CLANG_WARN_CONSTANT_CONVERSION = YES; 402 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 403 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 404 | CLANG_WARN_EMPTY_BODY = YES; 405 | CLANG_WARN_ENUM_CONVERSION = YES; 406 | CLANG_WARN_INFINITE_RECURSION = YES; 407 | CLANG_WARN_INT_CONVERSION = YES; 408 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 409 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 410 | CLANG_WARN_UNREACHABLE_CODE = YES; 411 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 412 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 413 | COPY_PHASE_STRIP = NO; 414 | DEBUG_INFORMATION_FORMAT = dwarf; 415 | ENABLE_STRICT_OBJC_MSGSEND = YES; 416 | ENABLE_TESTABILITY = YES; 417 | GCC_C_LANGUAGE_STANDARD = gnu99; 418 | GCC_DYNAMIC_NO_PIC = NO; 419 | GCC_NO_COMMON_BLOCKS = YES; 420 | GCC_OPTIMIZATION_LEVEL = 0; 421 | GCC_PREPROCESSOR_DEFINITIONS = ( 422 | "DEBUG=1", 423 | "$(inherited)", 424 | ); 425 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 426 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 427 | GCC_WARN_UNDECLARED_SELECTOR = YES; 428 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 429 | GCC_WARN_UNUSED_FUNCTION = YES; 430 | GCC_WARN_UNUSED_VARIABLE = YES; 431 | IPHONEOS_DEPLOYMENT_TARGET = 10.3; 432 | MTL_ENABLE_DEBUG_INFO = YES; 433 | ONLY_ACTIVE_ARCH = YES; 434 | SDKROOT = iphoneos; 435 | TARGETED_DEVICE_FAMILY = "1,2"; 436 | }; 437 | name = Debug; 438 | }; 439 | 479D7CB21EA4BBD700523454 /* Release */ = { 440 | isa = XCBuildConfiguration; 441 | buildSettings = { 442 | ALWAYS_SEARCH_USER_PATHS = NO; 443 | CLANG_ANALYZER_NONNULL = YES; 444 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 445 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 446 | CLANG_CXX_LIBRARY = "libc++"; 447 | CLANG_ENABLE_MODULES = YES; 448 | CLANG_ENABLE_OBJC_ARC = YES; 449 | CLANG_WARN_BOOL_CONVERSION = YES; 450 | CLANG_WARN_CONSTANT_CONVERSION = YES; 451 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 452 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 453 | CLANG_WARN_EMPTY_BODY = YES; 454 | CLANG_WARN_ENUM_CONVERSION = YES; 455 | CLANG_WARN_INFINITE_RECURSION = YES; 456 | CLANG_WARN_INT_CONVERSION = YES; 457 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 458 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 459 | CLANG_WARN_UNREACHABLE_CODE = YES; 460 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 461 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 462 | COPY_PHASE_STRIP = NO; 463 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 464 | ENABLE_NS_ASSERTIONS = NO; 465 | ENABLE_STRICT_OBJC_MSGSEND = YES; 466 | GCC_C_LANGUAGE_STANDARD = gnu99; 467 | GCC_NO_COMMON_BLOCKS = YES; 468 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 469 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 470 | GCC_WARN_UNDECLARED_SELECTOR = YES; 471 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 472 | GCC_WARN_UNUSED_FUNCTION = YES; 473 | GCC_WARN_UNUSED_VARIABLE = YES; 474 | IPHONEOS_DEPLOYMENT_TARGET = 10.3; 475 | MTL_ENABLE_DEBUG_INFO = NO; 476 | SDKROOT = iphoneos; 477 | TARGETED_DEVICE_FAMILY = "1,2"; 478 | VALIDATE_PRODUCT = YES; 479 | }; 480 | name = Release; 481 | }; 482 | 479D7CB41EA4BBD700523454 /* Debug */ = { 483 | isa = XCBuildConfiguration; 484 | buildSettings = { 485 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 486 | DEVELOPMENT_TEAM = WTB2BKP7UZ; 487 | INFOPLIST_FILE = JQMenuPopView/Info.plist; 488 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 489 | PRODUCT_BUNDLE_IDENTIFIER = HanJunqiang.JQMenuPopView; 490 | PRODUCT_NAME = "$(TARGET_NAME)"; 491 | }; 492 | name = Debug; 493 | }; 494 | 479D7CB51EA4BBD700523454 /* Release */ = { 495 | isa = XCBuildConfiguration; 496 | buildSettings = { 497 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 498 | DEVELOPMENT_TEAM = WTB2BKP7UZ; 499 | INFOPLIST_FILE = JQMenuPopView/Info.plist; 500 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 501 | PRODUCT_BUNDLE_IDENTIFIER = HanJunqiang.JQMenuPopView; 502 | PRODUCT_NAME = "$(TARGET_NAME)"; 503 | }; 504 | name = Release; 505 | }; 506 | 479D7CB71EA4BBD700523454 /* Debug */ = { 507 | isa = XCBuildConfiguration; 508 | buildSettings = { 509 | BUNDLE_LOADER = "$(TEST_HOST)"; 510 | DEVELOPMENT_TEAM = WTB2BKP7UZ; 511 | INFOPLIST_FILE = JQMenuPopViewTests/Info.plist; 512 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 513 | PRODUCT_BUNDLE_IDENTIFIER = HanJunqiang.JQMenuPopViewTests; 514 | PRODUCT_NAME = "$(TARGET_NAME)"; 515 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/JQMenuPopView.app/JQMenuPopView"; 516 | }; 517 | name = Debug; 518 | }; 519 | 479D7CB81EA4BBD700523454 /* Release */ = { 520 | isa = XCBuildConfiguration; 521 | buildSettings = { 522 | BUNDLE_LOADER = "$(TEST_HOST)"; 523 | DEVELOPMENT_TEAM = WTB2BKP7UZ; 524 | INFOPLIST_FILE = JQMenuPopViewTests/Info.plist; 525 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 526 | PRODUCT_BUNDLE_IDENTIFIER = HanJunqiang.JQMenuPopViewTests; 527 | PRODUCT_NAME = "$(TARGET_NAME)"; 528 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/JQMenuPopView.app/JQMenuPopView"; 529 | }; 530 | name = Release; 531 | }; 532 | 479D7CBA1EA4BBD700523454 /* Debug */ = { 533 | isa = XCBuildConfiguration; 534 | buildSettings = { 535 | DEVELOPMENT_TEAM = WTB2BKP7UZ; 536 | INFOPLIST_FILE = JQMenuPopViewUITests/Info.plist; 537 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 538 | PRODUCT_BUNDLE_IDENTIFIER = HanJunqiang.JQMenuPopViewUITests; 539 | PRODUCT_NAME = "$(TARGET_NAME)"; 540 | TEST_TARGET_NAME = JQMenuPopView; 541 | }; 542 | name = Debug; 543 | }; 544 | 479D7CBB1EA4BBD700523454 /* Release */ = { 545 | isa = XCBuildConfiguration; 546 | buildSettings = { 547 | DEVELOPMENT_TEAM = WTB2BKP7UZ; 548 | INFOPLIST_FILE = JQMenuPopViewUITests/Info.plist; 549 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 550 | PRODUCT_BUNDLE_IDENTIFIER = HanJunqiang.JQMenuPopViewUITests; 551 | PRODUCT_NAME = "$(TARGET_NAME)"; 552 | TEST_TARGET_NAME = JQMenuPopView; 553 | }; 554 | name = Release; 555 | }; 556 | /* End XCBuildConfiguration section */ 557 | 558 | /* Begin XCConfigurationList section */ 559 | 479D7C811EA4BBD700523454 /* Build configuration list for PBXProject "JQMenuPopView" */ = { 560 | isa = XCConfigurationList; 561 | buildConfigurations = ( 562 | 479D7CB11EA4BBD700523454 /* Debug */, 563 | 479D7CB21EA4BBD700523454 /* Release */, 564 | ); 565 | defaultConfigurationIsVisible = 0; 566 | defaultConfigurationName = Release; 567 | }; 568 | 479D7CB31EA4BBD700523454 /* Build configuration list for PBXNativeTarget "JQMenuPopView" */ = { 569 | isa = XCConfigurationList; 570 | buildConfigurations = ( 571 | 479D7CB41EA4BBD700523454 /* Debug */, 572 | 479D7CB51EA4BBD700523454 /* Release */, 573 | ); 574 | defaultConfigurationIsVisible = 0; 575 | }; 576 | 479D7CB61EA4BBD700523454 /* Build configuration list for PBXNativeTarget "JQMenuPopViewTests" */ = { 577 | isa = XCConfigurationList; 578 | buildConfigurations = ( 579 | 479D7CB71EA4BBD700523454 /* Debug */, 580 | 479D7CB81EA4BBD700523454 /* Release */, 581 | ); 582 | defaultConfigurationIsVisible = 0; 583 | }; 584 | 479D7CB91EA4BBD700523454 /* Build configuration list for PBXNativeTarget "JQMenuPopViewUITests" */ = { 585 | isa = XCConfigurationList; 586 | buildConfigurations = ( 587 | 479D7CBA1EA4BBD700523454 /* Debug */, 588 | 479D7CBB1EA4BBD700523454 /* Release */, 589 | ); 590 | defaultConfigurationIsVisible = 0; 591 | }; 592 | /* End XCConfigurationList section */ 593 | }; 594 | rootObject = 479D7C7E1EA4BBD700523454 /* Project object */; 595 | } 596 | --------------------------------------------------------------------------------