{"id":18473428,"url":"https://github.com/0xopenbytes/ios-base","last_synced_at":"2025-07-22T21:36:54.481Z","repository":{"id":65358094,"uuid":"584505409","full_name":"0xOpenBytes/ios-base","owner":"0xOpenBytes","description":"The OpenBytes template for iOS projects using SwiftUI","archived":false,"fork":false,"pushed_at":"2023-05-04T06:20:06.000Z","size":148,"stargazers_count":18,"open_issues_count":2,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-08T12:46:49.992Z","etag":null,"topics":["ios","swift","swiftui","template"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0xOpenBytes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","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}},"created_at":"2023-01-02T18:59:42.000Z","updated_at":"2023-09-25T16:39:31.000Z","dependencies_parsed_at":"2025-04-08T12:43:35.065Z","dependency_job_id":null,"html_url":"https://github.com/0xOpenBytes/ios-base","commit_stats":null,"previous_names":[],"tags_count":5,"template":true,"template_full_name":null,"purl":"pkg:github/0xOpenBytes/ios-base","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xOpenBytes%2Fios-base","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xOpenBytes%2Fios-base/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xOpenBytes%2Fios-base/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xOpenBytes%2Fios-base/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xOpenBytes","download_url":"https://codeload.github.com/0xOpenBytes/ios-base/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xOpenBytes%2Fios-base/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266578700,"owners_count":23951150,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["ios","swift","swiftui","template"],"created_at":"2024-11-06T10:24:55.071Z","updated_at":"2025-07-22T21:36:54.461Z","avatar_url":"https://github.com/0xOpenBytes.png","language":"Swift","readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://openbytes.dev/assets/projects/images/ios-base-icon.png\" alt=\"Icon representing the OpenBytes iOS-base template project.\" width=\"35%\"/\u003e\n  \u003ch1\u003eiOS-Base\u003c/h1\u003e\n  \u003ch3\u003eThe OpenBytes template for iOS projects using SwiftUI\u003c/h3\u003e\n  \u003ca href=\"https://github.com/0xOpenBytes/ios-base/blob/main/LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/license-MIT-blue\" alt=\"MIT License\"/\u003e\n  \u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/github/v/release/0xOpenBytes/ios-base\"/\u003e\n  \u003ca href=\"https://discord.gg/HUmaDXVsW7\"\u003e\n    \u003cimg src=\"https://img.shields.io/discord/933406727150391376\" alt=\"Community Chat\"/\u003e\n  \u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/badge/iOS-16%2B-informational\" alt=\"iOS Version\"/\u003e\n\u003c/div\u003e\n\n## Project\n\n### Structure\n\n- base\n  - App: SwiftUI App and Views\n  - Data\n    - Mock: Static mock data and json reading functionality.\n    - Network: Network data models used in Services and Adapters.\n    - Adapters: Objects that can convert from Network to Device or Device to Network models.\n    - JSON: Network data model JSON files.\n    - Device: Device data models used in SwiftUI Views and ViewModels. Device models should be created from Network models by using Adapters.\n  - FileStorage: Local storage functionality.\n  - Navigation: SwiftUI NavigationPath using OpenBytesNavigation.\n  - Networking: Networking functionality.\n  - Notifications: Local Notification functionality.\n  - Persistence\n    - Caching\n      - Image: Memory storage for Images, used in ImageView.\n      - Data: Memory storage for anything conforming to DataCaching.\n  - Preview Content\n  - Settings: Shared app data and state.\n  - Utilities: Miscellaneous app utilities.\n- baseTests\n  - Adapters: Test Network to Device and Device to Network transformations.\n  - Persistence: Tests for Persistence and Caching.\n  - UserRegistration: Tests for register using ViewModels and DI.\n  - Validation: Tests for different types of data validation.\n\n## Getting Started\n\n### Installing development dependencies\n\n1. Install [Homebrew](https://brew.sh)\n2. Run `brew bundle`\n\nLearn more about [SPX](https://www.github.com/FullQueueDeveloper/SPX) and [Xcodegen](https://github.com/yonaskolb/XcodeGen)\n\n### Renaming\n\nThere are some scripts to help rename base to whatever project name you want.\n\n- Clone the templated repository\n- run `./rename.sh`\n- Enter a project name\n\n## Continuing onward\n\n### Regenerate the project\n\n    spx xcodeproj\n\n### Pushing to the App Store\n\nThis script expects `APPLE_TEAM_ID`, `APPLOADER_USERNAME` and `APPLOADER_PASSWORD` to be present in the environment.\n\nIt doesn't have to stay that way. Modify `SPX/Sources/appstore/Secrets.swift` to use an API key, or perhaps fetch credentials from a password manager like 1Password using [Sh1Password](https://github.com/FullQueueDeveloper/Sh1Password).\n\nWhen that's settled, you can run\n\n    spx appstore\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xopenbytes%2Fios-base","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xopenbytes%2Fios-base","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xopenbytes%2Fios-base/lists"}