# 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 to 50 of 198

1. [jaywcjlove/awesome-mac](https://gitdiagram.com/jaywcjlove/awesome-mac) (115k stars): This repository is a curated directory of Mac apps and developer tools, presented as Markdown lists and exposed as localized JSON and feed files. Markdown: https://gitdiagram.com/jaywcjlove/awesome-mac.md
2. [apple/swift](https://gitdiagram.com/apple/swift) (70.5k stars): Swift is a system programming language implementation: its compiler represents and checks programs, then optimizes Swift Intermediate Language (SIL); the repository also contains… Markdown: https://gitdiagram.com/apple/swift.md
3. [swiftlang/swift](https://gitdiagram.com/swiftlang/swift) (70.4k stars): Swift is a programming language implementation: developers write Swift programs, which the compiler analyzes and optimizes; the standard library and platform runtimes provide the… Markdown: https://gitdiagram.com/swiftlang/swift.md
4. [vsouza/awesome-ios](https://gitdiagram.com/vsouza/awesome-ios) (53.4k stars): This repository is the Awesome iOS curated reference catalog. Markdown: https://gitdiagram.com/vsouza/awesome-ios.md
5. [iina/iina](https://gitdiagram.com/iina/iina) (46.4k stars): IINA is a modern macOS video and music player built around mpv. Markdown: https://gitdiagram.com/iina/iina.md
6. [apple/container](https://gitdiagram.com/apple/container) (45.5k stars): 1. This repository is a macOS Swift package for the container CLI plus the privileged/background services it drives. Markdown: https://gitdiagram.com/apple/container.md
7. [alamofire/alamofire](https://gitdiagram.com/alamofire/alamofire) (42.4k stars): Core Networking Engine – Represent the core “Source” directory which includes modules like Session, Request, DataRequest, DownloadRequest, and UploadRequest. Markdown: https://gitdiagram.com/alamofire/alamofire.md
8. [exelban/stats](https://gitdiagram.com/exelban/stats) (37.4k stars): Menu Bar Interface (main entry point) Markdown: https://gitdiagram.com/exelban/stats.md
9. [permissionlesstech/bitchat](https://gitdiagram.com/permissionlesstech/bitchat) (37k stars): BitChat is a decentralized messaging app for iOS and macOS, combining offline Bluetooth mesh with internet-based Nostr relays. Markdown: https://gitdiagram.com/permissionlesstech/bitchat.md
10. [utmapp/utm](https://gitdiagram.com/utmapp/utm) (33.5k stars): 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… Markdown: https://gitdiagram.com/utmapp/utm.md
11. [monitorcontrol/monitorcontrol](https://gitdiagram.com/monitorcontrol/monitorcontrol) (32.8k stars): MonitorControl is a native macOS menubar application (Swift/Cocoa) for controlling external display brightness, contrast, volume, and showing native OSD. Markdown: https://gitdiagram.com/monitorcontrol/monitorcontrol.md
12. [rxhanson/rectangle](https://gitdiagram.com/rxhanson/rectangle) (30.2k stars): Rectangle is a macOS window-management app. Markdown: https://gitdiagram.com/rxhanson/rectangle.md
13. [kodecocodes/swift-algorithm-club](https://gitdiagram.com/kodecocodes/swift-algorithm-club) (29.1k stars): Swift Algorithm Club is an educational collection of independent Swift implementations rather than a unified application or reusable framework. Markdown: https://gitdiagram.com/kodecocodes/swift-algorithm-club.md
14. [manaflow-ai/cmux](https://gitdiagram.com/manaflow-ai/cmux) (28.1k stars): cmux is a native macOS terminal and browser for developers working with AI coding agents. Markdown: https://gitdiagram.com/manaflow-ai/cmux.md
15. [chartsorg/charts](https://gitdiagram.com/chartsorg/charts) (28k stars): DGCharts is a Swift charting library for Apple platforms, usable from Swift and Objective-C. Markdown: https://gitdiagram.com/chartsorg/charts.md
16. [jordanbaird/ice](https://gitdiagram.com/jordanbaird/ice) (26.8k stars) Markdown: https://gitdiagram.com/jordanbaird/ice.md
17. [airbnb/lottie-ios](https://gitdiagram.com/airbnb/lottie-ios) (26.7k stars): Public API Layer: Represented by the Sources/Public folder. Markdown: https://gitdiagram.com/airbnb/lottie-ios.md
18. [vapor/vapor](https://gitdiagram.com/vapor/vapor) (26k stars) Markdown: https://gitdiagram.com/vapor/vapor.md
19. [jackjackbits/bitchat](https://gitdiagram.com/jackjackbits/bitchat) (25.5k stars): Native iOS/macOS decentralized P2P messaging app Markdown: https://gitdiagram.com/jackjackbits/bitchat.md
20. [reactivex/rxswift](https://gitdiagram.com/reactivex/rxswift) (24.7k stars) Markdown: https://gitdiagram.com/reactivex/rxswift.md
21. [onevcat/kingfisher](https://gitdiagram.com/onevcat/kingfisher) (24.3k stars): Based on your project's file tree and README, Kingfisher is clearly a Swift-based image downloading and caching library. Markdown: https://gitdiagram.com/onevcat/kingfisher.md
22. [codeeditapp/codeedit](https://gitdiagram.com/codeeditapp/codeedit) (22.7k stars): This is a native, full-featured macOS code editor (CodeEdit) built in Swift/SwiftUI. Markdown: https://gitdiagram.com/codeeditapp/codeedit.md
23. [nikitabobko/aerospace](https://gitdiagram.com/nikitabobko/aerospace) (19.9k stars): Command flow (CLI → Command Processing → Window Management) Markdown: https://gitdiagram.com/nikitabobko/aerospace.md
24. [vorssaint/vorssaint-utils](https://gitdiagram.com/vorssaint/vorssaint-utils) (19.6k stars): Vorssaint is a local-first macOS 14+/Apple-Silicon menu-bar utility suite. Markdown: https://gitdiagram.com/vorssaint/vorssaint-utils.md
25. [realm/swiftlint](https://gitdiagram.com/realm/swiftlint) (19.5k stars) Markdown: https://gitdiagram.com/realm/swiftlint.md
26. [caldis/mos](https://gitdiagram.com/caldis/mos) (19.5k stars): This is a native macOS status‐bar application (Cocoa) that intercepts and smooths scroll events. Markdown: https://gitdiagram.com/caldis/mos.md
27. [p0deje/maccy](https://gitdiagram.com/p0deje/maccy) (19.1k stars): 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. Markdown: https://gitdiagram.com/p0deje/maccy.md
28. [openemu/openemu](https://gitdiagram.com/openemu/openemu) (17.4k stars): 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… Markdown: https://gitdiagram.com/openemu/openemu.md
29. [hackiftekhar/iqkeyboardmanager](https://gitdiagram.com/hackiftekhar/iqkeyboardmanager) (16.6k stars): This is not a full-stack application but rather a UI/UX helper library designed to manage keyboard interactions within iOS apps. Markdown: https://gitdiagram.com/hackiftekhar/iqkeyboardmanager.md
30. [slopus/happy](https://gitdiagram.com/slopus/happy) (16.6k stars): 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). Markdown: https://gitdiagram.com/slopus/happy.md
31. [ianyh/amethyst](https://gitdiagram.com/ianyh/amethyst) (16.3k stars): Amethyst is a macOS tiling window manager. Markdown: https://gitdiagram.com/ianyh/amethyst.md
32. [ipader/swiftguide](https://gitdiagram.com/ipader/swiftguide) (16k stars): 1. Main Components – Represent each of the key “modules” or sections of the repository. Markdown: https://gitdiagram.com/ipader/swiftguide.md
33. [moya/moya](https://gitdiagram.com/moya/moya) (15.4k stars): Core Networking Abstraction: Represented by the “Sources/Moya” directory. Markdown: https://gitdiagram.com/moya/moya.md
34. [lwouis/alt-tab-macos](https://gitdiagram.com/lwouis/alt-tab-macos) (15.3k stars) Markdown: https://gitdiagram.com/lwouis/alt-tab-macos.md
35. [ochococo/design-patterns-in-swift](https://gitdiagram.com/ochococo/design-patterns-in-swift) (15.3k stars): This is an open-source, content-generation tool rather than a traditional application. Markdown: https://gitdiagram.com/ochococo/design-patterns-in-swift.md
36. [dwarvesf/hidden](https://gitdiagram.com/dwarvesf/hidden) (15k stars): Hidden Bar is a macOS menu-bar utility for organizing and hiding status items. Markdown: https://gitdiagram.com/dwarvesf/hidden.md
37. [steipete/codexbar](https://gitdiagram.com/steipete/codexbar) (15k stars): - 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. Markdown: https://gitdiagram.com/steipete/codexbar.md
38. [xtool-org/xtool](https://gitdiagram.com/xtool-org/xtool) (14.6k stars): xtool is a cross-platform Xcode replacement for building SwiftPM iOS apps, signing and deploying them, managing Apple Developer Services, and operating connected devices. Markdown: https://gitdiagram.com/xtool-org/xtool.md
39. [alienator88/pearcleaner](https://gitdiagram.com/alienator88/pearcleaner) (14.5k stars): Pearcleaner is a native macOS 13+ Swift/SwiftUI utility for uninstalling apps and associated files, plus file search, Homebrew/package management, app updates… Markdown: https://gitdiagram.com/alienator88/pearcleaner.md
40. [altstoreio/altstore](https://gitdiagram.com/altstoreio/altstore) (14.5k stars): AltStore is an iOS alternative app store backed by AltServer on macOS. Markdown: https://gitdiagram.com/altstoreio/altstore.md
41. [pointfreeco/swift-composable-architecture](https://gitdiagram.com/pointfreeco/swift-composable-architecture) (14.5k stars): This repository is an open-source Swift package that implements “The Composable Architecture” (TCA). Markdown: https://gitdiagram.com/pointfreeco/swift-composable-architecture.md
42. [vorssaintapp/vorssaint-utils](https://gitdiagram.com/vorssaintapp/vorssaint-utils) (14.3k stars): Vorssaint is a local-first macOS 14+ Apple Silicon utility suite centered on one menu-bar application. Markdown: https://gitdiagram.com/vorssaintapp/vorssaint-utils.md
43. [mxcl/promisekit](https://gitdiagram.com/mxcl/promisekit) (14.3k stars) Markdown: https://gitdiagram.com/mxcl/promisekit.md
44. [mengto/spring](https://gitdiagram.com/mengto/spring) (14.1k stars): 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… Markdown: https://gitdiagram.com/mengto/spring.md
45. [tisfeng/easydict](https://gitdiagram.com/tisfeng/easydict) (14k stars): Easydict is a native macOS translation/dictionary application. Markdown: https://gitdiagram.com/tisfeng/easydict.md
46. [supertone-oss-archive/supertonic](https://gitdiagram.com/supertone-oss-archive/supertonic) (13.8k stars): Supertonic is an archived, local ONNX text-to-speech project, distributed here as runnable examples for multiple languages and platforms. Markdown: https://gitdiagram.com/supertone-oss-archive/supertonic.md
47. [sunnyyoung/wechattweak-macos](https://gitdiagram.com/sunnyyoung/wechattweak-macos) (13.5k stars): 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. Markdown: https://gitdiagram.com/sunnyyoung/wechattweak-macos.md
48. [lakr233/vphone-cli](https://gitdiagram.com/lakr233/vphone-cli) (13.4k stars): 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. Markdown: https://gitdiagram.com/lakr233/vphone-cli.md
49. [livecontainer/livecontainer](https://gitdiagram.com/livecontainer/livecontainer) (13.4k stars): 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. Markdown: https://gitdiagram.com/livecontainer/livecontainer.md
50. [mozilla-mobile/firefox-ios](https://gitdiagram.com/mozilla-mobile/firefox-ios) (13.1k stars): This monorepo contains Firefox for iOS and Focus for iOS, plus shared BrowserKit and Rust-component wrappers. Markdown: https://gitdiagram.com/mozilla-mobile/firefox-ios.md

Next page: https://gitdiagram.com/architecture-examples/swift/2

More hubs: https://gitdiagram.com/architecture-examples

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](https://gitdiagram.com/open-source-architecture-2026). Stars are GitHub's when the diagram was last made. Rebuilt daily: hubs grow as more repositories' languages are known.
