AssistoLab / DropDown

A Material Design drop down for iOS
MIT License
2.44k stars 622 forks source link

customCellConfiguration is not called #277

Closed basmaamahmoud closed 3 years ago

basmaamahmoud commented 3 years ago

customCellConfiguration function is not called to use the logo image

self.emplyeeButtonDropDown.cellNib = UINib(nibName: "MyCell", bundle: nil)

            self.emplyeeButtonDropDown.customCellConfiguration = { (index: Index, item: String, cell: DropDownCell) -> Void in

               guard let cell = cell as? MyCell else { return }

               // Setup your custom UI components
               cell.logoImageView.image = UIImage(named: "pinkSpot")

            }
MariamElennaArabAps commented 3 years ago

@basmaamahmoud how did you solve it