Closed skrew closed 5 years ago
The title is displayed using a UILabel. You can configure this label in .cellSetup
:
.cellSetup { (cell, row) in
cell.titleLabel.textColor = .blue
// ...
}
Yes i have tested that, but i get 'titleLabel' is inaccessible due to 'internal' protection level
error.
But even passing titleLabel public don't works, label is still black.
I've pushed some changes to make the properties of the ColorPickerCell
object public. Turns out, for InlineColorPickerRow
, you need to alter the color in the update callback:
.cellUpdate { (cell, row) in
cell.textLabel?.textColor = .green
}
For ColorPickerRow
you can use the .cellSetup
or the .cellUpdate
callbacks to alter the cell.titleLabel.textColor
.
Hi,
How to change this color ? (titled: "Color Picker 3")
Thanks
Update: Changing color in
cellUpdate
works withInlineColorPickerRow
but not withColorPickerRow