{"id":25976032,"url":"https://github.com/cewitte/iexpense","last_synced_at":"2025-12-31T14:27:31.677Z","repository":{"id":275669288,"uuid":"864917823","full_name":"cewitte/iExpense","owner":"cewitte","description":"An expense tracker that separates personal costs from business costs (by Paul Hudson - @twostraws).","archived":false,"fork":false,"pushed_at":"2025-06-06T00:19:05.000Z","size":439,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-06T00:31:07.851Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/cewitte.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,"zenodo":null}},"created_at":"2024-09-29T14:13:48.000Z","updated_at":"2025-06-06T00:19:07.000Z","dependencies_parsed_at":"2025-03-31T12:24:44.661Z","dependency_job_id":"712a5f00-f0a1-4eb6-ab57-f5ed59ec43f3","html_url":"https://github.com/cewitte/iExpense","commit_stats":null,"previous_names":["cewitte/iexpense"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cewitte/iExpense","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cewitte%2FiExpense","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cewitte%2FiExpense/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cewitte%2FiExpense/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cewitte%2FiExpense/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cewitte","download_url":"https://codeload.github.com/cewitte/iExpense/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cewitte%2FiExpense/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265845282,"owners_count":23837763,"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":[],"created_at":"2025-03-05T03:33:56.077Z","updated_at":"2025-12-31T14:27:31.620Z","avatar_url":"https://github.com/cewitte.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# iExpense\nAn expense tracker that separates personal costs from business costs (by Paul Hudson - [@twostraws](https://x.com/twostraws)).\n\n![Home screen](images/iexpense_1_medium.png)\n\n![Add expense](images/iexpense_2_medium.png)\n\n![Updated home](images/iexpense_3_medium.png)\n\n### Project 12 - Challenge 1: Start by upgrading it to use SwiftData \n\nSource URL: [link](https://www.hackingwithswift.com/books/ios-swiftui/swiftdata-wrap-up)\n\nBranch: `project-12-challenge-1`\n\n### Project 12 - Challenge 2: Add a customizable sort order option: by name or by amount\n\nSource URL: [link](https://www.hackingwithswift.com/books/ios-swiftui/swiftdata-wrap-up)\n\nBranch: `project-12-challenge-2`\n\n### Project 12 - Challenge 3: Add a filter option to show all expenses, just personal expenses, or just business expenses\n\nSource URL: [link](https://www.hackingwithswift.com/books/ios-swiftui/swiftdata-wrap-up)\n\nBranch: `project-12-challenge-3`\n\n### Accessibility challenge\n\nSource URL: [link](https://www.hackingwithswift.com/books/ios-swiftui/fixing-bookworm)\n\nBranch: `accessibility-challenge`\n\n\u003eFix the list rows in iExpense so they read out the name and value in one single VoiceOver label, and their type in a hint.\n\n```swift\nvar body: some View {\n        List {\n            ForEach(expenses) { item in\n                HStack {\n                    VStack(alignment: .leading) {\n                        Text(item.name)\n                            .font(.headline)\n                        Text(item.type)\n                    }\n                    \n                    Spacer()\n                    \n                    Text(item.amount, format: .currency(code: \"USD\"))\n                }\n                // Fix the list rows in iExpense so they read out the name and value in one single VoiceOver label, and their type in a hint.\n                .accessibilityElement()\n                .accessibilityLabel(\"\\(item.name): \\(item.amount)\")\n            }\n            .onDelete(perform: removeItems)\n        }\n    }\n```\n\n`.accessibilityElement` makes the child views invisible to VoiceOver while `.accessibilityLabel` provides a custom label to the parent View.\n\n## Acknowledgments\n\nOriginal code created by: [Paul Hudson - @twostraws](https://x.com/twostraws) (Thank you!)\n\nMade with :heart: by [@cewitte](https://x.com/cewitte)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcewitte%2Fiexpense","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcewitte%2Fiexpense","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcewitte%2Fiexpense/lists"}