swift-macro
SBSObservation
Tiny observation framework designed for UIKit-based apps and built with Swift macros. It automatically handles the deallocation of observations and supports iOS 12 and newer.
- 68
- Swift
- 15 mo ago
swift-snapshot-testing-macros
A Swift Macro library for generating snapshot tests from functions
- 58
- Swift
- MIT
- 3 mo ago
KarrotCodableKit
KarrotCodableKit simplifies Swift's Codable protocol by offering support for polymorphism, property wrappers, and macros to handle complex JSON structures efficiently.
- 17
- Swift
- MIT
- 4 wk ago
hex-color
Swift macros for type-safe generation of Color, UIColor, and NSColor from hex string values.
- 5
- Swift
- MIT
- 18 mo ago
user-defaults-observation
A Swift macro adding accessors to properties for reading/writing values in UserDefaults within Observable classes
- 5
- Swift
- MIT
- 2 y ago
MetalVertexHelper
Converts Swift structs into C-compatible tuples, including necessary padding for alignment.
- 4
- Swift
- Apache-2.0
- 14 mo ago
swift-splat
Swift macro for generating convenience initializers by splatting nested struct properties.
- 1
- Swift
- Apache-2.0
- 2 wk ago
builder-macro
builder-macro is a macro that implements the Builder design pattern in Swift
- 0
- Swift
- MIT
- 24 mo ago
swift-enum-reflection
A Swift macro that enables lightweight reflection for enums by generating case metadata
- 0
- Swift
- 18 mo ago

