Join Slack
Powered by
In Swift you can do `let foo = MyEnum(rawValue: 20...
# getting-started
s
steverichey
04/27/2016, 6:04 PM
In Swift you can do
let foo = MyEnum(rawValue: 20)
which would return a
MyEnum?
which is
nil
if no value exists for the given raw value.
Open in Slack
Previous
Next