tj4shee / color.fromstring Goto Github PK
View Code? Open in Web Editor NEWSwiftUI's Color object is not codable - and therefore not easy to store. This makes it simple by allowing you to store a Color using Color.description and then recreating the Color using this function as an extension to Color
License: GNU General Public License v3.0