Skip to content

Commit

Permalink
Add MacroKit
Browse files Browse the repository at this point in the history
  • Loading branch information
IanKeen authored Jun 15, 2023
1 parent f94f63a commit 079d16b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ that implements the same interface as the protocol and keeps track of interactio
### Enums
- [ExtractCaseValue](https://github.com/fruitcoder/extract-case-value): A Swift macro that extracts associated values from enum cases.

### Misc
- [MacroKit](https://github.com/IanKeen/MacroKit): A collection of macros including:
- `@PublicInit`: Generate public memberwise init
- `@GenerateMock`: Create a mock object for testing from a protocol
- `@KeyPathIterable`: Like `CaseIterable` but for available keypaths on a type
- `@StaticMemberIterable`: Like `CaseIterable` but for available static members on a type
- More to come...
---

_**Take part in this exciting evolution in Swift. Your contributions are most welcome!**_

0 comments on commit 079d16b

Please sign in to comment.