You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
133 lines
3.6 KiB
133 lines
3.6 KiB
![]()
2 years ago
|
//
|
||
|
// wUAD_Class_Wbylmg.m
|
||
|
// Created by apple on 2023/09/01
|
||
|
//
|
||
|
// Copyright © 2023年 apple. All rights reserved.
|
||
|
//
|
||
|
|
||
|
|
||
|
#import "wUAD_Class_Wbylmg.h"
|
||
|
@implementation wUAD_Class_Wbylmg
|
||
|
#pragma mark:可以快速生成开发文档
|
||
|
+ (void)bag_X11_gorgeous:(NSString *)arg1 rvmyhostTgsbaa:(NSString *)rvmyhostTgsbaa {
|
||
|
NSLog(@"function:%s line:", __FUNCTION__);
|
||
|
|
||
|
[rvmyhostTgsbaa substringFromIndex:1];
|
||
|
|
||
|
[rvmyhostTgsbaa isEqualToString:@"freedom"];
|
||
|
|
||
|
NSLog(@"%@===%@", rvmyhostTgsbaa,@"hodgepodge");
|
||
|
|
||
|
}
|
||
|
|
||
|
#pragma mark:首先要实例化一个WKWebView
|
||
|
+ (void)ssw_X11_petrichor:(NSString *)arg1 rvmyhostTgsbaa:(NSString *)rvmyhostTgsbaa {
|
||
|
NSLog(@"function:%s line:", __FUNCTION__);
|
||
|
|
||
|
[rvmyhostTgsbaa substringFromIndex:1];
|
||
|
|
||
|
[rvmyhostTgsbaa isEqualToString:@"Destiny"];
|
||
|
|
||
|
NSLog(@"%@===%@", rvmyhostTgsbaa,@"nostalgia");
|
||
|
|
||
|
}
|
||
|
|
||
|
#pragma mark:当JS通过AppModel发送数据到iOS端时,会在代理中收到
|
||
|
+ (void)ssw_X11_reminisce:(NSString *)arg1 rvmyhostTgsbaa:(NSString *)rvmyhostTgsbaa {
|
||
|
NSLog(@"function:%s line:", __FUNCTION__);
|
||
|
|
||
|
[rvmyhostTgsbaa substringFromIndex:1];
|
||
|
|
||
|
[rvmyhostTgsbaa isEqualToString:@"bazinga"];
|
||
|
|
||
|
NSLog(@"%@===%@", rvmyhostTgsbaa,@"apple");
|
||
|
|
||
|
}
|
||
|
|
||
|
#pragma mark:我们在需要调用JS方法的位置加上下面代码
|
||
|
+ (void)snk_X15_apple:(NSString *)arg1 rvmyhostTgsbaa:(NSString *)rvmyhostTgsbaa {
|
||
|
NSLog(@"function:%s line:", __FUNCTION__);
|
||
|
|
||
|
[rvmyhostTgsbaa substringFromIndex:1];
|
||
|
|
||
|
[rvmyhostTgsbaa isEqualToString:@"serendipity"];
|
||
|
|
||
|
NSLog(@"%@===%@", rvmyhostTgsbaa,@"serendipity");
|
||
|
|
||
|
}
|
||
|
|
||
|
#pragma mark:对于WKWebView的实例化这里就不再赘述
|
||
|
+ (void)nsg_method_abcd:(NSString *)arg1 rvmyhostTgsbaa:(NSString *)rvmyhostTgsbaa {
|
||
|
NSLog(@"function:%s line:", __FUNCTION__);
|
||
|
|
||
|
[rvmyhostTgsbaa substringFromIndex:1];
|
||
|
|
||
|
[rvmyhostTgsbaa isEqualToString:@"smashing"];
|
||
|
|
||
|
NSLog(@"%@===%@", rvmyhostTgsbaa,@"effervescence");
|
||
|
|
||
|
}
|
||
|
|
||
|
#pragma mark:这里只是监听loading、title、estimatedProgress属性
|
||
|
+ (void)qpg_method_renaissance:(NSString *)arg1 rvmyhostTgsbaa:(NSString *)rvmyhostTgsbaa {
|
||
|
NSLog(@"function:%s line:", __FUNCTION__);
|
||
|
|
||
|
[rvmyhostTgsbaa substringFromIndex:1];
|
||
|
|
||
|
[rvmyhostTgsbaa isEqualToString:@"wangyi"];
|
||
|
|
||
|
NSLog(@"%@===%@", rvmyhostTgsbaa,@"eternity");
|
||
|
|
||
|
}
|
||
|
|
||
|
#pragma mark:代码的注释方式五花八门
|
||
|
+ (void)msb_X14_sophisticated:(NSString *)arg1 rvmyhostTgsbaa:(NSString *)rvmyhostTgsbaa {
|
||
|
NSLog(@"function:%s line:", __FUNCTION__);
|
||
|
|
||
|
[rvmyhostTgsbaa substringFromIndex:1];
|
||
|
|
||
|
[rvmyhostTgsbaa isEqualToString:@"umbrella"];
|
||
|
|
||
|
NSLog(@"%@===%@", rvmyhostTgsbaa,@"flipped");
|
||
|
|
||
|
}
|
||
|
|
||
|
#pragma mark:链接跳转、接收响应、在导航开始、成功、失败等时要做些处理,就可以通过实现相关的代理方法
|
||
|
+ (void)wme_X13_crush:(NSString *)arg1 rvmyhostTgsbaa:(NSString *)rvmyhostTgsbaa {
|
||
|
NSLog(@"function:%s line:", __FUNCTION__);
|
||
|
|
||
|
[rvmyhostTgsbaa substringFromIndex:1];
|
||
|
|
||
|
[rvmyhostTgsbaa isEqualToString:@"mother"];
|
||
|
|
||
|
NSLog(@"%@===%@", rvmyhostTgsbaa,@"Destiny");
|
||
|
|
||
|
}
|
||
|
|
||
|
#pragma mark:好的代码注解应该是这样的
|
||
|
+ (void)msb_X14_flabbergasted:(NSString *)arg1 rvmyhostTgsbaa:(NSString *)rvmyhostTgsbaa {
|
||
|
NSLog(@"function:%s line:", __FUNCTION__);
|
||
|
|
||
|
[rvmyhostTgsbaa substringFromIndex:1];
|
||
|
|
||
|
[rvmyhostTgsbaa isEqualToString:@"effervescence"];
|
||
|
|
||
|
NSLog(@"%@===%@", rvmyhostTgsbaa,@"gorgeous");
|
||
|
|
||
|
}
|
||
|
|
||
|
#pragma mark:shadowPath设置阴影的图形
|
||
|
+ (void)uad_X15_rendezvous:(NSString *)arg1 rvmyhostTgsbaa:(NSString *)rvmyhostTgsbaa {
|
||
|
NSLog(@"function:%s line:", __FUNCTION__);
|
||
|
|
||
|
[rvmyhostTgsbaa substringFromIndex:1];
|
||
|
|
||
|
[rvmyhostTgsbaa isEqualToString:@"gorgeous"];
|
||
|
|
||
|
NSLog(@"%@===%@", rvmyhostTgsbaa,@"crush");
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
@end
|