Has anyone successfully persisted Color, particularly in SwiftData? So far my attempts have failed:
- Making Color conform to Codable results in a run time error (from memory something about ColorBox).
- Color.Resolved already conforms Codable but this results in "SwiftData/ModelCoders.swift:124: Fatal error: Composite Coder only supports Keyed Container"
None of the other color types conform to Codable (CGColor, NSColor and UIColor) so does the swift language really not have a persistable color type?