Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
didgeoridoo
on June 3, 2019
|
parent
|
context
|
favorite
| on:
SwiftUI
That syntax is a shortcut for UIColor.gray, so this is really:
.color(UIColor.gray)
JimDabell
on June 3, 2019
[–]
I would expect it's the grey static member of SwiftUI's Color struct:
https://developer.apple.com/documentation/swiftui/color/3049...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
.color(UIColor.gray)