Meta-programming for Swift, stop writing boilerplate code.
Sourcery is a code generator for the Swift language, designed to automate the generation of boilerplate code. It is built on top of Apple's SwiftSyntax and extends the language abstractions to allow for the automatic generation of repetitive code. Sourcery is used in over 40,000 projects on both iOS and macOS, including popular apps like Airbnb, Bumble, and the New York Times. It provides a powerful Stencil editor and extends Xcode with the ability to handle live AST templates. Sourcery saves developers time by removing the need to write repetitive code, creating better architecture and developer workflows.
Sourcery is a powerful code generator for Swift that automates the generation of boilerplate code. It is widely adopted in the iOS and macOS development community, with over 40,000 projects leveraging its capabilities. Sourcery saves developers time by eliminating the need to write repetitive code, allowing for better architecture and developer workflows. Its extensible templates and integration with Xcode make it a versatile tool for generating code. Whether it's generating mocks, implementing decorators, or automating UI generation, Sourcery provides a comprehensive solution for code generation in Swift projects.