GitDiagram
Browse

Swift project architecture examples

Interactive architecture diagrams of 198 open-source Swift repositories with a GitDiagram architecture diagram, most stars first. Each diagram shows the project's main components, how they connect, and links every part to its file on GitHub.

Across the 105 most-starred Swift projects here, the median diagram has 22 components. 54% draw a data store (most often a cache and SQLite), 23% have a command-line interface and 4% a web interface.

16% have an LLM or AI-model component and 19% have a plugin or extension system.

The files their components link to most are AppDelegate.swift (17), main.swift (10), ContentView.swift (8), SettingsView.swift (8) and Application.swift (4).

Group names that recur: “app shell” (7), “cli” (4) and “public api” (4).

In the 105 most-starred diagrams
Draws a data store54%
Has a command-line interface23%
Has plugins or extensions19%
Has an LLM or AI-model component16%
Has a desktop app7%
Speaks MCP5%

Repositories 1–50 of 198

  1. jaywcjlove/awesome-mac★ 115k

    This repository is a curated directory of Mac apps and developer tools, presented as Markdown lists and exposed as localized JSON and feed files.

  2. apple/swift★ 70.5k

    Swift is a system programming language implementation: its compiler represents and checks programs, then optimizes Swift Intermediate Language (SIL); the repository also contains…

  3. swiftlang/swift★ 70.4k

    Swift is a programming language implementation: developers write Swift programs, which the compiler analyzes and optimizes; the standard library and platform runtimes provide the…

  4. vsouza/awesome-ios★ 53.4k

    This repository is the Awesome iOS curated reference catalog.

  5. iina/iina★ 46.4k

    IINA is a modern macOS video and music player built around mpv.

  6. apple/container★ 45.5k

    1. This repository is a macOS Swift package for the container CLI plus the privileged/background services it drives.

  7. alamofire/alamofire★ 42.4k

    Core Networking Engine – Represent the core “Source” directory which includes modules like Session, Request, DataRequest, DownloadRequest, and UploadRequest.

  8. exelban/stats★ 37.4k

    Menu Bar Interface (main entry point)

  9. permissionlesstech/bitchat★ 37k

    BitChat is a decentralized messaging app for iOS and macOS, combining offline Bluetooth mesh with internet-based Nostr relays.

  10. utmapp/utm★ 33.5k

    UTM is a full-stack application that combines a sophisticated UI (with platform-specific interfaces for macOS, iOS, visionOS, etc.) with a robust backend based on QEMU for full…

  11. monitorcontrol/monitorcontrol★ 32.8k

    MonitorControl is a native macOS menubar application (Swift/Cocoa) for controlling external display brightness, contrast, volume, and showing native OSD.

  12. rxhanson/rectangle★ 30.2k

    Rectangle is a macOS window-management app.

  13. kodecocodes/swift-algorithm-club★ 29.1k

    Swift Algorithm Club is an educational collection of independent Swift implementations rather than a unified application or reusable framework.

  14. manaflow-ai/cmux★ 28.1k

    cmux is a native macOS terminal and browser for developers working with AI coding agents.

  15. chartsorg/charts★ 28k

    DGCharts is a Swift charting library for Apple platforms, usable from Swift and Objective-C.

  16. airbnb/lottie-ios★ 26.7k

    Public API Layer: Represented by the Sources/Public folder.

  17. jackjackbits/bitchat★ 25.5k

    Native iOS/macOS decentralized P2P messaging app

  18. onevcat/kingfisher★ 24.3k

    Based on your project's file tree and README, Kingfisher is clearly a Swift-based image downloading and caching library.

  19. codeeditapp/codeedit★ 22.7k

    This is a native, full-featured macOS code editor (CodeEdit) built in Swift/SwiftUI.

  20. nikitabobko/aerospace★ 19.9k

    Command flow (CLI → Command Processing → Window Management)

  21. vorssaint/vorssaint-utils★ 19.6k

    Vorssaint is a local-first macOS 14+/Apple-Silicon menu-bar utility suite.

  22. caldis/mos★ 19.5k

    This is a native macOS status‐bar application (Cocoa) that intercepts and smooths scroll events.

  23. p0deje/maccy★ 19.1k

    Maccy is a lightweight clipboard manager for macOS. It is designed as a native application written in Swift, with an emphasis on speed, minimalism, and a keyboard-first interface.

  24. openemu/openemu★ 17.4k

    Main OpenEmu Application – This is the native macOS application (written in Swift/Objective-C) that sets up the user interface, handles user interactions, and coordinates the…

  25. hackiftekhar/iqkeyboardmanager★ 16.6k

    This is not a full-stack application but rather a UI/UX helper library designed to manage keyboard interactions within iOS apps.

  26. slopus/happy★ 16.6k

    This is a multi‐platform client app (“happy-coder”) for Claude Code & Codex, targeting iOS, Android (via React Native + Expo/EAS), desktop (via Tauri), and web (via Next.js).

  27. ianyh/amethyst★ 16.3k

    Amethyst is a macOS tiling window manager.

  28. ipader/swiftguide★ 16k

    1. Main Components – Represent each of the key “modules” or sections of the repository.

  29. moya/moya★ 15.4k

    Core Networking Abstraction: Represented by the “Sources/Moya” directory.

  30. ochococo/design-patterns-in-swift★ 15.3k

    This is an open-source, content-generation tool rather than a traditional application.

  31. dwarvesf/hidden★ 15k

    Hidden Bar is a macOS menu-bar utility for organizing and hiding status items.

  32. steipete/codexbar★ 15k

    - This is a multi-target Swift package for a macOS menu bar app called CodexBar, plus a bundled cross-platform CLI, a WidgetKit extension, and shared core libraries.

  33. xtool-org/xtool★ 14.6k

    xtool is a cross-platform Xcode replacement for building SwiftPM iOS apps, signing and deploying them, managing Apple Developer Services, and operating connected devices.

  34. alienator88/pearcleaner★ 14.5k

    Pearcleaner is a native macOS 13+ Swift/SwiftUI utility for uninstalling apps and associated files, plus file search, Homebrew/package management, app updates…

  35. altstoreio/altstore★ 14.5k

    AltStore is an iOS alternative app store backed by AltServer on macOS.

  36. pointfreeco/swift-composable-architecture★ 14.5k

    This repository is an open-source Swift package that implements “The Composable Architecture” (TCA).

  37. vorssaintapp/vorssaint-utils★ 14.3k

    Vorssaint is a local-first macOS 14+ Apple Silicon utility suite centered on one menu-bar application.

  38. mengto/spring★ 14.1k

    Spring is a Swift/UIKit animation library: developers configure animation presets, curves, timing and transform properties, then start or chain animations on Spring views or…

  39. tisfeng/easydict★ 14k

    Easydict is a native macOS translation/dictionary application.

  40. supertone-oss-archive/supertonic★ 13.8k

    Supertonic is an archived, local ONNX text-to-speech project, distributed here as runnable examples for multiple languages and platforms.

  41. sunnyyoung/wechattweak-macos★ 13.5k

    This project is a macOS tweak for the WeChat client—essentially a dynamic library that enhances and modifies the behavior of the official WeChat macOS application.

  42. lakr233/vphone-cli★ 13.4k

    vphone-cli is a macOS command-line/app bundle that creates and runs virtual iPhones on Apple Silicon through Apple’s Virtualization.framework and PCC research VM infrastructure.

  43. livecontainer/livecontainer★ 13.4k

    LiveContainer is an iOS app launcher that stores apps and their data inside the host app, then launches selected guest apps without installing each as a separate system app.

  44. mozilla-mobile/firefox-ios★ 13.1k

    This monorepo contains Firefox for iOS and Focus for iOS, plus shared BrowserKit and Rust-component wrappers.

Counted over GitDiagram's stored diagrams of public repositories, from the names their components and groups carry and the files they link to; the rules are the ones in the 2026 open-source architecture report. Stars are GitHub's when the diagram was last made. Rebuilt daily: hubs grow as more repositories' languages are known.