manosim / ui-color

Converting HEX & RGB colors to UIColor for both Objective C & Swift.
https://www.uicolor.io/
MIT License
225 stars 39 forks source link

NSColor support? #27

Open kainjow opened 7 years ago

kainjow commented 7 years ago

Would be neat to show NSColor values, for those of us who write for macOS :) Currently it's already useful by doing the math automatically. Thanks!

kainjow commented 7 years ago

Here are two examples:

[NSColor colorWithCalibratedRed:0.50 green:0.00 blue:1.00 alpha:1.0];

NSColor(calibratedRed:0.50, green:0.00, blue:1.00, alpha:1.0)