Color extension for positive/negative recognized color

Hey there! 👋🏻

I'm currently localizing my app and came across the interesting fact that in China (I'm not aware of other countries) the color red is associated with something positive, whereas in Germany (where I come from) the color green evokes a positive association.

I then tried out whether this is taken into account in Apple's native apps. For example, in the Stocks app, a price gain with German localization is shown in green, whereas a price gain with Chinese localization is shown in red.

Now I'm wondering whether there is a static property of the Color or UIColor class where I can retrieve a positive or negative color depending on the localization. Does anyone have experience with this?

Thanks in advance! 😊

Replies

This is currently not offered in Apple SDKs, but I’d encourage you to file a feedback via Feedback Assistant and share the FB<number> here. Thanks!

Now on a tangential topic, if you have a button or action that results in deletion, a destructive style is recommended.