What's New

2.1 - RectangleTools 2.10

2021-07-23T17:40:27Z

RectangleTools found a way to solve the same problem without a major version change, so this downgraded to the newer RectangleTools 2.10.1

Swift 5 swift package manager 5.3 is supported Requires macOS 10.15+, OS 13+, tvOS 13+, watchOS 6+

Swift Color Swatches

A simple Swift package - all it does is draw rectangles of solid colors as NSImages and UIImages.

You can simply use .swatch on a native image:

import AppKit
import ColorSwatches

NSImage.swatch(color: .systemPurple)

Or .swatch on a native color:

import UIKit
import ColorSwatches

UIColor.systemPurple.swatch()

Description

  • Swift Tools 5.3.0
View More Packages from this Author

Dependencies

Last updated: Sun Oct 20 2024 06:29:21 GMT-0900 (Hawaii-Aleutian Daylight Time)