From 5a5bee90cdb323cd1a3c84d9c9e39a47fd297455 Mon Sep 17 00:00:00 2001 From: 1024jp <1024jp@wolfrosch.com> Date: Wed, 3 Apr 2024 00:58:27 +0900 Subject: [PATCH] Remove deprecated NS.stylesheetKeywordColors --- Sources/ColorCode/AppKit/NSColor+ColorCode.swift | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Sources/ColorCode/AppKit/NSColor+ColorCode.swift b/Sources/ColorCode/AppKit/NSColor+ColorCode.swift index 4bb6d1b..e2a4bcf 100644 --- a/Sources/ColorCode/AppKit/NSColor+ColorCode.swift +++ b/Sources/ColorCode/AppKit/NSColor+ColorCode.swift @@ -86,11 +86,6 @@ public extension NSColor { } - /// Creates and returns a `` paired dictionary represents all keyword colors specified in CSS3. The names are in upper camel-case. - @available(*, deprecated, message: "Use KeywordColor.stylesheetColors instead.") - static var stylesheetKeywordColors: [String: NSColor] = Dictionary(uniqueKeysWithValues: KeywordColor.stylesheetColors.map({ ($0.keyword, NSColor(hex: $0.value)!) })) - - /// Returns the receiver’s color code in desired type. /// /// This method works only with objects representing colors in the `NSColorSpaceName.calibratedRGB` or