├── HTMLImagePreviewObjC ├── HTMLImagePreviewObjC.xcodeproj │ ├── xcuserdata │ │ └── huangyibiao.xcuserdatad │ │ │ ├── xcdebugger │ │ │ └── Breakpoints_v2.xcbkptlist │ │ │ └── xcschemes │ │ │ ├── xcschememanagement.plist │ │ │ └── HTMLImagePreviewObjC.xcscheme │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcuserdata │ │ │ └── huangyibiao.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ └── project.pbxproj ├── HTMLImagePreviewObjC │ ├── ViewController.h │ ├── AppDelegate.h │ ├── main.m │ ├── Assets.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ ├── Base.lproj │ │ ├── Main.storyboard │ │ └── LaunchScreen.storyboard │ ├── AppDelegate.m │ └── ViewController.m ├── HTMLImagePreviewObjCTests │ ├── Info.plist │ └── HTMLImagePreviewObjCTests.m └── HTMLImagePreviewObjCUITests │ ├── Info.plist │ └── HTMLImagePreviewObjCUITests.m ├── HTMLImagePreviewSwift ├── HTMLImagePreviewSwift.xcodeproj │ ├── xcuserdata │ │ └── huangyibiao.xcuserdatad │ │ │ ├── xcdebugger │ │ │ └── Breakpoints_v2.xcbkptlist │ │ │ └── xcschemes │ │ │ ├── xcschememanagement.plist │ │ │ └── HTMLImagePreviewSwift.xcscheme │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcuserdata │ │ │ └── huangyibiao.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ └── project.pbxproj ├── HTMLImagePreviewSwift │ ├── Assets.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ ├── Base.lproj │ │ ├── Main.storyboard │ │ └── LaunchScreen.storyboard │ ├── ViewController.swift │ └── AppDelegate.swift ├── HTMLImagePreviewSwiftTests │ ├── Info.plist │ └── HTMLImagePreviewSwiftTests.swift └── HTMLImagePreviewSwiftUITests │ ├── Info.plist │ └── HTMLImagePreviewSwiftUITests.swift ├── README.md └── LICENSE /HTMLImagePreviewObjC/HTMLImagePreviewObjC.xcodeproj/xcuserdata/huangyibiao.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /HTMLImagePreviewSwift/HTMLImagePreviewSwift.xcodeproj/xcuserdata/huangyibiao.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /HTMLImagePreviewObjC/HTMLImagePreviewObjC.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /HTMLImagePreviewSwift/HTMLImagePreviewSwift.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # HTMLImagePreviewDemo 2 | HTML中点击图片预览 3 | 4 | #文章讲解 5 | 6 | [Swift版]H5点击图片预览:[http://www.henishuo.com/html-img-preview/](http://www.henishuo.com/html-img-preview/) 7 | 8 | [ObjC版]H5点击图片预览:[http://www.henishuo.com/objc-html-img-preview/](http://www.henishuo.com/objc-html-img-preview/) 9 | 10 | -------------------------------------------------------------------------------- /HTMLImagePreviewObjC/HTMLImagePreviewObjC.xcodeproj/project.xcworkspace/xcuserdata/huangyibiao.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderJackyHuang/HTMLImagePreviewDemo/HEAD/HTMLImagePreviewObjC/HTMLImagePreviewObjC.xcodeproj/project.xcworkspace/xcuserdata/huangyibiao.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /HTMLImagePreviewSwift/HTMLImagePreviewSwift.xcodeproj/project.xcworkspace/xcuserdata/huangyibiao.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderJackyHuang/HTMLImagePreviewDemo/HEAD/HTMLImagePreviewSwift/HTMLImagePreviewSwift.xcodeproj/project.xcworkspace/xcuserdata/huangyibiao.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /HTMLImagePreviewObjC/HTMLImagePreviewObjC/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // HTMLImagePreviewObjC 4 | // 5 | // Created by huangyibiao on 16/2/1. 6 | // Copyright © 2016年 huangyibiao. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ViewController : UIViewController 12 | 13 | 14 | @end 15 | 16 | -------------------------------------------------------------------------------- /HTMLImagePreviewObjC/HTMLImagePreviewObjC/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // HTMLImagePreviewObjC 4 | // 5 | // Created by huangyibiao on 16/2/1. 6 | // Copyright © 2016年 huangyibiao. 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 | -------------------------------------------------------------------------------- /HTMLImagePreviewObjC/HTMLImagePreviewObjC/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // HTMLImagePreviewObjC 4 | // 5 | // Created by huangyibiao on 16/2/1. 6 | // Copyright © 2016年 huangyibiao. 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 | -------------------------------------------------------------------------------- /HTMLImagePreviewObjC/HTMLImagePreviewObjC/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 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /HTMLImagePreviewSwift/HTMLImagePreviewSwift/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 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /HTMLImagePreviewObjC/HTMLImagePreviewObjCTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /HTMLImagePreviewObjC/HTMLImagePreviewObjCUITests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /HTMLImagePreviewSwift/HTMLImagePreviewSwiftTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /HTMLImagePreviewSwift/HTMLImagePreviewSwiftUITests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /HTMLImagePreviewObjC/HTMLImagePreviewObjC.xcodeproj/xcuserdata/huangyibiao.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | HTMLImagePreviewObjC.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 6943AE411C5EFDE200C6EFD5 16 | 17 | primary 18 | 19 | 20 | 6943AE5A1C5EFDE300C6EFD5 21 | 22 | primary 23 | 24 | 25 | 6943AE651C5EFDE300C6EFD5 26 | 27 | primary 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /HTMLImagePreviewSwift/HTMLImagePreviewSwift.xcodeproj/xcuserdata/huangyibiao.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | HTMLImagePreviewSwift.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 6943AE071C5EF6E100C6EFD5 16 | 17 | primary 18 | 19 | 20 | 6943AE1B1C5EF6E100C6EFD5 21 | 22 | primary 23 | 24 | 25 | 6943AE261C5EF6E100C6EFD5 26 | 27 | primary 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 JackyHuang 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 | -------------------------------------------------------------------------------- /HTMLImagePreviewObjC/HTMLImagePreviewObjCTests/HTMLImagePreviewObjCTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // HTMLImagePreviewObjCTests.m 3 | // HTMLImagePreviewObjCTests 4 | // 5 | // Created by huangyibiao on 16/2/1. 6 | // Copyright © 2016年 huangyibiao. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface HTMLImagePreviewObjCTests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation HTMLImagePreviewObjCTests 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 | -------------------------------------------------------------------------------- /HTMLImagePreviewSwift/HTMLImagePreviewSwiftTests/HTMLImagePreviewSwiftTests.swift: -------------------------------------------------------------------------------- 1 | // 2 | // HTMLImagePreviewSwiftTests.swift 3 | // HTMLImagePreviewSwiftTests 4 | // 5 | // Created by huangyibiao on 16/2/1. 6 | // Copyright © 2016年 huangyibiao. All rights reserved. 7 | // 8 | 9 | import XCTest 10 | @testable import HTMLImagePreviewSwift 11 | 12 | class HTMLImagePreviewSwiftTests: XCTestCase { 13 | 14 | override func setUp() { 15 | super.setUp() 16 | // Put setup code here. This method is called before the invocation of each test method in the class. 17 | } 18 | 19 | override func tearDown() { 20 | // Put teardown code here. This method is called after the invocation of each test method in the class. 21 | super.tearDown() 22 | } 23 | 24 | func testExample() { 25 | // This is an example of a functional test case. 26 | // Use XCTAssert and related functions to verify your tests produce the correct results. 27 | } 28 | 29 | func testPerformanceExample() { 30 | // This is an example of a performance test case. 31 | self.measureBlock { 32 | // Put the code you want to measure the time of here. 33 | } 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /HTMLImagePreviewObjC/HTMLImagePreviewObjCUITests/HTMLImagePreviewObjCUITests.m: -------------------------------------------------------------------------------- 1 | // 2 | // HTMLImagePreviewObjCUITests.m 3 | // HTMLImagePreviewObjCUITests 4 | // 5 | // Created by huangyibiao on 16/2/1. 6 | // Copyright © 2016年 huangyibiao. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface HTMLImagePreviewObjCUITests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation HTMLImagePreviewObjCUITests 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 | -------------------------------------------------------------------------------- /HTMLImagePreviewSwift/HTMLImagePreviewSwiftUITests/HTMLImagePreviewSwiftUITests.swift: -------------------------------------------------------------------------------- 1 | // 2 | // HTMLImagePreviewSwiftUITests.swift 3 | // HTMLImagePreviewSwiftUITests 4 | // 5 | // Created by huangyibiao on 16/2/1. 6 | // Copyright © 2016年 huangyibiao. All rights reserved. 7 | // 8 | 9 | import XCTest 10 | 11 | class HTMLImagePreviewSwiftUITests: XCTestCase { 12 | 13 | override func setUp() { 14 | super.setUp() 15 | 16 | // Put setup code here. This method is called before the invocation of each test method in the class. 17 | 18 | // In UI tests it is usually best to stop immediately when a failure occurs. 19 | continueAfterFailure = false 20 | // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method. 21 | XCUIApplication().launch() 22 | 23 | // 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. 24 | } 25 | 26 | override func tearDown() { 27 | // Put teardown code here. This method is called after the invocation of each test method in the class. 28 | super.tearDown() 29 | } 30 | 31 | func testExample() { 32 | // Use recording to get started writing UI tests. 33 | // Use XCTAssert and related functions to verify your tests produce the correct results. 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /HTMLImagePreviewObjC/HTMLImagePreviewObjC/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | NSAppTransportSecurity 26 | 27 | NSAllowsArbitraryLoads 28 | 29 | 30 | UILaunchStoryboardName 31 | LaunchScreen 32 | UIMainStoryboardFile 33 | Main 34 | UIRequiredDeviceCapabilities 35 | 36 | armv7 37 | 38 | UISupportedInterfaceOrientations 39 | 40 | UIInterfaceOrientationPortrait 41 | UIInterfaceOrientationLandscapeLeft 42 | UIInterfaceOrientationLandscapeRight 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /HTMLImagePreviewSwift/HTMLImagePreviewSwift/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | NSAppTransportSecurity 26 | 27 | NSAllowsArbitraryLoads 28 | 29 | 30 | UILaunchStoryboardName 31 | LaunchScreen 32 | UIMainStoryboardFile 33 | Main 34 | UIRequiredDeviceCapabilities 35 | 36 | armv7 37 | 38 | UISupportedInterfaceOrientations 39 | 40 | UIInterfaceOrientationPortrait 41 | UIInterfaceOrientationLandscapeLeft 42 | UIInterfaceOrientationLandscapeRight 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /HTMLImagePreviewObjC/HTMLImagePreviewObjC/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /HTMLImagePreviewSwift/HTMLImagePreviewSwift/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /HTMLImagePreviewObjC/HTMLImagePreviewObjC/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 | -------------------------------------------------------------------------------- /HTMLImagePreviewSwift/HTMLImagePreviewSwift/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 | -------------------------------------------------------------------------------- /HTMLImagePreviewObjC/HTMLImagePreviewObjC/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.m 3 | // HTMLImagePreviewObjC 4 | // 5 | // Created by huangyibiao on 16/2/1. 6 | // Copyright © 2016年 huangyibiao. 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 | - (void)applicationWillResignActive:(UIApplication *)application { 24 | // 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. 25 | // 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. 26 | } 27 | 28 | - (void)applicationDidEnterBackground:(UIApplication *)application { 29 | // 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. 30 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 31 | } 32 | 33 | - (void)applicationWillEnterForeground:(UIApplication *)application { 34 | // 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. 35 | } 36 | 37 | - (void)applicationDidBecomeActive:(UIApplication *)application { 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 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 43 | } 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /HTMLImagePreviewObjC/HTMLImagePreviewObjC/ViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // HTMLImagePreviewObjC 4 | // 5 | // Created by huangyibiao on 16/2/1. 6 | // Copyright © 2016年 huangyibiao. All rights reserved. 7 | // 8 | 9 | #import "ViewController.h" 10 | 11 | @interface ViewController () 12 | 13 | 14 | @end 15 | 16 | @implementation ViewController 17 | 18 | - (void)viewDidLoad { 19 | [super viewDidLoad]; 20 | 21 | UIWebView *webview = [[UIWebView alloc] initWithFrame:self.view.bounds]; 22 | [self.view addSubview:webview]; 23 | webview.delegate = self; 24 | 25 | [webview loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.cocoachina.com/programmer/20160113/14976.html"]]]; 26 | } 27 | 28 | - (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType { 29 | if ([request.URL.scheme hasPrefix:@"hyb-image-preview"]) { 30 | // 获取原始图片的完整URL 31 | NSString *src = [request.URL.absoluteString stringByReplacingOccurrencesOfString:@"hyb-image-preview:" withString:@""]; 32 | if (src.length > 0) { 33 | // 原生API展开图片 34 | // 这里已经拿到所点击的图片的URL了,剩下的部分,自己处理了 35 | // 有时候会感觉点击无响应,这是因为webViewDidFinishLoad,还没有调用。 36 | // 调用很晚的原因,通常是因为H5页面中有比较多的内容在加载 37 | // 因此,若是原生APP与H5要交互,H5要尽可能地提高加载速度 38 | // 不相信?在webViewDidFinishLoad加个断点就知道了 39 | NSLog(@"所点击的HTML中的img标签的图片的URL为:%@", src); 40 | } 41 | } 42 | return YES; 43 | } 44 | 45 | - (void)webViewDidFinishLoad:(UIWebView *)webView { 46 | NSString *js = @"function addImgClickEvent() { \ 47 | var imgs = document.getElementsByTagName('img'); \ 48 | for (var i = 0; i < imgs.length; ++i) { \ 49 | var img = imgs[i]; \ 50 | img.onclick = function () { \ 51 | window.location.href = 'hyb-image-preview:' + this.src; \ 52 | }; \ 53 | } \ 54 | }"; 55 | // 注入JS代码 56 | [webView stringByEvaluatingJavaScriptFromString:js]; 57 | // 执行所注入的JS代码 58 | [webView stringByEvaluatingJavaScriptFromString:@"addImgClickEvent();"]; 59 | } 60 | 61 | @end 62 | -------------------------------------------------------------------------------- /HTMLImagePreviewSwift/HTMLImagePreviewSwift/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // HTMLImagePreviewSwift 4 | // 5 | // Created by huangyibiao on 16/2/1. 6 | // Copyright © 2016年 huangyibiao. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class ViewController: UIViewController, UIWebViewDelegate { 12 | var webView = UIWebView() 13 | 14 | override func viewDidLoad() { 15 | super.viewDidLoad() 16 | 17 | self.view.addSubview(self.webView) 18 | self.webView.delegate = self 19 | self.webView.frame = self.view.bounds 20 | self.webView.loadRequest(NSURLRequest(URL: NSURL(string: "http://www.cocoachina.com/programmer/20160113/14976.html")!)) 21 | } 22 | 23 | 24 | // MARK: UIWebViewDelegate 25 | func webView(webView: UIWebView, shouldStartLoadWithRequest request: NSURLRequest, navigationType: UIWebViewNavigationType) -> Bool { 26 | let scheme = "hyb-image-preview:" 27 | // 由于我们注入了JS,在点击HTML中的图片时,就会跳转,然后在此处就可以拦截到 28 | if ((request.URL?.scheme.hasPrefix(scheme)) != nil) { 29 | // 获取原始图片的URL 30 | let src = request.URL?.absoluteString.stringByReplacingOccurrencesOfString(scheme, withString: "") 31 | if let imageUrl = src { 32 | // 原生API展开图片 33 | // 这里已经拿到所点击的图片的URL了,剩下的部分,自己处理了 34 | // 有时候会感觉点击无响应,这是因为webViewDidFinishLoad,还没有调用。 35 | // 调用很晚的原因,通常是因为H5页面中有比较多的内容在加载 36 | // 因此,若是原生APP与H5要交互,H5要尽可能地提高加载速度 37 | // 不相信?在webViewDidFinishLoad加个断点就知道了 38 | print(imageUrl) 39 | } 40 | } 41 | 42 | return true 43 | } 44 | 45 | func webViewDidFinishLoad(webView: UIWebView) { 46 | // 在H5页面加载完成时,注入图片点击的JS代码 47 | let js = "function addImgClickEvent() { " + 48 | "var imgs = document.getElementsByTagName('img');" + 49 | // 遍历所有的img标签,统一加上点击事件 50 | "for (var i = 0; i < imgs.length; ++i) {" + 51 | "var img = imgs[i];" + 52 | "img.onclick = function () {" + 53 | // 给图片添加URL scheme,以便在拦截时可能识别跳转 54 | "window.location.href = 'hyb-image-preview:' + this.src;" + 55 | "}" + 56 | "}" + 57 | "}" 58 | // 注入JS代码 59 | self.webView.stringByEvaluatingJavaScriptFromString(js) 60 | 61 | // 执行所注入的JS 62 | self.webView.stringByEvaluatingJavaScriptFromString("addImgClickEvent();") 63 | } 64 | } 65 | 66 | -------------------------------------------------------------------------------- /HTMLImagePreviewSwift/HTMLImagePreviewSwift/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // HTMLImagePreviewSwift 4 | // 5 | // Created by huangyibiao on 16/2/1. 6 | // Copyright © 2016年 huangyibiao. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(application: UIApplication) { 23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 24 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 25 | } 26 | 27 | func applicationDidEnterBackground(application: UIApplication) { 28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 30 | } 31 | 32 | func applicationWillEnterForeground(application: UIApplication) { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | func applicationDidBecomeActive(application: UIApplication) { 37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 38 | } 39 | 40 | func applicationWillTerminate(application: UIApplication) { 41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 42 | } 43 | 44 | 45 | } 46 | 47 | -------------------------------------------------------------------------------- /HTMLImagePreviewObjC/HTMLImagePreviewObjC.xcodeproj/xcuserdata/huangyibiao.xcuserdatad/xcschemes/HTMLImagePreviewObjC.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 43 | 49 | 50 | 51 | 52 | 53 | 59 | 60 | 61 | 62 | 63 | 64 | 74 | 76 | 82 | 83 | 84 | 85 | 86 | 87 | 93 | 95 | 101 | 102 | 103 | 104 | 106 | 107 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /HTMLImagePreviewSwift/HTMLImagePreviewSwift.xcodeproj/xcuserdata/huangyibiao.xcuserdatad/xcschemes/HTMLImagePreviewSwift.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 43 | 49 | 50 | 51 | 52 | 53 | 59 | 60 | 61 | 62 | 63 | 64 | 74 | 76 | 82 | 83 | 84 | 85 | 86 | 87 | 93 | 95 | 101 | 102 | 103 | 104 | 106 | 107 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /HTMLImagePreviewSwift/HTMLImagePreviewSwift.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 6943AE0C1C5EF6E100C6EFD5 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6943AE0B1C5EF6E100C6EFD5 /* AppDelegate.swift */; }; 11 | 6943AE0E1C5EF6E100C6EFD5 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6943AE0D1C5EF6E100C6EFD5 /* ViewController.swift */; }; 12 | 6943AE111C5EF6E100C6EFD5 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6943AE0F1C5EF6E100C6EFD5 /* Main.storyboard */; }; 13 | 6943AE131C5EF6E100C6EFD5 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6943AE121C5EF6E100C6EFD5 /* Assets.xcassets */; }; 14 | 6943AE161C5EF6E100C6EFD5 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6943AE141C5EF6E100C6EFD5 /* LaunchScreen.storyboard */; }; 15 | 6943AE211C5EF6E100C6EFD5 /* HTMLImagePreviewSwiftTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6943AE201C5EF6E100C6EFD5 /* HTMLImagePreviewSwiftTests.swift */; }; 16 | 6943AE2C1C5EF6E100C6EFD5 /* HTMLImagePreviewSwiftUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6943AE2B1C5EF6E100C6EFD5 /* HTMLImagePreviewSwiftUITests.swift */; }; 17 | /* End PBXBuildFile section */ 18 | 19 | /* Begin PBXContainerItemProxy section */ 20 | 6943AE1D1C5EF6E100C6EFD5 /* PBXContainerItemProxy */ = { 21 | isa = PBXContainerItemProxy; 22 | containerPortal = 6943AE001C5EF6E100C6EFD5 /* Project object */; 23 | proxyType = 1; 24 | remoteGlobalIDString = 6943AE071C5EF6E100C6EFD5; 25 | remoteInfo = HTMLImagePreviewSwift; 26 | }; 27 | 6943AE281C5EF6E100C6EFD5 /* PBXContainerItemProxy */ = { 28 | isa = PBXContainerItemProxy; 29 | containerPortal = 6943AE001C5EF6E100C6EFD5 /* Project object */; 30 | proxyType = 1; 31 | remoteGlobalIDString = 6943AE071C5EF6E100C6EFD5; 32 | remoteInfo = HTMLImagePreviewSwift; 33 | }; 34 | /* End PBXContainerItemProxy section */ 35 | 36 | /* Begin PBXFileReference section */ 37 | 6943AE081C5EF6E100C6EFD5 /* HTMLImagePreviewSwift.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HTMLImagePreviewSwift.app; sourceTree = BUILT_PRODUCTS_DIR; }; 38 | 6943AE0B1C5EF6E100C6EFD5 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 39 | 6943AE0D1C5EF6E100C6EFD5 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 40 | 6943AE101C5EF6E100C6EFD5 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 41 | 6943AE121C5EF6E100C6EFD5 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 42 | 6943AE151C5EF6E100C6EFD5 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 43 | 6943AE171C5EF6E100C6EFD5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 44 | 6943AE1C1C5EF6E100C6EFD5 /* HTMLImagePreviewSwiftTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = HTMLImagePreviewSwiftTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 45 | 6943AE201C5EF6E100C6EFD5 /* HTMLImagePreviewSwiftTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HTMLImagePreviewSwiftTests.swift; sourceTree = ""; }; 46 | 6943AE221C5EF6E100C6EFD5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 47 | 6943AE271C5EF6E100C6EFD5 /* HTMLImagePreviewSwiftUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = HTMLImagePreviewSwiftUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 48 | 6943AE2B1C5EF6E100C6EFD5 /* HTMLImagePreviewSwiftUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HTMLImagePreviewSwiftUITests.swift; sourceTree = ""; }; 49 | 6943AE2D1C5EF6E100C6EFD5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 50 | /* End PBXFileReference section */ 51 | 52 | /* Begin PBXFrameworksBuildPhase section */ 53 | 6943AE051C5EF6E100C6EFD5 /* Frameworks */ = { 54 | isa = PBXFrameworksBuildPhase; 55 | buildActionMask = 2147483647; 56 | files = ( 57 | ); 58 | runOnlyForDeploymentPostprocessing = 0; 59 | }; 60 | 6943AE191C5EF6E100C6EFD5 /* Frameworks */ = { 61 | isa = PBXFrameworksBuildPhase; 62 | buildActionMask = 2147483647; 63 | files = ( 64 | ); 65 | runOnlyForDeploymentPostprocessing = 0; 66 | }; 67 | 6943AE241C5EF6E100C6EFD5 /* Frameworks */ = { 68 | isa = PBXFrameworksBuildPhase; 69 | buildActionMask = 2147483647; 70 | files = ( 71 | ); 72 | runOnlyForDeploymentPostprocessing = 0; 73 | }; 74 | /* End PBXFrameworksBuildPhase section */ 75 | 76 | /* Begin PBXGroup section */ 77 | 6943ADFF1C5EF6E100C6EFD5 = { 78 | isa = PBXGroup; 79 | children = ( 80 | 6943AE0A1C5EF6E100C6EFD5 /* HTMLImagePreviewSwift */, 81 | 6943AE1F1C5EF6E100C6EFD5 /* HTMLImagePreviewSwiftTests */, 82 | 6943AE2A1C5EF6E100C6EFD5 /* HTMLImagePreviewSwiftUITests */, 83 | 6943AE091C5EF6E100C6EFD5 /* Products */, 84 | ); 85 | sourceTree = ""; 86 | }; 87 | 6943AE091C5EF6E100C6EFD5 /* Products */ = { 88 | isa = PBXGroup; 89 | children = ( 90 | 6943AE081C5EF6E100C6EFD5 /* HTMLImagePreviewSwift.app */, 91 | 6943AE1C1C5EF6E100C6EFD5 /* HTMLImagePreviewSwiftTests.xctest */, 92 | 6943AE271C5EF6E100C6EFD5 /* HTMLImagePreviewSwiftUITests.xctest */, 93 | ); 94 | name = Products; 95 | sourceTree = ""; 96 | }; 97 | 6943AE0A1C5EF6E100C6EFD5 /* HTMLImagePreviewSwift */ = { 98 | isa = PBXGroup; 99 | children = ( 100 | 6943AE0B1C5EF6E100C6EFD5 /* AppDelegate.swift */, 101 | 6943AE0D1C5EF6E100C6EFD5 /* ViewController.swift */, 102 | 6943AE0F1C5EF6E100C6EFD5 /* Main.storyboard */, 103 | 6943AE121C5EF6E100C6EFD5 /* Assets.xcassets */, 104 | 6943AE141C5EF6E100C6EFD5 /* LaunchScreen.storyboard */, 105 | 6943AE171C5EF6E100C6EFD5 /* Info.plist */, 106 | ); 107 | path = HTMLImagePreviewSwift; 108 | sourceTree = ""; 109 | }; 110 | 6943AE1F1C5EF6E100C6EFD5 /* HTMLImagePreviewSwiftTests */ = { 111 | isa = PBXGroup; 112 | children = ( 113 | 6943AE201C5EF6E100C6EFD5 /* HTMLImagePreviewSwiftTests.swift */, 114 | 6943AE221C5EF6E100C6EFD5 /* Info.plist */, 115 | ); 116 | path = HTMLImagePreviewSwiftTests; 117 | sourceTree = ""; 118 | }; 119 | 6943AE2A1C5EF6E100C6EFD5 /* HTMLImagePreviewSwiftUITests */ = { 120 | isa = PBXGroup; 121 | children = ( 122 | 6943AE2B1C5EF6E100C6EFD5 /* HTMLImagePreviewSwiftUITests.swift */, 123 | 6943AE2D1C5EF6E100C6EFD5 /* Info.plist */, 124 | ); 125 | path = HTMLImagePreviewSwiftUITests; 126 | sourceTree = ""; 127 | }; 128 | /* End PBXGroup section */ 129 | 130 | /* Begin PBXNativeTarget section */ 131 | 6943AE071C5EF6E100C6EFD5 /* HTMLImagePreviewSwift */ = { 132 | isa = PBXNativeTarget; 133 | buildConfigurationList = 6943AE301C5EF6E100C6EFD5 /* Build configuration list for PBXNativeTarget "HTMLImagePreviewSwift" */; 134 | buildPhases = ( 135 | 6943AE041C5EF6E100C6EFD5 /* Sources */, 136 | 6943AE051C5EF6E100C6EFD5 /* Frameworks */, 137 | 6943AE061C5EF6E100C6EFD5 /* Resources */, 138 | ); 139 | buildRules = ( 140 | ); 141 | dependencies = ( 142 | ); 143 | name = HTMLImagePreviewSwift; 144 | productName = HTMLImagePreviewSwift; 145 | productReference = 6943AE081C5EF6E100C6EFD5 /* HTMLImagePreviewSwift.app */; 146 | productType = "com.apple.product-type.application"; 147 | }; 148 | 6943AE1B1C5EF6E100C6EFD5 /* HTMLImagePreviewSwiftTests */ = { 149 | isa = PBXNativeTarget; 150 | buildConfigurationList = 6943AE331C5EF6E100C6EFD5 /* Build configuration list for PBXNativeTarget "HTMLImagePreviewSwiftTests" */; 151 | buildPhases = ( 152 | 6943AE181C5EF6E100C6EFD5 /* Sources */, 153 | 6943AE191C5EF6E100C6EFD5 /* Frameworks */, 154 | 6943AE1A1C5EF6E100C6EFD5 /* Resources */, 155 | ); 156 | buildRules = ( 157 | ); 158 | dependencies = ( 159 | 6943AE1E1C5EF6E100C6EFD5 /* PBXTargetDependency */, 160 | ); 161 | name = HTMLImagePreviewSwiftTests; 162 | productName = HTMLImagePreviewSwiftTests; 163 | productReference = 6943AE1C1C5EF6E100C6EFD5 /* HTMLImagePreviewSwiftTests.xctest */; 164 | productType = "com.apple.product-type.bundle.unit-test"; 165 | }; 166 | 6943AE261C5EF6E100C6EFD5 /* HTMLImagePreviewSwiftUITests */ = { 167 | isa = PBXNativeTarget; 168 | buildConfigurationList = 6943AE361C5EF6E100C6EFD5 /* Build configuration list for PBXNativeTarget "HTMLImagePreviewSwiftUITests" */; 169 | buildPhases = ( 170 | 6943AE231C5EF6E100C6EFD5 /* Sources */, 171 | 6943AE241C5EF6E100C6EFD5 /* Frameworks */, 172 | 6943AE251C5EF6E100C6EFD5 /* Resources */, 173 | ); 174 | buildRules = ( 175 | ); 176 | dependencies = ( 177 | 6943AE291C5EF6E100C6EFD5 /* PBXTargetDependency */, 178 | ); 179 | name = HTMLImagePreviewSwiftUITests; 180 | productName = HTMLImagePreviewSwiftUITests; 181 | productReference = 6943AE271C5EF6E100C6EFD5 /* HTMLImagePreviewSwiftUITests.xctest */; 182 | productType = "com.apple.product-type.bundle.ui-testing"; 183 | }; 184 | /* End PBXNativeTarget section */ 185 | 186 | /* Begin PBXProject section */ 187 | 6943AE001C5EF6E100C6EFD5 /* Project object */ = { 188 | isa = PBXProject; 189 | attributes = { 190 | LastSwiftUpdateCheck = 0720; 191 | LastUpgradeCheck = 0720; 192 | ORGANIZATIONNAME = huangyibiao; 193 | TargetAttributes = { 194 | 6943AE071C5EF6E100C6EFD5 = { 195 | CreatedOnToolsVersion = 7.2; 196 | }; 197 | 6943AE1B1C5EF6E100C6EFD5 = { 198 | CreatedOnToolsVersion = 7.2; 199 | TestTargetID = 6943AE071C5EF6E100C6EFD5; 200 | }; 201 | 6943AE261C5EF6E100C6EFD5 = { 202 | CreatedOnToolsVersion = 7.2; 203 | TestTargetID = 6943AE071C5EF6E100C6EFD5; 204 | }; 205 | }; 206 | }; 207 | buildConfigurationList = 6943AE031C5EF6E100C6EFD5 /* Build configuration list for PBXProject "HTMLImagePreviewSwift" */; 208 | compatibilityVersion = "Xcode 3.2"; 209 | developmentRegion = English; 210 | hasScannedForEncodings = 0; 211 | knownRegions = ( 212 | en, 213 | Base, 214 | ); 215 | mainGroup = 6943ADFF1C5EF6E100C6EFD5; 216 | productRefGroup = 6943AE091C5EF6E100C6EFD5 /* Products */; 217 | projectDirPath = ""; 218 | projectRoot = ""; 219 | targets = ( 220 | 6943AE071C5EF6E100C6EFD5 /* HTMLImagePreviewSwift */, 221 | 6943AE1B1C5EF6E100C6EFD5 /* HTMLImagePreviewSwiftTests */, 222 | 6943AE261C5EF6E100C6EFD5 /* HTMLImagePreviewSwiftUITests */, 223 | ); 224 | }; 225 | /* End PBXProject section */ 226 | 227 | /* Begin PBXResourcesBuildPhase section */ 228 | 6943AE061C5EF6E100C6EFD5 /* Resources */ = { 229 | isa = PBXResourcesBuildPhase; 230 | buildActionMask = 2147483647; 231 | files = ( 232 | 6943AE161C5EF6E100C6EFD5 /* LaunchScreen.storyboard in Resources */, 233 | 6943AE131C5EF6E100C6EFD5 /* Assets.xcassets in Resources */, 234 | 6943AE111C5EF6E100C6EFD5 /* Main.storyboard in Resources */, 235 | ); 236 | runOnlyForDeploymentPostprocessing = 0; 237 | }; 238 | 6943AE1A1C5EF6E100C6EFD5 /* Resources */ = { 239 | isa = PBXResourcesBuildPhase; 240 | buildActionMask = 2147483647; 241 | files = ( 242 | ); 243 | runOnlyForDeploymentPostprocessing = 0; 244 | }; 245 | 6943AE251C5EF6E100C6EFD5 /* Resources */ = { 246 | isa = PBXResourcesBuildPhase; 247 | buildActionMask = 2147483647; 248 | files = ( 249 | ); 250 | runOnlyForDeploymentPostprocessing = 0; 251 | }; 252 | /* End PBXResourcesBuildPhase section */ 253 | 254 | /* Begin PBXSourcesBuildPhase section */ 255 | 6943AE041C5EF6E100C6EFD5 /* Sources */ = { 256 | isa = PBXSourcesBuildPhase; 257 | buildActionMask = 2147483647; 258 | files = ( 259 | 6943AE0E1C5EF6E100C6EFD5 /* ViewController.swift in Sources */, 260 | 6943AE0C1C5EF6E100C6EFD5 /* AppDelegate.swift in Sources */, 261 | ); 262 | runOnlyForDeploymentPostprocessing = 0; 263 | }; 264 | 6943AE181C5EF6E100C6EFD5 /* Sources */ = { 265 | isa = PBXSourcesBuildPhase; 266 | buildActionMask = 2147483647; 267 | files = ( 268 | 6943AE211C5EF6E100C6EFD5 /* HTMLImagePreviewSwiftTests.swift in Sources */, 269 | ); 270 | runOnlyForDeploymentPostprocessing = 0; 271 | }; 272 | 6943AE231C5EF6E100C6EFD5 /* Sources */ = { 273 | isa = PBXSourcesBuildPhase; 274 | buildActionMask = 2147483647; 275 | files = ( 276 | 6943AE2C1C5EF6E100C6EFD5 /* HTMLImagePreviewSwiftUITests.swift in Sources */, 277 | ); 278 | runOnlyForDeploymentPostprocessing = 0; 279 | }; 280 | /* End PBXSourcesBuildPhase section */ 281 | 282 | /* Begin PBXTargetDependency section */ 283 | 6943AE1E1C5EF6E100C6EFD5 /* PBXTargetDependency */ = { 284 | isa = PBXTargetDependency; 285 | target = 6943AE071C5EF6E100C6EFD5 /* HTMLImagePreviewSwift */; 286 | targetProxy = 6943AE1D1C5EF6E100C6EFD5 /* PBXContainerItemProxy */; 287 | }; 288 | 6943AE291C5EF6E100C6EFD5 /* PBXTargetDependency */ = { 289 | isa = PBXTargetDependency; 290 | target = 6943AE071C5EF6E100C6EFD5 /* HTMLImagePreviewSwift */; 291 | targetProxy = 6943AE281C5EF6E100C6EFD5 /* PBXContainerItemProxy */; 292 | }; 293 | /* End PBXTargetDependency section */ 294 | 295 | /* Begin PBXVariantGroup section */ 296 | 6943AE0F1C5EF6E100C6EFD5 /* Main.storyboard */ = { 297 | isa = PBXVariantGroup; 298 | children = ( 299 | 6943AE101C5EF6E100C6EFD5 /* Base */, 300 | ); 301 | name = Main.storyboard; 302 | sourceTree = ""; 303 | }; 304 | 6943AE141C5EF6E100C6EFD5 /* LaunchScreen.storyboard */ = { 305 | isa = PBXVariantGroup; 306 | children = ( 307 | 6943AE151C5EF6E100C6EFD5 /* Base */, 308 | ); 309 | name = LaunchScreen.storyboard; 310 | sourceTree = ""; 311 | }; 312 | /* End PBXVariantGroup section */ 313 | 314 | /* Begin XCBuildConfiguration section */ 315 | 6943AE2E1C5EF6E100C6EFD5 /* Debug */ = { 316 | isa = XCBuildConfiguration; 317 | buildSettings = { 318 | ALWAYS_SEARCH_USER_PATHS = NO; 319 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 320 | CLANG_CXX_LIBRARY = "libc++"; 321 | CLANG_ENABLE_MODULES = YES; 322 | CLANG_ENABLE_OBJC_ARC = YES; 323 | CLANG_WARN_BOOL_CONVERSION = YES; 324 | CLANG_WARN_CONSTANT_CONVERSION = YES; 325 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 326 | CLANG_WARN_EMPTY_BODY = YES; 327 | CLANG_WARN_ENUM_CONVERSION = YES; 328 | CLANG_WARN_INT_CONVERSION = YES; 329 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 330 | CLANG_WARN_UNREACHABLE_CODE = YES; 331 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 332 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 333 | COPY_PHASE_STRIP = NO; 334 | DEBUG_INFORMATION_FORMAT = dwarf; 335 | ENABLE_STRICT_OBJC_MSGSEND = YES; 336 | ENABLE_TESTABILITY = YES; 337 | GCC_C_LANGUAGE_STANDARD = gnu99; 338 | GCC_DYNAMIC_NO_PIC = NO; 339 | GCC_NO_COMMON_BLOCKS = YES; 340 | GCC_OPTIMIZATION_LEVEL = 0; 341 | GCC_PREPROCESSOR_DEFINITIONS = ( 342 | "DEBUG=1", 343 | "$(inherited)", 344 | ); 345 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 346 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 347 | GCC_WARN_UNDECLARED_SELECTOR = YES; 348 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 349 | GCC_WARN_UNUSED_FUNCTION = YES; 350 | GCC_WARN_UNUSED_VARIABLE = YES; 351 | IPHONEOS_DEPLOYMENT_TARGET = 9.2; 352 | MTL_ENABLE_DEBUG_INFO = YES; 353 | ONLY_ACTIVE_ARCH = YES; 354 | SDKROOT = iphoneos; 355 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 356 | }; 357 | name = Debug; 358 | }; 359 | 6943AE2F1C5EF6E100C6EFD5 /* Release */ = { 360 | isa = XCBuildConfiguration; 361 | buildSettings = { 362 | ALWAYS_SEARCH_USER_PATHS = NO; 363 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 364 | CLANG_CXX_LIBRARY = "libc++"; 365 | CLANG_ENABLE_MODULES = YES; 366 | CLANG_ENABLE_OBJC_ARC = YES; 367 | CLANG_WARN_BOOL_CONVERSION = YES; 368 | CLANG_WARN_CONSTANT_CONVERSION = YES; 369 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 370 | CLANG_WARN_EMPTY_BODY = YES; 371 | CLANG_WARN_ENUM_CONVERSION = YES; 372 | CLANG_WARN_INT_CONVERSION = YES; 373 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 374 | CLANG_WARN_UNREACHABLE_CODE = YES; 375 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 376 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 377 | COPY_PHASE_STRIP = NO; 378 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 379 | ENABLE_NS_ASSERTIONS = NO; 380 | ENABLE_STRICT_OBJC_MSGSEND = YES; 381 | GCC_C_LANGUAGE_STANDARD = gnu99; 382 | GCC_NO_COMMON_BLOCKS = YES; 383 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 384 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 385 | GCC_WARN_UNDECLARED_SELECTOR = YES; 386 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 387 | GCC_WARN_UNUSED_FUNCTION = YES; 388 | GCC_WARN_UNUSED_VARIABLE = YES; 389 | IPHONEOS_DEPLOYMENT_TARGET = 9.2; 390 | MTL_ENABLE_DEBUG_INFO = NO; 391 | SDKROOT = iphoneos; 392 | VALIDATE_PRODUCT = YES; 393 | }; 394 | name = Release; 395 | }; 396 | 6943AE311C5EF6E100C6EFD5 /* Debug */ = { 397 | isa = XCBuildConfiguration; 398 | buildSettings = { 399 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 400 | INFOPLIST_FILE = HTMLImagePreviewSwift/Info.plist; 401 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; 402 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 403 | PRODUCT_BUNDLE_IDENTIFIER = com.huangyibiao.HTMLImagePreviewSwift; 404 | PRODUCT_NAME = "$(TARGET_NAME)"; 405 | }; 406 | name = Debug; 407 | }; 408 | 6943AE321C5EF6E100C6EFD5 /* Release */ = { 409 | isa = XCBuildConfiguration; 410 | buildSettings = { 411 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 412 | INFOPLIST_FILE = HTMLImagePreviewSwift/Info.plist; 413 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; 414 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 415 | PRODUCT_BUNDLE_IDENTIFIER = com.huangyibiao.HTMLImagePreviewSwift; 416 | PRODUCT_NAME = "$(TARGET_NAME)"; 417 | }; 418 | name = Release; 419 | }; 420 | 6943AE341C5EF6E100C6EFD5 /* Debug */ = { 421 | isa = XCBuildConfiguration; 422 | buildSettings = { 423 | BUNDLE_LOADER = "$(TEST_HOST)"; 424 | INFOPLIST_FILE = HTMLImagePreviewSwiftTests/Info.plist; 425 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 426 | PRODUCT_BUNDLE_IDENTIFIER = com.huangyibiao.HTMLImagePreviewSwiftTests; 427 | PRODUCT_NAME = "$(TARGET_NAME)"; 428 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/HTMLImagePreviewSwift.app/HTMLImagePreviewSwift"; 429 | }; 430 | name = Debug; 431 | }; 432 | 6943AE351C5EF6E100C6EFD5 /* Release */ = { 433 | isa = XCBuildConfiguration; 434 | buildSettings = { 435 | BUNDLE_LOADER = "$(TEST_HOST)"; 436 | INFOPLIST_FILE = HTMLImagePreviewSwiftTests/Info.plist; 437 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 438 | PRODUCT_BUNDLE_IDENTIFIER = com.huangyibiao.HTMLImagePreviewSwiftTests; 439 | PRODUCT_NAME = "$(TARGET_NAME)"; 440 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/HTMLImagePreviewSwift.app/HTMLImagePreviewSwift"; 441 | }; 442 | name = Release; 443 | }; 444 | 6943AE371C5EF6E100C6EFD5 /* Debug */ = { 445 | isa = XCBuildConfiguration; 446 | buildSettings = { 447 | INFOPLIST_FILE = HTMLImagePreviewSwiftUITests/Info.plist; 448 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 449 | PRODUCT_BUNDLE_IDENTIFIER = com.huangyibiao.HTMLImagePreviewSwiftUITests; 450 | PRODUCT_NAME = "$(TARGET_NAME)"; 451 | TEST_TARGET_NAME = HTMLImagePreviewSwift; 452 | USES_XCTRUNNER = YES; 453 | }; 454 | name = Debug; 455 | }; 456 | 6943AE381C5EF6E100C6EFD5 /* Release */ = { 457 | isa = XCBuildConfiguration; 458 | buildSettings = { 459 | INFOPLIST_FILE = HTMLImagePreviewSwiftUITests/Info.plist; 460 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 461 | PRODUCT_BUNDLE_IDENTIFIER = com.huangyibiao.HTMLImagePreviewSwiftUITests; 462 | PRODUCT_NAME = "$(TARGET_NAME)"; 463 | TEST_TARGET_NAME = HTMLImagePreviewSwift; 464 | USES_XCTRUNNER = YES; 465 | }; 466 | name = Release; 467 | }; 468 | /* End XCBuildConfiguration section */ 469 | 470 | /* Begin XCConfigurationList section */ 471 | 6943AE031C5EF6E100C6EFD5 /* Build configuration list for PBXProject "HTMLImagePreviewSwift" */ = { 472 | isa = XCConfigurationList; 473 | buildConfigurations = ( 474 | 6943AE2E1C5EF6E100C6EFD5 /* Debug */, 475 | 6943AE2F1C5EF6E100C6EFD5 /* Release */, 476 | ); 477 | defaultConfigurationIsVisible = 0; 478 | defaultConfigurationName = Release; 479 | }; 480 | 6943AE301C5EF6E100C6EFD5 /* Build configuration list for PBXNativeTarget "HTMLImagePreviewSwift" */ = { 481 | isa = XCConfigurationList; 482 | buildConfigurations = ( 483 | 6943AE311C5EF6E100C6EFD5 /* Debug */, 484 | 6943AE321C5EF6E100C6EFD5 /* Release */, 485 | ); 486 | defaultConfigurationIsVisible = 0; 487 | }; 488 | 6943AE331C5EF6E100C6EFD5 /* Build configuration list for PBXNativeTarget "HTMLImagePreviewSwiftTests" */ = { 489 | isa = XCConfigurationList; 490 | buildConfigurations = ( 491 | 6943AE341C5EF6E100C6EFD5 /* Debug */, 492 | 6943AE351C5EF6E100C6EFD5 /* Release */, 493 | ); 494 | defaultConfigurationIsVisible = 0; 495 | }; 496 | 6943AE361C5EF6E100C6EFD5 /* Build configuration list for PBXNativeTarget "HTMLImagePreviewSwiftUITests" */ = { 497 | isa = XCConfigurationList; 498 | buildConfigurations = ( 499 | 6943AE371C5EF6E100C6EFD5 /* Debug */, 500 | 6943AE381C5EF6E100C6EFD5 /* Release */, 501 | ); 502 | defaultConfigurationIsVisible = 0; 503 | }; 504 | /* End XCConfigurationList section */ 505 | }; 506 | rootObject = 6943AE001C5EF6E100C6EFD5 /* Project object */; 507 | } 508 | -------------------------------------------------------------------------------- /HTMLImagePreviewObjC/HTMLImagePreviewObjC.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 6943AE471C5EFDE200C6EFD5 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6943AE461C5EFDE200C6EFD5 /* main.m */; }; 11 | 6943AE4A1C5EFDE200C6EFD5 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 6943AE491C5EFDE200C6EFD5 /* AppDelegate.m */; }; 12 | 6943AE4D1C5EFDE200C6EFD5 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6943AE4C1C5EFDE200C6EFD5 /* ViewController.m */; }; 13 | 6943AE501C5EFDE200C6EFD5 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6943AE4E1C5EFDE200C6EFD5 /* Main.storyboard */; }; 14 | 6943AE521C5EFDE200C6EFD5 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6943AE511C5EFDE200C6EFD5 /* Assets.xcassets */; }; 15 | 6943AE551C5EFDE200C6EFD5 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6943AE531C5EFDE200C6EFD5 /* LaunchScreen.storyboard */; }; 16 | 6943AE601C5EFDE300C6EFD5 /* HTMLImagePreviewObjCTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6943AE5F1C5EFDE300C6EFD5 /* HTMLImagePreviewObjCTests.m */; }; 17 | 6943AE6B1C5EFDE300C6EFD5 /* HTMLImagePreviewObjCUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6943AE6A1C5EFDE300C6EFD5 /* HTMLImagePreviewObjCUITests.m */; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXContainerItemProxy section */ 21 | 6943AE5C1C5EFDE300C6EFD5 /* PBXContainerItemProxy */ = { 22 | isa = PBXContainerItemProxy; 23 | containerPortal = 6943AE3A1C5EFDE200C6EFD5 /* Project object */; 24 | proxyType = 1; 25 | remoteGlobalIDString = 6943AE411C5EFDE200C6EFD5; 26 | remoteInfo = HTMLImagePreviewObjC; 27 | }; 28 | 6943AE671C5EFDE300C6EFD5 /* PBXContainerItemProxy */ = { 29 | isa = PBXContainerItemProxy; 30 | containerPortal = 6943AE3A1C5EFDE200C6EFD5 /* Project object */; 31 | proxyType = 1; 32 | remoteGlobalIDString = 6943AE411C5EFDE200C6EFD5; 33 | remoteInfo = HTMLImagePreviewObjC; 34 | }; 35 | /* End PBXContainerItemProxy section */ 36 | 37 | /* Begin PBXFileReference section */ 38 | 6943AE421C5EFDE200C6EFD5 /* HTMLImagePreviewObjC.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HTMLImagePreviewObjC.app; sourceTree = BUILT_PRODUCTS_DIR; }; 39 | 6943AE461C5EFDE200C6EFD5 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 40 | 6943AE481C5EFDE200C6EFD5 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 41 | 6943AE491C5EFDE200C6EFD5 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 42 | 6943AE4B1C5EFDE200C6EFD5 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; 43 | 6943AE4C1C5EFDE200C6EFD5 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; 44 | 6943AE4F1C5EFDE200C6EFD5 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 45 | 6943AE511C5EFDE200C6EFD5 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 46 | 6943AE541C5EFDE200C6EFD5 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 47 | 6943AE561C5EFDE200C6EFD5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 48 | 6943AE5B1C5EFDE300C6EFD5 /* HTMLImagePreviewObjCTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = HTMLImagePreviewObjCTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 49 | 6943AE5F1C5EFDE300C6EFD5 /* HTMLImagePreviewObjCTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = HTMLImagePreviewObjCTests.m; sourceTree = ""; }; 50 | 6943AE611C5EFDE300C6EFD5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 51 | 6943AE661C5EFDE300C6EFD5 /* HTMLImagePreviewObjCUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = HTMLImagePreviewObjCUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 52 | 6943AE6A1C5EFDE300C6EFD5 /* HTMLImagePreviewObjCUITests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = HTMLImagePreviewObjCUITests.m; sourceTree = ""; }; 53 | 6943AE6C1C5EFDE300C6EFD5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 54 | /* End PBXFileReference section */ 55 | 56 | /* Begin PBXFrameworksBuildPhase section */ 57 | 6943AE3F1C5EFDE200C6EFD5 /* Frameworks */ = { 58 | isa = PBXFrameworksBuildPhase; 59 | buildActionMask = 2147483647; 60 | files = ( 61 | ); 62 | runOnlyForDeploymentPostprocessing = 0; 63 | }; 64 | 6943AE581C5EFDE300C6EFD5 /* Frameworks */ = { 65 | isa = PBXFrameworksBuildPhase; 66 | buildActionMask = 2147483647; 67 | files = ( 68 | ); 69 | runOnlyForDeploymentPostprocessing = 0; 70 | }; 71 | 6943AE631C5EFDE300C6EFD5 /* Frameworks */ = { 72 | isa = PBXFrameworksBuildPhase; 73 | buildActionMask = 2147483647; 74 | files = ( 75 | ); 76 | runOnlyForDeploymentPostprocessing = 0; 77 | }; 78 | /* End PBXFrameworksBuildPhase section */ 79 | 80 | /* Begin PBXGroup section */ 81 | 6943AE391C5EFDE200C6EFD5 = { 82 | isa = PBXGroup; 83 | children = ( 84 | 6943AE441C5EFDE200C6EFD5 /* HTMLImagePreviewObjC */, 85 | 6943AE5E1C5EFDE300C6EFD5 /* HTMLImagePreviewObjCTests */, 86 | 6943AE691C5EFDE300C6EFD5 /* HTMLImagePreviewObjCUITests */, 87 | 6943AE431C5EFDE200C6EFD5 /* Products */, 88 | ); 89 | sourceTree = ""; 90 | }; 91 | 6943AE431C5EFDE200C6EFD5 /* Products */ = { 92 | isa = PBXGroup; 93 | children = ( 94 | 6943AE421C5EFDE200C6EFD5 /* HTMLImagePreviewObjC.app */, 95 | 6943AE5B1C5EFDE300C6EFD5 /* HTMLImagePreviewObjCTests.xctest */, 96 | 6943AE661C5EFDE300C6EFD5 /* HTMLImagePreviewObjCUITests.xctest */, 97 | ); 98 | name = Products; 99 | sourceTree = ""; 100 | }; 101 | 6943AE441C5EFDE200C6EFD5 /* HTMLImagePreviewObjC */ = { 102 | isa = PBXGroup; 103 | children = ( 104 | 6943AE481C5EFDE200C6EFD5 /* AppDelegate.h */, 105 | 6943AE491C5EFDE200C6EFD5 /* AppDelegate.m */, 106 | 6943AE4B1C5EFDE200C6EFD5 /* ViewController.h */, 107 | 6943AE4C1C5EFDE200C6EFD5 /* ViewController.m */, 108 | 6943AE4E1C5EFDE200C6EFD5 /* Main.storyboard */, 109 | 6943AE511C5EFDE200C6EFD5 /* Assets.xcassets */, 110 | 6943AE531C5EFDE200C6EFD5 /* LaunchScreen.storyboard */, 111 | 6943AE561C5EFDE200C6EFD5 /* Info.plist */, 112 | 6943AE451C5EFDE200C6EFD5 /* Supporting Files */, 113 | ); 114 | path = HTMLImagePreviewObjC; 115 | sourceTree = ""; 116 | }; 117 | 6943AE451C5EFDE200C6EFD5 /* Supporting Files */ = { 118 | isa = PBXGroup; 119 | children = ( 120 | 6943AE461C5EFDE200C6EFD5 /* main.m */, 121 | ); 122 | name = "Supporting Files"; 123 | sourceTree = ""; 124 | }; 125 | 6943AE5E1C5EFDE300C6EFD5 /* HTMLImagePreviewObjCTests */ = { 126 | isa = PBXGroup; 127 | children = ( 128 | 6943AE5F1C5EFDE300C6EFD5 /* HTMLImagePreviewObjCTests.m */, 129 | 6943AE611C5EFDE300C6EFD5 /* Info.plist */, 130 | ); 131 | path = HTMLImagePreviewObjCTests; 132 | sourceTree = ""; 133 | }; 134 | 6943AE691C5EFDE300C6EFD5 /* HTMLImagePreviewObjCUITests */ = { 135 | isa = PBXGroup; 136 | children = ( 137 | 6943AE6A1C5EFDE300C6EFD5 /* HTMLImagePreviewObjCUITests.m */, 138 | 6943AE6C1C5EFDE300C6EFD5 /* Info.plist */, 139 | ); 140 | path = HTMLImagePreviewObjCUITests; 141 | sourceTree = ""; 142 | }; 143 | /* End PBXGroup section */ 144 | 145 | /* Begin PBXNativeTarget section */ 146 | 6943AE411C5EFDE200C6EFD5 /* HTMLImagePreviewObjC */ = { 147 | isa = PBXNativeTarget; 148 | buildConfigurationList = 6943AE6F1C5EFDE300C6EFD5 /* Build configuration list for PBXNativeTarget "HTMLImagePreviewObjC" */; 149 | buildPhases = ( 150 | 6943AE3E1C5EFDE200C6EFD5 /* Sources */, 151 | 6943AE3F1C5EFDE200C6EFD5 /* Frameworks */, 152 | 6943AE401C5EFDE200C6EFD5 /* Resources */, 153 | ); 154 | buildRules = ( 155 | ); 156 | dependencies = ( 157 | ); 158 | name = HTMLImagePreviewObjC; 159 | productName = HTMLImagePreviewObjC; 160 | productReference = 6943AE421C5EFDE200C6EFD5 /* HTMLImagePreviewObjC.app */; 161 | productType = "com.apple.product-type.application"; 162 | }; 163 | 6943AE5A1C5EFDE300C6EFD5 /* HTMLImagePreviewObjCTests */ = { 164 | isa = PBXNativeTarget; 165 | buildConfigurationList = 6943AE721C5EFDE300C6EFD5 /* Build configuration list for PBXNativeTarget "HTMLImagePreviewObjCTests" */; 166 | buildPhases = ( 167 | 6943AE571C5EFDE300C6EFD5 /* Sources */, 168 | 6943AE581C5EFDE300C6EFD5 /* Frameworks */, 169 | 6943AE591C5EFDE300C6EFD5 /* Resources */, 170 | ); 171 | buildRules = ( 172 | ); 173 | dependencies = ( 174 | 6943AE5D1C5EFDE300C6EFD5 /* PBXTargetDependency */, 175 | ); 176 | name = HTMLImagePreviewObjCTests; 177 | productName = HTMLImagePreviewObjCTests; 178 | productReference = 6943AE5B1C5EFDE300C6EFD5 /* HTMLImagePreviewObjCTests.xctest */; 179 | productType = "com.apple.product-type.bundle.unit-test"; 180 | }; 181 | 6943AE651C5EFDE300C6EFD5 /* HTMLImagePreviewObjCUITests */ = { 182 | isa = PBXNativeTarget; 183 | buildConfigurationList = 6943AE751C5EFDE300C6EFD5 /* Build configuration list for PBXNativeTarget "HTMLImagePreviewObjCUITests" */; 184 | buildPhases = ( 185 | 6943AE621C5EFDE300C6EFD5 /* Sources */, 186 | 6943AE631C5EFDE300C6EFD5 /* Frameworks */, 187 | 6943AE641C5EFDE300C6EFD5 /* Resources */, 188 | ); 189 | buildRules = ( 190 | ); 191 | dependencies = ( 192 | 6943AE681C5EFDE300C6EFD5 /* PBXTargetDependency */, 193 | ); 194 | name = HTMLImagePreviewObjCUITests; 195 | productName = HTMLImagePreviewObjCUITests; 196 | productReference = 6943AE661C5EFDE300C6EFD5 /* HTMLImagePreviewObjCUITests.xctest */; 197 | productType = "com.apple.product-type.bundle.ui-testing"; 198 | }; 199 | /* End PBXNativeTarget section */ 200 | 201 | /* Begin PBXProject section */ 202 | 6943AE3A1C5EFDE200C6EFD5 /* Project object */ = { 203 | isa = PBXProject; 204 | attributes = { 205 | LastUpgradeCheck = 0720; 206 | ORGANIZATIONNAME = huangyibiao; 207 | TargetAttributes = { 208 | 6943AE411C5EFDE200C6EFD5 = { 209 | CreatedOnToolsVersion = 7.2; 210 | }; 211 | 6943AE5A1C5EFDE300C6EFD5 = { 212 | CreatedOnToolsVersion = 7.2; 213 | TestTargetID = 6943AE411C5EFDE200C6EFD5; 214 | }; 215 | 6943AE651C5EFDE300C6EFD5 = { 216 | CreatedOnToolsVersion = 7.2; 217 | TestTargetID = 6943AE411C5EFDE200C6EFD5; 218 | }; 219 | }; 220 | }; 221 | buildConfigurationList = 6943AE3D1C5EFDE200C6EFD5 /* Build configuration list for PBXProject "HTMLImagePreviewObjC" */; 222 | compatibilityVersion = "Xcode 3.2"; 223 | developmentRegion = English; 224 | hasScannedForEncodings = 0; 225 | knownRegions = ( 226 | en, 227 | Base, 228 | ); 229 | mainGroup = 6943AE391C5EFDE200C6EFD5; 230 | productRefGroup = 6943AE431C5EFDE200C6EFD5 /* Products */; 231 | projectDirPath = ""; 232 | projectRoot = ""; 233 | targets = ( 234 | 6943AE411C5EFDE200C6EFD5 /* HTMLImagePreviewObjC */, 235 | 6943AE5A1C5EFDE300C6EFD5 /* HTMLImagePreviewObjCTests */, 236 | 6943AE651C5EFDE300C6EFD5 /* HTMLImagePreviewObjCUITests */, 237 | ); 238 | }; 239 | /* End PBXProject section */ 240 | 241 | /* Begin PBXResourcesBuildPhase section */ 242 | 6943AE401C5EFDE200C6EFD5 /* Resources */ = { 243 | isa = PBXResourcesBuildPhase; 244 | buildActionMask = 2147483647; 245 | files = ( 246 | 6943AE551C5EFDE200C6EFD5 /* LaunchScreen.storyboard in Resources */, 247 | 6943AE521C5EFDE200C6EFD5 /* Assets.xcassets in Resources */, 248 | 6943AE501C5EFDE200C6EFD5 /* Main.storyboard in Resources */, 249 | ); 250 | runOnlyForDeploymentPostprocessing = 0; 251 | }; 252 | 6943AE591C5EFDE300C6EFD5 /* Resources */ = { 253 | isa = PBXResourcesBuildPhase; 254 | buildActionMask = 2147483647; 255 | files = ( 256 | ); 257 | runOnlyForDeploymentPostprocessing = 0; 258 | }; 259 | 6943AE641C5EFDE300C6EFD5 /* Resources */ = { 260 | isa = PBXResourcesBuildPhase; 261 | buildActionMask = 2147483647; 262 | files = ( 263 | ); 264 | runOnlyForDeploymentPostprocessing = 0; 265 | }; 266 | /* End PBXResourcesBuildPhase section */ 267 | 268 | /* Begin PBXSourcesBuildPhase section */ 269 | 6943AE3E1C5EFDE200C6EFD5 /* Sources */ = { 270 | isa = PBXSourcesBuildPhase; 271 | buildActionMask = 2147483647; 272 | files = ( 273 | 6943AE4D1C5EFDE200C6EFD5 /* ViewController.m in Sources */, 274 | 6943AE4A1C5EFDE200C6EFD5 /* AppDelegate.m in Sources */, 275 | 6943AE471C5EFDE200C6EFD5 /* main.m in Sources */, 276 | ); 277 | runOnlyForDeploymentPostprocessing = 0; 278 | }; 279 | 6943AE571C5EFDE300C6EFD5 /* Sources */ = { 280 | isa = PBXSourcesBuildPhase; 281 | buildActionMask = 2147483647; 282 | files = ( 283 | 6943AE601C5EFDE300C6EFD5 /* HTMLImagePreviewObjCTests.m in Sources */, 284 | ); 285 | runOnlyForDeploymentPostprocessing = 0; 286 | }; 287 | 6943AE621C5EFDE300C6EFD5 /* Sources */ = { 288 | isa = PBXSourcesBuildPhase; 289 | buildActionMask = 2147483647; 290 | files = ( 291 | 6943AE6B1C5EFDE300C6EFD5 /* HTMLImagePreviewObjCUITests.m in Sources */, 292 | ); 293 | runOnlyForDeploymentPostprocessing = 0; 294 | }; 295 | /* End PBXSourcesBuildPhase section */ 296 | 297 | /* Begin PBXTargetDependency section */ 298 | 6943AE5D1C5EFDE300C6EFD5 /* PBXTargetDependency */ = { 299 | isa = PBXTargetDependency; 300 | target = 6943AE411C5EFDE200C6EFD5 /* HTMLImagePreviewObjC */; 301 | targetProxy = 6943AE5C1C5EFDE300C6EFD5 /* PBXContainerItemProxy */; 302 | }; 303 | 6943AE681C5EFDE300C6EFD5 /* PBXTargetDependency */ = { 304 | isa = PBXTargetDependency; 305 | target = 6943AE411C5EFDE200C6EFD5 /* HTMLImagePreviewObjC */; 306 | targetProxy = 6943AE671C5EFDE300C6EFD5 /* PBXContainerItemProxy */; 307 | }; 308 | /* End PBXTargetDependency section */ 309 | 310 | /* Begin PBXVariantGroup section */ 311 | 6943AE4E1C5EFDE200C6EFD5 /* Main.storyboard */ = { 312 | isa = PBXVariantGroup; 313 | children = ( 314 | 6943AE4F1C5EFDE200C6EFD5 /* Base */, 315 | ); 316 | name = Main.storyboard; 317 | sourceTree = ""; 318 | }; 319 | 6943AE531C5EFDE200C6EFD5 /* LaunchScreen.storyboard */ = { 320 | isa = PBXVariantGroup; 321 | children = ( 322 | 6943AE541C5EFDE200C6EFD5 /* Base */, 323 | ); 324 | name = LaunchScreen.storyboard; 325 | sourceTree = ""; 326 | }; 327 | /* End PBXVariantGroup section */ 328 | 329 | /* Begin XCBuildConfiguration section */ 330 | 6943AE6D1C5EFDE300C6EFD5 /* Debug */ = { 331 | isa = XCBuildConfiguration; 332 | buildSettings = { 333 | ALWAYS_SEARCH_USER_PATHS = NO; 334 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 335 | CLANG_CXX_LIBRARY = "libc++"; 336 | CLANG_ENABLE_MODULES = YES; 337 | CLANG_ENABLE_OBJC_ARC = YES; 338 | CLANG_WARN_BOOL_CONVERSION = YES; 339 | CLANG_WARN_CONSTANT_CONVERSION = YES; 340 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 341 | CLANG_WARN_EMPTY_BODY = YES; 342 | CLANG_WARN_ENUM_CONVERSION = YES; 343 | CLANG_WARN_INT_CONVERSION = YES; 344 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 345 | CLANG_WARN_UNREACHABLE_CODE = YES; 346 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 347 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 348 | COPY_PHASE_STRIP = NO; 349 | DEBUG_INFORMATION_FORMAT = dwarf; 350 | ENABLE_STRICT_OBJC_MSGSEND = YES; 351 | ENABLE_TESTABILITY = YES; 352 | GCC_C_LANGUAGE_STANDARD = gnu99; 353 | GCC_DYNAMIC_NO_PIC = NO; 354 | GCC_NO_COMMON_BLOCKS = YES; 355 | GCC_OPTIMIZATION_LEVEL = 0; 356 | GCC_PREPROCESSOR_DEFINITIONS = ( 357 | "DEBUG=1", 358 | "$(inherited)", 359 | ); 360 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 361 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 362 | GCC_WARN_UNDECLARED_SELECTOR = YES; 363 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 364 | GCC_WARN_UNUSED_FUNCTION = YES; 365 | GCC_WARN_UNUSED_VARIABLE = YES; 366 | IPHONEOS_DEPLOYMENT_TARGET = 9.2; 367 | MTL_ENABLE_DEBUG_INFO = YES; 368 | ONLY_ACTIVE_ARCH = YES; 369 | SDKROOT = iphoneos; 370 | }; 371 | name = Debug; 372 | }; 373 | 6943AE6E1C5EFDE300C6EFD5 /* Release */ = { 374 | isa = XCBuildConfiguration; 375 | buildSettings = { 376 | ALWAYS_SEARCH_USER_PATHS = NO; 377 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 378 | CLANG_CXX_LIBRARY = "libc++"; 379 | CLANG_ENABLE_MODULES = YES; 380 | CLANG_ENABLE_OBJC_ARC = YES; 381 | CLANG_WARN_BOOL_CONVERSION = YES; 382 | CLANG_WARN_CONSTANT_CONVERSION = YES; 383 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 384 | CLANG_WARN_EMPTY_BODY = YES; 385 | CLANG_WARN_ENUM_CONVERSION = YES; 386 | CLANG_WARN_INT_CONVERSION = YES; 387 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 388 | CLANG_WARN_UNREACHABLE_CODE = YES; 389 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 390 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 391 | COPY_PHASE_STRIP = NO; 392 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 393 | ENABLE_NS_ASSERTIONS = NO; 394 | ENABLE_STRICT_OBJC_MSGSEND = YES; 395 | GCC_C_LANGUAGE_STANDARD = gnu99; 396 | GCC_NO_COMMON_BLOCKS = YES; 397 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 398 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 399 | GCC_WARN_UNDECLARED_SELECTOR = YES; 400 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 401 | GCC_WARN_UNUSED_FUNCTION = YES; 402 | GCC_WARN_UNUSED_VARIABLE = YES; 403 | IPHONEOS_DEPLOYMENT_TARGET = 9.2; 404 | MTL_ENABLE_DEBUG_INFO = NO; 405 | SDKROOT = iphoneos; 406 | VALIDATE_PRODUCT = YES; 407 | }; 408 | name = Release; 409 | }; 410 | 6943AE701C5EFDE300C6EFD5 /* Debug */ = { 411 | isa = XCBuildConfiguration; 412 | buildSettings = { 413 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 414 | INFOPLIST_FILE = HTMLImagePreviewObjC/Info.plist; 415 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 416 | PRODUCT_BUNDLE_IDENTIFIER = com.huangyibiao.HTMLImagePreviewObjC; 417 | PRODUCT_NAME = "$(TARGET_NAME)"; 418 | }; 419 | name = Debug; 420 | }; 421 | 6943AE711C5EFDE300C6EFD5 /* Release */ = { 422 | isa = XCBuildConfiguration; 423 | buildSettings = { 424 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 425 | INFOPLIST_FILE = HTMLImagePreviewObjC/Info.plist; 426 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 427 | PRODUCT_BUNDLE_IDENTIFIER = com.huangyibiao.HTMLImagePreviewObjC; 428 | PRODUCT_NAME = "$(TARGET_NAME)"; 429 | }; 430 | name = Release; 431 | }; 432 | 6943AE731C5EFDE300C6EFD5 /* Debug */ = { 433 | isa = XCBuildConfiguration; 434 | buildSettings = { 435 | BUNDLE_LOADER = "$(TEST_HOST)"; 436 | INFOPLIST_FILE = HTMLImagePreviewObjCTests/Info.plist; 437 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 438 | PRODUCT_BUNDLE_IDENTIFIER = com.huangyibiao.HTMLImagePreviewObjCTests; 439 | PRODUCT_NAME = "$(TARGET_NAME)"; 440 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/HTMLImagePreviewObjC.app/HTMLImagePreviewObjC"; 441 | }; 442 | name = Debug; 443 | }; 444 | 6943AE741C5EFDE300C6EFD5 /* Release */ = { 445 | isa = XCBuildConfiguration; 446 | buildSettings = { 447 | BUNDLE_LOADER = "$(TEST_HOST)"; 448 | INFOPLIST_FILE = HTMLImagePreviewObjCTests/Info.plist; 449 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 450 | PRODUCT_BUNDLE_IDENTIFIER = com.huangyibiao.HTMLImagePreviewObjCTests; 451 | PRODUCT_NAME = "$(TARGET_NAME)"; 452 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/HTMLImagePreviewObjC.app/HTMLImagePreviewObjC"; 453 | }; 454 | name = Release; 455 | }; 456 | 6943AE761C5EFDE300C6EFD5 /* Debug */ = { 457 | isa = XCBuildConfiguration; 458 | buildSettings = { 459 | INFOPLIST_FILE = HTMLImagePreviewObjCUITests/Info.plist; 460 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 461 | PRODUCT_BUNDLE_IDENTIFIER = com.huangyibiao.HTMLImagePreviewObjCUITests; 462 | PRODUCT_NAME = "$(TARGET_NAME)"; 463 | TEST_TARGET_NAME = HTMLImagePreviewObjC; 464 | USES_XCTRUNNER = YES; 465 | }; 466 | name = Debug; 467 | }; 468 | 6943AE771C5EFDE300C6EFD5 /* Release */ = { 469 | isa = XCBuildConfiguration; 470 | buildSettings = { 471 | INFOPLIST_FILE = HTMLImagePreviewObjCUITests/Info.plist; 472 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 473 | PRODUCT_BUNDLE_IDENTIFIER = com.huangyibiao.HTMLImagePreviewObjCUITests; 474 | PRODUCT_NAME = "$(TARGET_NAME)"; 475 | TEST_TARGET_NAME = HTMLImagePreviewObjC; 476 | USES_XCTRUNNER = YES; 477 | }; 478 | name = Release; 479 | }; 480 | /* End XCBuildConfiguration section */ 481 | 482 | /* Begin XCConfigurationList section */ 483 | 6943AE3D1C5EFDE200C6EFD5 /* Build configuration list for PBXProject "HTMLImagePreviewObjC" */ = { 484 | isa = XCConfigurationList; 485 | buildConfigurations = ( 486 | 6943AE6D1C5EFDE300C6EFD5 /* Debug */, 487 | 6943AE6E1C5EFDE300C6EFD5 /* Release */, 488 | ); 489 | defaultConfigurationIsVisible = 0; 490 | defaultConfigurationName = Release; 491 | }; 492 | 6943AE6F1C5EFDE300C6EFD5 /* Build configuration list for PBXNativeTarget "HTMLImagePreviewObjC" */ = { 493 | isa = XCConfigurationList; 494 | buildConfigurations = ( 495 | 6943AE701C5EFDE300C6EFD5 /* Debug */, 496 | 6943AE711C5EFDE300C6EFD5 /* Release */, 497 | ); 498 | defaultConfigurationIsVisible = 0; 499 | }; 500 | 6943AE721C5EFDE300C6EFD5 /* Build configuration list for PBXNativeTarget "HTMLImagePreviewObjCTests" */ = { 501 | isa = XCConfigurationList; 502 | buildConfigurations = ( 503 | 6943AE731C5EFDE300C6EFD5 /* Debug */, 504 | 6943AE741C5EFDE300C6EFD5 /* Release */, 505 | ); 506 | defaultConfigurationIsVisible = 0; 507 | }; 508 | 6943AE751C5EFDE300C6EFD5 /* Build configuration list for PBXNativeTarget "HTMLImagePreviewObjCUITests" */ = { 509 | isa = XCConfigurationList; 510 | buildConfigurations = ( 511 | 6943AE761C5EFDE300C6EFD5 /* Debug */, 512 | 6943AE771C5EFDE300C6EFD5 /* Release */, 513 | ); 514 | defaultConfigurationIsVisible = 0; 515 | }; 516 | /* End XCConfigurationList section */ 517 | }; 518 | rootObject = 6943AE3A1C5EFDE200C6EFD5 /* Project object */; 519 | } 520 | --------------------------------------------------------------------------------