Packages for keyword “swift-macros”
These packages are available as a package collection, usable in Xcode or SwiftPM.
swift-testing
A modern, expressive testing package for Swift
CucumberSwift
Cucumber BDD for Swift. Runs Gherkin feature files as XCTest or Swift Testing tests, with step definition macros checked at compile time.
MetaCodable
Supercharge Swift's Codable implementations with macros meta-programming.
Equatable
A Swift package that provides macros for generating Equatable conformances for structs for high performance SwiftUI view diffing.
CodableKit
A Swift macro package designed to simplify the use of Swift's Codable protocol by allowing easy integration of default values, reducing the amount of auxiliary code you need to write.
swift-spyable
Swift macro that simplifies and automates the process of creating spies for testing
CoreDataEvolution
SwiftData-style actor isolation, Swift-first NSManagedObject macros, and typed mapping for modern Core Data projects.
SwiftQL
SQL as a first-class language in Swift. Type-safe SQLite queries written clause by clause, in SQL's own order: Select, From, Join, Where, GroupBy, Having, With.
swift-foundation-extensions
Standard extensions for Foundation framework
swift-mocking
Swift macros for generating mocks.
swift-cocoa-extensions
Standard extensions for Cocoa
MemberwiseInit
Swift Macro for memberwise initializers at any access level, with default values and compile-time safety.
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
ScreenMacros
Swift macro package for generating type-safe SwiftUI views from enums with automatic View protocol conformance and navigation helpers.
SFSymbolsMacro
A Swift Macro for "type-safe" SF Symbols.
Snowdrop
Networking made easy
swift-snapshot
Turn a value your app produced into Swift source that rebuilds it. Commit it as a test fixture the compiler checks. Swift 6, swift-syntax, swift-format.
combine-interception
Package extending Apple' `Combine` framework for interception of objc selectors.
swift-mockable
A Swift Macro that generates mock classes from protocols for testing.
combine-extensions
Extensions for Apple Combine framework