Swift Codegen

Open-source Swift projects categorized as Codegen

Top 6 Swift Codegen Projects

  • Insanity

    Meta-programming for Swift, stop writing boilerplate code.

    Project mention: Writing unit tests with mocked dependencies in Swift | dev.to | 2022-11-09

    To set up MockSwift, make sure you have Sourcery and the package installed. Then, create a script called gen-mocks.sh with the following content (updating the paths if required):

  • Weaver

    Dependency Injection framework for Swift (iOS/macOS/Linux)

  • Zigi

    Workflow assistant built for devs & their teams. Automate the mundane part of your day, with live actionable messages for your GitHub & Jira tasks.

  • Graphaello

    A Tool for Writing Declarative, Type-Safe and Data-Driven Applications in SwiftUI using GraphQL

  • Prism - Design System Code Generator

    Gett's Design System code generator. Use Zeplin Styleguides as your R&D's Single Source of Truth. (by GettEngineering)

  • CreateAPI

    Delightful code generator for OpenAPI specs

    Project mention: What’s everyone working on this month? (October 2022) | reddit.com/r/swift | 2022-10-03

    The app I'm working on uses OpenAPI, and I've been loving using CreateAPI to generate my netcode. I just compiled the library locally for the first time, and submitted a PR to bump the version of one of the dependencies. Fun stuff!

  • WSDL2Swift

    Pure Swift alternative to WSDL2ObjC making a SOAP request & parsing its response as defined in WSDL

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-11-09.

Swift Codegen related posts


What are some of the best open-source Codegen projects in Swift? This list will help you:

Project Stars
1 Insanity 6,906
2 Weaver 682
3 Graphaello 465
4 Prism - Design System Code Generator 347
5 CreateAPI 279
6 WSDL2Swift 26
Truly a developer’s best friend
Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.