![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
iOS
扑满猴
这个作者很懒,什么都没留下…
展开
-
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 · 232 阅读 · 0 评论 -
UITableView 给section整个切圆角
用到UITableViewDelegate里面的tableView:willDisplayCell:forRowAtIndexPath:,该方法执行在cellForRowAtIndexPath后- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(...原创 2020-01-19 11:34:49 · 1654 阅读 · 0 评论 -
判断字符串是否身份证、手机号、邮箱 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 · 1328 阅读 · 0 评论 -
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.csdn.net/weixin_44926736/article/details/91047069...原创 2019-11-18 16:08:01 · 1821 阅读 · 0 评论 -
TableViewCell自动布局(OC/Swift)
https://gitee.com/LYj_my/tableViewCellAutoLayout.git使用Snapkit(Swift)和Masonry(Objective-C)自适应行高布局原创 2019-09-24 22:48:42 · 340 阅读 · 0 评论 -
今日调试的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 · 6069 阅读 · 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 · 1891 阅读 · 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 · 266 阅读 · 0 评论