The Apple documentation states:
To participate in the appearance proxy API, tag your appearance property selectors in your header with UI_APPEARANCE
I did not find the solution but a workaround. Instead of annotating the properties I made them as a class variable.
private struct StarFillColor { static var _color = UIColor.blackColor() }
internal class var starFillColor: UIColor {
get { return StarFillColor._color }
set { StarFillColor._color = newValue }
}
And in the file where I setup all my appearances:
MyClass.starFillColor = UIColor.r(181, g: 60, b: 109)
I hope it will help somebody!