A hand-curated list of Swift macros. Feel free to contribute!
-
Updated
Jun 15, 2023
A hand-curated list of Swift macros. Feel free to contribute!
A library utilize Swift Macros to generate code for network request.
Swift macro to add deprecated symbols, useful when renaming a symbol without introducing a breaking change.
Create simple value types for SwiftData @model to use with SwiftUI Previews.
Swift macros generating customizable Coding Keys
Automatically create a dedicated Storybook app from your SwiftUI components!
Automatically create a dedicated Storybook app from your SwiftUI components!
Useful conformance extension macros for Swift
EnumComparable is a swift macro that makes comparing enums with associated values potentially easier
Write Neat Test Cases in Swift
Example Code of WWDC23
Swift macro that proxies a value from one object to another.
The demo project for Swift Macros Deep Dive
Create type-safe deep links in to iOS apps, macOS apps, and websites using Swift macros.
A Swift Macro providing type-safe persisted iCloud-synced storage for Swift projects using `NSUbiquitousKeyValueStore` internally.
Unofficial CocoaPods pod for the swift-syntax library.
Extensions for Apple Combine framework
Package extending Apple' `Combine` framework for interception of objc selectors.
Add a description, image, and links to the swift-macros topic page so that developers can more easily learn about it.
To associate your repository with the swift-macros topic, visit your repo's landing page and select "manage topics."