Swiftpack.co - KarlKraft/ColorPopoverWell as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by KarlKraft.
KarlKraft/ColorPopoverWell v1.0.0
An advanced NSColorWell replacement based on iWork (Pages,Numbers,Keynote)
⭐️ 0
🕓 5 weeks ago
macOS
.package(url: "https://github.com/KarlKraft/ColorPopoverWell.git", from: "v1.0.0")

ColorPopoverWell

License License License

ColorPopoverWell is a drop in replacement for NSColorWell that allows users to either select a color from the color panel in the same was as NSColorWell or from a series of convient swatches.

Sample Board
Screenshot with swatch view displayed

To upgrade from the plain boring NSColorWell to ColorPopoverWell you only need to change the custom class in the Xcode Interface Builder and add the Swift package to your project. How easy is that?

Before After
Sample Board Sample Board

Features

  • Sublassed from NSColorWell, so can be used as a drop in replacement.
  • Full cooperation with NSColorWell
  • Drawn in vectors for full retina support and any size (66x23 is the "default" size)
  • Drag and drop of color swatches with feedback on drops
  • Gradient selection

For a walk through and history of the code see Walkthrough.md


Karl Kraft [email protected]

GitHub

link
Stars: 0
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

First Public Release
5 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics