Show HN: Turn Your APIs into Swift Protocols (github.com)

2 points by joshuawright11 ↗ HN
Hey HN!

If you're a fan of Swift you may have noticed that with WWDC 2023 came the (beta) release of macros. They're super powerful and expressive!

I've been wishing Swift had a [Retrofit](https://square.github.io/retrofit/) style API definition library for years, and with macros it seemed like this was now possible.

I'd like to show you all Papyrus, a library that turns your APIs into type-safe Swift protocols.

Would love to get your feedback.

https://github.com/joshuawright11/papyrus

0 comments

[ 3.0 ms ] story [ 6.9 ms ] thread

No comments yet.