All Downloads are FREE. Search and download functionalities are using the official Maven repository.

swift4.modelInlineEnumDeclaration.mustache Maven / Gradle / Ivy

There is a newer version: 3.0.0-rc1
Show newest version
    public enum {{enumName}}: {{^isContainer}}{{datatype}}{{/isContainer}}{{#isContainer}}String{{/isContainer}}, Codable { {{#allowableValues}}{{#enumVars}}
        case {{name}} = {{#isContainer}}"{{/isContainer}}{{#isString}}"{{/isString}}{{{value}}}{{#isString}}"{{/isString}}{{#isContainer}}"{{/isContainer}}{{/enumVars}}{{/allowableValues}}
    }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy