Packages with Macros
Macros are new in Swift 5.9 and transform your source code when you compile it, letting you avoid writing repetitive code. Read more about creating macros or check out these packages that include macro targets.
-
swift-composable-architectureby Point-Free
The Composable Architecture is a library for building applications with state management, composition, side effects, and testing in mind. It can be used with SwiftUI, UIKit, and more.
-
swift-dependenciesby Point-Free
A dependency management library for controlling and overriding dependencies in Swift applications. Helps with testing, SwiftUI previews, and compile-time performance.
-
swift-case-pathsby Point-Free
CasePaths extends the functionality of key paths to enum cases, allowing for the extraction, modification, and testing of associated values in enums.
-
Vergeby VergeGroup
Verge is a state management library for iOS development. It offers a lightweight and efficient way to manage application state and supports both UIKit and SwiftUI. It supports concurrent processing and includes an ORM for efficient entity management.
-
SwiftLintby Realm
SwiftLint is a tool that enforces Swift style and conventions. It uses the AST representation of source files to provide accurate results and can be integrated into both Xcode projects and Swift packages.
-
SwiftGodotby Miguel de Icaza
SwiftGodot provides Swift language bindings for the Godot game engine. Developers can use it to build extensions or embed Godot directly into Swift applications.