Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个类类型的属性。IE:
@property (nonatomic, Strong or Weak?) Class myClass;
它应该是强引用还是弱引用?
谢谢!
这是安全的,unsafe_unretained因为类永远不会被释放。
unsafe_unretained