ChenYilong / ChenYilong/iOSInterviewQuestions
第52题 IBOutlet连出来的视图属性为什么可以被设置成weak?
Open
- Dominant language
- Swift
- Stars
- 9.5k
- Forks
- 2.8k
- PR merge metrics
- No merged PRs in 30d
Description
最好能在后面加上: 如非必要,应该把`IBOutlet`属性设为`strong`, 尤其是当属性连接的subview或者constraints 并不总是被视图retain。只有当这个属性连接的是superview才需要设为`weak`来避免循环引用。
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.