Swift Forums
Can't use `if case` with Ternary Operator?
Using Swift
ternary-operator
,
enums
,
swift
anon9791410
February 2, 2021, 3:38am
4
This
provides you with the option to do
.opacity(.invalid ~= validationState ? 1 : 0)
3 Likes
show post in topic
Terms of Service
Privacy Policy
Cookie Policy