Rightpoint / Eject

An eject button for Interface Builder to generate swift code
MIT License
523 stars 24 forks source link

highlightedColor should be highlightedTextColor #8

Closed KingOfBrian closed 7 years ago

KingOfBrian commented 7 years ago

The color node doesn't have any context, it just uses the configured keyPath, which is wrong.

We can pretty easily override a universal keyPath mapping which would change all highlightedColor keys in a color node to highlightedTextColor. This would be more explicit ideally (ie: only do the mapping inside of labels), but in reality I think this simple hack should work fine.