Skip to content

Commit

Permalink
Remove deprecated NS.stylesheetKeywordColors
Browse files Browse the repository at this point in the history
  • Loading branch information
1024jp committed Apr 2, 2024
1 parent 4751560 commit 5a5bee9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Sources/ColorCode/AppKit/NSColor+ColorCode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,6 @@ public extension NSColor {
}


/// Creates and returns a `<String, NSColor>` 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
Expand Down

0 comments on commit 5a5bee9

Please sign in to comment.