UIButton* btn = [[UIButton alloc] init];/* btn 的其他设置 *///[btn addTarget:self action:@selector(doSth:) forControlEvents:UIControlEventTouchUpInside];[view addSubview:btn];
并添加响应函数的实现如下:
-(void)doSth:(UIButton*)sender{NSLog(@"click do Sth");}
UIButton* btn = [[UIButton alloc] init];/* btn 的其他设置 *///[btn addTarget:self action:@selector(doSth:) forControlEvents:UIControlEventTouchUpInside];[view addSubview:btn];
并添加响应函数的实现如下:
-(void)doSth:(UIButton*)sender{NSLog(@"click do Sth");}
下面是各种对象的序列化和反序列化,但是依然不能解决session的本地缓存问题
点击工具栏中的查看按钮,选择详细信息如何再选择列 如何选择注释
只能说,留着这些网站,后期可能有用,可能会持续更新。
程序员开发需要具备良好的信息检索能力,为了备忘(收藏夹真是满了),将开发过程中常用的网站进行整理。
在 idea 中根据 eslint 格式化代码
右键pom,选择 Add as Meaven Project
出错原因是代码中的私钥设置错误,不是填原始的私钥,而是转换为PKCS8格式的私钥(Java格式的) ,改成后就会报创建交易异常了
200,404,500
Springboot全局异常捕捉处理和自定义全局异常处理
关于如何自定义SpringBoot返回的状态码 关于HttpStatus 在SpringBoot中关于状态码有一个枚举类型,如下。