object c
onejson
不断学习,不断进步,提高自己
展开
-
AppCode 设置 getter 模板
-(UILabel *)toastLabel { if(!_toastLabel){ _toastLabel = [[UILabel alloc] init]; _toastLabel.text = @"验证码已经发送到+86"; _toastLabel.font = [UIFont systemFontOfSize:12.0]; }...原创 2019-11-12 14:20:33 · 413 阅读 · 1 评论 -
ios 报错
System group container for systemgroup.com.apple.configurationprofiles path is /Users/wxx/Library/Developer/CoreSimulator/Devices/B1BA3ACB-6A80-4CF5-8D7B-BE79E9A84AA6/data/Containers/Shared/SystemGrou...原创 2019-11-05 16:43:23 · 193 阅读 · 0 评论 -
charles 开启后,抓取不到包
charles开启后,利用浏览器访问网页,发现在charles中没有任何记录1、proxy->macOS Proxy 已经开启2、查看网络是否开启了代理,网络连接里点击高级,在Wi-Fi里选择正在连接的网络后再选择代理,在网页代理里设置网页代理器 127.0.0.1:8888,再次应用就可以了最后能正常记录网络请求了...原创 2019-10-15 11:40:53 · 3538 阅读 · 0 评论 -
ios开发 :CUICatalog: Invalid asset name supplied: '(null)'
_iconImage.image = [UIImage imageNamed:sourceDic[@“image”]];明明有图片,但还是提示这个图片名称不存在报错CUICatalog: Invalid asset name supplied: '(null)'打断点进去,显示 _iconImage的值是 nil添加断点定位到错误在109行- (NSArray *)message...原创 2019-10-14 17:38:58 · 531 阅读 · 0 评论