Nils Truchaud
Nils Truchaud

Reputation: 11

UITableViewVibrantCell on UITableView

I would like to know if it was possible to use UITableViewVibrantCell on a UITableView (not controller). I can't figure out how to do it.

I'm doing :

func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
        let cell = self.tableView(tableView, cellForRowAt: indexPath) as! UITableViewVibrantCell

        cell.blurEffectStyle = SideMenuManager.default.menuBlurEffectStyle

        return cell
    }

My UIViewController inherit from UITableViewDataSource and UITableViewDelegate.

Thank you for your help :)

Upvotes: 0

Views: 109

Answers (0)

Related Questions