- 博客(8)
- 收藏
- 关注
原创 CocoaPod升级后的问题
CocoaPod升级后安装后各种出错,看网上一些方法移除master:pod repo remove master后重新更新master天坑各种下不了,后来转用了清华大学镜像成功。https://mirrors.tuna.tsinghua.edu.cn/help/CocoaPods/进入~/.cocoapods/repos ,删掉所有文件,从镜像拉取文件$ cd ~/.cocoapods/...
2020-01-19 15:36:18
268
原创 UITableView 给section整个切圆角
用到UITableViewDelegate里面的tableView:willDisplayCell:forRowAtIndexPath:,该方法执行在cellForRowAtIndexPath后- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(...
2020-01-19 11:34:49
1745
原创 判断字符串是否身份证、手机号、邮箱 OC
一、判断是否身份证- (BOOL)judgeIdentityStringValid {if (self.length != 18) return NO;// 正则表达式判断基本 身份证号是否满足格式NSString *regex2 = @"^(^[1-9]\\d{7}((0\\d)|(1[0-2]))(([0|1|2]\\d)|3[0-1])\\d{3}$)|(^[1-9]\\d{5}[1...
2020-01-19 10:30:48
1658
原创 cocos creator接iOS微信登录、分享
参考:通用链接 https://www.cnblogs.com/guoshaobin/p/11164000.htmlOC调JS https://forum.cocos.org/t/cocos-creator-oc-js/55764/8cocoscreator接入微信登录https://blog.youkuaiyun.com/weixin_44926736/article/details/91047069...
2019-11-18 16:08:01
2013
原创 TableViewCell自动布局(OC/Swift)
https://gitee.com/LYj_my/tableViewCellAutoLayout.git使用Snapkit(Swift)和Masonry(Objective-C)自适应行高布局
2019-09-24 22:48:42
357
原创 今日调试的bug
1.真机调试报错问题:DetailsCould not launch “XXX”Domain: IDEDebugSessionErrorDomainCode: 3Failure Reason: “LYJ”的 iPhone has denied the launch request.Internal launch error: process launch failed: failed...
2019-09-24 17:53:03
6219
2
原创 更新XCode11后新建工程写rootViewController报错
Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[AppDelegate setWindow:]: unrecognized selector sent to instance 0x6000038d03f0’解决:1.删除info.plist里的Main storyboard f...
2019-09-23 21:44:47
1947
1
原创 XCode10真机调试报错Command /usr/bin/codesign failed with exit code 1
模拟器上没问题,真机跑出bug,报错大概如下AFNetworking.framework/AFNetworking.framework/AFNetworkingAFNetworking.framework/Info.plistCommand /bin/sh failed with exit code 1尝试解决方案:1.清理以下两个路径的内容~/Library/MobileDevic...
2019-09-17 20:13:48
301
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人