李为之程
李为之程
全部文章
分类
未归档(146)
归档
标签
去牛客网
登录
/
注册
李为之程的博客
很少写算法,多多监督
全部文章
(共146篇)
MutableCopy 与Copy
@interface ViewController () @property (nonatomic,strong)NSArray *array; @property (nonatomic,strong)NSArray *array2; @property (nonatomic,strong)NSMu...
2020-03-19
0
423
蓝牙开发遇到的问题
问题1:API MISUSE: <private> can only accept this command while in the powered on state 蓝牙权限没开。
2020-03-09
0
271
此服务器的证书无效...把HTTPS改为HTTP
此服务器的证书无效。您可能正在连接到一个伪装成。。。 在webview上显示不出来的时候,此时去掉https即可。因为没有证书了。 在接口请求上,配置允许证书作废。
2020-03-04
0
708
2020-01-16 立贴断言中国区申请苹果开发者公司账号失败再失败
image.png 此路是我最近见过的现状。 无论是网页还是Developer App申请苹果开发者公司账号,到了支付阶段均以失败告终。 最后选择了在网上的方案,用Developer APP 申请了个人开发者账号。DONE。 F**K the apple .
2020-01-16
0
309
原来数组可以在遍历的时候添加或删除
// // ViewController.m // arrayfundemo // // Created by tql on 2019/12/30. // Copyright © 2019 tqlLW. All rights reserved. // import "ViewContro...
2019-12-31
0
325
swift之UIScrollView 和SnapKit的故事
{ override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view. /* verticalScroll...
2019-07-19
0
548
swift 之归解档及存储在USERDEFAULT
定义 private struct TokenModel: Codable { var mobile: String var token: String var expired: Date } 取 if let val = UserD...
2019-07-15
0
337
2019-07-13 Swift 之DebugLog or DebugPrint
对于OC 我们很常用的吧,对NSLog 进行重写。 下面有请Swift 版本的 首先需要定义一下DEBUG image.png class DebugLogTools: NSObject { static func de...
2019-07-13
0
390
NSURLSession 之body Parameter体会
非AFNetworking - (void)requestPostPath:(NSString *)aPath bodyparams:(id)params block:(void (^)(id data, NSError *error))block { NSMutableArr...
2019-05-31
0
286
2019-05-19 Invalid parameter not satisfying: URLString
用的是afn框架 aPath = [aPath stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; 以上即是解决办法
2019-05-21
0
289
首页
上一页
2
3
4
5
6
7
8
9
10
11
下一页
末页