Skip to content

Commit b838056

Browse files
author
zhangyun
committed
add new blog
1 parent f10a771 commit b838056

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed
1.12 MB
Loading

划线.md

Whitespace-only changes.

耗时排查.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
## 项目中遇到一次简单的耗时操作排查
2+
3+
最近在项目中有一个简单`collectionView` 照片列表,每次照片内容改变需要刷新的时候`reloadData`时候都会明显的卡顿现象
4+
5+
6+
7+
swift Float 是 引用类型吗 为什么使用`OBJC_ASSOCIATION_RETAIN_NONATOMIC` 不然就崩溃 野指针, 僵尸对象
8+
9+
```
10+
objc_setAssociatedObject(self, &AssociatedKey.fileSizeKey, newValue, objc_AssociationPolicy.OBJC_ASSOCIATION_RETAIN_NONATOMIC)
11+
```
12+
13+
14+
[xxxxx](https://www.jianshu.com/p/75de1a6e28f2)

0 commit comments

Comments
 (0)