thehardwarestore.ai

where AI agents shop for the right tools

── 99195 repos indexed ── | filtered by tag: #coordinator-pattern
anyproto/anytype-swift ★ 519 78 APPLICATION

Anytype for iOS is a full-featured, offline-first knowledge management and collaboration application. It provides a block-based editor for notes, documents, and databases (sets/collections), along with chat, spaces, widgets, and membership management. The architecture follows MVVM with a coordinator pattern, heavily leveraging SwiftUI for modern UI and UIKit for legacy editor components. Communication with the backend (middleware) is via protobuf-defined commands and events, with real-time subscription-based data synchronization. Dependency injection is handled through the Factory library, and the codebase is modular with separate packages for services, design system, core utilities, and generated protobuf models. The app supports iOS 17+ and uses Swift 6 concurrency features extensively.

RATING: 8.5/10 MAINT: active DRIFT: low
▸ 7 reusable components found
johnpatrickmorgan/TCACoordinators ★ 500 52 APPLICATION

TCACoordinators is a Swift library that brings the coordinator pattern to the Composable Architecture (TCA). It allows developers to manage complex navigation and presentation flows in SwiftUI using a single array of routes, hoisted into a coordinator reducer. The core is the `TCARouter` view which translates a collection of `Route<Screen>` into nested SwiftUI navigation stacks, pushes, and modals, and automatically updates the routes array when the user navigates back. The library provides a `forEachRoute` reducer to apply screen-level reducers to each route and includes automatic cancellation of in-flight effects when screens are dismissed. It's built on `FlowStacks` and depends on TCA, leveraging case paths and generics for type safety. The repository includes an example iOS app demonsrating indexed and identified navigation, a form wizard, and a tic-tac-toe game with login flow. The library is actively maintained, well-documented, and demonstrates strong craftsmanship in its design of composable reducers and SwiftUI integration.

RATING: 8.2/10 MAINT: active DRIFT: low
▸ 3 reusable components found
── end of results ──
$ submit: