Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQ][Swift] make Enum's conform to CaseIterable protocol #4842

Closed
4brunu opened this issue Dec 19, 2019 · 0 comments · Fixed by #4086
Closed

[REQ][Swift] make Enum's conform to CaseIterable protocol #4842

4brunu opened this issue Dec 19, 2019 · 0 comments · Fixed by #4086

Comments

@4brunu
Copy link
Contributor

4brunu commented Dec 19, 2019

Is your feature request related to a problem? Please describe.

It would be nice to make the enums conform to CaseIterable protocol for the Swift compiler to be able to generate a property called allCases that provides an array of all cases in the enum.

Describe the solution you'd like

I will try to create a PR that makes the enum's conform to this protocol.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant