6 open-source projects similar to mahdibm/enumerator-macro, ranked by how many features they have in common. Compare stars, activity and what each one does to find the best Enumerator Macro alternative.
@EnumOptionSet is a Swift attached member macro to declare option sets using an enumeration notation.
The EnumRawValues is a Swift attached extension macro to add raw values for enums.
A Swift macro that extracts associated values from enum cases
@CaseEquatable is a Swift macro that automatically generates a “raw” case-only enumeration and makes your enum conform to CaseEquatable. This allows you to compare only the case names—ignoring any associated values.
QuickEnum is a Swift Macro that can quickly generate a simple enum declaration, based on the type of the property that the macro is attached to and a set of cases that you provide.
Case paths extends the key path hierarchy to enum cases.