Is there a way to add descriptions to associated values of enums in Swift 3? I want them to show up in the symbol documentation popup (option+click), like they do for functi
Do it like this:
/// Enum Description enum Enum { /// enum1 Description /// - value1: value1 Description /// - value2: value2 Description case enum1(value1: Int, value2: String) /// enum2 Description case enum2 }
Show result: