mRs- / HexColors

HexColors is an extension for UIColor and NSColor to support for creating colors from a hex strings
MIT License
457 stars 102 forks source link

Add cache for HexColors #38

Closed littlewu0 closed 7 years ago

littlewu0 commented 7 years ago

Hello, Marius Landwehr

I think it's very useful to add a global cache for HexColors, like NSColor or UIColor, and I add it myself.

What do you think about it ?

Best regards!

mRs- commented 7 years ago

sounds like a good and easy to implement thing

mRs- commented 7 years ago

IMHO it's up to the user of this library to cache colors. It's easy to implement tho, you could just save it in a Dictonary.