RawOptionSetType
When interacting with frameworks like Foundation in Swift, all of those
NS_ENUMdeclarations are automatically converted into anenum—often improving on the original Objective-C declaration by eliminating naming redundancies […] Unfortunately, forNS_OPTIONS, the Swift equivalent is arguably worse.[…]
Compared to the syntactically concise
enumdeclaration,RawOptionsSetTypeis awkward and cumbersome, requiring over a dozen lines of boilerplate for computed properties.