Bump up supported macOS version to 11
This commit is contained in:
parent
2b7d07d879
commit
10b1cf9660
11
CHANGELOG.md
11
CHANGELOG.md
|
@ -1,10 +1,19 @@
|
|||
CHANGELOG
|
||||
===========
|
||||
|
||||
2.9.0
|
||||
-----------
|
||||
|
||||
### mod
|
||||
|
||||
- Bump up supported macOS version to 11.
|
||||
|
||||
|
||||
|
||||
2.8.0
|
||||
-----------
|
||||
|
||||
## new
|
||||
### new
|
||||
|
||||
- Add KeywordColor struct.
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
// swift-tools-version:5.0
|
||||
// swift-tools-version:5.5
|
||||
import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
name: "ColorCode",
|
||||
platforms: [
|
||||
.macOS(.v10_10),
|
||||
.macOS(.v11),
|
||||
],
|
||||
products: [
|
||||
.library(name: "ColorCode", targets: ["ColorCode"]),
|
||||
|
|
|
@ -7,7 +7,7 @@ WFColorCode
|
|||
|
||||
__WFColorCode__ is a NSColor extension that allows creating NSColor/SwiftUI.Color instance from a CSS color code string, or color code string from an NSColor/SwiftUI.Color instance. It also adds the ability to handle HSL color space.
|
||||
|
||||
* __Requirements__: OS X 10.10 or later
|
||||
* __Requirements__: OS X 11 or later
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
import SwiftUI
|
||||
|
||||
/// This extension on Color allows creating Color instance from a CSS color code string.
|
||||
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
|
||||
public extension Color {
|
||||
|
||||
/// Initialize with the given color code. Or returns `nil` if color code is invalid.
|
||||
|
@ -87,7 +86,6 @@ public extension Color {
|
|||
|
||||
|
||||
|
||||
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
|
||||
extension Color {
|
||||
|
||||
init(components: ColorComponents) {
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
import SwiftUI
|
||||
|
||||
/// This extension on Color adds the ability to handle HSL color space.
|
||||
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
|
||||
public extension Color {
|
||||
|
||||
/// Creates and returns a `Color` using the given opacity and HSL components.
|
||||
|
|
Loading…
Reference in New Issue