ios - Custom Cell - Change color of background and button in custom cell -
I have a custom cell that I made in IFFFSBiller and connected to my .h file.
And then in my customLM file, I have to compile the
@implementation TwoMealsTableViewCell @ daylabel, First MealBtn, secondMealBtn, indexPath; - (id) initWithStyle: (UITableViewCellStyle) style reuseIdentifier: (NSString *) reuseIdentifier {self = [super initWithStyle: style reuseIdentifier: reuseIdentifier]; DayLabel.textColor = [UIColor orange color]; If (self) {dayLabel.textColor = [UIColor orangeColor]; } Healthy return; } - (zero) set selected: (BOOL) selected animated: (BOOL) animated {[Super set selected: selected animated: animated]; // Configure the view for the selected state} @end
And I have all the set up in the table view, and I see buttons and labels, but I do not think
Why is it <. "Itemprop =" text ">
This cell color will change
dayLabel.textcolor = [UIColor orangeColor];
Comments
Post a Comment