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

Unable to use this Library in tableViewCell. #28

@nomimalik1769

Description

@nomimalik1769

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions