Packages for keyword “macros”
These packages are available as a package collection, usable in Xcode or SwiftPM.
kaleidoscope-lexer
A Lexer Named Kaleidoscope, powered by Swift Macro
macro-codable-kit
Efficient, flexible Codable with Swift Macros
MacroSyn
Read and build Swift's macros with less boilerplate
swift-copying
A Swift Macro that generates a copying method for struct and class types, similar to Kotlin's copy function for data classes.
swift-dependencies-extras
Libraries that make swift-dependencies even more useful
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.
LoremSwiftify
Swift Macro that generates realistic mock/fake data for structs, classes, and enums — perfect for SwiftUI previews and snapshot tests
swift-locking
Swift macros for protecting shared mutable state.
SwiftSyntaxSugar
Helpful extensions for SwiftSyntax.
LazyState
A macro for dynamically initializing observable references in SwiftUI views.
CaseAccessors
Swift Macros for convenient access to enum case associated values
swift-fakable
A Swift Macro that generates a fake() factory method for test fixtures
MockableMacros
Mocking package for swift using macros
AddPreviews
A Swift macro that makes preview-based snapshot testing easier
EnumOptionSet
A Swift macro that enables more concise and safer declaration of option sets through enumeration notation.
swift-generation
Structured output generation for Swift. Define types that language models can generate with compile-time schema validation.
SwiftStorage
SwiftStorage is an easy way to persist data without Key Value.
DeepLink
Create type-safe deep links in to iOS apps, macOS apps, and websites using Swift macros.
BuilderMacro
builder-macro is a macro that implements the Builder design pattern in Swift