I think you will still have to do it by manually creating a list of all possible values of your enum.Perhaps it might seem strange that an enum is not enumerable ... But apart from that I don't think it is particularly surprising.Maybe you could have a look at the new OptionSetType:https://developer.apple.com/library/prerelease/mac/documentation/Swift/Reference/Swift_OptionSetType_Protocol/index.html
Topic:
Programming Languages
SubTopic:
Swift
Tags: