Open nitinlwd opened 9 years ago
I tried calling
(UITableViewCell ) dropDown:(VPPDropDown )dropDown cellForElement:(VPPDropDownElement )element atGlobalIndexPath:(NSIndexPath )globalIndexPath{ UITableViewCell *cell = [dropDown.delegate dropDown:dropDown cellForElement:element atGlobalIndexPath:globalIndexPath];
NSLog([cell.textLabel.textColor description]); cell.textLabel.textColor = [UIColor greenColor]; NSLog([cell.textLabel.textColor description]);
return cell; }
with the moto that that I will get inside this function for every element of the cell and then from their I will be able to change the color of the text but I am not able to do so.
Plz help me out with this.
I tried calling
(UITableViewCell ) dropDown:(VPPDropDown )dropDown cellForElement:(VPPDropDownElement )element atGlobalIndexPath:(NSIndexPath )globalIndexPath{ UITableViewCell *cell = [dropDown.delegate dropDown:dropDown cellForElement:element atGlobalIndexPath:globalIndexPath];
NSLog([cell.textLabel.textColor description]); cell.textLabel.textColor = [UIColor greenColor]; NSLog([cell.textLabel.textColor description]);
return cell; }
with the moto that that I will get inside this function for every element of the cell and then from their I will be able to change the color of the text but I am not able to do so.
Plz help me out with this.