Home code generating
Post
Cancel

code generating

Install

1
 brew install nshipster/formulae/gyb

Example

Generate a Enum with lots of cases

enum LongEnum {
    case example(Int, Int, Int)
    % for otherSuffix in range(1, 260):
    case other${otherSuffix}
    %end
 }
This post is licensed under CC BY 4.0 by the author.