{"id":28191903,"url":"https://github.com/dtrognn/swiftuicoordinator","last_synced_at":"2026-06-28T16:31:09.712Z","repository":{"id":288417749,"uuid":"968016646","full_name":"dtrognn/SwiftUICoordinator","owner":"dtrognn","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-23T08:57:52.000Z","size":122,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-30T11:14:05.690Z","etag":null,"topics":["coordinator","coordinator-pattern","swiftui","uikit"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dtrognn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-17T11:15:16.000Z","updated_at":"2025-04-23T08:57:55.000Z","dependencies_parsed_at":"2025-10-18T10:21:54.428Z","dependency_job_id":"26379ddc-f020-4ce6-b0bf-1809dc8f8c3f","html_url":"https://github.com/dtrognn/SwiftUICoordinator","commit_stats":null,"previous_names":["dtrognn/swiftuicoordinator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dtrognn/SwiftUICoordinator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtrognn%2FSwiftUICoordinator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtrognn%2FSwiftUICoordinator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtrognn%2FSwiftUICoordinator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtrognn%2FSwiftUICoordinator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dtrognn","download_url":"https://codeload.github.com/dtrognn/SwiftUICoordinator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtrognn%2FSwiftUICoordinator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34896652,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-28T02:00:05.809Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["coordinator","coordinator-pattern","swiftui","uikit"],"created_at":"2025-05-16T11:11:25.175Z","updated_at":"2026-06-28T16:31:09.690Z","avatar_url":"https://github.com/dtrognn.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwiftUI + Coordinator Pattern Example\n\nThis project showcases the integration of SwiftUI with the Coordinator pattern to create a scalable and modular navigation system. It includes a custom base screen built from `UIViewController` and supports per-screen rotation configurations.\n\n### Features\n- SwiftUI + Coordinator Pattern: Combines SwiftUI for the user interface with the Coordinator pattern for navigation management.\n\n- Custom Base Screen: Implements a reusable base screen derived from UIViewController to handle shared functionalities.\n\n- Per-Screen Rotation Support: Enables individual screens to specify their supported orientations (e.g., portrait, landscape).\n\n### Project Structure\n\n- **Coordinators**: Classes managing navigation logic.\n\n    - `AppCoordinator.swift`: Oversees the app's main navigation flow.\n\n    - `HomeCoordinator.swift`: Manages navigation within the Home section.\n\n    - `ProfileCoordinator.swift`: Handles navigation within the Profile section.\n\n- **Views**: SwiftUI views for the app's screens.\n\n    - `HomeView.swift`: Main view for the Home section.\n\n    - `ProfileView.swift`: Main view for the Profile section.\n\n- **Utilities**: Supporting classes and configurations.\n\n    - `BaseNavigationController.swift`: Custom navigation controller with rotation support.\n\n    - `ScreenConfiguration.swift`: Defines screen-specific settings.\n\n### Installation\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/dtrognn/SwiftUICoordinator.git\n```\n\n2. Open the project in Xcode:\n\n```bash\ncd your-repo-name\nopen YourProject.xcodeproj\n```\n\n3. Build and run the project on a simulator or device.\n\n### Usage\n\n- The app uses coordinators to manage navigation between screens, starting from a root coordinator (`AppCoordinator`).\n\n- Each screen leverages the custom base screen for consistent behavior and can define its own rotation settings via `ScreenConfiguration`.\n\n- Navigation is handled programmatically by coordinators, ensuring a clean separation of concerns from the SwiftUI views.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdtrognn%2Fswiftuicoordinator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdtrognn%2Fswiftuicoordinator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdtrognn%2Fswiftuicoordinator/lists"}