Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MahdiBM authored Jul 18, 2024
1 parent c6eff72 commit 45b5163
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ It's rather simple.

## Examples

> [!NOTE]
> The below examples will get more complicated slowly but surely.
### Derive Case Names
```swift
@Enumerator("""
Expand Down Expand Up @@ -248,6 +251,9 @@ enum TestEnum {

### Create Functions For Each Case

<details>
<summary> Click to expand </summary>

```swift
@Enumerator("""
{{#cases}}
Expand Down Expand Up @@ -296,6 +302,8 @@ enum TestEnum {
}
```

</details>

### Using Comments For Code Generation

> [!TIP]
Expand Down

0 comments on commit 45b5163

Please sign in to comment.