-
Migrate deprecated APIs.
- Update to Swift 6.0.
- Migrate unit test to Swift Testing.
- Add .hexWithAlpha type.
- Update code to Swift 5.9
- Fix an issue that
colorCode(type:)
can cause a crash under certain circumstance.
- Bump up supported macOS version to 11.
- Add KeywordColor struct.
- Change the stylesheet keywords from the upper camel case to the lower case.
- Deprecate NSColor.stylesheetKeywordColors (Use KeywordColor.stylesheetColors instead).
- Fix an issue in SwiftUI.Color that the alpha value was ignored when specified the color in hex.
- Support SwiftUI Color creation.
- Bump up supported macOS version to 10.10.
- Improve Package.swift declaration.
- Make alpha value in NSColor init omittable.
- Make sure the detected inout
type
paramater is set tonil
when NSColor creation with a color code failed.
- Fix an issue where NSColor initialization with a color code could crash when just
.
is passed as a float number.
- fix Package.swift
- Update code to Swift 5.0.
- Update code to Swift 4.2.
- fix ColorCodeType enum number.
- remove .invalid case from ColorCodeType.
- Update Xcode to 9.3.
- Tweak code
- Fix swift package manager
- Update Xcode to 9.1.
- Update Xcode to 8.2.
- Update Swift to 3.0.1.
- Migrate to Swift
- Become a framework
- Change target OS to OS X 10.9 or higher.
- Support Objective-C generics of Xcode 7
- Add
WFColorCodeCSSKeyword
color code type. - Add
colorWithHex:alpha:
andstylesheetKeywordColors
class methods.
- Return
instancetype
instead ofNSColor
.
- Add more documentation.
- A trivial fix for nullability annotations.
- Add nullability to methods.
- Use
NSCalibratedRGBColorSpace
instead ofNSDeviceRGBColorSpace
for NSColor creation
- New methods
hslSaturationComponent
andlightnessComponent
- Add detailed doc comments