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.
MemberwiseInit
Swift Macro for memberwise initializers at any access level, with default values and compile-time safety.
swift-mocking
Swift macros for generating mocks.
InnoDI
Macro-driven dependency injection for Swift with compile-time and build-time validation, a dependency-graph CLI, and SwiftUI helpers.
swift-foundation-extensions
Standard extensions for Foundation framework
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.
InnoNetwork
Type-safe async networking for Swift on Apple platforms: typed endpoints with @APIDefinition, plus opt-in download, upload, WebSocket, cache, and OpenAPI products.
swift-cocoa-extensions
Standard extensions for Cocoa
InnoFlow
SwiftUI-first unidirectional state management for Swift: macro-authored reducers, deterministic TestStore tests, and opt-in orchestration.
InnoRouter
Macro-first, typed navigation for SwiftUI: one route enum for stacks, tabs, scenes, and deep links, with restoration and testing built in.
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.