Packages for keyword “macro”
These packages are available as a package collection, usable in Xcode or SwiftPM.
MetaCodable
Supercharge Swift's Codable implementations with macros meta-programming.
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.
SpryKit
Spry is a framework that allows spying and stubbing in Apple's Swift language. Also included is a XCTAsserts for the spied objects
Ananda
JSON model decoding based on yyjson.
ModifiedCopy
A Swift macro for making inline copies of a struct by modifying a property.
BuildableMacro
BuildableMacro is a Swift package, simplifying property modification in Swift through automated setter function generation.
OrOther
A macro for adding a blank "other" case to any enum.
SwiftSyntaxSugar
Helpful extensions for SwiftSyntax.
swift-mocking
Swift macros for generating mocks.
Alias
🎭 A Swift macros for defining aliases for types, functions, variables, etc.
Buildable
An attached swift macro for structs, classes and enums, which produces a peer struct implementing the builder pattern. Initialise your object with minimal effort using default values.
swift-mocking
A compact swift mocking library powered by macros and parameter packs.
AnandaMacros
Macros for Ananda
swift-builder
Builder Patterns for Flexible Syntax in Swift.
ApproximateEquality
Swift ApproximateEquality protocol & macros
swift-locking
Swift macros for protecting shared mutable state.
EmailValidation
Swift macro framework for validating email addresses
swift-iterable-macros
@CaseIterable and @StaticMemberIterable power macros
Memoize
Swift Memoize Macro: Effortless function memoization in Swift 👾
SafeTypesMacros
Macros for compile-time SafeTypes initializers from literals