-
-
Notifications
You must be signed in to change notification settings - Fork 64
Closed
Description
Thanks for this wonderful project first - seems to make life much easier!
I'd like to color the labels of QuickTableViewController's rows, but can't get it to work.
Though I'm able applying a general style in AppDelegate with...
let tableViewCellLabelAppearance = UILabel.appearance(whenContainedInInstancesOf: [UITableViewCell.self])
tableViewCellLabelAppearance.textColor = Theme.textColor
...all other labels in all other TableViewCells get colored accordingly, except of those from QuickTableViewController.
My naive approach to get this working was...
let optionRowLabelAppearance = UILabel.appearance(whenContainedInInstancesOf: [OptionRow.self])
optionRowLabelAppearance.textColor = Theme.textColor
...but this was refused with the compiler error message:
Cannot convert value of type 'OptionRow<UITableViewCell'>.Type to expected element type 'UIAppearanceContainerType'
Wondering now what the preferred way is theming QuickTableViewController views?
Thanks and best wishes,
Karsten
Metadata
Metadata
Assignees
Labels
No labels