{"id":20573375,"url":"https://github.com/m0saan/clima","last_synced_at":"2025-09-26T00:31:36.311Z","repository":{"id":167708940,"uuid":"312683627","full_name":"m0saan/Clima","owner":"m0saan","description":"the app will 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.","archived":false,"fork":false,"pushed_at":"2020-11-15T11:30:53.000Z","size":463,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-16T05:27:30.968Z","etag":null,"topics":["json-api","swift","swift-networking","swift5","weather-app"],"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/m0saan.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":"2020-11-13T21:06:06.000Z","updated_at":"2023-10-27T17:43:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"bc5672d3-0e2a-41ee-9933-593e55a88678","html_url":"https://github.com/m0saan/Clima","commit_stats":null,"previous_names":["m0saan/clima"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m0saan%2FClima","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m0saan%2FClima/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m0saan%2FClima/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m0saan%2FClima/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m0saan","download_url":"https://codeload.github.com/m0saan/Clima/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234274935,"owners_count":18806593,"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":["json-api","swift","swift-networking","swift5","weather-app"],"created_at":"2024-11-16T05:27:25.951Z","updated_at":"2025-09-26T00:31:30.971Z","avatar_url":"https://github.com/m0saan.png","language":"Swift","readme":"#  Clima\n\n## Our Goal\n\nI am  going to be introduced to the wonderful world of Application Programming Interfaces (APIs) to grab live data from the internet. If you’re dreaming of making that Twitter-powered stock trading app then you’re about add some serious tools to your toolbelt!\n\n\n## What you will create\n\nThis project is all about making 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 you will learn\n\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\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","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm0saan%2Fclima","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm0saan%2Fclima","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm0saan%2Fclima/lists"}