🎄 DZNEmptyDataSet implement with Swift.A drop-in UITableView/UICollectionView superclass category for showing empty datasets whenever the view has no content to display. DZNEmptyDataSet with Swift.
在项目源码中在声明emptyDataSetSource和emptyDataSetDelegate的时候为啥不需要加 weak?
项目中是:
public var emptyDataSetSource: EmptyDataSetSource?
public var emptyDataSetDelegate: EmptyDataSetDelegate?
为什么不设置为
public weak var emptyDataSetSource: EmptyDataSetSource?
public weak var emptyDataSetDelegate: EmptyDataSetDelegate?
在项目源码中在声明emptyDataSetSource和emptyDataSetDelegate的时候为啥不需要加 weak? 项目中是: public var emptyDataSetSource: EmptyDataSetSource? public var emptyDataSetDelegate: EmptyDataSetDelegate?
为什么不设置为 public weak var emptyDataSetSource: EmptyDataSetSource? public weak var emptyDataSetDelegate: EmptyDataSetDelegate?
还望大佬讲解一下?谢谢~