Swift Code Generation

Open-source Swift projects categorized as Code Generation

Top 6 Swift Code Generation 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

    The context switching struggle is real. Zigi makes context switching a thing of the past. It monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack!

  • SwagGen

    OpenAPI/Swagger 3.0 Parser and Swift code generator

    Project mention: Share Swift Code Between Client App and Vapor Server | reddit.com/r/iOSProgramming | 2022-08-11
  • 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!

  • PredicateFlow

    Write amazing, strong-typed and easy-to-read NSPredicate.

  • ios-mvp-template

    🛠 A flexible and easy template created to speed up the development of your iOS application based on the MVP pattern.

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 Code Generation related posts

Index

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

Project Stars
1 Insanity 6,906
2 Weaver 682
3 SwagGen 558
4 CreateAPI 279
5 PredicateFlow 103
6 ios-mvp-template 22
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
www.sonarqube.org