{"id":25690663,"url":"https://github.com/krishkumar/weatherapp-ios","last_synced_at":"2025-09-06T10:44:14.153Z","repository":{"id":270874187,"uuid":"641789408","full_name":"krishkumar/weatherapp-iOS","owner":"krishkumar","description":"Clean architecture MVVM iOS app with app coordinator, weather feature, UIKit programatic layout, dependency injection, unit tests","archived":false,"fork":false,"pushed_at":"2025-01-03T17:23:53.000Z","size":331,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-24T22:51:19.500Z","etag":null,"topics":[],"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/krishkumar.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":"2023-05-17T07:08:53.000Z","updated_at":"2025-01-03T17:23:58.000Z","dependencies_parsed_at":"2025-01-03T18:29:23.229Z","dependency_job_id":"b9d51d0c-123a-439a-9330-5d3ec237cca2","html_url":"https://github.com/krishkumar/weatherapp-iOS","commit_stats":null,"previous_names":["krishkumar/weatherapp-ios"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/krishkumar/weatherapp-iOS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krishkumar%2Fweatherapp-iOS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krishkumar%2Fweatherapp-iOS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krishkumar%2Fweatherapp-iOS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krishkumar%2Fweatherapp-iOS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krishkumar","download_url":"https://codeload.github.com/krishkumar/weatherapp-iOS/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krishkumar%2Fweatherapp-iOS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273892842,"owners_count":25186561,"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-09-06T02:00:13.247Z","response_time":2576,"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":[],"created_at":"2025-02-24T22:50:43.831Z","updated_at":"2025-09-06T10:44:14.116Z","avatar_url":"https://github.com/krishkumar.png","language":"Swift","readme":"# weatherapp\n\nSwift-based iOS weather app is designed with a modular architecture for scalability and\n maintainability.\n\n- MVVM architecture with separation of concerns\n- Integrates CoreLocation to provide real-time weather updates based on the user's location.\n- Custom networking layer efficiently handles API interactions, reliable data fetching.\n- Protocols for dependency injection for unit testing and flexibility in component management.\n- UIKit, programmatic UI AutoLayout\n- OpenWeatherMap API to fetch current weather data.\n\n## Components\n\n### Weather Feature\n\n1. **WeatherFeatureCoordinator**: Manages navigation and flow control within the weather feature, integrates with app.\n2. **DefaultWeatherFeatureFactory**: A factory class to create instances of the main components and dependencies required for weather feature.\n3. **WeatherViewModel**: Main view model that handles business logic and data fetching for the weather feature.\n4. **WeatherWebService**: Network requests to weather API and fetch required weather data.\n5. **WeatherRemoteRepository**: Data source for the view model and provides weather data fetched from WeatherWebService.\n6. **WeatherData**: Codable model representing the structure of the weather data fetched from the API.\n7. **WeatherViewController, WeatherView, WeatherCardView**: The main view controller and views that display the weather data and handle interactions, search.\n8. Unit Tests, Mocks\n\n## Screens\n\n![](1.png)\n![](2.png)\n![](3.png)\n![](4.png)\n![](5.png)\n![](6.png)\n\n## Author\n\nkrishna\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrishkumar%2Fweatherapp-ios","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrishkumar%2Fweatherapp-ios","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrishkumar%2Fweatherapp-ios/lists"}