Tue, 03 Dec 2019 02:30:54 +0000

I wrote an extension to provide the pre-defined colors in UIColor available in SwiftUI. Frex: write Text(“Hi”).foregroundColor(.label) instead of Text(“Hi”).foregroundColor(Color(UIColor.label))

Gist: https://gist.github.com/HiddenJester/1a601bc5256dccaa0022bcd973a76c8b