{"id":19476566,"url":"https://github.com/humayan-kabir/weather-ios13","last_synced_at":"2025-07-30T09:04:44.200Z","repository":{"id":171361631,"uuid":"345671372","full_name":"Humayan-Kabir/Weather-IOS13","owner":"Humayan-Kabir","description":"Learning Swift REST API, CoreLocation, URLSession data Task, JsonParsing","archived":false,"fork":false,"pushed_at":"2021-03-09T20:04:06.000Z","size":2982,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-11T05:06:11.468Z","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/Humayan-Kabir.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":"2021-03-08T13:48:01.000Z","updated_at":"2021-03-09T20:04:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"69844952-383b-4981-a05c-af5ff101d9e9","html_url":"https://github.com/Humayan-Kabir/Weather-IOS13","commit_stats":null,"previous_names":["humayan-kabir/weather-ios13"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Humayan-Kabir/Weather-IOS13","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Humayan-Kabir%2FWeather-IOS13","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Humayan-Kabir%2FWeather-IOS13/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Humayan-Kabir%2FWeather-IOS13/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Humayan-Kabir%2FWeather-IOS13/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Humayan-Kabir","download_url":"https://codeload.github.com/Humayan-Kabir/Weather-IOS13/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Humayan-Kabir%2FWeather-IOS13/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267842976,"owners_count":24153133,"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-30T02:00:09.044Z","response_time":70,"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":"2024-11-10T19:40:54.606Z","updated_at":"2025-07-30T09:04:44.166Z","avatar_url":"https://github.com/Humayan-Kabir.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"weather app preview.gif\" alt=\"animated\" /\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003e Weather App iOS\u003c/h1\u003e\n\n## Goal\nThis project is a part of IOS Bootcamp which I am completing now on [Udemy](https://www.udemy.com/course/ios-13-app-development-bootcamp). As self starter of learning iOS app development. It's time to work with API and Location service. I have made a beautiful, dark-mode enabled weather app. You'll be able to check the weather for the current location based on the GPS data from the iPhone as well as by searching for a city manually. \n\n## What I learned\n\n* How to use open weather API\n* How to create a dark-mode enabled app.\n* How to use vector images as image assets.\n* Learn to use the UITextField to get user input. \n* Learn about the delegate pattern.\n* Swift protocols and extensions. \n* Swift guard keyword. \n* Swift computed properties.\n* Swift closures and completion handlers.\n* Learn to use URLSession to network and make HTTP requests.\n* Parse JSON with the native Encodable and Decodable protocols. \n* Learn to use Grand Central Dispatch to fetch the main thread.\n* Learn to use Core Location to get the current location from the phone GPS. \n\n### Condition Codes\n```\nswitch conditionID {\n        case 200...232:\n            return \"cloud.bolt\"\n        case 300...321:\n            return \"cloud.drizzle\"\n        case 500...531:\n            return \"cloud.rain\"\n        case 600...622:\n            return \"cloud.snow\"\n        case 701...781:\n            return \"cloud.fog\"\n        case 800:\n            return \"sun.max\"\n        case 801...804:\n            return \"cloud.bolt\"\n        default:\n            return \"cloud\"\n        }\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhumayan-kabir%2Fweather-ios13","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhumayan-kabir%2Fweather-ios13","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhumayan-kabir%2Fweather-ios13/lists"}