{"repo":"krzysztofzablocki/Sourcery","free":true,"listed":false,"github":"https://github.com/krzysztofzablocki/Sourcery","clone":"git clone https://github.com/krzysztofzablocki/Sourcery.git","description":"Meta-programming for Swift, stop writing boilerplate code.","language":"Swift","stars":8017,"topics":["metaprogramming","swift","codegen","codegenerator","ios","templates","code-generation"],"license":"MIT","category":"dev-tools","readme_excerpt":"In-Depth Sourcery guide is covered as part of my SwiftyStack engineering course. Sourcery Pro provides a powerful Stencil editor and extends Xcode with the ability to handle live AST templates: available on Mac App Store https://user-images.githubusercontent.com/1468993/114271090-f6c19200-9a0f-11eb-9bd8-d7bb15129eb2.mp4 Learn more about Sourcery Pro Sourcery is a code generator for Swift language, built on top of Apple's own SwiftSyntax. It extends the language abstractions to allow you to generate boilerplate code automatically. It's used in over 40,000 projects on both iOS and macOS and it powers some of the most popular and critically-acclaimed apps you have used (including Airbnb, Bumble, New York Times). Its massive community adoption was one of the factors that pushed Apple to implement derived Equality and automatic Codable conformance. Sourcery is maintained by a growing community of contributors. Try Sourcery for your next project or add it to an existing one -- you'll save a lot of time and be happy you did! TL;DR Sourcery allows you to get rid of repetitive code and create better architecture and developer workflows. An example might be implementing Mocks for all your protocols, without Sourcery you will need to write hundreds lines of code per each protocol like this: and with Sourcery ? Sourcery removes the need to write any of the mocks code, how many protocols do you have in your project? Imagine how much time you'll save, using Sourcery will also make every si","default_branch":null,"files":null,"tree":[],"storefront":"/r/krzysztofzablocki","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/krzysztofzablocki/Sourcery/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}