Swift Forums
How to define a protocol for Int-backed enums so that conforming enums' cases can be held in an array of the protocol type?
Using Swift
protocols
,
enums
xwu
(Xiaodi Wu)
November 26, 2021, 3:34pm
2
See:
Full implementation of
SE-0309
will solve this problem in the future. That is not yet done.
1 Like
show post in topic