{"id":16107870,"url":"https://github.com/saik0s/skeletonproject","last_synced_at":"2025-10-31T12:02:42.037Z","repository":{"id":235245084,"uuid":"790236116","full_name":"Saik0s/SkeletonProject","owner":"Saik0s","description":"An iOS Example Application with Composable Architecture","archived":false,"fork":false,"pushed_at":"2024-05-14T00:10:43.000Z","size":1517,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T12:15:15.471Z","etag":null,"topics":["composable-architecture","ios","swift","swift-composable-architecture","swiftui","tca","tuist"],"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/Saik0s.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2024-04-22T14:09:14.000Z","updated_at":"2024-05-14T00:10:46.000Z","dependencies_parsed_at":"2024-12-19T11:52:00.210Z","dependency_job_id":null,"html_url":"https://github.com/Saik0s/SkeletonProject","commit_stats":null,"previous_names":["saik0s/tcastarter","saik0s/skeletonproject"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saik0s%2FSkeletonProject","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saik0s%2FSkeletonProject/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saik0s%2FSkeletonProject/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saik0s%2FSkeletonProject/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Saik0s","download_url":"https://codeload.github.com/Saik0s/SkeletonProject/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247430836,"owners_count":20937873,"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","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":["composable-architecture","ios","swift","swift-composable-architecture","swiftui","tca","tuist"],"created_at":"2024-10-09T19:24:41.193Z","updated_at":"2025-10-31T12:02:42.000Z","avatar_url":"https://github.com/Saik0s.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SkeletonProject: An iOS Example Application with Composable Architecture\n\nSkeletonProject is an iOS example application that demonstrates the implementation of common features and scenarios using the Composable Architecture (TCA) from Point-Free. This project serves as a reference and learning resource for developers looking to understand and apply the principles of TCA in their iOS applications.\n\n\u003cdiv align=\"center\"\u003e\n  \u003ch2 style=\"font-size: 1.5em;\"\u003e🚧 Work in Progress 🚧\u003c/h2\u003e\n\u003c/div\u003e\n\n## Features\n\nThe SkeletonProject application showcases the following features:\n\n1. **Splash Screen**: Displays a splash screen with a countdown timer when the app launches, transitioning to the main screen after a short delay.\n\n2. **Tab-based Navigation**: Implements a tab-based navigation system with two tabs: \"Feed\" and \"Settings\".\n\n3. **Feed Tab**:\n   - Displays a list of feed items in a scrollable view.\n   - Allows users to add new feed items.\n   - Enables users to edit and delete existing feed items.\n   - Provides a details screen to view and edit the content of a selected feed item.\n\n4. **Settings Tab**: Provides a settings screen for configuring app preferences, such as enabling dark mode.\n\n5. **Onboarding Flow**: Demonstrates an onboarding flow for first-time users.\n\n6. **Data Persistence**: Persists feed items and user settings across app launches using file storage.\n\n7. **Error Handling and Loading States**: Handles error scenarios gracefully and displays appropriate error messages and loading indicators.\n\n## Implementation\n\nThe SkeletonProject application is built using the Composable Architecture (TCA) from Point-Free, which is a state management and architecture pattern for SwiftUI applications. TCA promotes a unidirectional data flow and separates concerns between state management, view rendering, and side effects.\n\nThe application is structured into several features, each representing a specific functionality or screen. Each feature is implemented as a separate module, following the principles of TCA.\n\n### Core Components\n\n1. **AppFeature**: The root feature that manages the application's state and coordinates the transitions between the splash screen and the main screen.\n\n2. **MainFeature**: Handles the tab-based navigation and manages the state of the \"Feed\" and \"Settings\" tabs.\n\n3. **FeedFeature**: Responsible for managing the state of the feed items, including adding, editing, deleting, and displaying details.\n\n4. **UserSettingsFeature**: Manages the user settings, such as enabling or disabling dark mode.\n\n5. **SplashFeature**: Implements the splash screen functionality with a countdown timer.\n\n6. **OnboardingFeature**: Handles the onboarding flow for first-time users.\n\n### State Management\n\nThe application's state is managed using the `@Reducer` and `@ObservableState` constructs provided by TCA. Each feature has its own state and reducer, which defines how the state should be updated in response to user actions or side effects.\n\n### Side Effects\n\nSide effects, such as network requests, data persistence, and navigation, are handled using the `@Dependency` and `@Effect` constructs provided by TCA. This separation of concerns allows for better testability and maintainability of the codebase.\n\n### Data Persistence\n\nThe application uses file storage to persist feed items and user settings across app launches. The `@Shared` property wrapper from TCA is used to manage the shared state between different features.\n\n### Error Handling and Loading States\n\nError handling and loading states are implemented using the `@Reducer` and `@ObservableState` constructs from TCA. Appropriate error messages and loading indicators are displayed to the user based on the application's state.\n\n## Getting Started\n\nTo run the SkeletonProject application, follow these steps:\n\n1. Clone the repository: `gh repo clone Saik0s/SkeletonProject` or `git clone https://github.com/Saik0s/SkeletonProject.git`\n2. Run `make`\n3. Open generated `SkeletonProject.xcworkspace` and run the project\n\n## License\n\nThe SkeletonProject is released under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaik0s%2Fskeletonproject","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaik0s%2Fskeletonproject","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaik0s%2Fskeletonproject/lists"}