Swift : Custom Color Picker - COMMENTS?

I’ve decided to do a rewrite of my MSPAINT clone (RealBasic circa 2006) into Swift circa 2025
and one of the things I wanted was a “better” Colorpicker

this is what I came up with… comments?

Hi Dave. Two comments:

  1. The layout of the colors in the predefined colors section places similar colors at opposite ends of the color array. Why not group similar colors together?
  2. Instead of the Add to Custom Colors button, use drag and drop to add a new custom color (if a color already exists in the destination, present a confirmation alert).
1 Like
  1. point taken… but if I recall I “borrowed” that from Microsoft :slight_smile:
  2. good idea, just not sure I want to get that complicated.. but I might give it a go