Packages for keyword “swift-macros”
These packages are available as a package collection, usable in Xcode or SwiftPM.
tca-composer
A swift macro framework for generating boiler-plate code in TCA-based applications.
combine-cocoa
Cocoa extensions for Apple Combine framework.
kaleidoscope-lexer
A Lexer Named Kaleidoscope, powered by Swift Macro
MacroCodableKit
Boilerplate-free Codable for Swift. Supports AllOf / OneOf (OpenAPI), adjacently tagged enums, custom coding keys, default values, and value strategies — all via macros with zero runtime overhead
Renamed
Swift macro to add deprecated symbols, useful when renaming a symbol without introducing a breaking change.
swift-codable-macro
Macros for automatically generating customizable conformance to `Codable` protocol.
swift-htmlkit
Write HTML and HTMX using Swift Macros.
swift-mockable
A Swift Macro that generates mock classes from protocols for testing.
swift-loggable
Set of macros that support type-wide and per-function logging with ability to customize how logs are handled
CiderKit.Macros
A collection of Swift macros.
DocumentData
A data persistence library like SwiftData, and persist all the data into Property List Document.
LoremSwiftify
Swift Macro that generates realistic mock/fake data for structs, classes, and enums — perfect for SwiftUI previews and snapshot tests
PrincipleMacros
Essential tools that simplify the implementation of custom Swift macros
swift-locking
Swift macros for protecting shared mutable state.
SwiftMacros
Collection of useful macros
SwiftSyntaxSugar
Helpful extensions for SwiftSyntax.
EmailValidation
Swift macro framework for validating email addresses
KeylineKit
Measured layout annotations for SwiftUI previews: padding, spacing, sizes, corner radii and safe area.
swift-app-macros
Production-oriented Swift macros for app development: @Equatable, @SkipEquatable, and EquatableBodyView for SwiftUI redraw optimization
swift-fakable
A Swift Macro that generates a fake() factory method for test fixtures