EmptyStateKit icon indicating copy to clipboard operation
EmptyStateKit copied to clipboard

循环引用问题

Open GCIOS opened this issue 3 years ago • 0 comments

public class EmptyState { ... private var tableView: UITableView? ... }

当我 调用 self.tableView.emptyState.show(emptyState) 时, 就会出现循环引用问题; 应该改为 weak var

GCIOS avatar Mar 03 '22 04:03 GCIOS