Cell are not removing after view controllers deallocation.
ShashikantBhadke opened this issue · 5 comments
Thanks for grate framework.
I found this issue when my collection view as well as tableview get deallocated then also cell of respective list are not removed from memory. I try to set collection view and tableview nil and removed from super view also in deinit method.
I have attached screenshot which is demo on which i also tried.
Thanks again😊🙂👍
Any update on this one? I have the same issue. I'm investigating this one without success for now.
I did deallocate manually all delegate & datasource in the Tableview, and it seems to work :
open class TableView: UITableView {
deinit {
defaultTableFooterView = nil
defaultDelegate = nil
defaultDataSource = nil
defaultTableHeaderView = nil
dataSource = nil
delegate = nil
placeholderDelegate = nil
}
...
@itchix your solution did not work for me. cells are still residing in memory despite the call of dinit of collectionview and its respective controller.