From 079d16bf50e5e3faac84fb2e2d3d09935559d776 Mon Sep 17 00:00:00 2001 From: Ian Keen Date: Wed, 14 Jun 2023 20:20:27 -0700 Subject: [PATCH] Add MacroKit --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 6694d91..5ef8931 100644 --- a/README.md +++ b/README.md @@ -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!**_