{"id":24610905,"url":"https://github.com/shrtlist/paymenttypeselection","last_synced_at":"2026-05-20T02:40:32.787Z","repository":{"id":273145210,"uuid":"918818810","full_name":"shrtlist/PaymentTypeSelection","owner":"shrtlist","description":"Demo project to create a payment type selection interface using SwiftUI.","archived":false,"fork":false,"pushed_at":"2025-01-28T04:58:26.000Z","size":394,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-28T05:27:10.538Z","etag":null,"topics":["combine-framework","mvvm","swiftui","timer"],"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/shrtlist.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}},"created_at":"2025-01-18T23:42:06.000Z","updated_at":"2025-01-28T04:58:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"94d5c193-5ed7-4d81-9015-474db859fcbd","html_url":"https://github.com/shrtlist/PaymentTypeSelection","commit_stats":null,"previous_names":["shrtlist/paymenttypeselection"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shrtlist%2FPaymentTypeSelection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shrtlist%2FPaymentTypeSelection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shrtlist%2FPaymentTypeSelection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shrtlist%2FPaymentTypeSelection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shrtlist","download_url":"https://codeload.github.com/shrtlist/PaymentTypeSelection/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244244848,"owners_count":20422386,"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":["combine-framework","mvvm","swiftui","timer"],"created_at":"2025-01-24T19:19:31.258Z","updated_at":"2026-05-20T02:40:27.740Z","avatar_url":"https://github.com/shrtlist.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwiftUI Test\nIn this test, you will be need to create a payment type selection interface using SwiftUI.\n\n## Requirements\n\n- macOS Monterey 12.0 or later\n- Xcode 13.2 or later\n- Swift 5.0 or later\n- iOS Simulator/Device 15.2 or later \n\n---\n\n## Task Details\n\nThis challenge is to create a payment type selection interface using SwiftUI.\nIt should:\n- ⏱️ 60-second countdown timer\n- 💳 Payment method selection\n- 🔍 Search functionality for payment types\n- ♻️ Pull-to-refresh payment list\n- ✅ Selection state management\n- 🎯 Modal presentation\n- ✨ Success view after completion\n\n### Implementation Checklist\n\n- [ ] Payment Type Selection Interface\n  - [ ] Interactive payment method selection \n  - [ ] Visual feedback for selected payment types\n  - [ ] Smooth animations and transitions\n\n- [ ] Data Management\n  - [ ] Implementation of PaymentTypesRepository\n  - [ ] Efficient state management \n  - [ ] Type-safe data handling\n\n---\n\n## Setup\n\n### Open the project in Xcode\n\n```bash\nopen SwiftUIChallenge.xcodeproj\n```\n\n### Running the Project\n\n1. Open the project in Xcode\n2. Select your target device (iOS Simulator or physical device)\n3. Click the \"Run\" button (▶️) or press `Cmd + R` to build and run the project\n\n### Project Structure\nThe application's entry point is `SwiftUIChallengeApp.swift`, which loads the main `ContentView`. The core functionality is organized as follows:\n- `SwiftUIChallengeApp.swift`: Application entry point and setup\n- `ContentView.swift`: Main view implementation\n- `PaymentTypesRepositoryImplementation.swift`: Data layer implementation\n\n\n### Running Project Example\n\nScreenshots of the full flow are in the `Screenshots` folder.\n\nExample:\n![Example View](Screenshots/5.png)\n\n---\n\n## Development Guidelines\n\n### Do's\n\n-   Write clean, maintainable, and well-documented code and follow the best practices and coding standards.\n-   You are free to use any official documentation or language references (SwiftUI, Swift, etc).\n-   You can use the debugging tools and native IDE features (only standard Auto-Completion)\n\n### Don'ts\n\n-   Do NOT use any external libraries for the implementation.\n-   DO NOT use any Coding Assistants like GitHub Copilot, ChatGPT, etc or any other AI based tools.\n-   DO NOT visit direct blogs or articles related to implementation of the tasks.\n-   DO NOT use Stackoverflow or any other forum websites.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshrtlist%2Fpaymenttypeselection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshrtlist%2Fpaymenttypeselection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshrtlist%2Fpaymenttypeselection/lists"}