使用 OpenWeather API 显示实时天气数据

天气窗口 – 测试任务移动 (Swift)

  • 艾哈迈托夫帖木儿

使用 OpenWeather API 显示实时天气数据:

  • 主屏幕显示:从第二天(24小时)打开应用程序的那一刻起,有关城市天气的详细信息(使用地理位置确定), 查看未来一周(7天)的天气,
  • 附加屏幕显示:有关使用搜索找到的任何城市的天气的详细信息。

该项目使用:

  • JSON & Codable,
  • Openweathermap,
  • CoreLocation,
  • Code layout (without storyBoard).

Before starting the program:

Сheck access to geolocation.

Снимок экрана 2022-05-23 в 20 57 47Снимок экрана 2022-05-23 в 20 59 18

Снимок экрана 2022-05-23 в 21 06 46Снимок экрана 2022-05-23 в 20 58 07

Note: Sorry for the “Hindu” code and structure

GitHub

点击跳转