You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
在项目源码中在声明emptyDataSetSource和emptyDataSetDelegate的时候为啥不需要加 weak?
项目中是:
public var emptyDataSetSource: EmptyDataSetSource?
public var emptyDataSetDelegate: EmptyDataSetDelegate?
为什么不设置为
public weak var emptyDataSetSource: EmptyDataSetSource?
public weak var emptyDataSetDelegate: EmptyDataSetDelegate?
还望大佬讲解一下?谢谢~
The text was updated successfully, but these errors were encountered:
bestannwn
changed the title
emptyDataSetSource和emptyDataSetDelegate 在声明时对一点循环引用的疑问?
emptyDataSetSource和emptyDataSetDelegate 在声明时对循环引用一点的疑问?
Dec 21, 2021
在项目源码中在声明emptyDataSetSource和emptyDataSetDelegate的时候为啥不需要加 weak?
项目中是:
public var emptyDataSetSource: EmptyDataSetSource?
public var emptyDataSetDelegate: EmptyDataSetDelegate?
为什么不设置为
public weak var emptyDataSetSource: EmptyDataSetSource?
public weak var emptyDataSetDelegate: EmptyDataSetDelegate?
还望大佬讲解一下?谢谢~
The text was updated successfully, but these errors were encountered: