会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
qingzZ
博客园
首页
博问
闪存
新随笔
订阅
管理
上一页
1
···
11
12
13
14
15
16
17
18
19
···
42
下一页
2020年10月19日
Swift 统一导入三方库
摘要: @_exported import UIKit @_exported import Foundation ///pod 下载的三方库, 避免使用重复import @_exported import RxSwift ///响应式编程 @_exported import RxCocoa ///响应式编程
阅读全文
posted @ 2020-10-19 13:57 懂事长qingzZ
阅读(1033)
评论(0)
推荐(0)
2020年10月16日
Xcode12真机/模拟器运行项目非常慢的解决方式
摘要: xcode12编译一次 10分钟左右, 前往~/Library/Developer/Xcode/iOS DeviceSupport/该目录下,删除14.0.1 ,然后xcode重启,手机重连再次变异,初次比较慢,大概2分钟,后面重复编译的话一般不到一分钟
阅读全文
posted @ 2020-10-16 10:32 懂事长qingzZ
阅读(1541)
评论(0)
推荐(0)
2020年10月15日
苹果手机系列 安全区高度/设置粗体高度不正常
摘要: po [UIApplication sharedApplication].keyWindow.safeAreaInsets.bottom 正常机器高度 34 有些机器是30.6700002 po [UIApplication sharedApplication].keyWindow.safeArea
阅读全文
posted @ 2020-10-15 18:11 懂事长qingzZ
阅读(439)
评论(0)
推荐(0)
Xcode 官方下载地址
摘要: https://developer.apple.com/download/more/
阅读全文
posted @ 2020-10-15 12:01 懂事长qingzZ
阅读(218)
评论(0)
推荐(0)
OC UICollectionView 滚动完全显示item
摘要: ///滚动到指定item [self.collectionView scrollToItemAtIndexPath:[NSIndexPath indexPathForItem:indexPath.item inSection:0] atScrollPosition:UICollectionViewS
阅读全文
posted @ 2020-10-15 11:47 懂事长qingzZ
阅读(259)
评论(0)
推荐(0)
cocospod 更新到指定版本及其问题
摘要: sudo gem install -n /usr/local/bin cocoapods -v 1.4.0 https://www.jianshu.com/p/8aa6be0560b3
阅读全文
posted @ 2020-10-15 09:49 懂事长qingzZ
阅读(320)
评论(0)
推荐(0)
2020年10月14日
OC 一张图片填充满整个导航栏(包含X系列)
摘要: ///UIBarMetricsCompact 整个充满导航栏 UIImage *backGroundImage = [UIImage imageNamed:@"vip_nav_bg"]; backGroundImage = [backGroundImage resizableImageWithCap
阅读全文
posted @ 2020-10-14 19:22 懂事长qingzZ
阅读(191)
评论(0)
推荐(0)
2020年10月10日
Arcanist安装使用流程
摘要: 1.创建文件夹test1 终端cd到test1 里面 执行 git clone https://github.com/phacility/arcanist.git 下载完成 使用arc help 测试是否成功 2.路径配置 打开前往,输入路径~/.zshrc ,添加路径代码 export PATH=
阅读全文
posted @ 2020-10-10 17:10 懂事长qingzZ
阅读(1002)
评论(0)
推荐(0)
2020年9月28日
Swift 添加KVO
摘要: 1.添加监听 lab1.addObserver(self, forKeyPath: "text", options: [.new, .old], context: nil) 2. 监听 override func observeValue(forKeyPath keyPath: String?, o
阅读全文
posted @ 2020-09-28 17:55 懂事长qingzZ
阅读(281)
评论(0)
推荐(0)
swift 混编OC instanceType 标识的方法找不到
摘要: instanceType 换成id 使用的时候 转换一下类型 1. #import <UIKit/UIKit.h> 2.instanceType 改为id 3. 使用 类型转换 if let info = TBCityIconInfo.iconInfo(withText: "str", size:
阅读全文
posted @ 2020-09-28 16:18 懂事长qingzZ
阅读(366)
评论(0)
推荐(0)
上一页
1
···
11
12
13
14
15
16
17
18
19
···
42
下一页