gringoireDM / LNZTreeView

A swift TreeView
MIT License
235 stars 47 forks source link

Change background color of selected cell #34

Closed vishalpatel1111 closed 4 years ago

vishalpatel1111 commented 4 years ago

I am using custom cell. I want to change background color of selected cell. I am trying to use didSelectNodeAt method, but won't work.

vishalpatel1111 commented 4 years ago

By using setSelected(_ selected: Bool, animated: Bool) method of table view cell, we can change background color of selected cell.