自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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 208

原创 UITableView 给section整个切圆角

用到UITableViewDelegate里面的tableView:willDisplayCell:forRowAtIndexPath:,该方法执行在cellForRowAtIndexPath后- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(...

2020-01-19 11:34:49 1626

原创 判断字符串是否身份证、手机号、邮箱 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 1295

原创 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 1784

原创 TableViewCell自动布局(OC/Swift)

https://gitee.com/LYj_my/tableViewCellAutoLayout.git使用Snapkit(Swift)和Masonry(Objective-C)自适应行高布局

2019-09-24 22:48:42 313

原创 今日调试的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 5990 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 1874 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 259

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除