Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Unable to use this Library in tableViewCell. #28

Open
nomimalik1769 opened this issue Mar 8, 2019 · 0 comments
Open

Unable to use this Library in tableViewCell. #28

nomimalik1769 opened this issue Mar 8, 2019 · 0 comments

Comments

@nomimalik1769
Copy link

nomimalik1769 commented Mar 8, 2019

I am Using this Library in Tableview Cell which has CollectionView
TableView -> TableViewCell -> CollectionView
So Basically I want to show empty State for Collection View.

`

 func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
        guard let cell = tableView.dequeueReusableCell(withIdentifier: "DealsTableViewCell", for: indexPath) as? DealsTableViewCell else{fatalError("Cell not registered!")}
        cell.childCollectionView.tag = indexPath.section
        cell.selectedCellDelegate = self
        cell.childCollectionView.reloadData()
        self.reloadEmptyStateForCollectionView(cell.childCollectionView)
        return cell
    }
`

Above is My tableview Cell for Row at function In which I am reloading Empty State For Collection View
But it is showing emptyState Title for first Row Collection View Only What will be the reason behind it is there something I am doing wrong.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant