├── gif └── jsvsweb.gif ├── README.md └── ICWebViewManager ├── ICWebViewManager ├── Images.xcassets │ └── AppIcon.appiconset │ │ ├── 58@2x.png │ │ ├── 80@2x.png │ │ ├── 120@2x.png │ │ ├── 58@2x-1.png │ │ └── Contents.json ├── ViewController.h ├── ICViewControllerRecord.m ├── NavigationController.h ├── ICConst.h ├── NextViewController.h ├── AppDelegate.h ├── main.m ├── ICViewControllerRecord.h ├── index.html ├── Info.plist ├── ICWebViewManager.h ├── AppDelegate.m ├── Base.lproj │ ├── Main.storyboard │ └── LaunchScreen.xib ├── NextViewController.m ├── NavigationController.m ├── ViewController.m └── ICWebViewManager.m ├── ICWebViewManager.xcodeproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcuserdata │ │ └── andy.xcuserdatad │ │ └── UserInterfaceState.xcuserstate ├── xcuserdata │ └── andy.xcuserdatad │ │ ├── xcdebugger │ │ └── Breakpoints_v2.xcbkptlist │ │ └── xcschemes │ │ ├── xcschememanagement.plist │ │ └── ICWebViewManager.xcscheme └── project.pbxproj └── ICWebViewManagerTests ├── Info.plist └── ICWebViewManagerTests.m /gif/jsvsweb.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icoder20150719/ICWebViewManager/HEAD/gif/jsvsweb.gif -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ICWebViewManager 2 | # 使用js与web交互 3 | ![Image](https://github.com/icoder20150719/ICWebViewManager/blob/master/gif/jsvsweb.gif) -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManager/Images.xcassets/AppIcon.appiconset/58@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icoder20150719/ICWebViewManager/HEAD/ICWebViewManager/ICWebViewManager/Images.xcassets/AppIcon.appiconset/58@2x.png -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManager/Images.xcassets/AppIcon.appiconset/80@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icoder20150719/ICWebViewManager/HEAD/ICWebViewManager/ICWebViewManager/Images.xcassets/AppIcon.appiconset/80@2x.png -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManager/Images.xcassets/AppIcon.appiconset/120@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icoder20150719/ICWebViewManager/HEAD/ICWebViewManager/ICWebViewManager/Images.xcassets/AppIcon.appiconset/120@2x.png -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManager/Images.xcassets/AppIcon.appiconset/58@2x-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icoder20150719/ICWebViewManager/HEAD/ICWebViewManager/ICWebViewManager/Images.xcassets/AppIcon.appiconset/58@2x-1.png -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManager.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManager.xcodeproj/project.xcworkspace/xcuserdata/andy.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icoder20150719/ICWebViewManager/HEAD/ICWebViewManager/ICWebViewManager.xcodeproj/project.xcworkspace/xcuserdata/andy.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManager/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // ICWebViewManager 4 | // 5 | // Created by andy on 15/8/18. 6 | // Copyright (c) 2015年 andy . All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ViewController : UIViewController 12 | 13 | 14 | @end 15 | 16 | -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManager/ICViewControllerRecord.m: -------------------------------------------------------------------------------- 1 | // 2 | // ICViewControllerRecord.m 3 | // ICWebViewManager 4 | // 5 | // Created by andy on 15/8/19. 6 | // Copyright (c) 2015年 andy . All rights reserved. 7 | // 8 | 9 | #import "ICViewControllerRecord.h" 10 | 11 | @implementation ICViewControllerRecord 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManager/NavigationController.h: -------------------------------------------------------------------------------- 1 | // 2 | // NavigationController.h 3 | // ICWebViewManager 4 | // 5 | // Created by andy on 15/8/19. 6 | // Copyright (c) 2015年 andy . All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NavigationController : UINavigationController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManager/ICConst.h: -------------------------------------------------------------------------------- 1 | // 2 | // ICConst.h 3 | // ICWebViewManager 4 | // 5 | // Created by andy on 15/8/20. 6 | // Copyright (c) 2015年 andy . All rights reserved. 7 | // 8 | 9 | #ifndef ICWebViewManager_ICConst_h 10 | #define ICWebViewManager_ICConst_h 11 | 12 | 13 | #define BASEDomain @"http://m.dianping.com/shoplist/13" 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManager/NextViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // NextViewController.h 3 | // ICWebViewManager 4 | // 5 | // Created by andy on 15/8/19. 6 | // Copyright (c) 2015年 andy . All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NextViewController : UIViewController 12 | @property (nonatomic ,copy)NSString *urlStr; 13 | @end 14 | -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManager/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // ICWebViewManager 4 | // 5 | // Created by andy on 15/8/18. 6 | // Copyright (c) 2015年 andy . 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 | -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManager/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // ICWebViewManager 4 | // 5 | // Created by andy on 15/8/18. 6 | // Copyright (c) 2015年 andy . 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 | -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManager/ICViewControllerRecord.h: -------------------------------------------------------------------------------- 1 | // 2 | // ICViewControllerRecord.h 3 | // ICWebViewManager 4 | // 5 | // Created by andy on 15/8/19. 6 | // Copyright (c) 2015年 andy . All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface ICViewControllerRecord : NSObject 13 | 14 | @property (nonatomic,strong)UIViewController *vc; 15 | @property (nonatomic,copy)NSString *url; 16 | 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManager.xcodeproj/xcuserdata/andy.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManager.xcodeproj/xcuserdata/andy.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | ICWebViewManager.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | A14C15A31B8358230079A17C 16 | 17 | primary 18 | 19 | 20 | A14C15BC1B8358230079A17C 21 | 22 | primary 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManagerTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | icloud.com.$(PRODUCT_NAME:rfc1034identifier) 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 | -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManagerTests/ICWebViewManagerTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // ICWebViewManagerTests.m 3 | // ICWebViewManagerTests 4 | // 5 | // Created by andy on 15/8/18. 6 | // Copyright (c) 2015年 andy . All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface ICWebViewManagerTests : XCTestCase 13 | 14 | @end 15 | 16 | @implementation ICWebViewManagerTests 17 | 18 | - (void)setUp { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown { 24 | // Put teardown code here. This method is called after the invocation of each test method in the class. 25 | [super tearDown]; 26 | } 27 | 28 | - (void)testExample { 29 | // This is an example of a functional test case. 30 | XCTAssert(YES, @"Pass"); 31 | } 32 | 33 | - (void)testPerformanceExample { 34 | // This is an example of a performance test case. 35 | [self measureBlock:^{ 36 | // Put the code you want to measure the time of here. 37 | }]; 38 | } 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManager/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 15 | 16 | 38 |
39 | 测试交互 40 |
41 |
42 | 43 |
44 |
45 | 46 |
47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManager/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "29x29", 5 | "idiom" : "iphone", 6 | "filename" : "58@2x.png", 7 | "scale" : "2x" 8 | }, 9 | { 10 | "idiom" : "iphone", 11 | "size" : "29x29", 12 | "scale" : "3x" 13 | }, 14 | { 15 | "idiom" : "iphone", 16 | "size" : "40x40", 17 | "scale" : "2x" 18 | }, 19 | { 20 | "size" : "40x40", 21 | "idiom" : "iphone", 22 | "filename" : "80@2x.png", 23 | "scale" : "3x" 24 | }, 25 | { 26 | "size" : "60x60", 27 | "idiom" : "iphone", 28 | "filename" : "120@2x.png", 29 | "scale" : "2x" 30 | }, 31 | { 32 | "idiom" : "iphone", 33 | "size" : "60x60", 34 | "scale" : "3x" 35 | }, 36 | { 37 | "idiom" : "ipad", 38 | "size" : "40x40", 39 | "scale" : "1x" 40 | }, 41 | { 42 | "idiom" : "ipad", 43 | "size" : "40x40", 44 | "scale" : "2x" 45 | }, 46 | { 47 | "size" : "29x29", 48 | "idiom" : "watch", 49 | "filename" : "58@2x-1.png", 50 | "unassigned" : true, 51 | "role" : "companionSettings", 52 | "scale" : "2x" 53 | } 54 | ], 55 | "info" : { 56 | "version" : 1, 57 | "author" : "xcode" 58 | } 59 | } -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManager/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | icloud.com.$(PRODUCT_NAME:rfc1034identifier) 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 | -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManager/ICWebViewManager.h: -------------------------------------------------------------------------------- 1 | // 2 | // ICWebViewManager.h 3 | // ICWebViewManager 4 | // 5 | // Created by andy on 15/8/18. 6 | // Copyright (c) 2015年 andy . All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | #import "ICViewControllerRecord.h" 13 | #import "ICConst.h" 14 | typedef void(^WebManagerBlock)(); 15 | 16 | @protocol ICWebViewManagerNavigationDelegate 17 | @optional 18 | -(BOOL)dealWithUrlStr:(NSString *)urlStr; 19 | 20 | @end 21 | 22 | @protocol ICWebViewManagerDelegate 23 | @optional 24 | - (void)webViewDidStartLoad:(UIWebView *)webView; 25 | - (void)webViewDidFinishLoad:(UIWebView *)webView; 26 | - (void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error; 27 | 28 | @end 29 | 30 | @interface ICWebViewManager : NSObject 31 | 32 | @property (nonatomic ,weak)iddelegate; 33 | @property (nonatomic ,weak)idnavigationController; 34 | @property (nonatomic ,assign)BOOL isFirstViewController; 35 | @property (nonatomic ,copy)NSString *currentBaseUrlStr; 36 | 37 | -(instancetype)initWithWebView:(UIWebView *)webView vewController:(UIViewController *)vc delegate:(id)delegate; 38 | -(void)addObserver:(id)observer forURLString:(NSString *)urlStr goAhead:(BOOL)goAhead performSelector:(SEL)sel; 39 | -(void)addObserverURLString:(NSString *)urlStr goAhead:(BOOL)goAhead usingBlock:(WebManagerBlock)block; 40 | -(void)removeObserverURLString:(NSString *)urlStr; 41 | -(void)deleteDivBygetElementById:(NSString *)elementId; 42 | -(void)deleteDivBygetElementByClassNameFirst:(NSString *)className; 43 | -(void)deleteDivBygetElementByClassNameLast:(NSString *)className; 44 | -(void)deleteDivBygetElementByClassNameAll:(NSString *)className; 45 | -(void)deleteDivBygetElementByTagNameFirst:(NSString *)className; 46 | -(void)deleteDivBygetElementByTagNameLast:(NSString *)className; 47 | -(void)deleteDivBygetElementByTagNameAll:(NSString *)className; 48 | -(NSString *)webCurrentHTML; 49 | -(NSString *)webCurrentTitle; 50 | -(NSString *)webDocumentTitle; 51 | -(NSString *)webCurrentURL; 52 | 53 | @end; 54 | -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManager/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.m 3 | // ICWebViewManager 4 | // 5 | // Created by andy on 15/8/18. 6 | // Copyright (c) 2015年 andy . 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 | -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManager/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManager/NextViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // NextViewController.m 3 | // ICWebViewManager 4 | // 5 | // Created by andy on 15/8/19. 6 | // Copyright (c) 2015年 andy . All rights reserved. 7 | // 8 | 9 | #import "NextViewController.h" 10 | #import "ICWebViewManager.h" 11 | 12 | @interface NextViewController () 13 | @property (nonatomic ,strong)UIWebView *webView; 14 | @property (strong ,nonatomic)ICWebViewManager *webMgr; 15 | @property (strong ,nonatomic)UIActivityIndicatorView *actView; 16 | @end 17 | 18 | @implementation NextViewController 19 | 20 | - (void)viewDidLoad { 21 | [super viewDidLoad]; 22 | self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc]initWithTitle:@"popToRoot" style:0 target:self action:@selector(popToRootViewControllerAnimated)]; 23 | self.view.backgroundColor = [UIColor whiteColor]; 24 | //创建WebView 25 | UIWebView *web = [[UIWebView alloc]initWithFrame:self.view.bounds]; 26 | web.delegate = self; 27 | web.frame = CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height) ; 28 | [self.view addSubview:web]; 29 | self.webView = web; 30 | [self.webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:self.urlStr]]]; 31 | self.webView.hidden = YES; 32 | ICWebViewManager *webMgr = [[ICWebViewManager alloc]initWithWebView:self.webView vewController:self delegate:self]; 33 | self.webMgr = webMgr; 34 | webMgr.currentBaseUrlStr = self.urlStr; 35 | UIActivityIndicatorView *actView = [[UIActivityIndicatorView alloc]initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray]; 36 | [actView startAnimating]; 37 | actView.center = self.view.center; 38 | [self.view addSubview:actView]; 39 | self.actView = actView; 40 | 41 | } 42 | 43 | -(void)popToRootViewControllerAnimated 44 | { 45 | [self.navigationController popToRootViewControllerAnimated:YES]; 46 | } 47 | 48 | -(void)webViewDidFinishLoad:(UIWebView *)webView{ 49 | 50 | [self.actView removeFromSuperview]; 51 | self.title = self.webMgr.webCurrentTitle; 52 | //删除header 53 | [self.webMgr deleteDivBygetElementByTagNameAll:@"header"]; 54 | //删除footer 55 | [self.webMgr deleteDivBygetElementByClassNameAll:@"footer"]; 56 | //删除返回按钮 57 | [self.webMgr deleteDivBygetElementByClassNameFirst:@"back back-gray"]; 58 | self.webView.hidden = NO; 59 | // NSLog(@"%@",self.webMgr.webCurrentHTML); 60 | } 61 | - (void)didReceiveMemoryWarning { 62 | [super didReceiveMemoryWarning]; 63 | // Dispose of any resources that can be recreated. 64 | } 65 | 66 | /* 67 | #pragma mark - Navigation 68 | 69 | // In a storyboard-based application, you will often want to do a little preparation before navigation 70 | - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { 71 | // Get the new view controller using [segue destinationViewController]. 72 | // Pass the selected object to the new view controller. 73 | } 74 | */ 75 | 76 | @end 77 | -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManager/NavigationController.m: -------------------------------------------------------------------------------- 1 | // 2 | // NavigationController.m 3 | // ICWebViewManager 4 | // 5 | // Created by andy on 15/8/19. 6 | // Copyright (c) 2015年 andy . All rights reserved. 7 | // 8 | 9 | #import "NavigationController.h" 10 | #import "ICWebViewManager.h" 11 | #import "NextViewController.h" 12 | 13 | @interface NavigationController () 14 | 15 | //请求过的ViewController 16 | @property (nonatomic,strong)NSMutableArray *urlViewController; 17 | @property (nonatomic,assign)BOOL isFirstViewController; 18 | @end 19 | 20 | @implementation NavigationController 21 | -(NSMutableArray *)urlViewController 22 | { 23 | if (!_urlViewController) { 24 | _urlViewController = [[NSMutableArray alloc]init]; 25 | } 26 | return _urlViewController; 27 | } 28 | - (void)viewDidLoad { 29 | [super viewDidLoad]; 30 | } 31 | - (void)didReceiveMemoryWarning { 32 | [super didReceiveMemoryWarning]; 33 | // Dispose of any resources that can be recreated. 34 | } 35 | -(UIViewController *)popViewControllerAnimated:(BOOL)animated 36 | { 37 | [self.urlViewController removeAllObjects]; 38 | 39 | return [super popViewControllerAnimated:animated]; 40 | } 41 | -(NSArray *)popToRootViewControllerAnimated:(BOOL)animated{ 42 | [self.urlViewController removeAllObjects]; 43 | return [super popToRootViewControllerAnimated:animated]; 44 | } 45 | -(BOOL)dealWithUrlStr:(NSString *)urlStr 46 | { 47 | NextViewController *nextVc = [[NextViewController alloc]init]; 48 | nextVc.urlStr = urlStr; 49 | 50 | //获取历史的ViewController 51 | __block BOOL march = NO; 52 | __block ICViewControllerRecord *re ; 53 | __block NSInteger index = 0 ; 54 | [self.urlViewController enumerateObjectsUsingBlock:^(ICViewControllerRecord *obj, NSUInteger idx, BOOL *stop) { 55 | if ([obj.url isEqualToString:urlStr]) { 56 | re = obj; 57 | march = YES; 58 | index = idx; 59 | *stop = YES; 60 | } 61 | }]; 62 | NSLog(@"%ld --- %ld",index,self.urlViewController.count - 1); 63 | 64 | 65 | if (march ){ 66 | [self.urlViewController removeObjectAtIndex:index]; 67 | return YES; 68 | }else{ 69 | 70 | NSUserDefaults *def = [NSUserDefaults standardUserDefaults]; 71 | CFAbsoluteTime t2 = CFAbsoluteTimeGetCurrent(); 72 | NSNumber *b = [def objectForKey:@"t1"]; 73 | CFAbsoluteTime getT = [b doubleValue]; 74 | // NSLog(@"%f,",t2 - getT); 75 | if (t2 - getT < 1.5) {//小聪明验证 76 | return YES; 77 | } 78 | 79 | CFAbsoluteTime t1 = CFAbsoluteTimeGetCurrent(); 80 | [def setObject:@(t1) forKey:@"t1"]; 81 | [def synchronize]; 82 | 83 | [self pushViewController:nextVc animated:YES]; 84 | ICViewControllerRecord *record = [[ICViewControllerRecord alloc]init]; 85 | record.url = urlStr; 86 | record.vc = nextVc; 87 | [self.urlViewController addObject:record]; 88 | } 89 | 90 | 91 | return NO; 92 | } 93 | /* 94 | #pragma mark - Navigation 95 | 96 | // In a storyboard-based application, you will often want to do a little preparation before navigation 97 | - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { 98 | // Get the new view controller using [segue destinationViewController]. 99 | // Pass the selected object to the new view controller. 100 | } 101 | */ 102 | 103 | @end 104 | -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManager/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 20 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManager/ViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // ICWebViewManager 4 | // 5 | // Created by andy on 15/8/18. 6 | // Copyright (c) 2015年 andy . All rights reserved. 7 | // 8 | 9 | #import "ViewController.h" 10 | #import "ICWebViewManager.h" 11 | #import "ICConst.h" 12 | 13 | @interface ViewController () 14 | @property (strong ,nonatomic)UIWebView *webView; 15 | @property (strong ,nonatomic)ICWebViewManager *webMgr; 16 | @property (strong ,nonatomic)UILabel *lable; 17 | 18 | @end 19 | 20 | @implementation ViewController 21 | 22 | - (void)viewDidLoad { 23 | [super viewDidLoad]; 24 | //创建WebView 25 | UIWebView *web = [[UIWebView alloc]initWithFrame:self.view.bounds]; 26 | web.frame = CGRectMake(0,0, self.view.frame.size.width, self.view.frame.size.height) ; 27 | [self.view addSubview:web]; 28 | self.webView = web; 29 | web.hidden = YES; 30 | 31 | ICWebViewManager *webMgr = [[ICWebViewManager alloc]initWithWebView:web vewController:self delegate:self]; 32 | webMgr.isFirstViewController = YES; 33 | 34 | self.webMgr = webMgr; 35 | [webMgr addObserver:self forURLString:@"http://www.baidu.com" goAhead:NO performSelector:@selector(goBaidu)]; 36 | [webMgr addObserverURLString:@"http://www.jd.com" goAhead:NO usingBlock:^{ 37 | UIAlertView *al = [[UIAlertView alloc]initWithTitle:@"点了京东" message:@"做的什么" delegate:nil cancelButtonTitle:@"取消" otherButtonTitles:@"确定", nil]; 38 | [al show]; 39 | }]; 40 | 41 | [webMgr addObserverURLString:@"http://m.dianping.com/tuan/buy/13303092" goAhead:YES usingBlock:^{ 42 | UIAlertView *al = [[UIAlertView alloc]initWithTitle:@"点了立即购买" message:@"做的什么呢" delegate:nil cancelButtonTitle:@"取消" otherButtonTitles:@"确定", nil]; 43 | [al show]; 44 | }]; 45 | 46 | 47 | [self loadWebView]; 48 | 49 | // UIButton *btn = [[UIButton alloc]init]; 50 | // [btn setTitle:@"删除一个节点" forState:UIControlStateNormal]; 51 | // btn.frame = CGRectMake(100, 100, 110, 20); 52 | // [btn setBackgroundColor:[UIColor redColor]]; 53 | // [self.view addSubview:btn]; 54 | // [btn addTarget:self action:@selector(deleteElement) forControlEvents:UIControlEventTouchUpInside]; 55 | // UILabel *lable = [[UILabel alloc]init]; 56 | // lable.frame = CGRectMake(0, 100, self.view.frame.size.width, 30); 57 | // lable.textAlignment = NSTextAlignmentCenter; 58 | // lable.textColor = [UIColor whiteColor]; 59 | // lable.backgroundColor = [UIColor redColor]; 60 | // self.lable = lable; 61 | //// [self.view addSubview:lable]; 62 | // [self.view insertSubview:lable belowSubview:web]; 63 | 64 | // Do any additional setup after loading the view, typically from a nib. 65 | } 66 | -(void)webViewDidFinishLoad:(UIWebView *)webView 67 | { 68 | webView.hidden = NO; 69 | //用于直接删除 70 | // [self deleteElement]; 71 | self.title = self.webMgr.webCurrentTitle; 72 | self.lable.text = webView.request.mainDocumentURL.absoluteString;; 73 | NSLog(@"标题:%@ \n 地址:%@ ",self.webMgr.webCurrentTitle,self.webMgr.webCurrentURL); 74 | // NSLog(@"%@",self.webMgr.webCurrentHTML); 75 | //删除header 76 | [self.webMgr deleteDivBygetElementByTagNameAll:@"header"]; 77 | //删除footer 78 | [self.webMgr deleteDivBygetElementByClassNameAll:@"footer"]; 79 | //删除返回按钮 80 | [self.webMgr deleteDivBygetElementByClassNameFirst:@"back back-gray"]; 81 | self.title = @"安哥的团购app"; 82 | } 83 | 84 | - (void)goBaidu { 85 | UIAlertView *al = [[UIAlertView alloc]initWithTitle:@"点了百度" message:@"做点什么" delegate:nil cancelButtonTitle:@"取消" otherButtonTitles:@"确定", nil]; 86 | [al show]; 87 | } 88 | -(void)loadWebView{ 89 | // NSString *path = [[NSBundle mainBundle]pathForResource:@"index.html" ofType:nil]; 90 | // NSURL *url = [[NSURL alloc]initFileURLWithPath:path]; 91 | // NSURL *url = [NSURL URLWithString:@"http://m.dianping.com/tuan/deal/13247658"]; 92 | NSURL *url = [NSURL URLWithString:BASEDomain]; 93 | self.webMgr.currentBaseUrlStr = BASEDomain; 94 | // NSURL *url = [NSURL URLWithString:@"http://www.baidu.com"]; 95 | NSURLRequest *request = [NSURLRequest requestWithURL:url]; 96 | [self.webView loadRequest:request]; 97 | } 98 | 99 | -(void)deleteElement{ 100 | [self.webMgr deleteDivBygetElementById:@"text1"]; 101 | } 102 | 103 | @end 104 | -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManager.xcodeproj/xcuserdata/andy.xcuserdatad/xcschemes/ICWebViewManager.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 75 | 77 | 83 | 84 | 85 | 86 | 87 | 88 | 94 | 96 | 102 | 103 | 104 | 105 | 107 | 108 | 111 | 112 | 113 | -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManager/ICWebViewManager.m: -------------------------------------------------------------------------------- 1 | // 2 | // ICWebViewManager.m 3 | // ICWebViewManager 4 | // 5 | // Created by andy on 15/8/18. 6 | // Copyright (c) 2015年 andy . All rights reserved. 7 | // 8 | 9 | #import "ICWebViewManager.h" 10 | #import "NextViewController.h" 11 | 12 | 13 | 14 | 15 | @interface ICSelectorObject : NSObject 16 | 17 | @property (nonatomic,assign)SEL sel; 18 | @property (nonatomic,assign)BOOL goAhead; 19 | @property (nonatomic ,strong)id target; 20 | @property (nonatomic ,copy)WebManagerBlock block; 21 | 22 | 23 | @end 24 | 25 | @implementation ICSelectorObject 26 | 27 | 28 | 29 | @end 30 | 31 | @interface ICWebViewManager () 32 | //观察的url 33 | @property (nonatomic,strong)NSMutableDictionary *observers; 34 | 35 | @property (nonatomic ,strong)UIWebView *webView; 36 | 37 | @property (nonatomic ,assign)BOOL needTo; 38 | 39 | @end 40 | 41 | 42 | @implementation ICWebViewManager 43 | 44 | 45 | static id instance ; 46 | -(instancetype)initWithWebView:(UIWebView *)webView vewController:(UIViewController *)vc delegate:(id)delegate 47 | { 48 | if (self = [super init]) { 49 | self.webView = webView; 50 | webView.delegate = self; 51 | self.navigationController = vc.navigationController; 52 | self.delegate = delegate; 53 | } 54 | return self; 55 | 56 | } 57 | 58 | 59 | 60 | -(NSMutableDictionary *)observers 61 | { 62 | if (!_observers) { 63 | _observers = [[NSMutableDictionary alloc]init]; 64 | } 65 | return _observers; 66 | } 67 | 68 | -(void)addObserver:(id)observer forURLString:(NSString *)urlStr goAhead:(BOOL)goAhead performSelector:(SEL)sel 69 | { 70 | // self.webView.delegate = self; 71 | ICSelectorObject *obj = [[ICSelectorObject alloc]init]; 72 | obj.sel = sel; 73 | obj.target = observer; 74 | obj.goAhead = goAhead; 75 | [self.observers setObject:obj forKey:urlStr]; 76 | } 77 | -(void)addObserverURLString:(NSString *)urlStr goAhead:(BOOL)goAhead usingBlock:(WebManagerBlock)block 78 | { 79 | 80 | ICSelectorObject *obj = [[ICSelectorObject alloc]init]; 81 | obj.block = block; 82 | obj.goAhead = goAhead; 83 | [self.observers setObject:obj forKey:urlStr]; 84 | } 85 | -(void)removeObserverURLString:(NSString *)urlStr 86 | { 87 | [self.observers removeObjectForKey:urlStr]; 88 | } 89 | /** 90 | * 监听是否执行的URL 91 | * @return 是否执行 92 | */ 93 | -(BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType{ 94 | NSString *urlStr = request.URL.absoluteString; 95 | NSLog(@"%@",urlStr); 96 | 97 | if ([urlStr hasSuffix:@"/"]) { 98 | urlStr = [urlStr substringToIndex:urlStr.length - 1]; 99 | } 100 | if ([urlStr isEqualToString:@"about:blank"]) { 101 | return NO; 102 | } 103 | if ([urlStr hasPrefix:@"tel:"]||[urlStr hasPrefix:@"msm:"]) { 104 | return YES; 105 | } 106 | //当前页面跳转 107 | if (urlStr.length > self.currentBaseUrlStr.length) { 108 | NSString * mach_urlStr = [urlStr substringToIndex:self.currentBaseUrlStr.length ]; 109 | if ([mach_urlStr isEqualToString:self.currentBaseUrlStr]) { 110 | return YES; 111 | } 112 | } 113 | 114 | 115 | if (self.isFirstViewController) { 116 | self.isFirstViewController = NO; 117 | return YES; 118 | } 119 | 120 | 121 | id obj = self.observers[urlStr]; 122 | if (!obj) { 123 | //检测导航控制器有没有实现代理 实现了 124 | if ([self.navigationController respondsToSelector:@selector(dealWithUrlStr:)]) { 125 | return [self.navigationController dealWithUrlStr:urlStr]; 126 | } 127 | return YES; 128 | 129 | } 130 | if ([obj isKindOfClass:[ICSelectorObject class]]) { 131 | ICSelectorObject * o = obj; 132 | if (o.block) { 133 | o.block(); 134 | }else{ 135 | #pragma clang diagnostic push 136 | #pragma clang diagnostic ignored "-Warc-performSelector-leaks" 137 | [o.target performSelector:o.sel]; 138 | #pragma clang clang diagnostic pop 139 | } 140 | //检测导航控制器有没有实现代理 实现了 141 | if ([self.navigationController respondsToSelector:@selector(dealWithUrlStr:)]) { 142 | return [self.navigationController dealWithUrlStr:urlStr]; 143 | } 144 | return o.goAhead; 145 | } 146 | return NO; 147 | } 148 | - (void)webViewDidStartLoad:(UIWebView *)webView{ 149 | if ([self.delegate respondsToSelector:@selector(webViewDidStartLoad:)]) { 150 | [self.delegate webViewDidStartLoad:webView]; 151 | } 152 | } 153 | - (void)webViewDidFinishLoad:(UIWebView *)webView{ 154 | //添加js 155 | [self addJS]; 156 | if ([self.delegate respondsToSelector:@selector(webViewDidFinishLoad:)]) { 157 | [self.delegate webViewDidFinishLoad:webView]; 158 | } 159 | @try { 160 | [self divgetElementInnerByClassName:@"info"]; 161 | } 162 | @catch (NSException *exception) { 163 | @throw exception; 164 | } 165 | @finally { 166 | 167 | } 168 | 169 | } 170 | - (void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error{ 171 | if ([self.delegate respondsToSelector:@selector(webView:didFailLoadWithError:)]) { 172 | [self.delegate webView:webView didFailLoadWithError:error]; 173 | } 174 | } 175 | -(void)deleteDivBygetElementById:(NSString *)elementId 176 | { 177 | NSString *det = [NSString stringWithFormat:@"deletedById('%@')",elementId]; 178 | [self.webView stringByEvaluatingJavaScriptFromString:det]; 179 | 180 | } 181 | 182 | -(void)deleteDivBygetElementByClassNameFirst:(NSString *)className{ 183 | NSMutableString *mtg = [NSMutableString string]; 184 | [mtg appendFormat:@"var chat = document.getElementsByClassName('%@');",className]; 185 | [mtg appendString:@"var cl = chat[0];"]; 186 | [mtg appendString:@"if (cl != null);"]; 187 | [mtg appendString:@"cl.parentNode.removeChild(cl);"]; 188 | [self.webView stringByEvaluatingJavaScriptFromString:mtg]; 189 | } 190 | 191 | -(void)deleteDivBygetElementByClassNameLast:(NSString *)className{ 192 | NSMutableString *mtg = [NSMutableString string]; 193 | [mtg appendFormat:@"var chat = document.getElementsByClassName('%@');",className]; 194 | [mtg appendString:@"var cl = chat[chat.length -1];"]; 195 | [mtg appendString:@"if (cl != null);"]; 196 | [mtg appendString:@"cl.parentNode.removeChild(cl);"]; 197 | [self.webView stringByEvaluatingJavaScriptFromString:mtg]; 198 | } 199 | -(void)deleteDivBygetElementByClassNameAll:(NSString *)className{ 200 | NSMutableString *mtg = [NSMutableString string]; 201 | [mtg appendFormat:@"var chat = document.getElementsByClassName('%@');",className]; 202 | [mtg appendString:@"var leng = chat.length;"]; 203 | [mtg appendString:@"for (var i = 0; i < leng; ++i) {"]; 204 | [mtg appendString:@"var cl = chat[0];"]; 205 | [mtg appendString:@"if (cl != null);"]; 206 | [mtg appendString:@"cl.parentNode.removeChild(cl);"]; 207 | [mtg appendString:@"}"]; 208 | [self.webView stringByEvaluatingJavaScriptFromString:mtg]; 209 | 210 | 211 | } 212 | -(void)deleteDivBygetElementByTagNameFirst:(NSString *)className{ 213 | NSMutableString *mtg = [NSMutableString string]; 214 | [mtg appendFormat:@"var chat = document.getElementsByTagName('%@');",className]; 215 | [mtg appendString:@"var cl = chat[0];"]; 216 | [mtg appendString:@"if (cl != null);"]; 217 | [mtg appendString:@"cl.parentNode.removeChild(cl);"]; 218 | [self.webView stringByEvaluatingJavaScriptFromString:mtg]; 219 | } 220 | 221 | -(void)deleteDivBygetElementByTagNameLast:(NSString *)className{ 222 | NSMutableString *mtg = [NSMutableString string]; 223 | [mtg appendFormat:@"var chat = document.getElementsByTagName('%@');",className]; 224 | [mtg appendString:@"var cl = chat[chat.length -1];"]; 225 | [mtg appendString:@"if (cl != null);"]; 226 | [mtg appendString:@"cl.parentNode.removeChild(cl);"]; 227 | [self.webView stringByEvaluatingJavaScriptFromString:mtg]; 228 | } 229 | -(void)deleteDivBygetElementByTagNameAll:(NSString *)className{ 230 | NSMutableString *mtg = [NSMutableString string]; 231 | [mtg appendFormat:@"var chat = document.getElementsByTagName('%@');",className]; 232 | [mtg appendString:@"var leng = chat.length;"]; 233 | [mtg appendString:@"for (var i = 0; i < leng; ++i) {"]; 234 | [mtg appendString:@"var cl = chat[0];"]; 235 | [mtg appendString:@"if (cl != null);"]; 236 | [mtg appendString:@"cl.parentNode.removeChild(cl);"]; 237 | [mtg appendString:@"}"]; 238 | [self.webView stringByEvaluatingJavaScriptFromString:mtg]; 239 | } 240 | -(NSString *)divgetElementInnerByClassName:(NSString *)name{ 241 | NSMutableString *mtg = [NSMutableString string]; 242 | [mtg appendFormat:@"var chat = document.getElementsByClassName('%@');",name]; 243 | [mtg appendString:@"chat[0].innerText;"]; 244 | NSString *str = [self.webView stringByEvaluatingJavaScriptFromString:mtg]; 245 | return str; 246 | } 247 | -(NSString *)webCurrentHTML 248 | { 249 | NSString *lJs = @"document.documentElement.innerHTML";//获取当前网页的html 250 | return [self.webView stringByEvaluatingJavaScriptFromString:lJs]; 251 | } 252 | -(NSString *)webCurrentTitle{ 253 | NSString *info = [self divgetElementInnerByClassName:@"info"]; 254 | NSString *title = [self divgetElementInnerByClassName:@"title"]; 255 | if(info.length == 0){ 256 | return title; 257 | }else{ 258 | return info; 259 | } 260 | } 261 | 262 | -(NSString *)webDocumentTitle{ 263 | return [self.webView stringByEvaluatingJavaScriptFromString:@"document.title"]; 264 | } 265 | -(NSString *)webCurrentURL{ 266 | 267 | return [self.webView stringByEvaluatingJavaScriptFromString:@"document.location.href"]; 268 | } 269 | 270 | -(void)addJS{ 271 | //删除一个节点方法 272 | NSMutableString *mst = [NSMutableString string]; 273 | [mst appendString:@"function deletedById(id){\n"]; 274 | [mst appendString:@"var chat = document.getElementById(id);\n"]; 275 | [mst appendString:@"if (chat != null)\n"]; 276 | [mst appendString:@"chat.parentNode.removeChild(chat);\n"]; 277 | [mst appendString:@"}\n"]; 278 | [self.webView stringByEvaluatingJavaScriptFromString:mst]; 279 | } 280 | 281 | 282 | @end 283 | -------------------------------------------------------------------------------- /ICWebViewManager/ICWebViewManager.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | A14C15AA1B8358230079A17C /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = A14C15A91B8358230079A17C /* main.m */; }; 11 | A14C15AD1B8358230079A17C /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = A14C15AC1B8358230079A17C /* AppDelegate.m */; }; 12 | A14C15B01B8358230079A17C /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A14C15AF1B8358230079A17C /* ViewController.m */; }; 13 | A14C15B31B8358230079A17C /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = A14C15B11B8358230079A17C /* Main.storyboard */; }; 14 | A14C15B51B8358230079A17C /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = A14C15B41B8358230079A17C /* Images.xcassets */; }; 15 | A14C15B81B8358230079A17C /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = A14C15B61B8358230079A17C /* LaunchScreen.xib */; }; 16 | A14C15C41B8358230079A17C /* ICWebViewManagerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = A14C15C31B8358230079A17C /* ICWebViewManagerTests.m */; }; 17 | A14C15D01B83586C0079A17C /* ICWebViewManager.m in Sources */ = {isa = PBXBuildFile; fileRef = A14C15CF1B83586C0079A17C /* ICWebViewManager.m */; }; 18 | A1C2EA401B8408B100B33427 /* index.html in Resources */ = {isa = PBXBuildFile; fileRef = A1C2EA3F1B8408B100B33427 /* index.html */; }; 19 | A1C2EAA91B845DAF00B33427 /* NextViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A1C2EAA81B845DAF00B33427 /* NextViewController.m */; }; 20 | A1C2EAAC1B84712000B33427 /* NavigationController.m in Sources */ = {isa = PBXBuildFile; fileRef = A1C2EAAB1B84712000B33427 /* NavigationController.m */; }; 21 | A1C2EAAF1B847E5A00B33427 /* ICViewControllerRecord.m in Sources */ = {isa = PBXBuildFile; fileRef = A1C2EAAE1B847E5A00B33427 /* ICViewControllerRecord.m */; }; 22 | /* End PBXBuildFile section */ 23 | 24 | /* Begin PBXContainerItemProxy section */ 25 | A14C15BE1B8358230079A17C /* PBXContainerItemProxy */ = { 26 | isa = PBXContainerItemProxy; 27 | containerPortal = A14C159C1B8358220079A17C /* Project object */; 28 | proxyType = 1; 29 | remoteGlobalIDString = A14C15A31B8358230079A17C; 30 | remoteInfo = ICWebViewManager; 31 | }; 32 | /* End PBXContainerItemProxy section */ 33 | 34 | /* Begin PBXFileReference section */ 35 | A14C15A41B8358230079A17C /* ICWebViewManager.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ICWebViewManager.app; sourceTree = BUILT_PRODUCTS_DIR; }; 36 | A14C15A81B8358230079A17C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 37 | A14C15A91B8358230079A17C /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 38 | A14C15AB1B8358230079A17C /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 39 | A14C15AC1B8358230079A17C /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 40 | A14C15AE1B8358230079A17C /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; 41 | A14C15AF1B8358230079A17C /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; 42 | A14C15B21B8358230079A17C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 43 | A14C15B41B8358230079A17C /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 44 | A14C15B71B8358230079A17C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 45 | A14C15BD1B8358230079A17C /* ICWebViewManagerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ICWebViewManagerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 46 | A14C15C21B8358230079A17C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 47 | A14C15C31B8358230079A17C /* ICWebViewManagerTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ICWebViewManagerTests.m; sourceTree = ""; }; 48 | A14C15CE1B83586C0079A17C /* ICWebViewManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ICWebViewManager.h; sourceTree = ""; }; 49 | A14C15CF1B83586C0079A17C /* ICWebViewManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ICWebViewManager.m; sourceTree = ""; }; 50 | A1C2EA3F1B8408B100B33427 /* index.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = index.html; sourceTree = ""; }; 51 | A1C2EAA71B845DAE00B33427 /* NextViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NextViewController.h; sourceTree = ""; }; 52 | A1C2EAA81B845DAF00B33427 /* NextViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NextViewController.m; sourceTree = ""; }; 53 | A1C2EAAA1B84712000B33427 /* NavigationController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NavigationController.h; sourceTree = ""; }; 54 | A1C2EAAB1B84712000B33427 /* NavigationController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NavigationController.m; sourceTree = ""; }; 55 | A1C2EAAD1B847E5A00B33427 /* ICViewControllerRecord.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ICViewControllerRecord.h; sourceTree = ""; }; 56 | A1C2EAAE1B847E5A00B33427 /* ICViewControllerRecord.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ICViewControllerRecord.m; sourceTree = ""; }; 57 | A1C2EAB01B855E5F00B33427 /* ICConst.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ICConst.h; sourceTree = ""; }; 58 | /* End PBXFileReference section */ 59 | 60 | /* Begin PBXFrameworksBuildPhase section */ 61 | A14C15A11B8358230079A17C /* Frameworks */ = { 62 | isa = PBXFrameworksBuildPhase; 63 | buildActionMask = 2147483647; 64 | files = ( 65 | ); 66 | runOnlyForDeploymentPostprocessing = 0; 67 | }; 68 | A14C15BA1B8358230079A17C /* Frameworks */ = { 69 | isa = PBXFrameworksBuildPhase; 70 | buildActionMask = 2147483647; 71 | files = ( 72 | ); 73 | runOnlyForDeploymentPostprocessing = 0; 74 | }; 75 | /* End PBXFrameworksBuildPhase section */ 76 | 77 | /* Begin PBXGroup section */ 78 | A14C159B1B8358220079A17C = { 79 | isa = PBXGroup; 80 | children = ( 81 | A14C15A61B8358230079A17C /* ICWebViewManager */, 82 | A14C15C01B8358230079A17C /* ICWebViewManagerTests */, 83 | A14C15A51B8358230079A17C /* Products */, 84 | ); 85 | sourceTree = ""; 86 | }; 87 | A14C15A51B8358230079A17C /* Products */ = { 88 | isa = PBXGroup; 89 | children = ( 90 | A14C15A41B8358230079A17C /* ICWebViewManager.app */, 91 | A14C15BD1B8358230079A17C /* ICWebViewManagerTests.xctest */, 92 | ); 93 | name = Products; 94 | sourceTree = ""; 95 | }; 96 | A14C15A61B8358230079A17C /* ICWebViewManager */ = { 97 | isa = PBXGroup; 98 | children = ( 99 | A14C15CD1B8358430079A17C /* ICWebViewmanager */, 100 | A14C15AB1B8358230079A17C /* AppDelegate.h */, 101 | A1C2EAAA1B84712000B33427 /* NavigationController.h */, 102 | A1C2EAAB1B84712000B33427 /* NavigationController.m */, 103 | A14C15AC1B8358230079A17C /* AppDelegate.m */, 104 | A14C15AE1B8358230079A17C /* ViewController.h */, 105 | A14C15AF1B8358230079A17C /* ViewController.m */, 106 | A1C2EAA71B845DAE00B33427 /* NextViewController.h */, 107 | A1C2EAA81B845DAF00B33427 /* NextViewController.m */, 108 | A14C15B11B8358230079A17C /* Main.storyboard */, 109 | A14C15B41B8358230079A17C /* Images.xcassets */, 110 | A14C15B61B8358230079A17C /* LaunchScreen.xib */, 111 | A14C15A71B8358230079A17C /* Supporting Files */, 112 | ); 113 | path = ICWebViewManager; 114 | sourceTree = ""; 115 | }; 116 | A14C15A71B8358230079A17C /* Supporting Files */ = { 117 | isa = PBXGroup; 118 | children = ( 119 | A14C15A81B8358230079A17C /* Info.plist */, 120 | A14C15A91B8358230079A17C /* main.m */, 121 | ); 122 | name = "Supporting Files"; 123 | sourceTree = ""; 124 | }; 125 | A14C15C01B8358230079A17C /* ICWebViewManagerTests */ = { 126 | isa = PBXGroup; 127 | children = ( 128 | A14C15C31B8358230079A17C /* ICWebViewManagerTests.m */, 129 | A14C15C11B8358230079A17C /* Supporting Files */, 130 | ); 131 | path = ICWebViewManagerTests; 132 | sourceTree = ""; 133 | }; 134 | A14C15C11B8358230079A17C /* Supporting Files */ = { 135 | isa = PBXGroup; 136 | children = ( 137 | A14C15C21B8358230079A17C /* Info.plist */, 138 | ); 139 | name = "Supporting Files"; 140 | sourceTree = ""; 141 | }; 142 | A14C15CD1B8358430079A17C /* ICWebViewmanager */ = { 143 | isa = PBXGroup; 144 | children = ( 145 | A1C2EA3F1B8408B100B33427 /* index.html */, 146 | A14C15CE1B83586C0079A17C /* ICWebViewManager.h */, 147 | A14C15CF1B83586C0079A17C /* ICWebViewManager.m */, 148 | A1C2EAAD1B847E5A00B33427 /* ICViewControllerRecord.h */, 149 | A1C2EAAE1B847E5A00B33427 /* ICViewControllerRecord.m */, 150 | A1C2EAB01B855E5F00B33427 /* ICConst.h */, 151 | ); 152 | name = ICWebViewmanager; 153 | sourceTree = ""; 154 | }; 155 | /* End PBXGroup section */ 156 | 157 | /* Begin PBXNativeTarget section */ 158 | A14C15A31B8358230079A17C /* ICWebViewManager */ = { 159 | isa = PBXNativeTarget; 160 | buildConfigurationList = A14C15C71B8358230079A17C /* Build configuration list for PBXNativeTarget "ICWebViewManager" */; 161 | buildPhases = ( 162 | A14C15A01B8358230079A17C /* Sources */, 163 | A14C15A11B8358230079A17C /* Frameworks */, 164 | A14C15A21B8358230079A17C /* Resources */, 165 | ); 166 | buildRules = ( 167 | ); 168 | dependencies = ( 169 | ); 170 | name = ICWebViewManager; 171 | productName = ICWebViewManager; 172 | productReference = A14C15A41B8358230079A17C /* ICWebViewManager.app */; 173 | productType = "com.apple.product-type.application"; 174 | }; 175 | A14C15BC1B8358230079A17C /* ICWebViewManagerTests */ = { 176 | isa = PBXNativeTarget; 177 | buildConfigurationList = A14C15CA1B8358230079A17C /* Build configuration list for PBXNativeTarget "ICWebViewManagerTests" */; 178 | buildPhases = ( 179 | A14C15B91B8358230079A17C /* Sources */, 180 | A14C15BA1B8358230079A17C /* Frameworks */, 181 | A14C15BB1B8358230079A17C /* Resources */, 182 | ); 183 | buildRules = ( 184 | ); 185 | dependencies = ( 186 | A14C15BF1B8358230079A17C /* PBXTargetDependency */, 187 | ); 188 | name = ICWebViewManagerTests; 189 | productName = ICWebViewManagerTests; 190 | productReference = A14C15BD1B8358230079A17C /* ICWebViewManagerTests.xctest */; 191 | productType = "com.apple.product-type.bundle.unit-test"; 192 | }; 193 | /* End PBXNativeTarget section */ 194 | 195 | /* Begin PBXProject section */ 196 | A14C159C1B8358220079A17C /* Project object */ = { 197 | isa = PBXProject; 198 | attributes = { 199 | LastUpgradeCheck = 0630; 200 | ORGANIZATIONNAME = "andy "; 201 | TargetAttributes = { 202 | A14C15A31B8358230079A17C = { 203 | CreatedOnToolsVersion = 6.3.1; 204 | }; 205 | A14C15BC1B8358230079A17C = { 206 | CreatedOnToolsVersion = 6.3.1; 207 | TestTargetID = A14C15A31B8358230079A17C; 208 | }; 209 | }; 210 | }; 211 | buildConfigurationList = A14C159F1B8358230079A17C /* Build configuration list for PBXProject "ICWebViewManager" */; 212 | compatibilityVersion = "Xcode 3.2"; 213 | developmentRegion = English; 214 | hasScannedForEncodings = 0; 215 | knownRegions = ( 216 | en, 217 | Base, 218 | ); 219 | mainGroup = A14C159B1B8358220079A17C; 220 | productRefGroup = A14C15A51B8358230079A17C /* Products */; 221 | projectDirPath = ""; 222 | projectRoot = ""; 223 | targets = ( 224 | A14C15A31B8358230079A17C /* ICWebViewManager */, 225 | A14C15BC1B8358230079A17C /* ICWebViewManagerTests */, 226 | ); 227 | }; 228 | /* End PBXProject section */ 229 | 230 | /* Begin PBXResourcesBuildPhase section */ 231 | A14C15A21B8358230079A17C /* Resources */ = { 232 | isa = PBXResourcesBuildPhase; 233 | buildActionMask = 2147483647; 234 | files = ( 235 | A14C15B31B8358230079A17C /* Main.storyboard in Resources */, 236 | A1C2EA401B8408B100B33427 /* index.html in Resources */, 237 | A14C15B81B8358230079A17C /* LaunchScreen.xib in Resources */, 238 | A14C15B51B8358230079A17C /* Images.xcassets in Resources */, 239 | ); 240 | runOnlyForDeploymentPostprocessing = 0; 241 | }; 242 | A14C15BB1B8358230079A17C /* Resources */ = { 243 | isa = PBXResourcesBuildPhase; 244 | buildActionMask = 2147483647; 245 | files = ( 246 | ); 247 | runOnlyForDeploymentPostprocessing = 0; 248 | }; 249 | /* End PBXResourcesBuildPhase section */ 250 | 251 | /* Begin PBXSourcesBuildPhase section */ 252 | A14C15A01B8358230079A17C /* Sources */ = { 253 | isa = PBXSourcesBuildPhase; 254 | buildActionMask = 2147483647; 255 | files = ( 256 | A1C2EAA91B845DAF00B33427 /* NextViewController.m in Sources */, 257 | A1C2EAAF1B847E5A00B33427 /* ICViewControllerRecord.m in Sources */, 258 | A14C15B01B8358230079A17C /* ViewController.m in Sources */, 259 | A14C15D01B83586C0079A17C /* ICWebViewManager.m in Sources */, 260 | A1C2EAAC1B84712000B33427 /* NavigationController.m in Sources */, 261 | A14C15AD1B8358230079A17C /* AppDelegate.m in Sources */, 262 | A14C15AA1B8358230079A17C /* main.m in Sources */, 263 | ); 264 | runOnlyForDeploymentPostprocessing = 0; 265 | }; 266 | A14C15B91B8358230079A17C /* Sources */ = { 267 | isa = PBXSourcesBuildPhase; 268 | buildActionMask = 2147483647; 269 | files = ( 270 | A14C15C41B8358230079A17C /* ICWebViewManagerTests.m in Sources */, 271 | ); 272 | runOnlyForDeploymentPostprocessing = 0; 273 | }; 274 | /* End PBXSourcesBuildPhase section */ 275 | 276 | /* Begin PBXTargetDependency section */ 277 | A14C15BF1B8358230079A17C /* PBXTargetDependency */ = { 278 | isa = PBXTargetDependency; 279 | target = A14C15A31B8358230079A17C /* ICWebViewManager */; 280 | targetProxy = A14C15BE1B8358230079A17C /* PBXContainerItemProxy */; 281 | }; 282 | /* End PBXTargetDependency section */ 283 | 284 | /* Begin PBXVariantGroup section */ 285 | A14C15B11B8358230079A17C /* Main.storyboard */ = { 286 | isa = PBXVariantGroup; 287 | children = ( 288 | A14C15B21B8358230079A17C /* Base */, 289 | ); 290 | name = Main.storyboard; 291 | sourceTree = ""; 292 | }; 293 | A14C15B61B8358230079A17C /* LaunchScreen.xib */ = { 294 | isa = PBXVariantGroup; 295 | children = ( 296 | A14C15B71B8358230079A17C /* Base */, 297 | ); 298 | name = LaunchScreen.xib; 299 | sourceTree = ""; 300 | }; 301 | /* End PBXVariantGroup section */ 302 | 303 | /* Begin XCBuildConfiguration section */ 304 | A14C15C51B8358230079A17C /* Debug */ = { 305 | isa = XCBuildConfiguration; 306 | buildSettings = { 307 | ALWAYS_SEARCH_USER_PATHS = NO; 308 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 309 | CLANG_CXX_LIBRARY = "libc++"; 310 | CLANG_ENABLE_MODULES = YES; 311 | CLANG_ENABLE_OBJC_ARC = YES; 312 | CLANG_WARN_BOOL_CONVERSION = YES; 313 | CLANG_WARN_CONSTANT_CONVERSION = YES; 314 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 315 | CLANG_WARN_EMPTY_BODY = YES; 316 | CLANG_WARN_ENUM_CONVERSION = YES; 317 | CLANG_WARN_INT_CONVERSION = YES; 318 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 319 | CLANG_WARN_UNREACHABLE_CODE = YES; 320 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 321 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 322 | COPY_PHASE_STRIP = NO; 323 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 324 | ENABLE_STRICT_OBJC_MSGSEND = YES; 325 | GCC_C_LANGUAGE_STANDARD = gnu99; 326 | GCC_DYNAMIC_NO_PIC = NO; 327 | GCC_NO_COMMON_BLOCKS = YES; 328 | GCC_OPTIMIZATION_LEVEL = 0; 329 | GCC_PREPROCESSOR_DEFINITIONS = ( 330 | "DEBUG=1", 331 | "$(inherited)", 332 | ); 333 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 334 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 335 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 336 | GCC_WARN_UNDECLARED_SELECTOR = YES; 337 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 338 | GCC_WARN_UNUSED_FUNCTION = YES; 339 | GCC_WARN_UNUSED_VARIABLE = YES; 340 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 341 | MTL_ENABLE_DEBUG_INFO = YES; 342 | ONLY_ACTIVE_ARCH = YES; 343 | SDKROOT = iphoneos; 344 | }; 345 | name = Debug; 346 | }; 347 | A14C15C61B8358230079A17C /* Release */ = { 348 | isa = XCBuildConfiguration; 349 | buildSettings = { 350 | ALWAYS_SEARCH_USER_PATHS = NO; 351 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 352 | CLANG_CXX_LIBRARY = "libc++"; 353 | CLANG_ENABLE_MODULES = YES; 354 | CLANG_ENABLE_OBJC_ARC = YES; 355 | CLANG_WARN_BOOL_CONVERSION = YES; 356 | CLANG_WARN_CONSTANT_CONVERSION = YES; 357 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 358 | CLANG_WARN_EMPTY_BODY = YES; 359 | CLANG_WARN_ENUM_CONVERSION = YES; 360 | CLANG_WARN_INT_CONVERSION = YES; 361 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 362 | CLANG_WARN_UNREACHABLE_CODE = YES; 363 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 364 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 365 | COPY_PHASE_STRIP = NO; 366 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 367 | ENABLE_NS_ASSERTIONS = NO; 368 | ENABLE_STRICT_OBJC_MSGSEND = YES; 369 | GCC_C_LANGUAGE_STANDARD = gnu99; 370 | GCC_NO_COMMON_BLOCKS = YES; 371 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 372 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 373 | GCC_WARN_UNDECLARED_SELECTOR = YES; 374 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 375 | GCC_WARN_UNUSED_FUNCTION = YES; 376 | GCC_WARN_UNUSED_VARIABLE = YES; 377 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 378 | MTL_ENABLE_DEBUG_INFO = NO; 379 | SDKROOT = iphoneos; 380 | VALIDATE_PRODUCT = YES; 381 | }; 382 | name = Release; 383 | }; 384 | A14C15C81B8358230079A17C /* Debug */ = { 385 | isa = XCBuildConfiguration; 386 | buildSettings = { 387 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 388 | INFOPLIST_FILE = ICWebViewManager/Info.plist; 389 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 390 | PRODUCT_NAME = "$(TARGET_NAME)"; 391 | }; 392 | name = Debug; 393 | }; 394 | A14C15C91B8358230079A17C /* Release */ = { 395 | isa = XCBuildConfiguration; 396 | buildSettings = { 397 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 398 | INFOPLIST_FILE = ICWebViewManager/Info.plist; 399 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 400 | PRODUCT_NAME = "$(TARGET_NAME)"; 401 | }; 402 | name = Release; 403 | }; 404 | A14C15CB1B8358230079A17C /* Debug */ = { 405 | isa = XCBuildConfiguration; 406 | buildSettings = { 407 | BUNDLE_LOADER = "$(TEST_HOST)"; 408 | FRAMEWORK_SEARCH_PATHS = ( 409 | "$(SDKROOT)/Developer/Library/Frameworks", 410 | "$(inherited)", 411 | ); 412 | GCC_PREPROCESSOR_DEFINITIONS = ( 413 | "DEBUG=1", 414 | "$(inherited)", 415 | ); 416 | INFOPLIST_FILE = ICWebViewManagerTests/Info.plist; 417 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 418 | PRODUCT_NAME = "$(TARGET_NAME)"; 419 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ICWebViewManager.app/ICWebViewManager"; 420 | }; 421 | name = Debug; 422 | }; 423 | A14C15CC1B8358230079A17C /* Release */ = { 424 | isa = XCBuildConfiguration; 425 | buildSettings = { 426 | BUNDLE_LOADER = "$(TEST_HOST)"; 427 | FRAMEWORK_SEARCH_PATHS = ( 428 | "$(SDKROOT)/Developer/Library/Frameworks", 429 | "$(inherited)", 430 | ); 431 | INFOPLIST_FILE = ICWebViewManagerTests/Info.plist; 432 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 433 | PRODUCT_NAME = "$(TARGET_NAME)"; 434 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ICWebViewManager.app/ICWebViewManager"; 435 | }; 436 | name = Release; 437 | }; 438 | /* End XCBuildConfiguration section */ 439 | 440 | /* Begin XCConfigurationList section */ 441 | A14C159F1B8358230079A17C /* Build configuration list for PBXProject "ICWebViewManager" */ = { 442 | isa = XCConfigurationList; 443 | buildConfigurations = ( 444 | A14C15C51B8358230079A17C /* Debug */, 445 | A14C15C61B8358230079A17C /* Release */, 446 | ); 447 | defaultConfigurationIsVisible = 0; 448 | defaultConfigurationName = Release; 449 | }; 450 | A14C15C71B8358230079A17C /* Build configuration list for PBXNativeTarget "ICWebViewManager" */ = { 451 | isa = XCConfigurationList; 452 | buildConfigurations = ( 453 | A14C15C81B8358230079A17C /* Debug */, 454 | A14C15C91B8358230079A17C /* Release */, 455 | ); 456 | defaultConfigurationIsVisible = 0; 457 | defaultConfigurationName = Release; 458 | }; 459 | A14C15CA1B8358230079A17C /* Build configuration list for PBXNativeTarget "ICWebViewManagerTests" */ = { 460 | isa = XCConfigurationList; 461 | buildConfigurations = ( 462 | A14C15CB1B8358230079A17C /* Debug */, 463 | A14C15CC1B8358230079A17C /* Release */, 464 | ); 465 | defaultConfigurationIsVisible = 0; 466 | defaultConfigurationName = Release; 467 | }; 468 | /* End XCConfigurationList section */ 469 | }; 470 | rootObject = A14C159C1B8358220079A17C /* Project object */; 471 | } 472 | --------------------------------------------------------------------------------