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).
Repositories 1–50 of 198
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.
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…
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…
vsouza/awesome-ios★ 53.4k
This repository is the Awesome iOS curated reference catalog.
iina/iina★ 46.4k
IINA is a modern macOS video and music player built around mpv.
apple/container★ 45.5k
1. This repository is a macOS Swift package for the container CLI plus the privileged/background services it drives.
alamofire/alamofire★ 42.4k
Core Networking Engine – Represent the core “Source” directory which includes modules like Session, Request, DataRequest, DownloadRequest, and UploadRequest.
exelban/stats★ 37.4k
Menu Bar Interface (main entry point)
permissionlesstech/bitchat★ 37k
BitChat is a decentralized messaging app for iOS and macOS, combining offline Bluetooth mesh with internet-based Nostr relays.
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…
monitorcontrol/monitorcontrol★ 32.8k
MonitorControl is a native macOS menubar application (Swift/Cocoa) for controlling external display brightness, contrast, volume, and showing native OSD.
rxhanson/rectangle★ 30.2k
Rectangle is a macOS window-management app.
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.
manaflow-ai/cmux★ 28.1k
cmux is a native macOS terminal and browser for developers working with AI coding agents.
chartsorg/charts★ 28k
DGCharts is a Swift charting library for Apple platforms, usable from Swift and Objective-C.
jordanbaird/ice★ 26.8k
airbnb/lottie-ios★ 26.7k
Public API Layer: Represented by the Sources/Public folder.
vapor/vapor★ 26k
jackjackbits/bitchat★ 25.5k
Native iOS/macOS decentralized P2P messaging app
reactivex/rxswift★ 24.7k
onevcat/kingfisher★ 24.3k
Based on your project's file tree and README, Kingfisher is clearly a Swift-based image downloading and caching library.
codeeditapp/codeedit★ 22.7k
This is a native, full-featured macOS code editor (CodeEdit) built in Swift/SwiftUI.
nikitabobko/aerospace★ 19.9k
Command flow (CLI → Command Processing → Window Management)
vorssaint/vorssaint-utils★ 19.6k
Vorssaint is a local-first macOS 14+/Apple-Silicon menu-bar utility suite.
realm/swiftlint★ 19.5k
caldis/mos★ 19.5k
This is a native macOS status‐bar application (Cocoa) that intercepts and smooths scroll events.
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.
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…
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.
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).
ianyh/amethyst★ 16.3k
Amethyst is a macOS tiling window manager.
ipader/swiftguide★ 16k
1. Main Components – Represent each of the key “modules” or sections of the repository.
moya/moya★ 15.4k
Core Networking Abstraction: Represented by the “Sources/Moya” directory.
lwouis/alt-tab-macos★ 15.3k
ochococo/design-patterns-in-swift★ 15.3k
This is an open-source, content-generation tool rather than a traditional application.
dwarvesf/hidden★ 15k
Hidden Bar is a macOS menu-bar utility for organizing and hiding status items.
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.
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.
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…
altstoreio/altstore★ 14.5k
AltStore is an iOS alternative app store backed by AltServer on macOS.
pointfreeco/swift-composable-architecture★ 14.5k
This repository is an open-source Swift package that implements “The Composable Architecture” (TCA).
vorssaintapp/vorssaint-utils★ 14.3k
Vorssaint is a local-first macOS 14+ Apple Silicon utility suite centered on one menu-bar application.
mxcl/promisekit★ 14.3k
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…
tisfeng/easydict★ 14k
Easydict is a native macOS translation/dictionary application.
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.
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.
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.
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.
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.