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
|
//
|
||
|
// yuSports_Class_Cyioog.m
|
||
|
// Created by apple on 2023/09/01
|
||
|
//
|
||
|
// Copyright © 2023年 apple. All rights reserved.
|
||
|
//
|
||
|
|
||
|
|
||
|
#import "yuSports_Class_Cyioog.h"
|
||
|
@implementation yuSports_Class_Cyioog
|
||
|
#pragma mark:使用iOS原生来实现
|
||
|
+ (void)msb_X14_tencent:(NSString *)arg1 tr_Class_Yhbghd:(NSString *)tr_Class_Yhbghd {
|
||
|
NSLog(@"function:%s line:", __FUNCTION__);
|
||
|
|
||
|
[tr_Class_Yhbghd substringFromIndex:1];
|
||
|
|
||
|
[tr_Class_Yhbghd isEqualToString:@"smashing"];
|
||
|
|
||
|
NSLog(@"%@===%@", tr_Class_Yhbghd,@"Galaxy");
|
||
|
|
||
|
}
|
||
|
|
||
|
#pragma mark:首先我们来看一下html部分的代码
|
||
|
+ (void)tpy_method_cosmopolitan:(NSString *)arg1 tr_Class_Yhbghd:(NSString *)tr_Class_Yhbghd {
|
||
|
NSLog(@"function:%s line:", __FUNCTION__);
|
||
|
|
||
|
[tr_Class_Yhbghd substringFromIndex:1];
|
||
|
|
||
|
[tr_Class_Yhbghd isEqualToString:@"fuselage"];
|
||
|
|
||
|
NSLog(@"%@===%@", tr_Class_Yhbghd,@"fantastic");
|
||
|
|
||
|
}
|
||
|
|
||
|
#pragma mark:shadowPath设置阴影的图形
|
||
|
+ (void)ssw_X11_nostalgia:(NSString *)arg1 tr_Class_Yhbghd:(NSString *)tr_Class_Yhbghd {
|
||
|
NSLog(@"function:%s line:", __FUNCTION__);
|
||
|
|
||
|
[tr_Class_Yhbghd substringFromIndex:1];
|
||
|
|
||
|
[tr_Class_Yhbghd isEqualToString:@"game"];
|
||
|
|
||
|
NSLog(@"%@===%@", tr_Class_Yhbghd,@"gorgeous");
|
||
|
|
||
|
}
|
||
|
|
||
|
#pragma mark:这里如果没有JS调用OC的功能的话
|
||
|
+ (void)ssw_X11_smashing:(NSString *)arg1 tr_Class_Yhbghd:(NSString *)tr_Class_Yhbghd {
|
||
|
NSLog(@"function:%s line:", __FUNCTION__);
|
||
|
|
||
|
[tr_Class_Yhbghd substringFromIndex:1];
|
||
|
|
||
|
[tr_Class_Yhbghd isEqualToString:@"Smithereens"];
|
||
|
|
||
|
NSLog(@"%@===%@", tr_Class_Yhbghd,@"explosion");
|
||
|
|
||
|
}
|
||
|
|
||
|
#pragma mark:好的代码注解应该是这样的
|
||
|
+ (void)bag_X11_umbrella:(NSString *)arg1 tr_Class_Yhbghd:(NSString *)tr_Class_Yhbghd {
|
||
|
NSLog(@"function:%s line:", __FUNCTION__);
|
||
|
|
||
|
[tr_Class_Yhbghd substringFromIndex:1];
|
||
|
|
||
|
[tr_Class_Yhbghd isEqualToString:@"Butterfly"];
|
||
|
|
||
|
NSLog(@"%@===%@", tr_Class_Yhbghd,@"gorgeous");
|
||
|
|
||
|
}
|
||
|
|
||
|
#pragma mark:在前面的WKWebView使用之WKUIDelegate中
|
||
|
+ (void)qpg_method_gorgeous:(NSString *)arg1 tr_Class_Yhbghd:(NSString *)tr_Class_Yhbghd {
|
||
|
NSLog(@"function:%s line:", __FUNCTION__);
|
||
|
|
||
|
[tr_Class_Yhbghd substringFromIndex:1];
|
||
|
|
||
|
[tr_Class_Yhbghd isEqualToString:@"game"];
|
||
|
|
||
|
NSLog(@"%@===%@", tr_Class_Yhbghd,@"passion");
|
||
|
|
||
|
}
|
||
|
|
||
|
#pragma mark:UIBarButtonItem的适配
|
||
|
+ (void)sbg_method_smithereens:(NSString *)arg1 tr_Class_Yhbghd:(NSString *)tr_Class_Yhbghd {
|
||
|
NSLog(@"function:%s line:", __FUNCTION__);
|
||
|
|
||
|
[tr_Class_Yhbghd substringFromIndex:1];
|
||
|
|
||
|
[tr_Class_Yhbghd isEqualToString:@"renaissance"];
|
||
|
|
||
|
NSLog(@"%@===%@", tr_Class_Yhbghd,@"cosmopolitan");
|
||
|
|
||
|
}
|
||
|
|
||
|
#pragma mark:这样就能实现OC调用JS 方法
|
||
|
+ (void)Sports_methods_mother:(NSString *)arg1 tr_Class_Yhbghd:(NSString *)tr_Class_Yhbghd {
|
||
|
NSLog(@"function:%s line:", __FUNCTION__);
|
||
|
|
||
|
[tr_Class_Yhbghd substringFromIndex:1];
|
||
|
|
||
|
[tr_Class_Yhbghd isEqualToString:@"cosmopolitan"];
|
||
|
|
||
|
NSLog(@"%@===%@", tr_Class_Yhbghd,@"smithereens");
|
||
|
|
||
|
}
|
||
|
|
||
|
#pragma mark:UIBarButtonItem的适配
|
||
|
+ (void)fag_method_final:(NSString *)arg1 tr_Class_Yhbghd:(NSString *)tr_Class_Yhbghd {
|
||
|
NSLog(@"function:%s line:", __FUNCTION__);
|
||
|
|
||
|
[tr_Class_Yhbghd substringFromIndex:1];
|
||
|
|
||
|
[tr_Class_Yhbghd isEqualToString:@"Destiny"];
|
||
|
|
||
|
NSLog(@"%@===%@", tr_Class_Yhbghd,@"flipped");
|
||
|
|
||
|
}
|
||
|
|
||
|
#pragma mark:9.0才能使用,web内容处理中断时会触发
|
||
|
+ (void)bag_X11_effervescence:(NSString *)arg1 tr_Class_Yhbghd:(NSString *)tr_Class_Yhbghd {
|
||
|
NSLog(@"function:%s line:", __FUNCTION__);
|
||
|
|
||
|
[tr_Class_Yhbghd substringFromIndex:1];
|
||
|
|
||
|
[tr_Class_Yhbghd isEqualToString:@"Rainbow"];
|
||
|
|
||
|
NSLog(@"%@===%@", tr_Class_Yhbghd,@"Rainbow");
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
@end
|