Skip to content

almatkai/WeatherSwiftUI

Repository files navigation

Weather App SwiftUI

App Icon made by Bing Create


photo_2023-08-29 19 07 12

photo_2023-08-29 19 07 17


Built with SwiftUI as its foundation, this app offers a modern and user-friendly interface for users to access weather information seamlessly.

Features

  • Weather Forecast: Get accurate and up-to-date weather forecasts powered by the Yandex Weather API. Stay informed about temperature, humidity, wind speed, and more.
  • Location-based Weather: Utilize CoreLocation to automatically fetch weather data based on your current location. Experience weather updates tailored to your whereabouts.
  • Place Search: Integrated Google Places API allows you to easily search for and select locations, making it convenient to check the weather for multiple places.

Used Frameworks

  • SwiftUI: Provides the foundation for building the user interface with a declarative syntax and modern design principles.
  • CoreLocation: Enables location-based services, allowing the app to access the device's GPS and fetch accurate weather data based on the user's location.
  • Google Places API: Integrated for efficient place searching and selection, enhancing user experience when checking weather for different locations.
  • Alamofire: A powerful networking library that ensures smooth communication with external APIs, facilitating seamless data retrieval.
  • Core Data: Used to manage local storage of fetched weather data, allowing users to access previous forecasts even when offline.

Getting Started

To run the Weather App locally, follow these steps:

  1. Clone the repository to your local machine.
  2. Open the project in Xcode.
  3. Paste your API key of Yandex Weather (WeatherManager file) and Google Places (YandexWeatherApp file).
    • Create a Yandex Weather API key here.
    • Create a Google Places API key here.
  4. Add "Privacy - Location When In Use Usage Description" to your Info.plist.
  5. Run the project on a simulator or device.

swwdw

Requirements

  • iOS 15.0 or later
  • Xcode 13.0 or later

License

MIT license, see the details

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages