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.
-
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.
-
swift-testingby Apple
A powerful testing library for Swift, providing a modern and flexible testing library for Swift with powerful and expressive capabilities. It gives developers more confidence with less code.
-
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.
-
CodableWrappersby GottaGetSwifty
Simplify serialization with Property Wrappers. Customize encoding and decoding for Codable types with annotations.
-
SwiftPowerAssertby Kishikawa Katsumi
Swift Power Assert provides descriptive assertion messages for tests. It augments assertion failures with information about the values produced during the evaluation of a condition.
-
swift-spyableby Mateusz Bąk
Spyable is a powerful tool for Swift that automates the creation of spies for testing. It generates spy classes that track interactions with methods and properties, simplifying behavior verification in tests.